Searched refs:child (Results 201 - 225 of 371) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/os/
H A Dexit.c418 * * a posix_spawn() vfork child who requests it,
686 * Since q will be the first child,
701 * sigcld() will add the child to parents
839 * soon as the child sends a SIGCLD to its parent. We use zsched so
922 * Search for a terminated (zombie) child,
1320 * Delete process "child" from the newstate list of process "parent"
1323 delete_ns(proc_t *parent, proc_t *child) argument
1328 ASSERT(child->p_parent == parent);
1330 if (*ns == child) {
1334 *ns = child
1345 add_ns(proc_t *parent, proc_t *child) argument
[all...]
H A Dsunmdi.c1613 * Given the parent devinfo and child devfs pathname, search for
5115 * If it is OK to proceed, Offline and remove all the child
5259 * Mark the child mdi_pathinfo nodes as transient
5550 * Mark the child mdi_pathinfo nodes as transient
6824 i_mdi_pm_pre_config_one(dev_info_t *child) argument
6829 ct = i_devi_get_client(child);
6839 MDI_DEBUG(4, (MDI_NOTE, child, "already configured\n"));
6845 MDI_DEBUG(4, (MDI_NOTE, child, "already held\n"));
6852 MDI_DEBUG(4, (MDI_NOTE, child, "i_mdi_pm_hold_client\n"));
6861 i_mdi_pm_pre_config(dev_info_t *vdip, dev_info_t *child) argument
6891 i_mdi_pm_pre_unconfig_one(dev_info_t *child, int *held, int flags) argument
6938 i_mdi_pm_pre_unconfig(dev_info_t *vdip, dev_info_t *child, int *held, int flags) argument
6972 i_mdi_pm_post_config_one(dev_info_t *child) argument
7025 i_mdi_pm_post_config(dev_info_t *vdip, dev_info_t *child) argument
7052 i_mdi_pm_post_unconfig_one(dev_info_t *child) argument
7099 i_mdi_pm_post_unconfig(dev_info_t *vdip, dev_info_t *child, int held) argument
8564 dev_info_t *ph_dip, *child; local
9287 mdi_vhci_bus_config(dev_info_t *vdip, uint_t flags, ddi_bus_config_op_t op, void *arg, dev_info_t **child, char *ct_addr) argument
[all...]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dclient.c864 * _NOT_FOUND - no child with that name/type combo found
872 repcache_entity_t *parent, *child; local
878 result = entity_find2(cp, childid, &child, parentid, &parent);
885 child->re_type, &child->re_node);
887 entity_release(child);
899 * _NOT_SET - child is not set
900 * _DELETED - child has been deleted
901 * _TYPE_MISMATCH - child's parent does not match that of the parent register
902 * _NOT_FOUND - child ha
907 repcache_entity_t *child, *parent; local
1021 repcache_entity_t *child; local
1057 repcache_entity_t *child; local
[all...]
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_pool.c916 nvlist_t *child; local
918 /* For each vdev child... */
925 child = zjni_get_vdev(zhp, children[i],
927 if (child != NULL) {
928 return (child);
975 /* Get last vdev child (replacement device) */
976 nvlist_t *child = children[nelem - 1]; local
979 zhp, child, p_vdev_id);
1012 /* For each vdev child... */
1015 nvlist_t *child local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drlogin.c185 static pid_t child; variable
788 child = fork();
789 if (child == (pid_t)-1) {
793 if (child == 0) {
809 * trap that simply copies such signals to the child.
855 if (child > 0) {
858 if (kill(child, SIGKILL) >= 0)
859 while ((w = wait(0)) > (pid_t)0 && w != child)
866 * Copy SIGURGs to the child process.
874 (void) kill(child, SIGUR
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Diexpr.c192 diff = iexpr_cmp(np1->u.name.child, np2->u.name.child);
/illumos-gate/usr/src/uts/common/sys/
H A Dctf.h227 #define CTF_INDEX_TO_TYPE(id, child) ((child) ? ((id) | 0x8000) : (id))
H A Dsunndi.h172 * Return devctl state of the child addressed by "name@addr".
180 * Transition the child addressed by "name@addr" to the online state.
188 * Transition the child addressed by "name@addr" to the offline state.
196 * Remove the child addressed by name@addr.
238 * NDI_CONFIG - Recursively configure children if child is nexus node
253 * NDI_DEVI_REMOVE - Remove child devinfo nodes
255 * NDI_UNCONFIG - Put child devinfo nodes to uninitialized state,
256 * release resources held by child nodes.
338 * Find the child dev_info node of parent nexus 'p' whose name
345 * Find the child dev_inf
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dcnex.c1197 dev_info_t *child = (dev_info_t *)arg; local
1199 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child,
1206 ddi_set_name_addr(child, name);
1207 ddi_set_parent_data(child, NULL);
1214 dev_info_t *child = (dev_info_t *)arg; local
1218 ddi_driver_name(child), DEVI(child)->devi_instance));
1220 ddi_set_name_addr(child, NULL);
/illumos-gate/usr/src/uts/sun4/io/
H A Debus.c307 /* Get our ranges property for mapping child registers. */
542 * ebus_apply_range generically relocates child's regspec to
592 /* parent addr = child addr + offset from ranges */
622 ebus_name_child(dev_info_t *child, char *name, int namelen) argument
631 if (ddi_getlongprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
668 dev_info_t *child = (dev_info_t *)arg; local
674 ddi_get_name(child), ddi_get_instance(child));
676 if (ebus_name_child(child, name, 10) != DDI_SUCCESS) {
677 DBG(D_CTLOPS, ebus_p, "can't name child\
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei.c980 dev_info_t *child = NULL; local
983 ndi_devi_alloc_sleep(ss->ss_dip, "fp", DEVI_PSEUDO_NODEID, &child);
984 if (child == NULL) {
992 if (ddi_prop_update_string(DDI_DEV_T_NONE, child,
995 (void) ndi_devi_free(child);
1003 if (ddi_prop_update_int(DDI_DEV_T_NONE, child,
1006 (void) ndi_devi_free(child);
1013 rval = ndi_devi_online(child, NDI_ONLINE_ATTACH);
/illumos-gate/usr/src/uts/common/io/usb/clients/hidparser/
H A Dhidparser.c332 current->info.child, report_id, main_item_type,
451 current->info.child, report_id, main_item_type,
632 current->info.child, report_id, main_item_type,
956 current->info.child, usage,
1259 current->info.child, main_item_type, id_lst);
1330 if (current->info.child) {
1334 current->info.child, indent_level+1);
1611 * child. [CH | RS ] stands for "child or right sibling" with the
1658 prev_ei->info.child
2294 entity_item_t *next, *current, *child; local
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl.c117 * its child and sibling nodes.
152 /* Call this function for its child/sibling */
153 walk_tree_for_pci_devices(node->child, board_number);
320 freq = (HZ_TO_MHZ(get_cpu_freq(pnode->child)));
321 l2cache_size = (int *)get_prop_val(find_prop(pnode->child,
323 impl = (int *)get_prop_val(find_prop(pnode->child,
325 mask = (int *)get_prop_val(find_prop(pnode->child, "mask#"));
/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc_man.c471 print_width(const struct mdoc_bl *bl, const struct roff_node *child) argument
496 else if (child != NULL && child->type == ROFFT_TEXT)
497 chsz = strlen(child->string);
506 * such that child lists can use it.
566 for (n = mdoc->first->child; n != NULL; n = n->next)
614 (n->end == ENDBODY_NOT || n->child != NULL))
619 * Conditionally run all child nodes.
624 for (sub = n->child; sub; sub = sub->next)
691 for (nch = n->child; nc
[all...]
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dzoneadmd.c618 pid_t child; local
679 if ((child = fork()) == -1) {
685 } else if (child == 0) { /* child */
726 if (waitpid(child, &child_status, 0) != child) {
1007 pid_t child; local
1053 if ((child = fork()) == -1) {
1058 } else if (child == 0) {
1071 if (waitpid(child,
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses_facility.c860 ses_node_t *child; local
899 for (child = ses_node_child(agg); child != NULL;
900 child = ses_node_sibling(child)) {
906 props = ses_node_props(child);
907 nodeid = ses_node_id(child);
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-diagnosis/
H A Dzfs_de.c189 nvlist_t **child; local
211 if (nvlist_lookup_nvlist_array(vd, ZPOOL_CONFIG_CHILDREN, &child,
214 zfs_mark_vdev(pool_guid, child[c], loaded);
217 if (nvlist_lookup_nvlist_array(vd, ZPOOL_CONFIG_L2CACHE, &child,
220 zfs_mark_vdev(pool_guid, child[c], loaded);
223 if (nvlist_lookup_nvlist_array(vd, ZPOOL_CONFIG_SPARES, &child,
226 zfs_mark_vdev(pool_guid, child[c], loaded);
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_drv.c586 cmn_err(CE_WARN, "!acpidev: failed to probe child object "
658 ACPI_HANDLE child; local
712 /* Walk child objects. */
713 child = NULL;
715 infop->awi_hdl, child, &child))) {
717 if (ACPI_FAILURE(AcpiGetType(child, &type)) ||
725 acpidev_dr_device_is_board(child)) {
731 infop->awi_level + 1, child, NULL, infop);
734 "walk info child objec
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dopenprom.c1320 pnode_t child = prom_childnode(nodeid); local
1322 if (child == 0)
1326 while (child != 0) {
1329 if (oprom_copynode(child, flag, &nodebuf, &nodesize)) {
1331 cmn_err(CE_WARN, "failed to copy nodeid 0x%x", child);
1337 child = prom_nextnode(child);
1371 (void) nvlist_add_byte_array(nvl, "@child",
/illumos-gate/usr/src/cmd/fs.d/
H A Dmount.c147 * each child that performs the particular mount for the entry.
160 int sopipe[2]; /* pipe attached to child's stdout */
161 int sepipe[2]; /* pipe attached to child's stderr */
931 * each child (the stdout and stderr pipes).
1181 * Performs the exec argument processing, all of the child forking and
1182 * execing, and child cleanup.
1191 pid_t child; local
1291 if ((child = fork()) == -1) {
1296 if (child == 0) { /* child */
1395 int child, wstat; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/
H A Dmain.c600 phandle_t child; local
604 child = OF_child(node);
605 if (child > 0) {
606 child = find_bsp_sun4u(child, bspid);
607 if (child > 0)
608 return (child);
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex.c205 * and DMA operations required by the child drivers can be performed using
328 * Event posted to specific child handler. Event posted
521 * Set pm-want-child-notification property for
525 "pm-want-child-notification?", NULL, NULL) != DDI_PROP_SUCCESS) {
527 "_attach: create pm-want-child-notification failed");
989 * Initialize a child device node. This is called for the DDI_CTLOPS_INITCHILD
993 ibnex_init_child(dev_info_t *child) argument
998 IBTF_DPRINTF_L4("ibnex", "\tinit_child: child = %p", child);
1001 if (ndi_dev_is_persistent_node(child)
1032 ibnex_name_pseudo_child(dev_info_t *child, char *name) argument
1058 ibnex_name_child(dev_info_t *child, char *name, int flag) argument
1129 ibnex_bus_config(dev_info_t *parent, uint_t flag, ddi_bus_config_op_t op, void *devname, dev_info_t **child) argument
2033 ibnex_pseudo_mdi_config_one(int flag, void *devname, dev_info_t **child, char *cname, char *caddr) argument
4037 ibnex_ioc_bus_config_one(dev_info_t **pdipp, uint_t flag, ddi_bus_config_op_t op, void *devname, dev_info_t **child, int *need_bus_config) argument
4075 ibnex_is_merge_node(dev_info_t *child) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dmlsvc_client.c420 * Pass the client reference from parent to child.
423 ndr_inherit_handle(mlsvc_handle_t *child, mlsvc_handle_t *parent) argument
425 child->clnt = parent->clnt;
426 bcopy(&parent->svinfo, &child->svinfo, sizeof (srvsvc_server_info_t));
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_config.c79 nvlist_t *nvlist, *child; local
127 child = fnvpair_value_nvlist(nvpair);
131 (void) spa_add(nvpair_name(nvpair), child, NULL); local
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_node.c46 * node property data, and contruct or destroy child nodes for the node
71 * Each parent node may have one or more ranges of child nodes. Each range
74 * (child range). If that is the case, the hash lists are strung together to
280 topo_dprintf(mod->tm_hdl, TOPO_DBG_ERR, "unable to insert child:"
336 * Add these nodes to parent child list
798 tnode_t *child; local
811 * child
815 if ((child = topo_child_first(node)) == NULL) {
824 topo_node_hold(child);
825 wp->tw_node = child;
[all...]

Completed in 199 milliseconds

1234567891011>>