Searched refs:child (Results 51 - 75 of 371) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_util.c277 name_child(dev_info_t *child, char *name, int namelen) argument
291 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child,
296 " not well-formed", ddi_driver_name(child));
309 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
327 cmn_err(CE_WARN, "cannot name pci child '%s'", ddi_node_name(child));
332 pcmu_uninit_child(pcmu_t *pcmu_p, dev_info_t *child) argument
336 ddi_driver_name(child), ddi_get_instance(child));
338 ddi_set_name_addr(child, NUL
358 pcmu_init_child(pcmu_t *pcmu_p, dev_info_t *child) argument
428 pcmu_get_reg_set_size(dev_info_t *child, int rnumber) argument
469 pcmu_get_nreg_set(dev_info_t *child) argument
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_rmspin.c210 if (rmlockp->child) {
213 nsc_do_unlock(rmlockp->child);
214 rmlockp->child = NULL;
240 ASSERT(! rmlockp->child);
243 rc = nsc_do_lock(1, &rmlockp->child);
245 rmlockp->child = NULL;
264 if (rmlockp->child) {
266 nsc_do_unlock(rmlockp->child);
267 rmlockp->child = NULL;
/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/uts/common/io/
H A Dpseudonex.c41 * pseudo.conf, adding another 'pseudo' nexus child of /pseudo, and then use
43 * for the name of the nexus child and a line in pseudo.conf such as:
49 * to our new pseudonex child node. A better way might be to teach the
315 pseudonex_check_assignment(dev_info_t *child, int test_inst) argument
319 const char *childname = ddi_driver_name(child);
327 if (tdip == child)
348 pseudonex_auto_assign(dev_info_t *child) argument
352 const char *childname = ddi_driver_name(child);
362 if (tdip == child)
393 dev_info_t *child local
490 dev_info_t *child = (dev_info_t *)arg; local
[all...]
H A Dpshot.c46 * next child down the tree. The final result is a "disk" node configured
671 * Create the "pm-want-child-notification?" property
678 " \"pm-want-child-notification?\" property"
682 "pm-want-child-notification?", NULL, 0)
686 " \"pm-want-child-notification?\""
695 * Check if the pm-want-child-notification? property was
701 "pm-want-child-notification?") != 1) {
1077 dev_info_t *child = (dev_info_t *)arg; local
1082 ddi_node_name(child), ddi_get_instance(child),
1091 dev_info_t *child = (dev_info_t *)arg; local
1123 dev_info_t *child = (dev_info_t *)rdip; local
1199 dev_info_t *child = (dev_info_t *)rdip; local
1663 pshot_initchild(dev_info_t *dip, dev_info_t *child) argument
1753 pshot_uninitchild(dev_info_t *dip, dev_info_t *child) argument
1874 dev_info_t *child = NULL; local
2255 dev_info_t *child = NULL; local
2446 pshot_event(pshot_t *pshot, int event_tag, dev_info_t *child, void *bus_impldata) argument
2734 pshot_nexus_properties(dev_info_t *parent, dev_info_t *child, char *cname, char *caddr) argument
2808 pshot_leaf_properties(dev_info_t *parent, dev_info_t *child, char *cname, char *caddr) argument
2886 dev_info_t *child; local
2944 dev_info_t *child; local
3341 dev_info_t *child; local
[all...]
/illumos-gate/usr/src/test/libc-tests/tests/random/
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 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/uts/common/io/scsi/impl/
H A Dscsi_hba.c82 static int scsi_hba_remove_node(dev_info_t *child);
219 dev_info_t *child,
226 dev_info_t *child,
237 dev_info_t *child,
243 dev_info_t *child,
259 dev_info_t *child,
278 dev_info_t *child,
386 * self/child context. Filtering of messages is provided based on logging
481 scsi_hba_log(int level, const char *func, dev_info_t *self, dev_info_t *child, argument
491 /* derive self from child'
614 scsi_enumeration_failed(dev_info_t *child, scsi_enum_t se, char *arg, char *when) argument
687 scsi_hba_dev_is_sid(dev_info_t *child) argument
1483 smp_busctl_ua(dev_info_t *child, char *addr, int maxlen) argument
1515 smp_busctl_reportdev(dev_info_t *child) argument
1548 smp_busctl_initchild(dev_info_t *child) argument
1612 smp_busctl_uninitchild(dev_info_t *child) argument
1636 dev_info_t *child; local
1671 dev_info_t *child; local
1703 dev_info_t *child; local
1751 scsi_busctl_ua(dev_info_t *child, char *addr, int maxlen) argument
1768 scsi_busctl_reportdev(dev_info_t *child) argument
1854 scsi_busctl_initchild(dev_info_t *child) argument
2106 scsi_busctl_uninitchild(dev_info_t *child) argument
2217 iport_busctl_ua(dev_info_t *child, char *addr, int maxlen) argument
2237 iport_busctl_reportdev(dev_info_t *child) argument
2272 iport_busctl_initchild(dev_info_t *child) argument
2308 iport_busctl_uninitchild(dev_info_t *child) argument
2316 iport_postdetach_tran_scsi_device(dev_info_t *child) argument
2333 iport_preattach_tran_scsi_device(dev_info_t *child) argument
2377 iport_postdetach_tran_smp_device(dev_info_t *child) argument
2391 iport_preattach_tran_smp_device(dev_info_t *child) argument
2420 scsi_hba_bus_ctl( dev_info_t *self, dev_info_t *child, ddi_ctl_enum_t op, void *arg, void *result) argument
2877 scsi_hba_map_fault( dev_info_t *self, dev_info_t *child, struct hat *hat, struct seg *seg, caddr_t addr, struct devpage *dp, pfn_t pfn, uint_t prot, uint_t lock) argument
2892 scsi_hba_get_eventcookie( dev_info_t *self, dev_info_t *child, char *name, ddi_eventcookie_t *eventp) argument
2911 scsi_hba_add_eventcall( dev_info_t *self, dev_info_t *child, ddi_eventcookie_t event, void (*callback)( dev_info_t *self, ddi_eventcookie_t event, void *arg, void *bus_impldata), void *arg, ddi_callback_id_t *cb_id) argument
2952 scsi_hba_post_event( dev_info_t *self, dev_info_t *child, ddi_eventcookie_t event, void *bus_impldata) argument
3088 dev_info_t *child = NULL; local
3361 scsi_hba_fm_init_child(dev_info_t *self, dev_info_t *child, int cap, ddi_iblock_cookie_t *ibc) argument
5429 dev_info_t *child; local
5731 scsi_hba_remove_node(dev_info_t *child) argument
6053 dev_info_t *child = NULL; local
6711 dev_info_t *child = NULL; local
7000 dev_info_t *child; local
7146 dev_info_t *child; local
8088 dev_info_t *child; local
8453 dev_info_t *child; local
9100 dev_info_t *child = NULL; local
9142 dev_info_t *child; /* iport child of HBA node */ local
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dman_validate.c106 man->last = man->last->child;
110 man->last = man->last->child;
143 if (NULL == man->first->child)
183 if (n->child == NULL)
186 else if (n->child->next != NULL && n->child->next->next != NULL) {
187 n = n->child->next->next;
197 if (n->type == ROFFT_HEAD && n->child == NULL)
209 if (n->child == NULL)
213 cp = n->child
[all...]
H A Dmdoc_term.c268 n = mdoc->first->child;
272 if (n->child->next->child != NULL)
275 n->child->next->child);
360 (n->end == ENDBODY_NOT || n->child != NULL))
366 if (chld && n->child)
367 print_mdoc_nodelist(p, &npair, meta, n->child);
589 if (NULL == n->prev->body->child)
601 term_setwidth(p, n->child !
[all...]
H A Deqn_html.c35 const struct eqn_box *child, *parent; local
57 if (NULL == (child = parent->first))
59 for (rows = 0; NULL != child; rows++)
60 child = child->next;
67 child = parent->first;
69 if (NULL == child)
71 child = child->next;
80 if (NULL != child)
[all...]
H A Dmdoc_html.c334 print_mdoc_head(&mdoc->meta, mdoc->first->child, h);
341 mdoc_root_pre(&mdoc->meta, mdoc->first->child, h);
342 print_mdoc_nodelist(&mdoc->meta, mdoc->first->child, h);
343 mdoc_root_post(&mdoc->meta, mdoc->first->child, h);
377 int child; local
380 child = 1;
426 if (mdocs[n->tok].pre && (n->end == ENDBODY_NOT || n->child))
427 child = (*mdocs[n->tok].pre)(meta, n, h);
436 if (child && n->child)
[all...]
H A Dman_term.c157 n = man->first->child;
161 n->child->child->type == ROFFT_TEXT &&
162 !strcmp(n->child->child->string, "SYNOPSIS")) {
163 if (n->child->next->child != NULL)
165 n->child->next->child,
198 if (n->body && n->body->child)
[all...]
H A Dman_html.c135 if (n->body && n->body->child)
136 if (n->body->child->type == ROFFT_TBL)
199 int child; local
202 child = 1;
253 child = (*mans[n->tok].pre)(man, n, mh, h);
257 if (child && n->child)
258 print_man_nodelist(man, n->child, mh, h);
360 if (NULL != (n = n->child))
407 for (i = 0, nn = n->child; n
[all...]
/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/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/tip/aculib/
H A Dv831.c26 static int child = -1; variable
47 (void) kill(child, SIGKILL);
54 if ((child = fork()) == 0) {
76 (void) kill(child, SIGKILL);
82 while ((pid = wait(&status)) != child && pid != -1)
133 if (child > 0)
134 (void) kill(child, SIGKILL);
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmach_rootnex.c48 extern int rootnex_name_child(dev_info_t *child, char *name, int namelen);
295 rootnex_name_child_impl(dev_info_t *child, char *name, int namelen) argument
310 if (ddi_get_parent_data(child) == NULL) {
311 make_ddi_ppd(child, &pdptr);
312 ddi_set_parent_data(child, pdptr);
319 if (sparc_pd_getnreg(child) == 0) {
322 rp = sparc_pd_getreg(child, 0);
328 node_name = ddi_node_name(child);
344 if (ndi_prop_update_int(DDI_DEV_T_NONE, child, "upa-portid",
351 * Name node on behalf of child nexu
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_checksum.c160 zio_checksum_select(enum zio_checksum child, enum zio_checksum parent) argument
162 ASSERT(child < ZIO_CHECKSUM_FUNCTIONS);
166 if (child == ZIO_CHECKSUM_INHERIT)
169 if (child == ZIO_CHECKSUM_ON)
172 return (child);
176 zio_checksum_dedup_select(spa_t *spa, enum zio_checksum child, argument
179 ASSERT((child & ZIO_CHECKSUM_MASK) < ZIO_CHECKSUM_FUNCTIONS);
183 if (child == ZIO_CHECKSUM_INHERIT)
186 if (child == ZIO_CHECKSUM_ON)
189 if (child
[all...]
/illumos-gate/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_ibnex.c80 dev_info_t *child; local
119 child = clntp->clnt_dip;
144 if (child == NULL) {
160 parent = ddi_get_parent(child);
162 ddi_get_parent_data(child) == NULL) {
168 node_name = ddi_node_name(child);
177 callback(child, &ret_apid);
186 if (child == NULL) {
194 * if the child has a alternate HCA then skip it
207 parent = ddi_get_parent(child);
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_delete.c414 PAGE *child, *parent; local
499 parent = child = NULL;
518 /* Lock the child page. */
522 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &child)) != 0)
528 a.data = child;
534 &child->lsn, 0, dbp->log_fileid, child->pgno, &a,
546 * stores its LSN on the child page. When the child is copied
551 if (TYPE(child)
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dpclose.c114 /* myside and remside reverse roles in child */
145 pid_t child, pid; local
150 child = popen_pid[fileno(ptr)];
153 if (child == (pid_t)-1)
157 while ((pid = wait(&status)) != child && pid != (pid_t)-1)
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_pci.c295 static int ppb_initchild(dev_info_t *child);
296 static void ppb_uninitchild(dev_info_t *child);
732 ppb_name_child(dev_info_t *child, char *name, int namelen) argument
745 if (ndi_dev_is_persistent_node(child) == 0) {
746 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child,
750 ddi_driver_name(child));
755 " not well-formed", ddi_driver_name(child));
768 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
786 ppb_initchild(dev_info_t *child) argument
798 * Name the child
993 ppb_uninitchild(dev_info_t *child) argument
[all...]
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_subr.c607 if (dp->child) {
608 fc_remove_subtree(dp->child);
609 dp->child = NULL;
627 ASSERT((dp->child == NULL) && (dp->peer == NULL));
650 if (dp->child)
651 fc_remove_device_tree(&dp->child);
656 ASSERT((dp->child == NULL) && (dp->peer == NULL));
671 if (hp->child)
672 if ((p = fc_find_node(dip, hp->child)) != NULL)
681 fc_add_child(dev_info_t *child, dev_info_ argument
706 fc_remove_child(dev_info_t *child, struct fc_device_tree *head) argument
[all...]

Completed in 196 milliseconds

1234567891011>>