/illumos-gate/usr/src/cmd/sgs/nm/common/ |
H A D | nm.c | 1409 char *root, *child, *child_len_p; local 1412 child = s + len + 2; 1413 child_len_p = child; 1414 if (!isdigit(*child)) { 1424 for (p = child; *p != '_'; ++p) 1428 (void) strcat(p_buf, child); 1433 while (isdigit(*child)) 1434 child++; 1435 c = *child; 1436 *child [all...] |
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4u.c | 181 pnode->child = NULL; 258 if (curnode = child(id)) { 259 pnode->child = walk(tree, pnode, curnode);
|
H A D | pdevinfo_sun4v.c | 167 pnode->child = NULL; 218 if (curnode = child(id)) { 219 pnode->child = sun4v_walk(tree, pnode, curnode);
|
H A D | io.c | 522 for (card_node = sbus->child; card_node != NULL; 562 child_name = get_node_name(card_node->child); 563 if ((card_node->child != NULL) && 565 value = get_prop_val(find_prop(card_node->child, 752 child_name = (char *)get_node_name(card_node->child); 754 if ((card_node->child != NULL) && 756 value = get_prop_val(find_prop(card_node->child, 846 card_node = pci->child; 895 * If we are the child of a pci_bridge we use the 897 * the slot number. We know that we are a child o [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | config.c | 73 retval->child = retval->parent = NULL; 145 for (cp = parent->child; cp; lastcp = cp, cp = cp->next) 168 parent->child = newnode; 221 ASSERT(rhs->u.name.child->t == T_NUM); 223 num = rhs->u.name.child->u.ull; 228 for (cp = parent->child; cp; lastcp = cp, cp = cp->next) 242 parent->child = newnode; 439 structconfig_free(cp->child); 486 * config_child -- get the "child" of a config node 493 return ((struct config *)((struct config *)cp)->child); [all...] |
H A D | ipath.c | 118 if (np->u.name.child != NULL && 119 np->u.name.child->t == T_NUM) 120 inum = (int)np->u.name.child->u.ull; 258 if (namep->u.name.child != NULL && 259 namep->u.name.child->t == T_NUM) 260 ret[i].i = (int)namep->u.name.child->u.ull;
|
H A D | eval.c | 81 if (lhs->u.name.child && lhs->u.name.child->t == T_NUM) { 82 lnum = (int)lhs->u.name.child->u.ull; 83 } else if (lhs->u.name.child && lhs->u.name.child->t == T_NAME) { 84 iterinfop = lut_lookup(ex, (void *)lhs->u.name.child->u.name.s, 89 out(O_DIE, "begins_with: unexpected lhs child"); 91 out(O_DIE, "begins_with: unexpected lhs child"); 94 if (rhs->u.name.child && rhs->u.name.child [all...] |
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcieb.h | 164 extern void pcieb_plat_initchild(dev_info_t *child); 165 extern void pcieb_plat_uninitchild(dev_info_t *child); 194 dev_info_t *child);
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_node.c | 121 pnode_t child; local 125 child = promif_stree_childnode(p1275_cell2dnode(ci[3])); 127 ci[4] = p1275_dnode2cell(child);
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_resolv.c | 69 void setup_resolv(bool *fwding, int *child, argument 106 * pass child the fd to use for service. 116 switch (*child = vfork()) { 124 case 0: /* child */ 130 * in child on our bound fd. 162 (void) kill (*child, SIGINT); 169 (void) kill (*child, SIGINT); 177 (void) kill (*child, SIGINT); 191 (void) kill (*child, SIGINT); 216 sprintf(fd_str, "-1"); /* have child clos [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | err.copyoutbadaddr.ksh | 66 child=$! 68 wait $child
|
H A D | err.copyoutstrbadaddr.ksh | 65 child=$! 67 wait $child
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tphci.c | 398 dev_info_t *child = (dev_info_t *)arg; local 399 return (tphci_initchild(dip, child)); 404 dev_info_t *child = (dev_info_t *)arg; local 405 return (tphci_uninitchild(dip, child)); 447 tphci_initchild(dev_info_t *dip, dev_info_t *child) argument 450 ddi_set_name_addr(child, "0"); 456 tphci_uninitchild(dev_info_t *dip, dev_info_t *child) argument 458 ddi_set_name_addr(child, NULL);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnex.c | 321 dev_info_t *child = (dev_info_t *)arg; local 323 if (ddi_getlongprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, 328 ddi_set_name_addr(child, name); 329 ddi_set_parent_data(child, NULL); 337 dev_info_t *child = (dev_info_t *)arg; local 339 ddi_set_name_addr(child, NULL); 357 dev_info_t *child = rdip; local 358 if (ddi_getlongprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS,
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_misc.c | 54 eibnx_child_t *child; local 83 * resource we might've allocated; note that the child dips 92 for (child = children; child; child = nxt_child) { 93 nxt_child = child->ch_next; 95 if (child->ch_node_name) { 96 kmem_free(child->ch_node_name, MAXNAMELEN); 98 kmem_free(child, sizeof (eibnx_child_t)); 140 "%s property to 0x%llx for child di 292 eibnx_name_child(dev_info_t *child, char *name, size_t namesz) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | isa.c | 209 static int isa_initchild(dev_info_t *child); 1027 * Name a child 1030 isa_name_child(dev_info_t *child, char *name, int namelen) argument 1051 if (old_driver(child)) 1057 if (ddi_get_parent_data(child) == NULL) { 1059 make_ddi_ppd(child, &pdptr); 1060 ddi_set_parent_data(child, pdptr); 1063 if (ndi_dev_is_persistent_node(child) == 0) { 1068 if (sparc_pd_getnreg(child) > 0) { 1070 (uint_t)sparc_pd_getreg(child, 1114 isa_initchild(dev_info_t *child) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | ddi_impl.c | 446 impl_xlate_intrs(dev_info_t *child, int *in, argument 470 if ((ddi_getprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, 491 DEVI(child)->devi_name, 492 DEVI(child)->devi_instance, level, vec); 522 if (ddi_getlongprop(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, 529 DEVI(child)->devi_name, 530 DEVI(child)->devi_instance, n, 549 DEVI(child)->devi_name, 550 DEVI(child)->devi_instance, level, vec); 607 make_ddi_ppd(dev_info_t *child, struc argument 722 impl_sunbus_name_child(dev_info_t *child, char *name, int namelen) argument 758 impl_ddi_sunbus_initchild(dev_info_t *child) argument [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | check.c | 145 if (np->u.name.child == NULL) 360 if (np->t != T_NAME || np->u.name.next || np->u.name.child) 371 if (np->t != T_NAME || np->u.name.next || np->u.name.child || 599 if (np->u.name.child && np->u.name.child->t == T_NAME) 600 ex = lut_add(ex, (void *) np->u.name.child->u.name.s, 631 if (np->u.name.child && np->u.name.child->t == T_NAME) { 633 (void *) np->u.name.child->u.name.s, NULL) == NULL) 637 np->u.name.child [all...] |
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_open.c | 214 * We initially determine whether the container is a child or a parent 217 * to values in the range reserved for child types in our first pass. 219 int child = cth->cth_parname != 0; local 257 child |= CTF_TYPE_ISCHILD(mp->ctm_type); 264 child |= 291 child |= CTF_TYPE_ISCHILD(tp->ctt_type); 303 * If we detected a reference to a child type ID, then we know this 304 * container is a child and may have a parent's types imported later. 306 if (child) { 307 ctf_dprintf("CTF container %p is a child\ [all...] |
/illumos-gate/usr/src/cmd/rexd/ |
H A D | where_main.c | 37 int child = 0; /* pid of the executed process */ variable
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | fcgp2.c | 139 gp2_fc_ops_alloc_handle(dev_info_t *ap, dev_info_t *child, argument 147 rp->next_handle = fc_ops_alloc_handle(ap, child, fcode, fcode_size, 150 rp->child = child; 164 * Add the child's nodeid to our table... 166 h = ddi_get_nodeid(rp->child); 167 fc_add_dip_to_phandle(fc_handle_to_phandle_head(rp), rp->child, h); 282 error = gp2_map_phys(rp->child, &r, &virt, &acc, &h); 423 error = ddi_peek64(rp->child, 430 error = ddi_peek32(rp->child, [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mdoc_state.c | 268 for (nch = n->child; nch != NULL; nch = nch->next) 286 if (n->child == NULL) 288 else if ( ! strcmp(n->child->string, "on")) 290 else if ( ! strcmp(n->child->string, "off"))
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | bucket.c | 93 * where no predecessor (child) exists. We start a new 106 bucket_t *new, *child; local 120 * child exists. We start a new tree of buckets. 125 if ((child = find_in_hashmap(after)) == NULL) { 137 child->b_parent = new; 149 bucket_t *new, *child; local 163 * child exists. We start a new tree of buckets. 168 if ((child = find_in_hashmap(after)) == NULL) { 181 uncle->bl_next = child->b_uncles; 183 child [all...] |
/illumos-gate/usr/src/uts/intel/io/pciex/ |
H A D | pcieb_x86.c | 177 pcieb_plat_initchild(dev_info_t *child) argument 180 if (ddi_getprop(DDI_DEV_T_NONE, child, DDI_PROP_DONTPASS, "interrupts", 186 ddi_set_parent_data(child, pdptr); 188 ddi_set_parent_data(child, NULL); 192 pcieb_plat_uninitchild(dev_info_t *child) argument 196 if ((pdptr = ddi_get_parent_data(child)) != NULL) 199 ddi_set_parent_data(child, NULL);
|
/illumos-gate/usr/src/uts/common/io/fcoe/ |
H A D | fcoe_fc.c | 433 dev_info_t *child = NULL; local 436 ndi_devi_alloc_sleep(parent, devname, DEVI_PSEUDO_NODEID, &child); 437 if (child == NULL) { 442 if (ddi_prop_update_int(DDI_DEV_T_NONE, child, 447 (void) ndi_devi_free(child); 451 rval = ndi_devi_online(child, NDI_ONLINE_ATTACH); 457 mac->fm_client_dev = child;
|