/illumos-gate/usr/src/cmd/mail/ |
H A D | pushlist.c | 40 struct hdrs *nhp, *ohp, *nextcont; local 65 nhp = (struct hdrs *)p; 67 (void) strlcpy(nhp->value, s, sizeof (nhp->value)); 94 free ((char *)nhp); 104 nextcont->cont = nhp; 113 hdrlines[hdrtype].head = hdrlines[hdrtype].tail = nhp; 117 nhp->next = ohp; 118 hdrlines[hdrtype].head = ohp->prev = nhp; 121 nhp [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_list.c | 145 topo_nodehash_t *nhp; local 147 for (nhp = topo_list_next(&pnode->tn_children); nhp != NULL; 148 nhp = topo_list_next(nhp)) { 149 for (i = 0; i < nhp->th_arrlen; ++i) { 150 if (nhp->th_nodearr[i] != NULL) 151 return (nhp->th_nodearr[i]); 163 topo_nodehash_t *nhp; local 175 for (nhp [all...] |
H A D | topo_2xml.c | 280 topo_nodehash_t *nhp; local 283 for (nhp = topo_list_next(&node->tn_children); nhp != NULL; 284 nhp = topo_list_next(nhp)) { 285 (void) snprintf(min, INT32BUFSZ, "%d", nhp->th_range.tr_min); 286 (void) snprintf(max, INT32BUFSZ, "%d", nhp->th_range.tr_max); 292 for (i = 0; i < nhp->th_arrlen; ++i) { 293 if (nhp->th_nodearr[i] != NULL) 304 begin_element(fp, Range, Name, nhp [all...] |
H A D | topo_node.c | 133 topo_nodehash_t *nhp; local 151 nhp = node->tn_phash; 152 for (i = 0; i < nhp->th_arrlen; i++) { 153 if (node == nhp->th_nodearr[i]) { 154 nhp->th_nodearr[i] = NULL; 181 while ((nhp = topo_list_next(&node->tn_children)) != NULL) { 182 for (i = 0; i < nhp->th_arrlen; i++) { 183 assert(nhp->th_nodearr[i] == NULL); 185 hmod = nhp->th_enum; 186 topo_mod_strfree(hmod, nhp 275 node_create_seterror(topo_mod_t *mod, tnode_t *pnode, topo_nodehash_t *nhp, int err) argument 300 topo_nodehash_t *nhp; local 351 topo_nodehash_t *nhp; local 390 topo_nodehash_t *nhp; local 418 topo_node_hash(topo_nodehash_t *nhp, topo_instance_t inst) argument 451 topo_nodehash_t *nhp; local 537 topo_nodehash_t *nhp; local [all...] |
H A D | topo_snap.c | 428 topo_nodehash_t *nhp; local 450 while ((nhp = topo_list_next(&root->tn_children)) != NULL) { 451 for (i = 0; i < nhp->th_arrlen; i++) { 452 assert(nhp->th_nodearr[i] == NULL); 454 mod = nhp->th_enum; 455 topo_mod_strfree(mod, nhp->th_name); 456 topo_mod_free(mod, nhp->th_nodearr, 457 nhp->th_arrlen * sizeof (tnode_t *)); 458 topo_list_delete(&root->tn_children, nhp); 459 topo_mod_free(mod, nhp, sizeo [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | envelope.c | 659 register HDR **nhp; local 716 nhp = &e->e_header; 719 *nhp = (HDR *) sm_rpool_malloc_x(rpool, sizeof(*bh)); 720 memmove((char *) *nhp, (char *) bh, sizeof(*bh)); 722 nhp = &(*nhp)->h_link;
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | util.c | 115 Ld_heap *nhp; local 125 if ((nhp = dz_map(tsize)) == MAP_FAILED) 128 nhp->lh_next = chp; 129 nhp->lh_free = (void *)((size_t)nhp + hsize); 130 nhp->lh_end = (void *)((size_t)nhp + tsize); 132 ld_heap = chp = nhp;
|
/illumos-gate/usr/src/cmd/lastcomm/ |
H A D | lc_utils.c | 219 struct devhash *hp, *nhp; local 241 for (hp = dev_chain; hp; hp = nhp) { 242 nhp = hp->dev_nxt; 253 dev_chain = nhp;
|
/illumos-gate/usr/src/common/smbios/ |
H A D | smb_open.c | 80 const smb_header_t *hp, *nhp; local 169 for (i = 0; i < ep->smbe_stnum; i++, hp = nhp) { 216 nhp = (void *)(p + 2);
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | dnlc.c | 1513 dcentry_t *dep, *nhp; local 1523 nhp = dcp->dc_namehash[i]; 1524 while (nhp != NULL) { /* for each chained entry */ 1525 dep = nhp->de_next; 1526 kmem_free(nhp, sizeof (dcentry_t) - 1 + 1527 nhp->de_namelen); 1528 nhp = dep; 1928 dcentry_t **newhash, *dep, **nhp, *tep; local 1961 nhp = &newhash[tep->de_hash & newsizemask]; 1962 tep->de_next = *nhp; 1980 dcfree_t **newhash, *dfp, **nhp, *tfp; local [all...] |
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_node.c | 447 struct hsnode *hp, *nhp; local 476 for (hp = fsp->hsfs_hash[i]; hp != NULL; hp = nhp) { 477 nhp = hp->hs_hash;
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipsecesp.c | 2613 uint8_t *nhp; local 2695 nhp = (uint8_t *)&ipha->ipha_protocol; 2723 nhp = &ipp.ipp_rthdr->ip6r_nxt; 2725 nhp = &ipp.ipp_hopopts->ip6h_nxt; 2729 nhp = &ip6h->ip6_nxt; 2879 protocol = *nhp; 2884 *nhp = IPPROTO_UDP; 2888 *nhp = IPPROTO_ESP; 2894 *nhp = IPPROTO_ESP;
|