/illumos-gate/usr/src/cmd/power/ |
H A D | powerd.c | 931 pid_t child; local 934 * Reap any child process which has been left over. 943 if ((child = fork1()) == 0) { 954 } else if (child == -1) { 961 if (waitpid(child, &status, 0) != child) { 1005 pid_t pid, child; local 1048 if ((child = fork1()) == 0) { 1069 if (child == -1) { 1075 while (pid != child) [all...] |
H A D | handlers.c | 1007 nvlist_t **child; local 1040 &child, &children) == 0); 1047 vname = zpool_vdev_name(lzfs, zpool_handle, child[0], B_FALSE);
|
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/ |
H A D | main.c | 600 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/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/libfru/libfru/ |
H A D | libfru.cc | 523 fru_get_child(fru_nodehdl_t handle, fru_nodehdl_t *child) argument 546 *child = TREEHDL_TO_NODEHDL(tr_child); 551 * if the child is not valid try and find a peer of the child which is 567 *child = TREEHDL_TO_NODEHDL(tr_child);
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_restore_writer.c | 1549 is_parent(char *parent, char *child, int flags) argument 1560 rv = (match(tmp, child) != 0) ? TRUE : FALSE; 1567 rv = (strncmp(tmp, child, strlen(tmp)) == 0) ?
|
/illumos-gate/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 946 nvpair_t *child = NULL; local 958 error = nvlist_lookup_byte_array(nvl, "@child", &cbuf, &csize); 960 return; /* no child exists */ 965 while (child = nvlist_next_nvpair(cnvl, child)) { 966 char *name = nvpair_name(child); 967 data_type_t type = nvpair_type(child); 980 (void) nvpair_value_byte_array(child,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | inetd.c | 3098 case 0: /* child */ 3737 int child; local 3739 /* Create pipe for child to notify parent of initialization success. */ 3745 if ((child = fork()) == -1) { 3750 } else if (child > 0) { /* parent */ 3752 /* Wait on child to return success of initialization. */ 3768 } else { /* child */
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.h | 108 bool didfds; /* Have setup i/o fd's for child */ 111 bool child; /* Child shell ... errors cause exit */ variable
|
/illumos-gate/usr/src/cmd/lvm/metassist/xml/ |
H A D | xml_convert.c | 913 xmlNodePtr child = xmlNewChild( local 915 xmlSetProp(child, 924 xmlNodePtr child = xmlNewChild( local 926 xmlSetProp(child, 954 /* Encode child */ 1004 /* For each child node... */ 1132 xmlNodePtr child; local 1143 /* Check child nodes */ 1144 for (child = node->xmlChildrenNode; child ! [all...] |
/illumos-gate/usr/src/cmd/sasinfo/ |
H A D | sasinfo-list.c | 60 struct smhba_rp_tree *child; member in struct:smhba_rp_tree 2440 * then this should be a child node of current root node. 2443 (void) sas_rp_tree_insert(&(*rproot)->child, rpnode); 2469 * port node into the child sub-tree, then try to insert to the 2474 if ((*rproot)->child) { 2475 ret = sas_rp_tree_insert(&(*rproot)->child, rpnode); 2477 if ((*rproot)->child == NULL || ret != 0) { 2523 * Step down to child tree first. 2526 portIndex, port, rpnode->child, input, 2564 * the immediate child node [all...] |
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | obj.c | 101 /* type of a child object */ 1093 * get the pointer of the UID array of the n'th child of an object. 1096 * n - the child index. 1117 * get the UID array of the n'th child of an object. 1120 * n - the child index. 1149 * get the pointer of the UID array of the child matching the type. 1152 * child_type - the child object type. 1180 * get the UID array of the child object matching the type. 1183 * child_type - the child object type. 2660 /* free child uid 2809 update_child_obj( const isns_type_t ptype, const uint32_t puid, void const ***child, int child_flag ) argument 3257 const void ***child; local 3400 const void ***child; local [all...] |
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | client.c | 864 * _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/uts/common/inet/ip/ |
H A D | ip_ire.c | 131 * 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/uts/common/fs/nfs/ |
H A D | nfs4_stub_vnops.c | 2147 nfs4_ephemeral_t *child; local 2246 child = prior->ne_child; 2249 eph->ne_peer = child; 2251 child->ne_prior = eph; 2341 * First we walk down the child. 2472 * While we may have removed any child or sibling nodes of this 2935 * If a child reported an error, do
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | dwarf.c | 302 Dwarf_Die child; local 305 if ((rc = dwarf_child(die, &child, &dw->dw_err)) == DW_DLV_OK) 306 return (child); 310 terminate("die %llu: failed to find type child: %s\n", 1681 Dwarf_Die child = die_child(dw, die); local 1683 if (child != NULL) 1684 die_create(dw, child); 1900 Dwarf_Die cu, child; local 1946 ((child = die_child(&dw, cu)) == NULL) && 1950 } else if (child [all...] |
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | hba.c | 688 void *arg, dev_info_t **child) 702 ret = ndi_busop_bus_config(dip, flag, op, arg, child, 0); 687 scsa1394_scsi_bus_config(dev_info_t *dip, uint_t flag, ddi_bus_config_op_t op, void *arg, dev_info_t **child) argument
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_nexus.c | 811 dev_info_t *child = (dev_info_t *)arg; local 825 pi = ddi_get_parent_data(child); 829 ddi_set_name_addr(child, s); 833 ddi_set_name_addr(child, NULL); 879 /* Allocate and bind all child device nodes */
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus.c | 89 static void cardbus_init_child_regs(dev_info_t *child); 632 * The child of the dip is the cardbus dip. The child of the 1095 cardbus_init_child_regs(dev_info_t *child) argument 1107 * Map the child configuration space to for initialization. 1118 if (pci_config_setup(child, &config_handle) != DDI_SUCCESS) 1121 cardbus_err(child, 6, "cardbus_init_child_regs()\n"); 1137 command_preserve = ddi_prop_get_int(DDI_DEV_T_ANY, child, 1165 if (ddi_getprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, 1172 (void) ndi_prop_update_int(DDI_DEV_T_NONE, child, 1209 cardbus_initchild(dev_info_t *rdip, dev_info_t *dip, dev_info_t *child, void *result) argument 1301 cardbus_name_child(dev_info_t *child, char *name, int namelen) argument [all...] |
H A D | cardbus_cfg.c | 2520 "cardbus_probe_children(): Failed to alloc child node\n"); 2582 * Child node properties NOTE: Both for PCI-PCI bridge and child node 3045 * Attach the child to its parent 3096 "cardbus_add_isa_child(): Failed to alloc child node\n"); 3268 dev_info_t *child; local 3271 while (child = ddi_get_child(dip)) { 3272 ASSERT(i_ddi_node_state(child) <= DS_LINKED); 3277 (void) i_ndi_unconfig_node(child, DS_PROTO, 0); 3279 DEVI(child)->devi_parent = DEVI(parent); 3280 DEVI(child) [all...] |
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex.c | 205 * 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/uts/common/io/pciex/ |
H A D | pcieb.c | 208 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/io/ |
H A D | pshot.c | 46 * 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/uts/common/io/usb/clients/hidparser/ |
H A D | hidparser.c | 332 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/uts/common/io/usb/scsa2usb/ |
H A D | scsa2usb.c | 607 * Create disk child(ren) 1760 * create child nodes for each lun 1799 * create disk child for each lun 1936 * add property "usb" so we always verify that it is our child 2280 * check whether we created this child ourselves 2302 /* is this a child we created? */ 2306 "scsa2usb_scsi_tgt_init: new child %s%d", 2311 * is our child 2361 /* is this our child? */ 2392 void *arg, dev_info_t **child) 2391 scsa2usb_scsi_bus_config(dev_info_t *dip, uint_t flag, ddi_bus_config_op_t op, void *arg, dev_info_t **child) argument [all...] |