Home
last modified time | relevance | path

Searched full:child (Results 1 – 25 of 3071) sorted by relevance

12345678910>>...123

/freebsd/contrib/bc/tests/
H A Dhistory.py76 def expect(child, data): argument
77 child.expect(data)
80 # Eats all of the child's data.
81 # @param child The child whose data should be eaten.
82 def eat(child): argument
83 while child.buffer is not None and len(child.buffer) > 0:
84 expect(child, ".+")
87 # Send data to a child
90 send(child, data) global() argument
95 wait(child) global() argument
109 check_line(child, expected, prompt=">>> ", history=True) global() argument
117 write_str(child, s) global() argument
128 bc_banner(child) global() argument
1148 child = test_array[test_idx](exe[0], exe[1:], env) global() variable
[all...]
/freebsd/contrib/netbsd-tests/kernel/
H A Dt_ptrace_wait.c59 ATF_REQUIRE(msg_write_child(info " to child " # fds, &fds, &msg, sizeof(msg)) == 0)
75 "Verify SIGSTOP followed by _exit(2) in a child"); in ATF_TC_HEAD()
82 pid_t child, wpid; in ATF_TC_BODY() local
88 ATF_REQUIRE((child = fork()) != -1); in ATF_TC_BODY()
89 if (child == 0) { in ATF_TC_BODY()
90 printf("Before calling PT_TRACE_ME from child %d\n", getpid()); in ATF_TC_BODY()
93 printf("Before raising %s from child\n", strsignal(sigval)); in ATF_TC_BODY()
96 printf("Before exiting of the child process\n"); in ATF_TC_BODY()
99 printf("Parent process PID=%d, child's PID=%d\n", getpid(), child); in ATF_TC_BODY()
101 printf("Before calling %s() for the child\n", TWAIT_FNAME); in ATF_TC_BODY()
[all …]
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_cmd_if.m53 bypass_mng_get_version(device_t dev, device_t child, struct dpaa2_cmd *cmd,
58 return (DPAA2_CMD_MNG_GET_VERSION(device_get_parent(dev), child,
63 bypass_mng_get_soc_version(device_t dev, device_t child, struct dpaa2_cmd *cmd,
69 device_get_parent(dev), child, cmd, pvr, svr));
73 bypass_mng_get_container_id(device_t dev, device_t child, struct dpaa2_cmd *cmd,
79 device_get_parent(dev), child, cmd, cont_id));
83 bypass_rc_open(device_t dev, device_t child, struct dpaa2_cmd *cmd, uint32_t cont_id,
89 device_get_parent(dev), child, cmd, cont_id, token));
93 bypass_rc_close(device_t dev, device_t child, struct dpaa2_cmd *cmd)
98 device_get_parent(dev), child, cmd));
[all …]
H A Ddpaa2_rc.c170 /* TODO: Child DPRCs aren't supported yet. */ in dpaa2_rc_attach()
191 dpaa2_rc_get_resource_list(device_t rcdev, device_t child) in dpaa2_rc_get_resource_list() argument
193 struct dpaa2_devinfo *dinfo = device_get_ivars(child); in dpaa2_rc_get_resource_list()
199 dpaa2_rc_delete_resource(device_t rcdev, device_t child, int type, int rid) in dpaa2_rc_delete_resource() argument
205 if (device_get_parent(child) != rcdev) in dpaa2_rc_delete_resource()
208 dinfo = device_get_ivars(child); in dpaa2_rc_delete_resource()
218 "child: type=%d, rid=%d, start=%jx\n", __func__, in dpaa2_rc_delete_resource()
222 resource_list_unreserve(rl, rcdev, child, type, rid); in dpaa2_rc_delete_resource()
228 dpaa2_rc_alloc_multi_resource(device_t rcdev, device_t child, int type, int *rid, in dpaa2_rc_alloc_multi_resource() argument
234 dinfo = device_get_ivars(child); in dpaa2_rc_alloc_multi_resource()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DX86DisassemblerTables.cpp83 /// @param child - The class that may be the subset
85 /// @return - True if child is a subset of parent, false otherwise.
86 static inline bool inheritsFrom(InstructionContext child, in inheritsFrom() argument
90 if (child == parent) in inheritsFrom()
95 return (inheritsFrom(child, IC_64BIT, AdSize64) || in inheritsFrom()
96 (noPrefix && inheritsFrom(child, IC_OPSIZE, noPrefix)) || in inheritsFrom()
97 inheritsFrom(child, IC_ADSIZE) || in inheritsFrom()
98 (noPrefix && inheritsFrom(child, IC_XD, noPrefix)) || in inheritsFrom()
99 (noPrefix && inheritsFrom(child, IC_XS, noPrefix))); in inheritsFrom()
101 return (inheritsFrom(child, IC_64BIT_REXW) || in inheritsFrom()
[all …]
/freebsd/sys/dev/bhnd/
H A Dbhnd_bus_if.m65 bhnd_bus_null_get_chipid(device_t dev, device_t child)
71 bhnd_bus_null_read_ioctl(device_t dev, device_t child, uint16_t *ioctl)
78 bhnd_bus_null_write_ioctl(device_t dev, device_t child, uint16_t value,
86 bhnd_bus_null_read_iost(device_t dev, device_t child, uint16_t *iost)
92 bhnd_bus_null_is_hw_suspended(device_t dev, device_t child)
98 bhnd_bus_null_reset_hw(device_t dev, device_t child, uint16_t ioctl,
106 bhnd_bus_null_suspend_hw(device_t dev, device_t child)
112 bhnd_bus_null_get_attach_type(device_t dev, device_t child)
118 bhnd_bus_null_read_board_info(device_t dev, device_t child,
125 bhnd_bus_null_child_added(device_t dev, device_t child)
[all …]
H A Dbhnd.c142 device_t child = devs[i]; in bhnd_delete_children() local
145 if ((error = device_delete_child(sc->dev, child))) in bhnd_delete_children()
203 device_t child = devs[i]; in bhnd_generic_shutdown() local
206 if ((error = device_shutdown(child))) in bhnd_generic_shutdown()
240 device_t child = devs[i]; in bhnd_generic_resume() local
243 if ((error = BUS_RESUME_CHILD(device_get_parent(child), child))) in bhnd_generic_resume()
279 device_t child = devs[i]; in bhnd_generic_suspend() local
280 error = BUS_SUSPEND_CHILD(device_get_parent(child), child); in bhnd_generic_suspend()
306 bhnd_generic_get_probe_order(device_t dev, device_t child) in bhnd_generic_get_probe_order() argument
308 switch (bhnd_get_class(child)) { in bhnd_generic_get_probe_order()
[all …]
/freebsd/contrib/netbsd-tests/kernel/arch/amd64/
H A Dt_ptrace_wait.c70 pid_t child, wpid; in ATF_TC_BODY() local
77 ATF_REQUIRE((child = fork()) != -1); in ATF_TC_BODY()
78 if (child == 0) { in ATF_TC_BODY()
79 printf("Before calling PT_TRACE_ME from child %d\n", getpid()); in ATF_TC_BODY()
82 printf("Before raising %s from child\n", strsignal(sigval)); in ATF_TC_BODY()
85 printf("Before exiting of the child process\n"); in ATF_TC_BODY()
88 printf("Parent process PID=%d, child's PID=%d\n", getpid(), child); in ATF_TC_BODY()
90 printf("Before calling %s() for the child\n", TWAIT_FNAME); in ATF_TC_BODY()
91 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); in ATF_TC_BODY()
95 printf("Call GETREGS for the child process\n"); in ATF_TC_BODY()
[all …]
/freebsd/sys/dev/bhnd/siba/
H A Dsiba.c124 siba_read_ivar(device_t dev, device_t child, int index, uintptr_t *result) in siba_read_ivar() argument
131 dinfo = device_get_ivars(child); in siba_read_ivar()
188 siba_write_ivar(device_t dev, device_t child, int index, uintptr_t value) in siba_write_ivar() argument
194 dinfo = device_get_ivars(child); in siba_write_ivar()
232 siba_get_resource_list(device_t dev, device_t child) in siba_get_resource_list() argument
234 struct siba_devinfo *dinfo = device_get_ivars(child); in siba_get_resource_list()
240 siba_alloc_pmu(device_t dev, device_t child) in siba_alloc_pmu() argument
250 if (device_get_parent(child) != dev) in siba_alloc_pmu()
254 dinfo = device_get_ivars(child); in siba_alloc_pmu()
258 chipc = bhnd_retain_provider(child, BHND_SERVICE_CHIPC); in siba_alloc_pmu()
[all …]
/freebsd/sys/dev/pci/
H A Dpci_if.m35 null_msi_count(device_t dev, device_t child)
41 null_msix_bar(device_t dev, device_t child)
73 device_t child;
80 device_t child;
88 device_t child;
93 device_t child;
99 device_t child;
105 device_t child;
112 device_t child;
117 device_t child;
[all …]
H A Dhostb_pci.c40 * provides an AGP capability then we create a child agp device for the
76 * an AGP child. in pci_hostb_attach()
87 pci_hostb_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in pci_hostb_read_ivar() argument
94 pci_hostb_write_ivar(device_t dev, device_t child, int which, uintptr_t value) in pci_hostb_write_ivar() argument
101 pci_hostb_alloc_resource(device_t dev, device_t child, int type, int *rid, in pci_hostb_alloc_resource() argument
109 pci_hostb_release_resource(device_t dev, device_t child, struct resource *r) in pci_hostb_release_resource() argument
118 pci_hostb_read_config(device_t dev, device_t child, int reg, int width) in pci_hostb_read_config() argument
125 pci_hostb_write_config(device_t dev, device_t child, int reg, in pci_hostb_write_config() argument
133 pci_hostb_enable_busmaster(device_t dev, device_t child) in pci_hostb_enable_busmaster() argument
136 device_printf(dev, "child %s requested pci_enable_busmaster\n", in pci_hostb_enable_busmaster()
[all …]
/freebsd/sys/dev/bhnd/bcma/
H A Dbcma.c100 device_t child; in bcma_add_child() local
102 child = device_add_child_ordered(dev, order, name, unit); in bcma_add_child()
103 if (child == NULL) in bcma_add_child()
107 device_delete_child(dev, child); in bcma_add_child()
111 device_set_ivars(child, dinfo); in bcma_add_child()
113 return (child); in bcma_add_child()
117 bcma_child_deleted(device_t dev, device_t child) in bcma_child_deleted() argument
122 bhnd_generic_child_deleted(dev, child); in bcma_child_deleted()
125 if ((dinfo = device_get_ivars(child)) != NULL) in bcma_child_deleted()
126 bcma_free_dinfo(dev, child, dinfo); in bcma_child_deleted()
[all …]
/freebsd/contrib/kyua/utils/process/
H A Dchild_test.cpp29 #include "utils/process/child.ipp"
152 /// Body for a child process that throws an exception.
160 /// Body for a child process that creates a pidfile.
171 /// A child process that returns.
174 /// child before the code returns to the fork() call point.
181 /// A child process that raises an exception.
184 /// child before the code returns to the fork() call point.
266 /// Helper for child tests to validate inheritance of stdout/stderr.
270 /// call fork with the given parameters and then make our child redirect one of
295 std::auto_ptr< process::child > child = process::child::fork_files( in do_inherit_test() local
[all …]
H A Dchild.cpp29 #include "utils/process/child.ipp"
62 /// Private implementation fields for child objects.
63 struct child::impl : utils::noncopyable {
169 /// Creates a new child.
172 /// new child.
173 process::child::child(impl *implptr) : in child() function in process::child
179 /// Destructor for child.
180 process::child::~child(void) in ~child()
190 /// \return In the case of the parent, a new child object returned as a
192 /// noncopyable. In the case of the child, a NULL pointer.
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/
H A Dzfs_change-key_child.ksh26 # 'zfs change-key' should promote an encrypted child to an encryption root.
30 # 2. Create an encrypted child dataset
31 # 3. Create an unencrypted child dataset
36 # 8. Recreate the child dataset
39 # 11. Verify the unencrytped child is still accessible normally
52 log_assert "'zfs change-key' should promote an encrypted child to an" \
57 log_must zfs create $TESTPOOL/$TESTFS1/child
61 "$TESTPOOL/$TESTFS1/child"
64 "$TESTPOOL/$TESTFS1/child"
67 "$TESTPOOL/$TESTFS1/child"
[all …]
H A Dzfs_change-key_clones.ksh30 # 2. Create an encryption root child of the first dataset
31 # 3. Clone the child encryption root twice
34 # 6. Have the child encryption root inherit from its parent
54 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1/child"
55 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
[all …]
/freebsd/sys/dev/acpica/
H A Dacpi_pci.c79 static void acpi_pci_child_deleted(device_t dev, device_t child);
81 device_t child, struct sbuf *sb);
83 device_t child, const char *locator, struct sbuf *sb);
86 static int acpi_pci_read_ivar(device_t dev, device_t child, int which,
88 static int acpi_pci_write_ivar(device_t dev, device_t child, int which,
92 static int acpi_pci_set_powerstate_method(device_t dev, device_t child,
95 static bus_dma_tag_t acpi_pci_get_dma_tag(device_t bus, device_t child);
96 static int acpi_pci_get_domain(device_t dev, device_t child, int *domain);
139 acpi_pci_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in acpi_pci_read_ivar() argument
143 dinfo = device_get_ivars(child); in acpi_pci_read_ivar()
[all …]
/freebsd/sys/isa/
H A Disa_common.c114 * Find a working set of memory regions for a child using the ranges
119 isa_find_memory(device_t child, struct isa_config *config, in isa_find_memory() argument
129 bus_delete_resource(child, SYS_RES_MEMORY, i); in isa_find_memory()
154 bus_set_resource(child, SYS_RES_MEMORY, i, in isa_find_memory()
156 res[i] = bus_alloc_resource_any(child, in isa_find_memory()
180 bus_release_resource(child, SYS_RES_MEMORY, in isa_find_memory()
188 * Find a working set of port regions for a child using the ranges
193 isa_find_port(device_t child, struct isa_config *config, in isa_find_port() argument
203 bus_delete_resource(child, SYS_RES_IOPORT, i); in isa_find_port()
228 bus_set_resource(child, SYS_RES_IOPORT, i, in isa_find_port()
[all …]
/freebsd/sys/dev/ath/
H A Dif_ath_sysctl.c787 struct sysctl_oid_list *child = SYSCTL_CHILDREN(tree); in ath_sysctl_alq_attach() local
789 tree = SYSCTL_ADD_NODE(ctx, child, OID_AUTO, "alq", in ath_sysctl_alq_attach()
792 child = SYSCTL_CHILDREN(tree); in ath_sysctl_alq_attach()
794 SYSCTL_ADD_STRING(ctx, child, OID_AUTO, "filename", in ath_sysctl_alq_attach()
1028 struct sysctl_oid_list *child = SYSCTL_CHILDREN(tree); in ath_sysctl_stats_attach_rxphyerr() local
1034 child = SYSCTL_CHILDREN(tree); in ath_sysctl_stats_attach_rxphyerr()
1037 SYSCTL_ADD_UINT(ctx, child, OID_AUTO, sn, CTLFLAG_RD, &sc->sc_stats.ast_rx_phy[i], 0, ""); in ath_sysctl_stats_attach_rxphyerr()
1047 struct sysctl_oid_list *child = SYSCTL_CHILDREN(tree); in ath_sysctl_stats_attach_intr() local
1053 child = SYSCTL_CHILDREN(tree); in ath_sysctl_stats_attach_intr()
1056 SYSCTL_ADD_UINT(ctx, child, OID_AUTO, sn, CTLFLAG_RD, in ath_sysctl_stats_attach_intr()
[all …]
/freebsd/lib/libsys/
H A Dfork.246 The new process (child process) is an exact copy of the
50 The child process has a unique process ID.
52 The child process has a different parent
55 The child process has its own copy of the parent's descriptors,
61 the child and the parent, so that an
63 on a descriptor in the child process can affect a subsequent
72 The child process' resource utilizations
81 is cleared for the child.
86 and after the child is created, in parent and child.
88 The child process has only one thread,
[all …]
/freebsd/sys/dev/ofw/
H A Dofw_graph.c49 phandle_t ports, child; in ofw_graph_get_port_by_idx() local
55 child = ofw_bus_find_child(node, portnode); in ofw_graph_get_port_by_idx()
56 if (child != 0) in ofw_graph_get_port_by_idx()
57 return (child); in ofw_graph_get_port_by_idx()
62 child = ofw_bus_find_child(node, portnode); in ofw_graph_get_port_by_idx()
63 if (child != 0) in ofw_graph_get_port_by_idx()
64 return (child); in ofw_graph_get_port_by_idx()
72 for (child = OF_child(ports); child != 0; child = OF_peer(child)) { in ofw_graph_get_port_by_idx()
73 if (OF_getencprop(child, "reg", &reg, sizeof(uint32_t)) <= 0 || in ofw_graph_get_port_by_idx()
77 return (child); in ofw_graph_get_port_by_idx()
[all …]
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb_if.m57 bhndb_null_get_chipid(device_t dev, device_t child)
63 bhndb_null_populate_board_info(device_t dev, device_t child,
70 bhndb_null_is_core_disabled(device_t dev, device_t child,
77 bhndb_null_get_hostb_core(device_t dev, device_t child,
84 bhndb_null_suspend_resource(device_t dev, device_t child, int type,
91 bhndb_null_resume_resource(device_t dev, device_t child, int type,
98 bhndb_null_route_interrupts(device_t dev, device_t child)
119 * Return the chip identification information for @p child.
121 * @param dev The parent device of @p child.
122 * @param child The bhndb-attached device.
[all …]
/freebsd/sys/dev/spibus/
H A Dspibus.c65 spibus_print_child(device_t dev, device_t child) in spibus_print_child() argument
67 struct spibus_ivar *devi = SPIBUS_IVAR(child); in spibus_print_child()
70 retval += bus_print_child_header(dev, child); in spibus_print_child()
75 retval += bus_print_child_footer(dev, child); in spibus_print_child()
81 spibus_probe_nomatch(device_t bus, device_t child) in spibus_probe_nomatch() argument
83 struct spibus_ivar *devi = SPIBUS_IVAR(child); in spibus_probe_nomatch()
91 spibus_child_location(device_t bus, device_t child, struct sbuf *sb) in spibus_child_location() argument
93 struct spibus_ivar *devi = SPIBUS_IVAR(child); in spibus_child_location()
102 spibus_read_ivar(device_t bus, device_t child, int which, uintptr_t *result) in spibus_read_ivar() argument
104 struct spibus_ivar *devi = SPIBUS_IVAR(child); in spibus_read_ivar()
[all …]
/freebsd/sys/powerpc/pseries/
H A Dvdevice.c50 device_t child);
51 static int vdevice_print_child(device_t dev, device_t child);
53 static bus_dma_tag_t vdevice_get_dma_tag(device_t dev, device_t child);
126 phandle_t root, child; in vdevice_attach() local
136 for (child = OF_child(root); child != 0; child = OF_peer(child)) { in vdevice_attach()
140 child) != 0) { in vdevice_attach()
146 ofw_bus_intr_to_rl(dev, child, &dinfo->mdi_resources, NULL); in vdevice_attach()
164 vdevice_get_devinfo(device_t dev, device_t child) in vdevice_get_devinfo() argument
166 return (device_get_ivars(child)); in vdevice_get_devinfo()
170 vdevice_print_child(device_t dev, device_t child) in vdevice_print_child() argument
[all …]
/freebsd/contrib/llvm-project/lldb/bindings/interface/
H A DSBValueDocstrings.i4 SBValue supports iteration through its child, which in turn is represented
49 Get a child value by index from a value.
51 Structs, unions, classes, arrays and pointers have child
54 Structs and unions access child members using a zero based index
55 for each child member. For
62 points to a simple type, the child at index zero
63 is the only child value available, unless synthetic_allowed
65 and can create 'synthetic' child values using positive or
69 of the child values within the aggregate type. For example if
71 pointer to a 'Point' type, then the child at index zero will be
[all …]

12345678910>>...123