Lines Matching refs:he
227 struct ht_elt *he; in visited_find_or_add() local
232 for (he = visited[i]; he != NULL; he = he->next) { in visited_find_or_add()
233 if (strcmp(he->str, str) == 0) { in visited_find_or_add()
235 *hep = he; in visited_find_or_add()
240 he = malloc(offsetof(struct ht_elt, str) + strlen(str) + 1); in visited_find_or_add()
241 if (he == NULL) in visited_find_or_add()
244 (void) strcpy(he->str, str); in visited_find_or_add()
246 he->next = visited[i]; in visited_find_or_add()
247 visited[i] = he; in visited_find_or_add()
250 *hep = he; in visited_find_or_add()
1178 struct ht_elt *he; in enable_fmri_rec() local
1187 switch (visited_find_or_add(fmri, &he)) { in enable_fmri_rec()
1189 he->active = B_TRUE; in enable_fmri_rec()
1193 return (he->active ? ELOOP : 0); in enable_fmri_rec()
1212 he->active = B_FALSE; in enable_fmri_rec()
1216 he->active = B_FALSE; in enable_fmri_rec()
1450 he->active = B_FALSE; in enable_fmri_rec()