Searched refs:child (Results 101 - 125 of 371) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Dpro_die.c56 parent,child,left,right: specify neighbors of the new die. Only
63 Dwarf_P_Die child,
83 dwarf_die_link(new_die, parent, child, left, right, error);
89 parent,child,left,right: specify neighbors of the new die. Only
95 Dwarf_P_Die child,
123 if (child != NULL) {
125 new_die->di_child = child;
126 new_die->di_last_child = child;
127 if (child->di_parent) {
131 child
60 dwarf_new_die(Dwarf_P_Debug dbg, Dwarf_Tag tag, Dwarf_P_Die parent, Dwarf_P_Die child, Dwarf_P_Die left, Dwarf_P_Die right, Dwarf_Error * error) argument
93 dwarf_die_link(Dwarf_P_Die new_die, Dwarf_P_Die parent, Dwarf_P_Die child, Dwarf_P_Die left, Dwarf_P_Die right, Dwarf_Error * error) argument
[all...]
/illumos-gate/usr/src/test/os-tests/tests/poll/
H A Dpoll_test.c408 pid_t child; local
414 child = vfork();
416 if (child == -1) {
419 } else if (child == 0) {
426 result = waitpid(child, &status, 0);
430 child, strerror(errno));
433 } while (result != child);
437 child, status);
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcieb.c208 static int pcieb_initchild(dev_info_t *child);
636 * Attach failed for the child device. The child
640 * associated with the child device.
731 pcieb_name_child(dev_info_t *child, char *name, int namelen) argument
741 if (ndi_dev_is_persistent_node(child) == 0) {
742 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child,
747 ddi_driver_name(child));
752 " not well-formed", ddi_driver_name(child));
765 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child,
790 pcieb_initchild(dev_info_t *child) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dsmp_transport.h76 dev_info_t *child,
82 dev_info_t *child,
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_stree.c333 pnode_t child; local
337 child = prom_childnode(parent);
338 if (child == 0)
340 if (prom_getproplen(child, "name") <= 0) {
341 parent = child;
344 cnp = create_node(pnp, child);
346 create_peers(cnp, child);
348 parent = child;
/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...]
H A Dnpe_misc.c50 int npe_disable_empty_bridges_workaround(dev_info_t *child);
137 npe_disable_empty_bridges_workaround(dev_info_t *child) argument
143 if (ddi_driver_major(child) == ddi_name_to_major("pcieb") &&
144 ddi_get_child(child) == NULL &&
145 ddi_prop_get_int(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
209 * Check's if this child is a PCI device.
213 * child does not have a dev_type of "pciex"
218 * If parent's dev_type is "pci" and child is "pciex", then also enable using
/illumos-gate/usr/src/uts/sun4v/io/niumx/
H A Dniumx.c151 static int niumx_initchild(dev_info_t *child);
351 * through pci busops when child node calls ddi_fm_init.
422 * limit by comparing addr.hi of "ranges" and child "reg".
526 niumx_name_child(dev_info_t *child, char *name, int namelen) argument
531 DBG(NIUMX_DBG_CHK_MOD, (dev_info_t *)child, "==> niumx_name_child\n");
533 if (ndi_dev_is_persistent_node(child) == 0) {
537 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child,
541 ddi_driver_name(child));
546 " not well-formed", ddi_driver_name(child));
557 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, DDI_PROP_DONTPAS
568 niumx_initchild(dev_info_t *child) argument
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dtree.c44 print_mdoc(mdoc->first->child, 0);
51 print_man(man->first->child, 0);
176 if (n->child)
177 print_mdoc(n->child, indent +
261 if (n->child)
262 print_man(n->child, indent +
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpinex/
H A Dacpinex_drv.c35 * It does not handle any of the DDI functions passed up to it by the child
289 /* Install event handler for child/descendant objects. */
352 name_child(dev_info_t *child, char *name, int namelen) argument
356 ddi_set_parent_data(child, NULL);
359 if (ddi_prop_lookup_string(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
364 ACPINEX_DEBUG(CE_NOTE, "!acpinex: failed to lookup child "
365 "unit-address prop for %p.", (void *)child);
372 init_child(dev_info_t *child) argument
376 (void) name_child(child, name, MAXNAMELEN);
377 ddi_set_name_addr(child, nam
[all...]
/illumos-gate/usr/src/cmd/isns/isnsd/xml/
H A Ddata.c346 * 1: adding a xml child node.
365 xmlNodePtr child = NULL; local
398 child = node;
401 case 1: /* child element */
402 child = xmlNewChild(node, NULL, name, value);
405 child = xmlNewNode(NULL, name);
406 if (child != NULL &&
407 xmlAddPrevSibling(node, child) == NULL) {
408 xmlFreeNode(child);
411 node = child;
1110 xmlNodePtr node, child; local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsysiosbus.c255 static void make_sbus_ppd(dev_info_t *child);
258 sbusmem_initchild(dev_info_t *dip, dev_info_t *child);
261 sbus_initchild(dev_info_t *dip, dev_info_t *child);
966 make_sbus_ppd(dev_info_t *child) argument
977 if (ddi_get_parent_data(child) != NULL)
981 ddi_set_parent_data(child, pdptr);
992 if (get_prop(child, OBP_REG, 0, &reg_prop, &reg_len) != DDI_SUCCESS)
997 * Among other things, we use these to name the child node.
1006 (void) get_prop(child, "registers", DDI_PROP_NOTPROM,
1010 if (ndi_dev_is_persistent_node(child)
1056 sbusmem_initchild(dev_info_t *dip, dev_info_t *child) argument
1110 sysio_name_child(dev_info_t *child, char *name, int namelen) argument
1148 sbus_initchild(dev_info_t *dip, dev_info_t *child) argument
1577 dev_info_t *child; local
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_ire.c131 * ire_dep_children (From parent to first child)
225 static void ire_dep_invalidate_children(ire_t *child);
1627 /* Remove from parent dependencies and child */
2802 parent_has_child(ire_t *parent, ire_t *child) argument
2817 if (ire == child)
2829 ire_t *child = ire->ire_dep_children; local
2839 if (child != NULL) {
2840 ASSERT(child->ire_ipversion == IPV4_VERSION ||
2841 child->ire_ipversion == IPV6_VERSION);
2842 ASSERT(child
2917 ire_dep_parent_insert(ire_t *child, ire_t *parent) argument
3246 ire_dep_invalidate_children(ire_t *child) argument
3264 ire_dep_increment_children(ire_t *child) argument
3547 ire_t *child, *next; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dnameref.sh44 foo.child=child
45 if [[ ${foo.child} != ${bar.child} ]]
46 then err_exit "foo.child=${foo.child} != bar=${bar.child}"
52 name.child=second
60 if [[ ${.foo.bar.child} != child ]]
[all...]
/illumos-gate/usr/src/tools/stabs/
H A Dmain.c224 struct child *
227 struct child *chp;
229 for (chp = np->child; chp != NULL; chp = chp->next) {
258 struct child *chp;
267 fprintf(stderr, "NULL child name\n");
275 chp->next = np->child;
276 np->child = chp;
307 np->child = NULL;
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_dr.c105 pnode_t child; local
148 child = prom_childnode(node);
149 if (child != OBP_NONODE) {
150 for (; child != OBP_NONODE;
151 child = prom_nextnode(child)) {
152 sbdp_attach_branch(dip, child, (void *)apktp);
/illumos-gate/usr/src/uts/common/io/
H A Di8042.c151 * has_glock is 1 if this child has the [put8] exclusive-access lock.
180 * glock is 1 if any child has the [put8] exclusive-access lock
186 * and are signaled when another child relinquishes exclusive access.
636 * build a list of interrupts that each child uses,
1157 * the child possessing it relinquishes the lock.
1309 * If no child has exclusive access, then proceed with
1310 * the put8 below. If a child (not the one making the
1314 * while a child is writing to the 8042.
1466 dev_info_t *child; local
1472 child
1514 dev_info_t *child; local
1631 dev_info_t *child = ddi_get_child(dip); local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c1157 tnode_t *child = NULL; local
1201 &child);
1211 (void) disk_declare_non_enumerated(mod, pnode, &child);
1214 if (child != NULL) {
1231 (void) topo_prop_set_string_array(child,
2323 ses_phys_tree_t *child)
2330 assert(child != NULL);
2333 *sproot = child;
2337 pindex = child->spt_pindex;
2343 * parent index of a node to be added, add the node as a child o
2322 ses_phys_tree_insert(topo_mod_t *mod, ses_phys_tree_t **sproot, ses_phys_tree_t *child) argument
2413 ses_phys_tree_t *child; local
2607 ses_phys_tree_t *child = NULL; local
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dworkfile.c89 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL)
131 if ((node = dev_find_node_by_compat(root->child, compat)) != NULL)
143 picl_nodehdl_t *child)
148 err = picl_get_propval_by_name(parent, PICL_PROP_CHILD, &(*child),
165 err = picl_get_propval_by_name(*child, PICL_PROP_NAME, name,
181 log_printf(dgettext(TEXT_DOMAIN, "child name is %s\n"), name);
183 err = picl_get_propval_by_name(*child, PICL_PROP_PEER,
184 &(*child), sizeof (picl_nodehdl_t));
187 err = picl_get_propval_by_name(*child, PICL_PROP_NAME,
619 * If we are the child o
142 find_child_device(picl_nodehdl_t parent, char *child_name, picl_nodehdl_t *child) argument
[all...]
/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/cmd/cmd-crypto/tpmadm/
H A Dadmin_cmds.c348 struct hash_node *next, *sibling, *child; member in struct:hash_node
386 add_child(hash_node_t *parent, hash_node_t *child) argument
390 for (node = parent->child; node != NULL; node = node->next) {
391 if (node == child)
395 child->sibling = parent->child;
396 parent->child = child;
413 for (node = parent->child; node != NULL; node = node->sibling)
424 hash_node_t *parent, *child, *sr local
[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/lib/libzfs/common/
H A Dlibzfs_status.c123 nvlist_t **child; local
138 if (nvlist_lookup_nvlist_array(vdev, ZPOOL_CONFIG_CHILDREN, &child,
141 if (find_vdev_problem(child[c], func))
157 if (nvlist_lookup_nvlist_array(vdev, ZPOOL_CONFIG_L2CACHE, &child,
160 if (find_vdev_problem(child[c], func))
H A Dlibzfs_import.c130 nvlist_t **child; local
138 &child, &children) == 0) {
140 if (fix_paths(child[c], names) != 0)
449 nvlist_t **child = NULL; local
581 * Add this top-level vdev to the child array.
597 newchild[c] = child[c];
599 free(child);
600 child = newchild;
603 if (nvlist_dup(nvtop, &child[id], 0) != 0)
618 nvlist_free(child[
1469 nvlist_t **child; local
[all...]

Completed in 188 milliseconds

1234567891011>>