/arch/um/os-Linux/ |
D | execvp.c | 52 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/ |
D | genvdso.c | 108 static void *map_vdso(const char *path, size_t *_size) in map_vdso() argument 115 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() [all …]
|
D | genvdso.h | 7 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/powerpc/platforms/pseries/ |
D | of_helpers.c | 18 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()
|
D | ibmebus.c | 270 char *path; in probe_store() local 273 path = ibmebus_chomp(buf, count); in probe_store() 274 if (!path) in probe_store() 277 dev = bus_find_device(&ibmebus_bus_type, NULL, path, in probe_store() 282 __func__, path); in probe_store() 287 if ((dn = of_find_node_by_path(path))) { in probe_store() 292 __func__, path); in probe_store() 297 kfree(path); in probe_store() 307 char *path; in remove_store() local 309 path = ibmebus_chomp(buf, count); in remove_store() [all …]
|
D | reconfig.c | 23 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()
|
D | of_helpers.h | 7 struct device_node *pseries_of_derive_parent(const char *path);
|
/arch/parisc/kernel/ |
D | drivers.c | 310 static void get_node_path(struct device *dev, struct hardware_path *path) in get_node_path() argument 313 memset(&path->bc, -1, 6); in get_node_path() 317 path->mod = PCI_FUNC(devfn); in get_node_path() 318 path->bc[i--] = PCI_SLOT(devfn); in get_node_path() 325 path->bc[i--] = PCI_SLOT(devfn) | (PCI_FUNC(devfn)<< 5); in get_node_path() 327 path->bc[i--] = to_parisc_device(dev)->hw_path; in get_node_path() 333 static char *print_hwpath(struct hardware_path *path, char *output) in print_hwpath() argument 337 if (path->bc[i] == -1) in print_hwpath() 339 output += sprintf(output, "%u/", (unsigned char) path->bc[i]); in print_hwpath() 341 output += sprintf(output, "%u", (unsigned char) path->mod); in print_hwpath() [all …]
|
D | inventory.c | 460 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()
|
D | sys_parisc.c | 300 asmlinkage long parisc_truncate64(const char __user * path, in parisc_truncate64() argument 303 return ksys_truncate(path, (long)high << 32 | low); in parisc_truncate64() 314 asmlinkage long sys_truncate64(const char __user * path, unsigned long length) in sys_truncate64() argument 316 return ksys_truncate(path, length); in sys_truncate64() 328 asmlinkage long parisc_truncate64(const char __user * path, in parisc_truncate64() argument 331 return ksys_truncate(path, (loff_t)high << 32 | low); in parisc_truncate64()
|
/arch/powerpc/platforms/cell/spufs/ |
D | syscalls.c | 66 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()
|
D | inode.c | 277 static int spufs_context_open(struct path *path) in spufs_context_open() argument 286 filp = dentry_open(path, O_RDONLY, current_cred()); in spufs_context_open() 408 struct path path = {.mnt = mnt, .dentry = dentry}; in spufs_create_context() local 447 ret = spufs_context_open(&path); in spufs_create_context() 493 static int spufs_gang_open(struct path *path) in spufs_gang_open() argument 506 filp = dentry_open(path, O_RDONLY, current_cred()); in spufs_gang_open() 521 struct path path = {.mnt = mnt, .dentry = dentry}; in spufs_create_gang() local 526 ret = spufs_gang_open(&path); in spufs_create_gang() 538 long spufs_create(struct path *path, struct dentry *dentry, in spufs_create() argument 541 struct inode *dir = d_inode(path->dentry); in spufs_create() [all …]
|
/arch/powerpc/platforms/powernv/ |
D | opal-xscom.c | 83 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/ |
D | hardware.h | 109 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/ |
D | planetcore.c | 106 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()
|
D | serial.c | 89 char path[MAX_PATH_LEN]; in serial_get_stdout_devp() local 95 if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0 || in serial_get_stdout_devp() 96 getprop(devp, "stdout-path", path, MAX_PATH_LEN) > 0) { in serial_get_stdout_devp() 97 devp = finddevice(path); in serial_get_stdout_devp()
|
D | ops.h | 176 char path[MAX_PATH_LEN]; in find_node_by_alias() local 177 if (getprop(devp, alias, path, MAX_PATH_LEN) > 0) in find_node_by_alias() 178 return finddevice(path); in find_node_by_alias() 195 void dt_fixup_clock(const char *path, u32 freq);
|
/arch/mips/generic/ |
D | yamon-dt.c | 160 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/ |
D | gen-hyprel.c | 131 const char *path; member 164 elf.path, ## __VA_ARGS__); \ 172 elf.path, strerror(errno)); \ 245 static void init_elf(const char *path) in init_elf() argument 251 elf.path = path; in init_elf() 254 fd = open(path, O_RDONLY); in init_elf()
|
/arch/powerpc/platforms/powermac/ |
D | udbg_scc.c | 71 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/ |
D | prom_32.c | 294 const char *path; in of_console_init() local 297 path = of_get_property(dp, "stdout-path", NULL); in of_console_init() 298 if (!path) { in of_console_init() 302 strcpy(of_console_path, path); in of_console_init()
|
/arch/powerpc/kernel/ |
D | sys_ppc32.c | 76 asmlinkage int compat_sys_truncate64(const char __user * path, u32 reg4, in compat_sys_truncate64() argument 79 return ksys_truncate(path, merge_64(len1, len2)); in compat_sys_truncate64()
|
D | prom_init.c | 1983 char *path = prom_scratch; in prom_initialize_tce_table() local 2049 memset(path, 0, sizeof(prom_scratch)); in prom_initialize_tce_table() 2052 path, sizeof(prom_scratch) - 1) == PROM_ERROR) { in prom_initialize_tce_table() 2057 prom_setprop(node, path, "linux,tce-base", &base, sizeof(base)); in prom_initialize_tce_table() 2058 prom_setprop(node, path, "linux,tce-size", &minsize, sizeof(minsize)); in prom_initialize_tce_table() 2060 prom_debug("TCE table: %s\n", path); in prom_initialize_tce_table() 2075 prom_printf("opening PHB %s", path); in prom_initialize_tce_table() 2076 phb_node = call_prom("open", 1, 1, path); in prom_initialize_tce_table() 2271 char *path = of_stdout_device; in prom_init_stdout() local 2282 memset(path, 0, 256); in prom_init_stdout() [all …]
|
/arch/x86/include/asm/ |
D | efi.h | 290 #define __efi64_argmap_locate_device_path(protocol, path, handle) \ argument 291 ((protocol), (path), efi64_zero_upper(handle)) 302 #define __efi64_argmap_load_file(protocol, path, policy, bufsize, buf) \ argument 303 ((protocol), (path), (policy), efi64_zero_upper(bufsize), (buf))
|
/arch/mips/boot/dts/ralink/ |
D | vocore2.dts | 16 stdout-path = &uart2;
|