Lines Matching refs:nhp
145 topo_nodehash_t *nhp;
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;
175 for (nhp = node->tn_phash; nhp != NULL; nhp = topo_list_next(nhp)) {
176 for (i = index; i < nhp->th_arrlen; ++i) {
177 if (nhp->th_nodearr[i] != NULL) {
178 return (nhp->th_nodearr[i]);