Searched defs:child (Results 1 - 25 of 262) sorted by relevance

1234567891011

/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpcix.c43 pcix_set_cmd_reg(dev_info_t *child, uint16_t value) argument
48 if (pci_config_setup(child, &handle) != DDI_SUCCESS)
62 DEBUG1(DBG_INIT_CLD, child, "pcix_set_cmd_reg: pcix_cap_ptr = %x\n",
72 DEBUG1(DBG_INIT_CLD, child, "pcix_set_cmd_reg: PCI-X CMD Register "
78 DEBUG1(DBG_INIT_CLD, child, "pcix_set_cmd_reg: PCI-X CMD Register "
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dconfig_impl.h43 struct config *child; member in struct:config
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Dinz_child.c36 pid_t child; local
51 child = fork();
52 if (child == 0) {
60 assert(child != -1);
63 ret = waitid(P_PID, child, &info, WEXITED);
66 assert(info.si_pid == child);
H A Dinz_mlock.c34 pid_t child; local
51 child = fork();
52 if (child == 0) {
57 assert(child != -1);
60 ret = waitid(P_PID, child, &info, WEXITED);
63 assert(info.si_pid == child);
H A Dinz_region.c34 pid_t child; local
48 child = fork();
49 if (child == 0) {
54 assert(child != -1);
57 ret = waitid(P_PID, child, &info, WEXITED);
60 assert(info.si_pid == child);
H A Dinz_split.c34 pid_t child; local
53 child = fork();
54 if (child == 0) {
62 assert(child != -1);
65 ret = waitid(P_PID, child, &info, WEXITED);
68 assert(info.si_pid == child);
H A Darc4random_fork.c17 * Tests to make sure that a parent and child do not get the same arc4random
43 pid_t p, child; local
64 child = wait(&e);
65 } while (child == -1 && errno == EINTR);
66 assert(child == p);
H A Darc4random_forkall.c17 * Tests to make sure that a parent and child do not get the same arc4random
43 pid_t p, child; local
64 child = wait(&e);
65 } while (child == -1 && errno == EINTR);
66 assert(child == p);
H A Dinz_split_vpp.c36 pid_t child; local
58 child = fork();
59 if (child == 0) {
71 assert(child != -1);
74 ret = waitid(P_PID, child, &info, WEXITED);
77 assert(info.si_pid == child);
H A Dinz_vpp.c34 pid_t child; local
51 child = fork();
52 if (child == 0) {
62 assert(child != -1);
65 ret = waitid(P_PID, child, &info, WEXITED);
68 assert(info.si_pid == child);
H A Darc4random_forksig.c17 * Tests to make sure that a parent and child do not get the same arc4random
53 pid_t child; local
84 child = wait(&e);
85 } while (child == -1 && errno == EINTR);
86 assert(child == pid);
/illumos-gate/usr/src/cmd/mandoc/
H A Deqn_term.c54 const struct eqn_box *child; local
115 child = bp->first;
116 eqn_box(p, child);
121 child = child->next;
122 if (child != NULL) {
124 eqn_box(p, child);
130 child = child->next;
131 if (child !
[all...]
H A Deqn_html.c37 const struct eqn_box *child, *parent; local
63 if (NULL == (child = parent->first))
65 for (rows = 0; NULL != child; rows++)
66 child = child->next;
73 child = parent->first;
75 if (NULL == child)
77 child = child->next;
85 if (NULL != child)
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dpopen.c52 /* myside and hisside reverse roles in child */
83 int child = -1; local
87 child = popen_pid[fileno(ptr)];
91 if (child == -1)
94 while ((pid = waitpid(child, &status, 0)) != child && pid != -1)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Datfork.c50 void (*parent)(void), void (*child)(void))
69 atfp->child = child;
128 * _postfork_child_handler() is called by fork1() after it returns as child.
129 * It executes the user installed "child" routines in FIFO order (POSIX).
142 if (atfp->child)
143 (*atfp->child)();
49 pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)) argument
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_util.c71 nvlist_t **child; local
74 &child, &children) != 0)
80 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG,
/illumos-gate/usr/src/cmd/modload/
H A Dmodunload.c50 int child; local
76 child = fork();
77 if (child == -1)
79 else if (child == 0)
H A Dmodload.c122 int child; local
128 if ((child = fork()) == -1)
134 if (child == 0) {
152 } while ((waitret != child) && (waitret != -1));
/illumos-gate/usr/src/cmd/tip/aculib/
H A Ddn11.c22 static int child = -1, dn; variable
41 (void) kill(child, SIGKILL);
48 if ((child = fork()) == 0) {
68 (void) kill(child, SIGKILL);
77 while ((nw = wait(&lt)) != child && nw != -1)
117 if (child > 0)
118 (void) kill(child, SIGKILL);
/illumos-gate/usr/src/lib/krb5/ss/
H A Dhelp.c33 int fd, child; local
80 switch (child = fork()) {
90 while (wait((int *)NULL) != child) {
92 while (wait((union wait *)NULL) != child) {
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddseng.c63 void const **child[MAX_CHILD_TYPE] = { NULL }; local
111 (void *)uid, child);
174 ec = update_child_obj(ptype, puid, child, 0);
181 /* free the child buffer */
184 if (child[uid] != NULL) {
185 free(child[uid]);
/illumos-gate/usr/src/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c117 pid_t child, parent = getpid(); local
121 if ((child = fork()) == 0)
124 while (waitpid(child, &status, WEXITED) != child)
129 * Our child exited by design -- we'll exit with
136 * Our child died on a signal. Respawn it.
138 printf("badioctl: child died on signal %d; respawning.\n",
/illumos-gate/usr/src/cmd/tsol/updatehome/
H A Dsetupfiles.c348 pid_t child; local
411 if ((child = vfork()) != 0) { /* parent, wait for child status */
412 int status; /* child status */
414 (void) waitpid(child, &status, 0); /* wait for child */
415 dprintf("setupfiles copy child returned %x\n", status);
/illumos-gate/usr/src/uts/sun4v/io/
H A Dmach_rootnex.c46 extern int rootnex_name_child(dev_info_t *child, char *name, int namelen);
146 rootnex_name_child_impl(dev_info_t *child, char *name, int namelen) argument
161 if (ddi_get_parent_data(child) == NULL) {
162 make_ddi_ppd(child, &pdptr);
163 ddi_set_parent_data(child, pdptr);
170 if (sparc_pd_getnreg(child) == 0) {
173 rp = sparc_pd_getreg(child, 0);
177 * Name node on behalf of child nexus.
179 if (ddi_get_parent(child) != ddi_root_node()) {
214 cmn_err(CE_PANIC, "rootnex: wrong bustype: %x child
[all...]
/illumos-gate/usr/src/common/zfs/
H A Dzfs_comutil.c52 nvlist_t **child; local
56 &child, &children) != 0) {
61 (void) nvlist_lookup_uint64(child[c], ZPOOL_CONFIG_IS_LOG,

Completed in 192 milliseconds

1234567891011