/linux-master/arch/mips/vdso/ |
H A D | genvdso.c | 108 static void *map_vdso(const char *path, size_t *_size) argument 115 fd = open(path, O_RDWR); 118 path, strerror(errno)); 124 path, strerror(errno)); 133 path, strerror(errno)); 143 path); 155 program_name, path); 167 program_name, path); 175 program_name, path); 181 program_name, path); 191 patch_vdso(const char *path, void *vdso) argument 199 get_symbols(const char *path, void *vdso) argument [all...] |
/linux-master/arch/parisc/include/asm/ |
H A 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);
|
/linux-master/arch/parisc/include/uapi/asm/ |
H A D | pdc.h | 379 struct hardware_path path; member in struct:pdc_module_path
|
/linux-master/arch/parisc/kernel/ |
H A D | drivers.c | 304 * get_node_path fills in @path with the firmware path to the device. 310 static void get_node_path(struct device *dev, struct hardware_path *path) argument 313 memset(&path->bc, -1, 6); 317 path->mod = PCI_FUNC(devfn); 318 path->bc[i--] = PCI_SLOT(devfn); 325 path->bc[i--] = PCI_SLOT(devfn) | (PCI_FUNC(devfn)<< 5); 327 path->bc[i--] = to_parisc_device(dev)->hw_path; 333 static char *print_hwpath(struct hardware_path *path, char *output) argument 337 if (path 356 struct hardware_path path; local 374 get_pci_node_path(struct pci_dev *pdev, struct hardware_path *path) argument 391 struct hardware_path path; local 402 struct hardware_path path; local 778 device_to_hwpath(struct device *dev, struct hardware_path *path) argument 848 struct hardware_path path; local [all...] |
H A D | inventory.c | 460 dev = alloc_pa_dev(r_addr->hpa, &module_path->path); 486 memset(module_path.path.bc, 0xff, 6); 487 module_path.path.mod = mod; 492 memset(module_path.path.bc, 0xff, 4); 493 module_path.path.bc[4] = mod; 496 module_path.path.bc[5] = 0; 497 module_path.path.mod = func; 570 dev = alloc_pa_dev(module_result.mod_addr, &module_path.path);
|
H A D | sys_parisc.c | 209 asmlinkage long parisc_truncate64(const char __user * path, argument 212 return ksys_truncate(path, (long)high << 32 | low); 223 asmlinkage long sys_truncate64(const char __user * path, unsigned long length) argument 225 return ksys_truncate(path, length); 237 asmlinkage long parisc_truncate64(const char __user * path, argument 240 return ksys_truncate(path, (loff_t)high << 32 | low);
|
/linux-master/arch/powerpc/boot/ |
H A D | 4xx.c | 222 /* get data path bytes */ 427 /* Feedback path */ 480 static void eplike_fixup_uart_clk(int index, const char *path, argument 509 dt_fixup_clock(path, clock); 755 /* Feedback path */
|
H A D | devtree.c | 82 void dt_fixup_clock(const char *path, u32 freq) argument 84 void *devp = finddevice(path); 87 printf("%s: clock-frequency <- %x (%dMHz)\n\r", path, freq, MHZ(freq));
|
H A D | ops.h | 174 char path[MAX_PATH_LEN]; local 175 if (getprop(devp, alias, path, MAX_PATH_LEN) > 0) 176 return finddevice(path); 193 void dt_fixup_clock(const char *path, u32 freq);
|
H A D | serial.c | 87 char path[MAX_PATH_LEN]; local 93 if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0 || 94 getprop(devp, "stdout-path", path, MAX_PATH_LEN) > 0) { 95 devp = finddevice(path);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | syscalls.h | 101 long sys_ppc_truncate64(const char __user *path, u32 reg4, 127 long compat_sys_ppc_truncate64(const char __user *path, u32 reg4,
|
/linux-master/arch/powerpc/kernel/ |
H A D | legacy_serial.c | 396 const char *path; local 402 path = of_get_property(of_chosen, "linux,stdout-path", NULL); 403 if (path == NULL) 404 path = of_get_property(of_chosen, "stdout-path", NULL); 405 if (path != NULL) { 406 stdout = of_find_node_by_path(path); 410 DBG(" no linux,stdout-path !\n"); 634 /* ... So use the full path instea [all...] |
H A D | prom_init.c | 1702 call_prom("package-to-path", 3, 1, node, prom_scratch, 1987 char *path = prom_scratch; local 2052 /* It seems OF doesn't null-terminate the path :-( */ 2053 memset(path, 0, sizeof(prom_scratch)); 2055 if (call_prom("package-to-path", 3, 1, node, 2056 path, sizeof(prom_scratch) - 1) == PROM_ERROR) { 2057 prom_printf("package-to-path failed\n"); 2061 prom_setprop(node, path, "linux,tce-base", &base, sizeof(base)); 2062 prom_setprop(node, path, "linux,tce-size", &minsize, sizeof(minsize)); 2064 prom_debug("TCE table: %s\n", path); 2275 char *path = of_stdout_device; local 2383 char type[16], *path; local 2591 char *namep, *prev_name, *sstart, *p, *ep, *lp, *path; local [all...] |
H A D | sys_ppc32.c | 94 const char __user *, path, u32, reg4, 97 return ksys_truncate(path, merge_64(len1, len2));
|
/linux-master/arch/powerpc/kernel/vdso/ |
H A D | Makefile | 58 ldflags-$(CONFIG_LD_IS_LLD) += $(call cc-option,--ld-path=$(LD),-fuse-ld=lld)
|
/linux-master/arch/powerpc/kexec/ |
H A D | file_load_64.c | 380 char path[NODE_PATH_LEN]; local 387 if (snprintf(path, NODE_PATH_LEN, "%pOF", dn) > (NODE_PATH_LEN - 1)) { 392 kexec_dprintk("Memory node path: %s\n", path); 394 /* Now that we know the path, find its offset in kdump kernel's fdt */ 395 node = fdt_path_offset(fdt, path); 397 pr_err("Malformed device tree: error reading %s\n", path);
|
/linux-master/arch/powerpc/platforms/cell/spufs/ |
H A D | inode.c | 279 static int spufs_context_open(const struct path *path) argument 288 filp = dentry_open(path, O_RDONLY, current_cred()); 410 struct path path = {.mnt = mnt, .dentry = dentry}; local 449 ret = spufs_context_open(&path); 495 static int spufs_gang_open(const struct path *path) argument 506 * in error path of *_open(). 508 filp = dentry_open(path, O_RDONL 523 struct path path = {.mnt = mnt, .dentry = dentry}; local 540 spufs_create(const struct path *path, struct dentry *dentry, unsigned int flags, umode_t mode, struct file *filp) argument [all...] |
H A D | spufs.h | 235 long spufs_create(const struct path *nd, struct dentry *dentry, unsigned int flags,
|
/linux-master/arch/powerpc/platforms/powermac/ |
H A D | udbg_scc.c | 71 const char *path; local 80 path = of_get_property(of_chosen, "linux,stdout-path", NULL); 81 if (path != NULL) 82 stdout = of_find_node_by_path(path);
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-xscom.c | 83 struct debugfs_blob_wrapper path; member in struct:scom_debug_entry 167 ent->path.data = (void *)kasprintf(GFP_KERNEL, "%pOF", dn); 168 if (!ent->path.data) { 173 ent->path.size = strlen((char *)ent->path.data); 177 kfree(ent->path.data); 182 debugfs_create_blob("devspec", 0400, dir, &ent->path);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | ibmebus.c | 275 char *path; local 278 path = ibmebus_chomp(buf, count); 279 if (!path) 282 dev = bus_find_device(&ibmebus_bus_type, NULL, path, 287 __func__, path); 292 if ((dn = of_find_node_by_path(path))) { 297 __func__, path); 302 kfree(path); 312 char *path; local 314 path [all...] |
H A D | of_helpers.c | 12 * @path: the full_name of a node to be added to the tree 15 * described by path. E.g., for path = "/foo/bar", returns 18 struct device_node *pseries_of_derive_parent(const char *path) argument 25 tail = kbasename(path) - 1; 27 /* reject if path is "/" */ 28 if (!strcmp(path, "/")) 31 if (tail > path) { 32 parent_path = kstrndup(path, tail - path, GFP_KERNE [all...] |
H A D | reconfig.c | 23 static int pSeries_reconfig_add_node(const char *path, struct property *proplist) argument 32 np->full_name = kstrdup(kbasename(path), GFP_KERNEL); 40 np->parent = pseries_of_derive_parent(path); 48 printk(KERN_ERR "Failed to add device node %s\n", path); 196 char *path, *end, *name; local 203 path = buf; 210 if ((np = of_find_node_by_path(path))) { 232 rv = pSeries_reconfig_add_node(path, prop);
|
/linux-master/arch/s390/kernel/ |
H A D | compat_linux.h | 81 long compat_sys_s390_truncate64(const char __user *path, u32 high, u32 low);
|
/linux-master/arch/sh/kernel/cpu/sh3/ |
H A D | entry.S | 479 * We got here as a result of taking the INTEVT path for something 481 * path and special case the event dispatch instead. This is the 482 * expected path for the NMI (and any other brilliantly implemented
|