Searched refs:ofdt (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
H A D | reconfig.c | 120 * /proc/powerpc/ofdt - yucky binary interface for adding and removing 444 /* create /proc/powerpc/ofdt write-only by root */ proc_ppc64_create_ofdt() 449 ent = proc_create("powerpc/ofdt", S_IWUSR, NULL, &ofdt_fops); proc_ppc64_create_ofdt()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | pci-hotplug.c | 88 /* use ofdt-based probe */ pcibios_add_pci_devices()
|
/linux-4.1.27/fs/ |
H A D | file.c | 63 static void copy_fdtable(struct fdtable *nfdt, struct fdtable *ofdt) copy_fdtable() argument 67 BUG_ON(nfdt->max_fds < ofdt->max_fds); copy_fdtable() 69 cpy = ofdt->max_fds * sizeof(struct file *); copy_fdtable() 70 set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); copy_fdtable() 71 memcpy(nfdt->fd, ofdt->fd, cpy); copy_fdtable() 74 cpy = ofdt->max_fds / BITS_PER_BYTE; copy_fdtable() 75 set = (nfdt->max_fds - ofdt->max_fds) / BITS_PER_BYTE; copy_fdtable() 76 memcpy(nfdt->open_fds, ofdt->open_fds, cpy); copy_fdtable() 78 memcpy(nfdt->close_on_exec, ofdt->close_on_exec, cpy); copy_fdtable()
|
Completed in 267 milliseconds