/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/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 | 209 asmlinkage long parisc_truncate64(const char __user * path, in parisc_truncate64() argument 212 return ksys_truncate(path, (long)high << 32 | low); in parisc_truncate64() 223 asmlinkage long sys_truncate64(const char __user * path, unsigned long length) in sys_truncate64() argument 225 return ksys_truncate(path, length); in sys_truncate64() 237 asmlinkage long parisc_truncate64(const char __user * path, in parisc_truncate64() argument 240 return ksys_truncate(path, (loff_t)high << 32 | low); in parisc_truncate64()
|
/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 | 275 char *path; in probe_store() local 278 path = ibmebus_chomp(buf, count); in probe_store() 279 if (!path) in probe_store() 282 dev = bus_find_device(&ibmebus_bus_type, NULL, path, in probe_store() 287 __func__, path); in probe_store() 292 if ((dn = of_find_node_by_path(path))) { in probe_store() 297 __func__, path); in probe_store() 302 kfree(path); in probe_store() 312 char *path; in remove_store() local 314 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()
|
/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 | 278 static int spufs_context_open(const struct path *path) in spufs_context_open() argument 287 filp = dentry_open(path, O_RDONLY, current_cred()); in spufs_context_open() 409 struct path path = {.mnt = mnt, .dentry = dentry}; in spufs_create_context() local 448 ret = spufs_context_open(&path); in spufs_create_context() 494 static int spufs_gang_open(const struct path *path) in spufs_gang_open() argument 507 filp = dentry_open(path, O_RDONLY, current_cred()); in spufs_gang_open() 522 struct path path = {.mnt = mnt, .dentry = dentry}; in spufs_create_gang() local 527 ret = spufs_gang_open(&path); in spufs_create_gang() 539 long spufs_create(const struct path *path, struct dentry *dentry, in spufs_create() argument 542 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 | 87 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()
|
D | ops.h | 174 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/ |
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/tools/ |
D | gen-hyprel.c | 134 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/ |
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/x86/entry/ |
D | TEST_MAPPING | 4 "path": "packages/modules/Connectivity" 7 "path": "packages/services/Telecomm" 10 "path": "system/netd"
|
/arch/x86/kernel/fpu/ |
D | TEST_MAPPING | 4 "path": "packages/modules/Connectivity" 7 "path": "packages/services/Telecomm" 10 "path": "system/netd"
|
/arch/x86/include/asm/ |
D | TEST_MAPPING | 4 "path": "packages/modules/Connectivity" 7 "path": "packages/services/Telecomm" 10 "path": "system/netd"
|
/arch/x86/crypto/ |
D | TEST_MAPPING | 4 "path": "packages/modules/Connectivity" 7 "path": "packages/services/Telecomm" 10 "path": "system/netd"
|
/arch/x86/net/ |
D | TEST_MAPPING | 4 "path": "packages/modules/Connectivity" 7 "path": "packages/services/Telecomm" 10 "path": "system/netd"
|