Home
last modified time | relevance | path

Searched refs:pns (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/tools/testing/selftests/nsfs/
Dpidns.c47 int ns, pns, i; in main() local
60 pns = ioctl(ns, NS_GET_PARENT); in main()
61 if (pns < 0) in main()
67 if (fstat(pns, &st1)) in main()
72 if (ioctl(pns, NS_GET_PARENT) >= 0 || errno != EPERM) in main()
/Linux-v5.4/drivers/of/
Dfdt_address.c169 int na, ns, pna, pns; in fdt_translate_address() local
216 pbus->count_cells(blob, parent, &pna, &pns); in fdt_translate_address()
217 if (!OF_CHECK_COUNTS(pna, pns)) { in fdt_translate_address()
224 pna, pns, fdt_get_name(blob, parent, NULL)); in fdt_translate_address()
233 ns = pns; in fdt_translate_address()
Daddress.c579 int na, ns, pna, pns; in __of_translate_address() local
637 pbus->count_cells(dev, &pna, &pns); in __of_translate_address()
638 if (!OF_CHECK_COUNTS(pna, pns)) { in __of_translate_address()
644 pbus->name, pna, pns, parent); in __of_translate_address()
652 ns = pns; in __of_translate_address()
/Linux-v5.4/arch/sparc/kernel/
Dof_device_32.c284 int pna, pns; in build_device_resources() local
310 pbus->count_cells(dp, &pna, &pns); in build_device_resources()
319 dns = pns; in build_device_resources()
Dof_device_64.c362 int pna, pns; in build_device_resources() local
387 pbus->count_cells(dp, &pna, &pns); in build_device_resources()
396 dns = pns; in build_device_resources()