Home
last modified time | relevance | path

Searched refs:child (Results 1 – 25 of 738) sorted by relevance

12345678910>>...30

/f-stack/dpdk/app/test/
H A Dautotest_test_funcs.py13 def default_autotest(child, test_name): argument
14 child.sendline(test_name)
30 child.sendline(test_name)
40 child.sendline(test_name)
68 child.sendline(test_name)
101 child.sendline(test_name)
138 child.sendline(test_name)
171 child.sendline(test_name)
202 child.sendline(test_name)
231 child.sendline(test_name)
[all …]
/f-stack/dpdk/app/test-cmdline/
H A Dcmdline_test.py15 def runTest(child, test): argument
16 child.send(test["Sequence"])
19 child.expect(test["Result"], 1)
33 def runHistoryTest(child): argument
62 child = pexpect.spawn(test_app_path) variable
68 runTest(child, test)
72 print(child)
76 child = pexpect.spawn(test_app_path) variable
80 runHistoryTest(child)
84 print(child)
[all …]
/f-stack/freebsd/x86/x86/
H A Dlegacy.c158 device_t child; in legacy_attach() local
175 if (child == NULL) in legacy_attach()
200 device_t child; in legacy_add_child() local
212 if (child == NULL) in legacy_add_child()
218 return (child); in legacy_add_child()
321 device_t child; in cpu_identify() local
331 if (child == NULL) in cpu_identify()
340 device_t child; in cpu_add_child() local
351 if (child != NULL) { in cpu_add_child()
352 pc->pc_device = child; in cpu_add_child()
[all …]
H A Dnexus.c324 retval += nexus_print_all_resources(child); in nexus_print_child()
325 if (device_get_flags(child)) in nexus_print_child()
335 device_t child; in nexus_add_child() local
346 device_set_ivars(child, ndev); in nexus_add_child()
348 return(child); in nexus_add_child()
378 struct nexus_device *ndev = DEVTONX(child); in nexus_alloc_resource()
596 if (bus_get_domain(child, &domain) != 0) in nexus_setup_intr()
656 struct nexus_device *ndev = DEVTONX(child); in nexus_get_reslist()
665 struct nexus_device *ndev = DEVTONX(child); in nexus_set_resource()
677 struct nexus_device *ndev = DEVTONX(child); in nexus_get_resource()
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/snapused/
H A Dsnapused.kshlib60 _check_used $child
71 if [[ "$(get_prop type $child)" == "snapshot" ]]; then
76 if [[ "$child" == "$dataset" ]]; then
79 reservation=$(get_prop reservation $child)
80 used=$(get_prop used $child)
125 _check_usedbydataset $child
151 _check_usedbyrefreservation $child
163 if [[ "$child" == "$dataset" ]]; then
168 if [[ "$(get_prop type $child)" != "snapshot" ]]; then
172 if [[ "$child" != "$dataset@"* ]]; then
[all …]
/f-stack/freebsd/mips/mips/
H A Dnexus.c227 if (device_get_flags(child)) in nexus_print_child()
253 device_t child; in nexus_add_child() local
262 if (child == NULL) { in nexus_add_child()
268 device_set_ivars(child, ndev); in nexus_add_child()
270 return (child); in nexus_add_child()
330 device_get_nameunit(child)); in nexus_alloc_resource()
444 err = mips_pic_activate_intr(child, r); in nexus_activate_resource()
471 mips_pic_deactivate_intr(child, r); in nexus_deactivate_resource()
538 return (intr_bind_irq(child, irq, cpu)); in nexus_bind_intr()
566 device_t child; in nexus_hinted_child() local
[all …]
/f-stack/freebsd/arm/freescale/vybrid/
H A Dvf_iomuxc.c128 phandle_t child, parent, root; in pinmux_set() local
141 for (child = OF_child(parent); child != 0; child = OF_peer(child)) { in pinmux_set()
143 while (OF_child(child)) { in pinmux_set()
144 parent = child; in pinmux_set()
145 child = OF_child(child); in pinmux_set()
148 if (!ofw_bus_node_status_okay(child)) in pinmux_set()
151 if ((len = OF_getproplen(child, "iomux_config")) > 0) { in pinmux_set()
152 OF_getencprop(child, "iomux_config", iomux_config, len); in pinmux_set()
166 if (OF_peer(child) == 0) { in pinmux_set()
168 child = parent; in pinmux_set()
[all …]
/f-stack/freebsd/x86/isa/
H A Dorm.c88 device_t child; in orm_identify() local
100 device_set_driver(child, driver); in orm_identify()
101 isa_set_logicalid(child, ORM_ID); in orm_identify()
102 isa_set_vendorid(child, ORM_ID); in orm_identify()
103 sc = device_get_softc(child); in orm_identify()
112 bus_delete_resource(child, SYS_RES_MEMORY, sc->rnum); in orm_identify()
131 bus_release_resource(child, SYS_RES_MEMORY, rid, res); in orm_identify()
132 bus_delete_resource(child, SYS_RES_MEMORY, sc->rnum); in orm_identify()
154 device_delete_child(parent, child); in orm_identify()
156 device_set_desc(child, "ISA Option ROM"); in orm_identify()
[all …]
/f-stack/freebsd/arm/arm/
H A Dnexus.c187 nexus_print_child(device_t bus, device_t child) in nexus_print_child() argument
191 retval += bus_print_child_header(bus, child); in nexus_print_child()
200 device_t child; in nexus_add_child() local
211 device_set_ivars(child, ndev); in nexus_add_child()
213 return (child); in nexus_add_child()
248 if (bus_activate_resource(child, type, *rid, rv)) { in nexus_alloc_resource()
283 nexus_get_dma_tag(device_t dev, device_t child) in nexus_get_dma_tag() argument
322 return (intr_teardown_irq(child, r, ih)); in nexus_teardown_intr()
338 return (intr_bind_irq(child, irq, cpu)); in nexus_bind_intr()
380 err = intr_activate_irq(child, r); in nexus_activate_resource()
[all …]
/f-stack/freebsd/arm64/cavium/
H A Dthunder_pcie_pem_fdt.c119 err = ofw_bus_msimap(ofw_bus_get_node(pci), pci_get_rid(child), in thunder_pem_fdt_alloc_msi()
123 return (intr_alloc_msi(pci, child, msi_parent, count, maxcount, in thunder_pem_fdt_alloc_msi()
133 err = ofw_bus_msimap(ofw_bus_get_node(pci), pci_get_rid(child), in thunder_pem_fdt_release_msi()
137 return (intr_release_msi(pci, child, msi_parent, count, irqs)); in thunder_pem_fdt_release_msi()
146 err = ofw_bus_msimap(ofw_bus_get_node(pci), pci_get_rid(child), in thunder_pem_fdt_alloc_msix()
150 return (intr_alloc_msix(pci, child, msi_parent, irq)); in thunder_pem_fdt_alloc_msix()
159 err = ofw_bus_msimap(ofw_bus_get_node(pci), pci_get_rid(child), in thunder_pem_fdt_release_msix()
163 return (intr_release_msix(pci, child, msi_parent, irq)); in thunder_pem_fdt_release_msix()
173 err = ofw_bus_msimap(ofw_bus_get_node(pci), pci_get_rid(child), in thunder_pem_fdt_map_msi()
190 return (pcib_get_id(dev, child, type, id)); in thunder_pem_fdt_get_id()
[all …]
H A Dthunder_pcie_fdt.c128 thunder_pcie_fdt_get_id(device_t pci, device_t child, enum pci_id_type type, in thunder_pcie_fdt_get_id() argument
135 return (pcib_get_id(pci, child, type, id)); in thunder_pcie_fdt_get_id()
139 return (generic_pcie_get_id(pci, child, type, id)); in thunder_pcie_fdt_get_id()
141 bsf = pci_get_rid(child); in thunder_pcie_fdt_get_id()
142 *id = (pci_get_domain(child) << PCI_RID_DOMAIN_SHIFT) | bsf; in thunder_pcie_fdt_get_id()
149 thunder_pcie_fdt_alloc_resource(device_t dev, device_t child, int type, int *rid, in thunder_pcie_fdt_alloc_resource() argument
153 if ((int)ofw_bus_get_node(child) > 0) in thunder_pcie_fdt_alloc_resource()
154 return (pci_host_generic_alloc_resource(dev, child, in thunder_pcie_fdt_alloc_resource()
157 return (thunder_pcie_alloc_resource(dev, child, in thunder_pcie_fdt_alloc_resource()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/
H A Dzfs_change-key_clones.ksh55 log_must zfs snapshot $TESTPOOL/$TESTFS1/child@1
56 log_must zfs clone $TESTPOOL/$TESTFS1/child@1 $TESTPOOL/$TESTFS1/clone1
57 log_must zfs clone $TESTPOOL/$TESTFS1/child@1 $TESTPOOL/$TESTFS1/clone2
58 log_must zfs create $TESTPOOL/$TESTFS1/child/A
63 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child $TESTPOOL/$TESTFS1/child
64 log_must verify_encryption_root $TESTPOOL/$TESTFS1/clone1 $TESTPOOL/$TESTFS1/child
65 log_must verify_encryption_root $TESTPOOL/$TESTFS1/clone2 $TESTPOOL/$TESTFS1/child
66 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child/A $TESTPOOL/$TESTFS1/child
70 log_must zfs change-key -i $TESTPOOL/$TESTFS1/child
73 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child $TESTPOOL/$TESTFS1
[all …]
H A Dzfs_change-key_child.ksh57 log_must zfs create $TESTPOOL/$TESTFS1/child
69 log_must zfs unmount $TESTPOOL/$TESTFS1/child
70 log_must zfs unload-key $TESTPOOL/$TESTFS1/child
71 log_must key_unavailable $TESTPOOL/$TESTFS1/child
74 log_must key_available $TESTPOOL/$TESTFS1/child
76 log_must zfs destroy $TESTPOOL/$TESTFS1/child
77 log_must zfs create $TESTPOOL/$TESTFS1/child
82 log_must zfs unmount $TESTPOOL/$TESTFS1/child
83 log_must zfs unload-key $TESTPOOL/$TESTFS1/child
84 log_must key_unavailable $TESTPOOL/$TESTFS1/child
[all …]
/f-stack/freebsd/mips/broadcom/
H A Dbhnd_nexus.c70 bhnd_nexus_get_service_registry(device_t dev, device_t child) in bhnd_nexus_get_service_registry() argument
97 bhnd_nexus_deactivate_resource(device_t dev, device_t child, in bhnd_nexus_deactivate_resource() argument
116 bhnd_nexus_is_hw_disabled(device_t dev, device_t child) in bhnd_nexus_is_hw_disabled() argument
128 bhnd_get_device(child) == BHND_COREID_4706_GMAC && in bhnd_nexus_is_hw_disabled()
129 bhnd_get_core_unit(child) != 0) in bhnd_nexus_is_hw_disabled()
141 bhnd_nexus_get_attach_type(device_t dev, device_t child) in bhnd_nexus_get_attach_type() argument
150 bhnd_nexus_get_chipid(device_t dev, device_t child) in bhnd_nexus_get_chipid() argument
159 bhnd_nexus_read_board_info(device_t dev, device_t child, in bhnd_nexus_read_board_info() argument
188 if ((error = bhnd_get_intr_ivec(child, intr, &ivec))) { in bhnd_nexus_map_intr()
195 xref = BHND_BUS_GET_INTR_DOMAIN(dev, child, false); in bhnd_nexus_map_intr()
[all …]
/f-stack/freebsd/arm64/arm64/
H A Dnexus.c187 retval += bus_print_child_header(bus, child); in nexus_print_child()
196 device_t child; in nexus_add_child() local
207 device_set_ivars(child, ndev); in nexus_add_child()
209 return (child); in nexus_add_child()
221 struct nexus_device *ndev = DEVTONX(child); in nexus_alloc_resource()
324 return (intr_teardown_irq(child, r, ih)); in nexus_teardown_intr()
332 return (intr_bind_irq(child, irq, cpu)); in nexus_bind_intr()
370 err = intr_activate_irq(child, r); in nexus_activate_resource()
382 struct nexus_device *ndev = DEVTONX(child); in nexus_get_reslist()
391 struct nexus_device *ndev = DEVTONX(child); in nexus_set_resource()
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/user_ns_exec/
H A Duser_ns_exec.c121 pid_t child; in main() local
133 child = fork(); in main()
134 if (child == (pid_t)-1) { in main()
139 if (child == 0) { in main()
150 kill(child, SIGKILL); in main()
156 if (set_idmap(child, "uid_map") != 0 || in main()
157 set_idmap(child, "gid_map") != 0) { in main()
159 kill(child, SIGKILL); in main()
166 kill(child, SIGKILL); in main()
173 while (waitpid(child, &wstatus, 0) != child) in main()
[all …]
/f-stack/freebsd/mips/atheros/
H A Dapb.c273 rl = apb_get_resource_list(dev, child); in apb_release_resource()
409 device_t child; in apb_hinted_child() local
416 child = BUS_ADD_CHILD(bus, 0, dname, dunit); in apb_hinted_child()
451 device_t child; in apb_add_child() local
458 if (child == NULL) { in apb_add_child()
463 device_set_ivars(child, ivar); in apb_add_child()
465 return (child); in apb_add_child()
477 ivar = device_get_ivars(child); in apb_get_resource_list()
498 apb_print_child(device_t bus, device_t child) in apb_print_child() argument
503 retval += apb_print_all_resources(child); in apb_print_child()
[all …]
/f-stack/freebsd/kern/
H A Dsubr_bus.c1888 device_t child; in device_add_child_ordered() local
1921 return (child); in device_add_child_ordered()
1957 devclass_delete_device(child->devclass, child); in device_delete_child()
1984 device_t child; in device_delete_children() local
2019 device_t child; in device_find_child() local
2027 if (child && child->parent == dev) in device_find_child()
2032 if (child && child->parent == dev) in device_find_child()
2274 device_t child; in device_get_children() local
3848 child = TAILQ_NEXT(child, link); in bus_generic_suspend()
3908 child = TAILQ_NEXT(child, link); in bus_helper_reset_prepare_rollback()
[all …]
/f-stack/freebsd/contrib/openzfs/module/avl/
H A Davl.c242 if (child != direction) in avl_nearest()
263 int child = 0; in avl_find() local
375 AVL_SETPARENT(node, child); in avl_rotation()
386 tree->avl_root = child; in avl_rotation()
441 AVL_SETPARENT(gleft, child); in avl_rotation()
456 AVL_SETCHILD(child, left); in avl_rotation()
603 ASSERT(diff > 0 ? child == 1 : child == 0); in avl_insert_here()
608 child = 1 - child; in avl_insert_here()
615 ASSERT(diff > 0 ? child == 1 : child == 0); in avl_insert_here()
624 ASSERT(diff > 0 ? child == 1 : child == 0); in avl_insert_here()
[all …]
/f-stack/freebsd/arm64/coresight/
H A Dcoresight_fdt.c53 phandle_t node, child; in coresight_fdt_get_ports() local
61 child = ofw_bus_find_child(dev_node, "ports"); in coresight_fdt_get_ports()
62 if (child) in coresight_fdt_get_ports()
63 node = child; in coresight_fdt_get_ports()
67 for (child = OF_child(node); child != 0; child = OF_peer(child)) { in coresight_fdt_get_ports()
68 ret = OF_getprop_alloc(child, "name", (void **)&name); in coresight_fdt_get_ports()
75 OF_getencprop(child, "reg", (void *)&port_reg, in coresight_fdt_get_ports()
78 endpoint_child = ofw_bus_find_child(child, "endpoint"); in coresight_fdt_get_ports()
/f-stack/freebsd/contrib/device-tree/Bindings/i2c/
H A Di2c-mux.txt3 An i2c bus multiplexer/switch will have several child busses that are
5 multiplexer/switch will have one child node for each child bus.
9 This property is required if the i2c-mux child node does not exist.
12 This property is required if the i2c-mux child node does not exist.
15 For i2c multiplexers/switches that have child nodes that are a mixture
16 of both i2c child busses and other child nodes, the 'i2c-mux' subnode
17 can be used for populating the i2c child busses. If an 'i2c-mux'
19 child busses.
21 Required properties for the i2c-mux child node:
25 Required properties for i2c child bus nodes:
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_nounmount.ksh46 log_must zfs create $TESTPOOL/rename_test/child
47 log_must zfs create $TESTPOOL/rename_test/child/grandchild
52 if ! ismounted $TESTPOOL/rename_test/child; then
55 if ! ismounted $TESTPOOL/rename_test/child/grandchild; then
60 mntp_c=$(get_prop mountpoint $TESTPOOL/rename_test/child)
61 mntp_g=$(get_prop mountpoint $TESTPOOL/rename_test/child/grandchild)
68 log_mustnot zfs list $TESTPOOL/rename_test/child
69 log_mustnot zfs list $TESTPOOL/rename_test/child/grandchild
72 log_must zfs list $TESTPOOL/renamed/child
73 log_must zfs list $TESTPOOL/renamed/child/grandchild
H A Dzfs_rename_mountpoint.ksh46 log_must zfs create -o mountpoint=none $TESTPOOL/rename_test/child
47 log_must zfs create $TESTPOOL/rename_test/child/grandchild
55 if ismounted $TESTPOOL/rename_test/child; then
58 if ismounted $TESTPOOL/rename_test/child/grandchild; then
66 log_mustnot zfs list $TESTPOOL/rename_test/child
67 log_mustnot zfs list $TESTPOOL/rename_test/child/grandchild
71 log_must zfs list $TESTPOOL/renamed/child
72 log_must zfs list $TESTPOOL/renamed/child/grandchild
81 if ismounted $TESTPOOL/renamed/child; then
84 if ismounted $TESTPOOL/renamed/child/grandchild; then
H A Dzfs_rename_encrypted_child.ksh56 log_must zfs create $TESTPOOL/$TESTFS2/child
57 log_must zfs create $TESTPOOL/$TESTFS2/child/grandchild
61 log_mustnot zfs rename $TESTPOOL/$TESTFS2/child/grandchild \
64 log_mustnot zfs rename $TESTPOOL/$TESTFS2/child/grandchild \
67 log_must zfs rename $TESTPOOL/$TESTFS2/child/grandchild \
68 $TESTPOOL/$TESTFS2/child/grandchild2
69 log_must verify_encryption_root $TESTPOOL/$TESTFS2/child/grandchild2 \
72 log_must zfs rename $TESTPOOL/$TESTFS2/child/grandchild2 \
/f-stack/freebsd/x86/xen/
H A Dxen_pci_bus.c48 xen_pci_enable_msi_method(device_t dev, device_t child, uint64_t address, in xen_pci_enable_msi_method() argument
51 struct pci_devinfo *dinfo = device_get_ivars(child); in xen_pci_enable_msi_method()
56 pci_write_config(child, msi->msi_location + PCIR_MSI_CTRL, in xen_pci_enable_msi_method()
61 xen_pci_disable_msi_method(device_t dev, device_t child) in xen_pci_disable_msi_method() argument
63 struct pci_devinfo *dinfo = device_get_ivars(child); in xen_pci_disable_msi_method()
67 pci_write_config(child, msi->msi_location + PCIR_MSI_CTRL, in xen_pci_disable_msi_method()
72 xen_pci_child_added_method(device_t dev, device_t child) in xen_pci_child_added_method() argument
78 dinfo = device_get_ivars(child); in xen_pci_child_added_method()

12345678910>>...30