/illumos-gate/usr/src/uts/common/io/usb/usb_mid/ |
H A D | usb_mid.c | 114 dev_info_t **child); 311 * child post attach/detach notification 319 /* if child successfully attached, set power */ 322 * Check if the child created wants to be power managed. 325 * If no, we set power of the new child by default 434 void *arg, dev_info_t **child) 453 rval = ndi_busop_bus_config(dip, flag, op, arg, child, 0); 654 * allocate array for keeping track of child dips 1027 * are child interfaces 1035 "child interfac 433 usb_mid_bus_config(dev_info_t *dip, uint_t flag, ddi_bus_config_op_t op, void *arg, dev_info_t **child) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci.c | 65 static off_t get_reg_set_size(dev_info_t *child, int rnumber); 1155 * Given a dev info pointer to a pci child and a register number, this 1160 get_reg_set_size(dev_info_t *child, int rnumber) argument 1172 if (ddi_getlongprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, "reg",
|
H A D | pcisch.c | 87 extern void pcix_set_cmd_reg(dev_info_t *child, uint16_t value); 2532 * RSERR not claimed as nonfatal by a child is considered fatal 3273 pci_post_init_child(pci_t *pci_p, dev_info_t *child) argument 3284 * is to disable bus parking if the child contains the property 3289 if (ddi_prop_exists(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, 3312 DEBUG1(DBG_INIT_CLD, child, "Turning on XMITS NCPQ " 3315 pcix_set_cmd_reg(child, value); 3318 child, "pcix-update-cmd-reg", value); 3336 ddi_driver_name(child), bugcntl, tunable, 3342 ddi_driver_name(child), *pbm_pcix_diag_re [all...] |
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 545 xmlNodePtr child, next; local 548 for (child = top->xmlChildrenNode; child != NULL; child = next) { 549 next = child->next; 550 if (child->name == NULL) 552 if (xmlStrcmp(child->name, DTD_ELEM_COMMENT) == 0) { 553 next = child->next; 554 xmlUnlinkNode(child); 555 xmlFreeNode(child); 563 xmlNodePtr root, child, next; local [all...] |
/illumos-gate/usr/src/cmd/avs/dsw/ |
H A D | iiadm.c | 1276 * sigchild; reap child and collect status. 1730 * Wait for child process to get to some state, where some state may be: 1738 child_wait(pid_t child, enum child_event event, char *volume) argument 1745 for (; dead_child != child; (void) sleep(1)) { 1767 /* child died */ 1821 pid_t child; local 2111 switch (child = fork()) { 2152 exit(child_wait(child, Status, shadow_volume)); 2164 pid_t child = (pid_t)0; local 2232 switch (child 2591 pid_t child = (pid_t)0; local [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare.c | 1277 * find the child node of the specified node that has "type". This is 1284 xmlNodePtr child; local 1285 for (child = node->xmlChildrenNode; child != NULL; 1286 child = child->next) 1287 if (xmlStrcmp(child->name, type) == 0) 1288 return (child);
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 384 DPRINTF((DI_TRACE, "Get child of node %s\n", di_node_name(node))); 393 if (DI_NODE(node)->child) { 394 return (DI_NODE(pa + DI_NODE(node)->child)); 602 di_node_t child; local 607 if ((child = di_child_node(node)) == DI_NODE_NIL) { 616 result->node = child; 619 while ((child = di_sibling_node(tmp->node)) != DI_NODE_NIL) { 626 tmp->node = child; 814 * This is similar to walk_one_node, except we only walk in child 3575 * This is similar to walk_one_node, except we only walk in child [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 2131 * tran structure. Fail the INITCHILD if the child port number 2316 dev_info_t *child = NULL; local 2343 ndi_devi_alloc_sleep(parent, cname, DEVI_PSEUDO_NODEID, &child); 2344 if (child == NULL) { 2351 if (ndi_prop_update_string(DDI_DEV_T_NONE, child, 2355 (void) ndi_devi_free(child); 2361 if (ndi_prop_update_string(DDI_DEV_T_NONE, child, 2363 (void) ndi_devi_free(child); 2370 if (ndi_prop_update_string(DDI_DEV_T_NONE, child, 2372 (void) ndi_devi_free(child); [all...] |
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/ |
H A D | arcmsr.c | 2282 dev_info_t *child = NULL; local 2288 for (child = ddi_get_child(acb->dev_info); 2289 child; 2290 child = ddi_get_next_sibling(child)) { 2292 if (ndi_dev_is_persistent_node(child) == 0) 2294 if (arcmsr_name_node(child, tmp, SCSI_MAXNAMELEN) != 2300 return (child); 2372 dev_info_t *child; local 2375 if ((child 3253 dev_info_t *child; local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa.c | 1183 nvlist_t **child; local 1194 &child, &children); 1207 if ((error = spa_config_parse(spa, &vd, child[c], *vdp, c, 1655 nvlist_t **child, *nv; local 1658 child = kmem_alloc(rvd->vdev_children * sizeof (nvlist_t **), 1669 child[idx++] = vdev_config_generate(spa, mtvd, 1675 ZPOOL_CONFIG_CHILDREN, child, idx) == 0); 1680 nvlist_free(child[i]); 1683 kmem_free(child, rvd->vdev_children * sizeof (char **)); 3856 * Add this top-level vdev to the child arra 5033 nvlist_t **child, *nvl, *tmp; local [all...] |
H A D | vdev.c | 134 * The allocatable space for a raidz vdev is N * sizeof(smallest child), 135 * so each child must provide at least 1/Nth of its asize. 279 * Remove any holes in the child array. 644 * Remove this vdev from its parent's child list. 1674 * if any child is less than fully replicated, then so is its parent. 1680 * two child DTL_MISSING maps. 1892 /* account for child's outage in parent's missing map */ 3137 vdev_t *child; local 3141 child = vd->vdev_child[c]; 3146 if (child [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 1523 * determines the node class for that child. If it finds a valid class 1525 * recursively to construct the subtree for that child node. Otherwise, if 1579 * creates a PICL node for each child not found in the PICL tree and 1581 * child node. It also checks if the node being created is a meory 2604 create_asr_node(char *parent, char *child, char *unitaddr, char *class, argument 2628 * see if the required child node already exists 2640 if (strcmp(nodename, child) != 0) 2643 * found a candidate child node 2751 if (ptree_create_and_add_node(nodeh, child, class, &chdh) == 2763 (void) strlcat(ptreepath, child, PATH_MA 2808 char *child; local [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas.c | 1878 * Still have pathinfo child, should not detach mpt driver 3019 * properties for child here, if desired and if you can tell they 14344 dev_info_t *child = NULL, *savechild = NULL; local 14359 child = ddi_get_child(pdip); 14360 while (child) { 14362 savechild = child; 14363 child = ddi_get_next_sibling(child); 14613 dev_info_t *child = NULL, *prechild = NULL; local 14620 child 14734 dev_info_t *child = NULL; local 14797 dev_info_t *child = NULL; local 14828 dev_info_t *child = NULL; local 14845 dev_info_t *child; local [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_zfs.c | 1501 char *child; local 1503 if (nvlist_lookup_value(nv, ZPOOL_CONFIG_CHILDREN, &child, 1510 child_i = nvlist_array(child, i);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunndi.c | 452 * Transition the child named by "devname@devaddr" to the online state. 497 * Transition the child named by "devname@devaddr" to the offline state. 534 * Remove the child named by "devname@devaddr". 571 * Return devctl state of the child named by "name@addr". 814 * create a child device node given the property definitions 827 * The child device may have been pre-constructed by an earlier 927 * return a handle to the child device 928 * copy out the name of the newly attached child device if 1061 * destroy the partially child device and abort the request 2526 /* Interfaces for 'self' to set/get a child' 2528 ndi_flavor_set(dev_info_t *child, ndi_flavor_t child_flavor) argument 2534 ndi_flavor_get(dev_info_t *child) argument [all...] |
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 1806 file_list_t *child = children; local 1809 while (child != NULL) { 1810 cptr = child->next; 1811 if (child->name != NULL) { 1812 free(child->name); 1814 child = cptr; 1833 file_list_t *child = NULL; local 2214 if (child == NULL) { 2215 child = cptr; 2230 while ((child ! [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | man_macro.c | 139 * got deleted, so add the next node we parse as a child 160 if (tok == MAN_RS && n->child == NULL &&
|
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas.c | 1604 dev_info_t *child = NULL; local 1616 if ((child = mrsas_find_child(instance, tgt, lun)) != NULL) { 1618 (CE_NOTE, "mrsas_tgt_init find child =" 1619 " %p t = %d l = %d", (void *)child, tgt, lun)); 1698 dev_info_t *child = NULL; local 1703 for (child = ddi_get_child(instance->dip); child; 1704 child = ddi_get_next_sibling(child)) { 1706 if (ndi_dev_is_persistent_node(child) 7617 dev_info_t *child; local [all...] |
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | rc_node.c | 70 * rc_node_destroy()ed (hold a lock on its parent or child, hold a flag, 93 * apropriate child. 171 * parent service. For snapshots they point to the child snaplevels, and for 894 * verify that the 'parent' type can have a child typed 'child' 897 * _TYPE_MISMATCH - parent type cannot have children of type child 900 rc_check_parent_child(uint32_t parent, uint32_t child) argument 906 child == 0 || child >= NUM_TYPES) 911 if (type == child) 3224 rc_node_t *child = NULL; local [all...] |
/illumos-gate/usr/src/lib/libfru/libfrupicl/ |
H A D | frupicl.c | 275 fpt_get_child(fru_treehdl_t handle, fru_treehdl_t *child) argument 284 *child = PICLHDL_TO_TREEHDL(p_child);
|
/illumos-gate/usr/src/lib/libfru/libfrupicltree/ |
H A D | frupicltree.c | 286 fpt_get_child(fru_treehdl_t handle, fru_treehdl_t *child) argument 295 *child = PICLHDL_TO_TREEHDL(p_child);
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_types.c | 148 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/csh/ |
H A D | sh.proc.c | 43 * indicating that at least one child has terminated or stopped 64 * SysV sends a SIGCHLD when the child process 82 if (pid == atoi_(value(S_child /* "child" */))) 83 unsetv(S_child /* "child" */); 112 !child && adrof(S_time /* "time" */) && 251 * termination of the child and to invoke the 254 * However, vfork() now causes a vfork()'d child to 259 * If this instance of csh is itself a child of vfork(), 265 * (without actually reaping the child) and call the 1167 * Do the fork and whatever should be done in the child sid [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/usba/ |
H A D | prtusb.c | 867 if (item.info.child) { 869 prt_usb_hid_item((uintptr_t)item.info.child);
|
/illumos-gate/usr/src/uts/common/pcmcia/nexus/ |
H A D | pcmcia.c | 555 * we get control here before the child is called. 561 cmn_err(CE_CONT, "pcmcia: init child: %s(%d) @%p\n", 642 cmn_err(CE_CONT, "pcmcia: uninit child: %s(%d) @%p\n", 735 * for now, we let the child handle it itself 1088 /* we're not a child of root so find out what */ 1365 dev_info_t *child = NULL; local 1369 &child) == NDI_SUCCESS) { 1375 ddi_set_parent_data(child, (caddr_t)ppd); 1376 if (ndi_devi_online(child, 0) != NDI_SUCCESS) { 1379 (void) ndi_devi_free(child); [all...] |