Searched refs:child (Results 26 - 50 of 371) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.fork.d47 child = args[0]->pr_pid;
52 /pid == child/
59 /pid == $1 || pid == child/
/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 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_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);
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_util.c309 name_child(dev_info_t *child, char *name, int namelen) argument
323 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child,
328 " not well-formed", ddi_driver_name(child));
341 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
359 cmn_err(CE_WARN, "cannot name pci child '%s'", ddi_node_name(child));
364 uninit_child(pci_t *pci_p, dev_info_t *child) argument
368 ddi_driver_name(child), ddi_get_instance(child));
371 (void) pm_uninit_child(child);
399 init_child(pci_t *pci_p, dev_info_t *child) argument
652 get_nreg_set(dev_info_t *child) argument
681 get_nintr(dev_info_t *child) argument
[all...]
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/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/libxcurses/src/libc/xcurses/
H A Dkeypad.c77 node->child = node->sibling = (t_decode *) 0;
82 for (node = *root; *str != '\0'; ++str, node = node->child) {
95 node->child = node->sibling = (t_decode *) 0;
101 if (node->child == (t_decode *) 0)
106 /* Insert string into the tree; node->child == null. */
108 node->child = (t_decode *) malloc(sizeof *node);
109 if (node->child == (t_decode *) 0) {
114 node = node->child;
115 node->child = node->sibling = (t_decode *) 0;
131 __m_decode_free(&(*tree)->child);
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dkeypad.c79 node->child = node->sibling = NULL;
84 for (node = *root; *str != '\0'; ++str, node = node->child) {
96 node->child = node->sibling = NULL;
102 if (node->child == NULL)
107 /* Insert string into the tree; node->child == null. */
109 node->child = (t_decode *) malloc(sizeof (*node));
110 if (node->child == NULL) {
115 node = node->child;
116 node->child = node->sibling = NULL;
133 __m_decode_free(&(*tree)->child);
[all...]
/illumos-gate/usr/src/tools/stabs/
H A Dstabs.h51 struct child *child; member in struct:node
54 struct child { struct
57 struct child *next;
132 extern struct child *find_child(struct node *np, char *w);
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_util.h38 extern int px_init_child(px_t *px_p, dev_info_t *child);
39 extern int px_uninit_child(px_t *px_p, dev_info_t *child);
56 extern off_t px_get_reg_set_size(dev_info_t *child, int rnumber);
57 extern uint_t px_get_nreg_set(dev_info_t *child);
58 extern uint_t px_get_nintr(dev_info_t *child);
/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/uts/common/os/
H A Dlgrp_topo.c252 * Delete any ancestors of given child lgroup which don't have any other
256 lgrp_ancestor_delete(lgrp_t *child, klgrpset_t *changed) argument
266 (void *)child, child->lgrp_id, (void *)changed);
275 * Visit ancestors, decrement child count for each, and remove any
279 current = child;
280 parent = child->lgrp_parent;
329 lgrp_t *child; local
380 child = lgrp_table[i];
381 if (!LGRP_EXISTS(child))
547 lgrp_new_parent(lgrp_t *child, int latency, klgrpset_t *rset, klgrpset_t *changed) argument
604 lgrp_proprogate(lgrp_t *newleaf, lgrp_t *child, int latency, klgrpset_t *changed) argument
673 lgrp_split(lgrp_t *oldleaf, lgrp_t *newleaf, lgrp_t *child, klgrpset_t *changed) argument
837 lgrp_t *child; local
[all...]
/illumos-gate/usr/src/common/avl/
H A Davl.c82 * int direction; // 0 for "<" (ie. left child); 1 for ">" (right)
108 * Small arrays to translate between balance (or diff) values and child indices.
126 * - If there is a left child, go to it, then to it's rightmost descendant.
129 * child.
153 * If this node has a left child, go down one left, then all
180 * (leftmost child from root of tree)
199 * (rightmost child from root of tree)
219 * "avl_index_t" is a (avl_node_t *) with the bottom bit indicating a child
228 int child = AVL_INDEX2CHILD(where); local
238 if (child !
259 int child = 0; local
310 avl_node_t *child = node->avl_child[left]; local
579 int child = direction; /* rely on AVL_BEFORE == 0, AVL_AFTER == 1 */ local
977 int child; local
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_rmspin.h41 void *child; member in struct:nsc_rmlock_s
/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/tail/tests/
H A Dtailtests.sh195 child=$!
199 kill $child
212 child=$!
218 kill $child
231 child=$!
237 kill $child
251 child=$!
257 kill $child
270 child=$!
278 kill $child
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfpopen.c183 int stdio, parent[2], child[2];
202 parent[0] = parent[1] = child[0] = child[1] = -1;
206 if((sflags&SF_RDWR) == SF_RDWR && syspipef(child) < 0)
231 { CLOSE(child[!ckeep]);
232 SETCLOEXEC(child[ckeep]);
237 fd = (sflags&SF_RDWR) == SF_RDWR ? child[ckeep] : -1;
245 case 0 : /* in child process */
255 CLOSE(child[!ckeep]);
262 if((sflags&SF_RDWR) == SF_RDWR && pkeep == child[ckee
[all...]
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_info.c71 hp_node_t child; local
101 child = root->hp_child;
105 root = child;
106 for (child = root; child; child = child->hp_sibling)
107 child->hp_parent = NULL;
111 for (child = root; child !
180 di_node_t child; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/idm/
H A Didm.c69 * should invoke the functions for child objects if any bits are set
70 * in iscsi_dcmd_ctrl_t but the functions for the child object should only
72 * a header for its first occurrence or if it is being printed as a child
78 * child objects the dcmd calls the internal interface for the child object
102 } child; member in union:__anon920::__anon921
263 idc.u.child.idc_tgt = 1;
264 idc.u.child.idc_print_ip = print_ip;
265 idc.u.child.idc_tpgt = tpgt;
266 idc.u.child
[all...]

Completed in 144 milliseconds

1234567891011>>