Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 1463) sorted by relevance

12345678910>>...59

/arch/um/os-Linux/
A Dexecvp.c52 char *path = getenv("PATH"); in execvp_noalloc() local
53 if (path == NULL) in execvp_noalloc()
54 path = ":/bin:/usr/bin"; in execvp_noalloc()
57 pathlen = strlen(path); in execvp_noalloc()
64 p = path; in execvp_noalloc()
68 path = p; in execvp_noalloc()
71 p = strchr(path, ':'); in execvp_noalloc()
73 p = strchr(path, '\0'); in execvp_noalloc()
75 if (p == path) in execvp_noalloc()
80 startp = memcpy(name - (p - path), path, p - path); in execvp_noalloc()
/arch/mips/vdso/
A Dgenvdso.c115 fd = open(path, O_RDWR); in map_vdso()
118 path, strerror(errno)); in map_vdso()
124 path, strerror(errno)); in map_vdso()
133 path, strerror(errno)); in map_vdso()
143 path); in map_vdso()
155 program_name, path); in map_vdso()
167 program_name, path); in map_vdso()
175 program_name, path); in map_vdso()
181 program_name, path); in map_vdso()
194 return patch_vdso64(path, vdso); in patch_vdso()
[all …]
A Dgenvdso.h7 static inline bool FUNC(patch_vdso)(const char *path, void *vdso) in FUNC()
36 program_name, path); in FUNC()
44 program_name, path); in FUNC()
58 static inline bool FUNC(get_symbols)(const char *path, void *vdso) in FUNC()
82 path); in FUNC()
126 program_name, path, vdso_symbols[i].name); in FUNC()
/arch/parisc/kernel/
A Ddrivers.c313 memset(&path->bc, -1, 6); in get_node_path()
317 path->mod = PCI_FUNC(devfn); in get_node_path()
337 if (path->bc[i] == -1) in print_hwpath()
356 struct hardware_path path; in print_pa_hwpath() local
359 path.mod = dev->hw_path; in print_pa_hwpath()
391 struct hardware_path path; in print_pci_hwpath() local
402 struct hardware_path path; in setup_bus_id() local
410 if (path.bc[i] == -1) in setup_bus_id()
786 get_node_path(dev, path); in device_to_hwpath()
848 struct hardware_path path; in walk_native_bus() local
[all …]
A Dinventory.c460 dev = alloc_pa_dev(r_addr->hpa, &module_path->path); in legacy_create_device()
486 memset(module_path.path.bc, 0xff, 6); in snake_inventory()
487 module_path.path.mod = mod; in snake_inventory()
492 memset(module_path.path.bc, 0xff, 4); in snake_inventory()
493 module_path.path.bc[4] = mod; in snake_inventory()
496 module_path.path.bc[5] = 0; in snake_inventory()
497 module_path.path.mod = func; in snake_inventory()
570 dev = alloc_pa_dev(module_result.mod_addr, &module_path.path); in system_map_inventory()
A Dsys_parisc.c210 asmlinkage long parisc_truncate64(const char __user * path, in parisc_truncate64() argument
213 return ksys_truncate(path, (long)high << 32 | low); in parisc_truncate64()
224 asmlinkage long sys_truncate64(const char __user * path, unsigned long length) in sys_truncate64() argument
226 return ksys_truncate(path, length); in sys_truncate64()
238 asmlinkage long parisc_truncate64(const char __user * path, in parisc_truncate64() argument
241 return ksys_truncate(path, (loff_t)high << 32 | low); in parisc_truncate64()
/arch/powerpc/platforms/pseries/
A Dof_helpers.c18 struct device_node *pseries_of_derive_parent(const char *path) in pseries_of_derive_parent() argument
25 tail = kbasename(path) - 1; in pseries_of_derive_parent()
28 if (!strcmp(path, "/")) in pseries_of_derive_parent()
31 if (tail > path) { in pseries_of_derive_parent()
32 parent_path = kstrndup(path, tail - path, GFP_KERNEL); in pseries_of_derive_parent()
A Dibmebus.c275 char *path; in probe_store() local
278 path = ibmebus_chomp(buf, count); in probe_store()
279 if (!path) in probe_store()
287 __func__, path); in probe_store()
297 __func__, path); in probe_store()
302 kfree(path); in probe_store()
312 char *path; in remove_store() local
315 if (!path) in remove_store()
323 kfree(path); in remove_store()
327 __func__, path); in remove_store()
[all …]
A Dreconfig.c23 static int pSeries_reconfig_add_node(const char *path, struct property *proplist) in pSeries_reconfig_add_node() argument
32 np->full_name = kstrdup(kbasename(path), GFP_KERNEL); in pSeries_reconfig_add_node()
40 np->parent = pseries_of_derive_parent(path); in pSeries_reconfig_add_node()
48 printk(KERN_ERR "Failed to add device node %s\n", path); in pSeries_reconfig_add_node()
196 char *path, *end, *name; in do_add_node() local
203 path = buf; in do_add_node()
210 if ((np = of_find_node_by_path(path))) { in do_add_node()
232 rv = pSeries_reconfig_add_node(path, prop); in do_add_node()
A Dof_helpers.h7 struct device_node *pseries_of_derive_parent(const char *path);
/arch/powerpc/platforms/cell/spufs/
A Dsyscalls.c66 struct path path; in do_spu_create() local
70 dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in do_spu_create()
73 ret = spufs_create(&path, dentry, flags, mode, neighbor); in do_spu_create()
74 done_path_create(&path, dentry); in do_spu_create()
A Dinode.c268 static int spufs_context_open(const struct path *path) in spufs_context_open() argument
277 filp = dentry_open(path, O_RDONLY, current_cred()); in spufs_context_open()
399 struct path path = {.mnt = mnt, .dentry = dentry}; in spufs_create_context() local
445 ret = spufs_context_open(&path); in spufs_create_context()
509 static int spufs_gang_open(const struct path *path) in spufs_gang_open() argument
537 struct path path = {.mnt = mnt, .dentry = dentry}; in spufs_create_gang() local
542 ret = spufs_gang_open(&path); in spufs_create_gang()
552 long spufs_create(const struct path *path, struct dentry *dentry, in spufs_create() argument
555 struct inode *dir = d_inode(path->dentry); in spufs_create()
559 if (path->dentry->d_sb->s_type != &spufs_type) in spufs_create()
[all …]
/arch/um/drivers/
A Dvfio_user.c76 char *path, *buf, *end; in uml_vfio_user_get_group_id() local
80 path = uml_kmalloc(PATH_MAX, UM_GFP_KERNEL); in uml_vfio_user_get_group_id()
81 if (!path) in uml_vfio_user_get_group_id()
92 r = readlink(path, buf, PATH_MAX); in uml_vfio_user_get_group_id()
110 kfree(path); in uml_vfio_user_get_group_id()
116 char *path; in uml_vfio_user_open_group() local
119 path = uml_kmalloc(PATH_MAX, UM_GFP_KERNEL); in uml_vfio_user_open_group()
120 if (!path) in uml_vfio_user_open_group()
123 sprintf(path, "/dev/vfio/%d", group_id); in uml_vfio_user_open_group()
125 fd = open(path, O_RDWR); in uml_vfio_user_open_group()
[all …]
/arch/powerpc/platforms/powernv/
A Dopal-xscom.c83 struct debugfs_blob_wrapper path; member
167 ent->path.data = (void *)kasprintf(GFP_KERNEL, "%pOF", dn); in scom_debug_init_one()
168 if (!ent->path.data) { in scom_debug_init_one()
173 ent->path.size = strlen((char *)ent->path.data); in scom_debug_init_one()
177 kfree(ent->path.data); in scom_debug_init_one()
182 debugfs_create_blob("devspec", 0400, dir, &ent->path); in scom_debug_init_one()
/arch/parisc/include/asm/
A Dhardware.h109 struct hardware_path *path);
117 extern char *print_pa_hwpath(struct parisc_device *dev, char *path);
118 extern char *print_pci_hwpath(struct pci_dev *dev, char *path);
119 extern void get_pci_node_path(struct pci_dev *dev, struct hardware_path *path);
122 extern void device_to_hwpath(struct device *dev, struct hardware_path *path);
/arch/powerpc/boot/
A Dplanetcore.c106 char *path; in planetcore_set_stdout_path() local
119 path = get_path(node, prop_buf, MAX_PROP_LEN); in planetcore_set_stdout_path()
120 if (!path) in planetcore_set_stdout_path()
129 setprop_str(chosen, "linux,stdout-path", path); in planetcore_set_stdout_path()
A Dserial.c87 char path[MAX_PATH_LEN]; in serial_get_stdout_devp() local
93 if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0 || in serial_get_stdout_devp()
94 getprop(devp, "stdout-path", path, MAX_PATH_LEN) > 0) { in serial_get_stdout_devp()
95 devp = finddevice(path); in serial_get_stdout_devp()
A Dops.h174 char path[MAX_PATH_LEN]; in find_node_by_alias() local
175 if (getprop(devp, alias, path, MAX_PATH_LEN) > 0) in find_node_by_alias()
176 return finddevice(path); in find_node_by_alias()
193 void dt_fixup_clock(const char *path, u32 freq);
/arch/mips/generic/
A Dyamon-dt.c160 char mode_var_name[9], path[20], parity; in yamon_dt_serial_config() local
211 WARN_ON(snprintf(path, sizeof(path), "serial%u:%u%c%u%s", in yamon_dt_serial_config()
213 hw_flow ? "r" : "") >= sizeof(path)); in yamon_dt_serial_config()
225 err = fdt_setprop_string(fdt, chosen_off, "stdout-path", path); in yamon_dt_serial_config()
/arch/arm64/kvm/hyp/nvhe/
A Dgen-hyprel.c134 const char *path; member
167 elf.path, ## __VA_ARGS__); \
175 elf.path, strerror(errno)); \
248 static void init_elf(const char *path) in init_elf() argument
254 elf.path = path; in init_elf()
257 fd = open(path, O_RDONLY); in init_elf()
/arch/powerpc/platforms/powermac/
A Dudbg_scc.c71 const char *path; in udbg_scc_init() local
80 path = of_get_property(of_chosen, "linux,stdout-path", NULL); in udbg_scc_init()
81 if (path != NULL) in udbg_scc_init()
82 stdout = of_find_node_by_path(path); in udbg_scc_init()
/arch/sparc/kernel/
A Dprom_32.c292 const char *path; in of_console_init() local
295 path = of_get_property(dp, "stdout-path", NULL); in of_console_init()
296 if (!path) { in of_console_init()
300 strcpy(of_console_path, path); in of_console_init()
/arch/powerpc/kernel/
A Dsys_ppc32.c94 const char __user *, path, u32, reg4, in PPC32_SYSCALL_DEFINE4() argument
97 return ksys_truncate(path, merge_64(len1, len2)); in PPC32_SYSCALL_DEFINE4()
A Dprom_init.c1987 char *path = prom_scratch; in prom_initialize_tce_table() local
2064 prom_debug("TCE table: %s\n", path); in prom_initialize_tce_table()
2079 prom_printf("opening PHB %s", path); in prom_initialize_tce_table()
2275 char *path = of_stdout_device; in prom_init_stdout() local
2286 memset(path, 0, 256); in prom_init_stdout()
2290 path, prom_strlen(path) + 1); in prom_init_stdout()
2383 char type[16], *path; in prom_check_displays() local
2416 path = prom_scratch; in prom_check_displays()
2428 ih = call_prom("open", 1, 1, path); in prom_check_displays()
2629 path = prom_scratch; in scan_dt_build_struct()
[all …]
/arch/mips/kernel/
A Dlinux32.c54 SYSCALL_DEFINE4(32_truncate64, const char __user *, path,
57 return ksys_truncate(path, merge_64(a2, a3));

Completed in 41 milliseconds

12345678910>>...59