Searched defs:child (Results 101 - 125 of 263) sorted by relevance

1234567891011

/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...]
/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/sparc/io/pciex/
H A Dpcieb_sparc.c168 pcieb_plat_initchild(dev_info_t *child) argument
175 if (ddi_prop_exists(DDI_DEV_T_NONE, child, DDI_PROP_DONTPASS,
179 ddi_set_parent_data(child, (void *)ppd);
183 pcieb_plat_uninitchild(dev_info_t *child) argument
189 if ((intptr_t)ddi_get_parent_data(child) == 1)
190 ddi_set_parent_data(child, NULL);
272 * These are PLX specific workarounds called during child's initchild.
275 pcieb_init_plx_workarounds(pcieb_devstate_t *pcieb, dev_info_t *child) argument
290 * the downstream port to the child device.
304 if (pci_config_setup(child,
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_label.c325 nvlist_t **child; local
330 child = kmem_alloc(vd->vdev_children * sizeof (nvlist_t *),
345 child[idx++] = vdev_config_generate(spa, cvd,
351 child, idx);
355 nvlist_free(child[c]);
357 kmem_free(child, vd->vdev_children * sizeof (nvlist_t *));
/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/boot/sys/boot/ofw/libofw/
H A Dopenfirm.c177 /* Return the first child of this node or 0. */
186 cell_t child; member in struct:__anon338
188 (cell_t)"child",
196 return (args.child);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c293 /* This node is first child */
296 /* This node is not first child */
368 * - add t4, t5, t6 as a child of t1 (t4 will become sibling of t2)
392 * child->+---+
410 * 'child = tree_find_child_by_vis(connect_point, curr->tree_vis);'
414 * should be connected. If 'connect_point' already has a child
417 * child..........the result of tree_find_child_by_vis()
420 * already moved down to its child - preparation for another loop
424 * N1: is merged - i.e. N1 is kmem_free()d. T0 has a child T1 with the same
426 * N2: is added as a new child o
438 treenode_t *child, *curr, *connect_point; local
[all...]
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Dfruraw.c170 frt_get_child(fru_treehdl_t handle, fru_treehdl_t *child) argument
/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 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/lib/libshell/common/sh/
H A Dsubshell.c50 Namval_t *child; member in struct:Link
74 pid_t subpid; /* child process id */
185 * The child continues possibly with its standard output replaced by temp file
212 /* this is the child part of the fork */
302 *((Namval_t**)mp) = lp->child;
303 lp->child = mp;
368 for(mp=lp->child; mp; mp=mpnext)
577 /* trap on EXIT not handled by child */
585 if(shp->subshell==0) /* must be child process */
/illumos-gate/usr/src/lib/libpicltree/
H A Dptree_impl.h132 picl_obj_t *child; /* protected by ptree lock */ member in struct:picl_node
175 #define child_node u.node.child
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Dworkfile.c287 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL)
329 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL)
400 picl_nodehdl_t *child)
405 err = picl_get_propval_by_name(parent, PICL_PROP_CHILD, &(*child),
422 err = picl_get_propval_by_name(*child, PICL_PROP_NAME, name,
438 err = picl_get_propval_by_name(*child, PICL_PROP_PEER,
439 &(*child), sizeof (picl_nodehdl_t));
442 err = picl_get_propval_by_name(*child, PICL_PROP_NAME,
709 * If we are the child of a pci_bridge we use the
711 * the slot number. We know that we are a child o
399 find_child_device(picl_nodehdl_t parent, char *child_name, picl_nodehdl_t *child) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dworkfile.c168 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL)
210 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL)
222 picl_nodehdl_t *child)
227 err = picl_get_propval_by_name(parent, PICL_PROP_CHILD, &(*child),
244 err = picl_get_propval_by_name(*child, PICL_PROP_NAME, name,
260 log_printf(dgettext(TEXT_DOMAIN, "child name is %s\n"), name);
262 err = picl_get_propval_by_name(*child, PICL_PROP_PEER,
263 &(*child), sizeof (picl_nodehdl_t));
266 err = picl_get_propval_by_name(*child, PICL_PROP_NAME,
733 * If we are the child o
221 find_child_device(picl_nodehdl_t parent, char *child_name, picl_nodehdl_t *child) argument
[all...]
/illumos-gate/usr/src/common/ctf/
H A Dctf_types.c148 int rc, child = (fp->ctf_flags & LCTF_CHILD); local
153 (rc = func(CTF_INDEX_TO_TYPE(id, child), arg)) != 0)
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_fnmount.c440 const char *child; local
460 child = (const char *)fn_string_str(child_s, &statcode);
461 if (child == NULL) {
470 mntpnt, child, opts, status);
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dfunc.c637 void const **child[MAX_CHILD_TYPE] = { NULL }; /* children */ local
641 isns_obj_t *obj; /* child object */
642 isns_type_t ctype; /* child object type */
643 uint32_t uid; /* child object uid */
742 /* to child info array of the parent object */
743 ec = buff_child_obj(ptype, ctype, obj, child);
765 ec = verify_ref_obj(ptype, puid, child);
773 vpp = child[i];
780 ec = update_child_obj(ptype, puid, child, 1);
806 if (child[ui
[all...]
/illumos-gate/usr/src/uts/common/contract/
H A Dprocess.c53 * the child processes outlive the author of the contract, the contract
54 * may be held by (and therefore be between the child processes and) a
562 contract_process_take(contract_t *parent, contract_t *child) argument
567 ASSERT(MUTEX_HELD(&child->ct_lock));
571 list_insert_head(&ctp->conp_inherited, child);
593 * contract reference to the child, and b) contract_adopt
999 * Assuming we succeeded or skipped the previous step, we add the child
/illumos-gate/usr/src/test/util-tests/tests/libnvpair_json/
H A Dprint_json.c412 nvlist_t *child = (*lw)->lw_nvl[0]; local
417 if (nvlist_add_nvlist(parent, name, child) != 0) {
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_hp.c926 dev_info_t *child, *next; local
941 for (child = ddi_get_child(dip); child; child = next) {
943 next = ddi_get_next_sibling(child);
944 rc = cardbus_unconfigure_node(child, prim_bus, B_FALSE);
1766 cmn_err(CE_WARN, "!pcic child: non pci device\n");
/illumos-gate/usr/src/uts/common/sys/usb/clients/hidparser/
H A Dhidparser_impl.h85 struct entity_item *child; member in union:entity_item::info
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxpvd.c729 xpvd_name_child(dev_info_t *child, char *addr, int addrlen) argument
740 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
749 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child,
767 if (ddi_prop_lookup_string(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
776 xpvd_initchild(dev_info_t *child) argument
784 if (ndi_dev_is_persistent_node(child) == 0) {
785 ddi_set_parent_data(child, NULL);
791 if (ndi_merge_node(child, xpvd_name_child) == DDI_SUCCESS) {
795 ddi_set_name_addr(child, NULL);
800 * The child wa
[all...]
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci.c161 static int pci_removechild(dev_info_t *child);
162 static int pci_initchild(dev_info_t *child);
652 pci_initchild(dev_info_t *child) argument
658 if (pci_common_name_child(child, name, 80) != DDI_SUCCESS) {
661 ddi_set_name_addr(child, name);
669 if (ndi_dev_is_persistent_node(child) == 0) {
672 ddi_set_parent_data(child, NULL);
678 if (ndi_merge_node(child, pci_common_name_child) ==
683 ddi_set_name_addr(child, NULL);
694 if (ddi_prop_get_int(DDI_DEV_T_ANY, child,
[all...]
/illumos-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c171 static int npe_removechild(dev_info_t *child);
172 static int npe_initchild(dev_info_t *child);
179 extern int npe_disable_empty_bridges_workaround(dev_info_t *child);
844 npe_initchild(dev_info_t *child) argument
855 if (npe_disable_empty_bridges_workaround(child) == 1)
858 if (pci_common_name_child(child, name, 80) != DDI_SUCCESS)
861 ddi_set_name_addr(child, name);
869 if (ndi_dev_is_persistent_node(child) == 0) {
872 ddi_set_parent_data(child, NULL);
878 if (ndi_merge_node(child, pci_common_name_chil
[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",

Completed in 390 milliseconds

1234567891011