Home
last modified time | relevance | path

Searched refs:path_list (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/tools/perf/arch/
H A Dcommon.c149 const char *const *path_list; in perf_env__lookup_binutils_path() local
174 path_list = arc_triplets; in perf_env__lookup_binutils_path()
176 path_list = arm_triplets; in perf_env__lookup_binutils_path()
178 path_list = arm64_triplets; in perf_env__lookup_binutils_path()
180 path_list = powerpc_triplets; in perf_env__lookup_binutils_path()
182 path_list = riscv32_triplets; in perf_env__lookup_binutils_path()
186 path_list = sh_triplets; in perf_env__lookup_binutils_path()
188 path_list = s390_triplets; in perf_env__lookup_binutils_path()
190 path_list = sparc_triplets; in perf_env__lookup_binutils_path()
192 path_list = x86_triplets; in perf_env__lookup_binutils_path()
[all …]
/openbmc/linux/samples/landlock/
H A Dsandboxer.c56 static int parse_path(char *env_path, const char ***const path_list) in parse_path() argument
67 *path_list = malloc(num_paths * sizeof(**path_list)); in parse_path()
69 (*path_list)[i] = strsep(&env_path, ENV_PATH_TOKEN); in parse_path()
89 const char **path_list = NULL; in populate_ruleset() local
102 num_paths = parse_path(env_path_name, &path_list); in populate_ruleset()
103 if (num_paths == 1 && path_list[0][0] == '\0') { in populate_ruleset()
115 path_beneath.parent_fd = open(path_list[i], O_PATH | O_CLOEXEC); in populate_ruleset()
118 path_list[i], strerror(errno)); in populate_ruleset()
132 path_list[i], strerror(errno)); in populate_ruleset()
141 free(path_list); in populate_ruleset()
/openbmc/linux/drivers/md/
H A Ddm-switch.c57 struct switch_path path_list[]; member
212 &sctx->path_list[sctx->nr_paths].dmdev); in parse_path()
220 dm_put_device(ti, sctx->path_list[sctx->nr_paths].dmdev); in parse_path()
224 sctx->path_list[sctx->nr_paths].start = start; in parse_path()
239 dm_put_device(ti, sctx->path_list[sctx->nr_paths].dmdev); in switch_dtr()
326 bio_set_dev(bio, sctx->path_list[path_nr].dmdev->bdev); in switch_map()
505 DMEMIT(" %s %llu", sctx->path_list[path_nr].dmdev->name, in switch_status()
527 *bdev = sctx->path_list[path_nr].dmdev->bdev; in switch_prepare_ioctl()
532 if (ti->len + sctx->path_list[path_nr].start != in switch_prepare_ioctl()
546 r = fn(ti, sctx->path_list[path_nr].dmdev, in switch_iterate_devices()
[all …]
/openbmc/qemu/system/
H A Ddevice_tree.c249 GSList *path_list = NULL, *iter; in qemu_fdt_node_unit_path() local
271 path_list = g_slist_prepend(path_list, path); in qemu_fdt_node_unit_path()
281 for (iter = path_list; iter; iter = iter->next) { in qemu_fdt_node_unit_path()
284 g_slist_free(path_list); in qemu_fdt_node_unit_path()
291 for (iter = path_list; iter; iter = iter->next) { in qemu_fdt_node_unit_path()
295 g_slist_free(path_list); in qemu_fdt_node_unit_path()
306 GSList *path_list = NULL, *iter; in qemu_fdt_node_path() local
326 path_list = g_slist_prepend(path_list, path); in qemu_fdt_node_path()
338 g_slist_free(path_list); in qemu_fdt_node_path()
345 for (iter = path_list; iter; iter = iter->next) { in qemu_fdt_node_path()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dsource.tcl12 set path_list [split $::env(PATH) :]
25 global path_list
27 foreach path $path_list {
H A Dgen_misc.py166 path_list = list(filter(None, path.split(":")))
168 if new_path not in path_list:
169 path_list.insert(int(position), new_path)
170 return ":".join(path_list)
/openbmc/linux/drivers/video/fbdev/mmp/
H A Dcore.c60 static LIST_HEAD(path_list);
82 list_for_each_entry(path, &path_list, node) { in mmp_register_panel()
109 list_for_each_entry(path, &path_list, node) { in mmp_unregister_panel()
133 list_for_each_entry(iter, &path_list, node) { in mmp_get_path()
203 list_add_tail(&path->node, &path_list); in mmp_register_path()
/openbmc/linux/drivers/scsi/aic7xxx/aicasm/
H A Daicasm.h67 SLIST_HEAD(path_list, path_entry);
69 extern struct path_list search_path;
H A Daicasm.c85 struct path_list search_path;
/openbmc/linux/sound/soc/intel/avs/
H A Dapl.c174 list_for_each_entry(path, &adev->path_list, node) { in apl_lp_streaming()
228 streaming = !list_empty(&adev->path_list); in apl_set_d0ix()
H A Dcontrol.c31 list_for_each_entry(path, &adev->path_list, node) { in avs_get_volume_module()
H A Dtopology.h143 struct list_head path_list; member
H A Dpath.c73 list_for_each_entry(path, &adev->path_list, node) { in avs_path_find_path()
101 list_for_each_entry(variant, &template->path_list, node) { in avs_path_find_variant()
803 list_add_tail(&path->node, &adev->path_list); in avs_path_init()
H A Davs.h136 struct list_head path_list; member
H A Dcore.c389 INIT_LIST_HEAD(&adev->path_list); in avs_bus_init()
H A Dtopology.c1346 list_add_tail(&path->node, &template->path_list); in parse_path_template()
1366 INIT_LIST_HEAD(&template->path_list); in avs_tplg_path_template_create()
/openbmc/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c606 list_add_tail(&path->list, &priv->path_list); in __path_add()
694 list_for_each_entry_safe(path, tp, &priv->path_list, list) { in ipoib_mark_paths_invalid()
723 list_splice_init(&priv->path_list, &remove_list); in ipoib_flush_paths()
2147 INIT_LIST_HEAD(&priv->path_list); in ipoib_build_priv()
H A Dipoib.h343 struct list_head path_list; member
/openbmc/linux/tools/testing/selftests/landlock/
H A Dfs_test.c4228 #define for_each_path(path_list, path_entry, i) \ argument
4229 for (i = 0, path_entry = *path_list[i]; path_list[i]; \
4230 path_entry = *path_list[++i])