Lines Matching refs:nhp
148 topo_nodehash_t *nhp; in topo_child_first() local
150 for (nhp = topo_list_next(&pnode->tn_children); nhp != NULL; in topo_child_first()
151 nhp = topo_list_next(nhp)) { in topo_child_first()
152 for (i = 0; i < nhp->th_arrlen; ++i) { in topo_child_first()
153 if (nhp->th_nodearr[i] != NULL) in topo_child_first()
154 return (nhp->th_nodearr[i]); in topo_child_first()
166 topo_nodehash_t *nhp; in topo_child_next() local
178 for (nhp = node->tn_phash; nhp != NULL; nhp = topo_list_next(nhp)) { in topo_child_next()
179 for (i = index; i < nhp->th_arrlen; ++i) { in topo_child_next()
180 if (nhp->th_nodearr[i] != NULL) { in topo_child_next()
181 return (nhp->th_nodearr[i]); in topo_child_next()