Lines Matching refs:he
210 struct ht_elt *he; in visited_find_or_add() local
215 for (he = visited[i]; he != NULL; he = he->next) { in visited_find_or_add()
216 if (strcmp(he->str, str) == 0) { in visited_find_or_add()
218 *hep = he; in visited_find_or_add()
223 he = malloc(offsetof(struct ht_elt, str) + strlen(str) + 1); in visited_find_or_add()
224 if (he == NULL) in visited_find_or_add()
227 (void) strcpy(he->str, str); in visited_find_or_add()
229 he->next = visited[i]; in visited_find_or_add()
230 visited[i] = he; in visited_find_or_add()
233 *hep = he; in visited_find_or_add()
1036 struct ht_elt *he; in enable_fmri_rec() local
1045 switch (visited_find_or_add(fmri, &he)) { in enable_fmri_rec()
1047 he->active = B_TRUE; in enable_fmri_rec()
1051 return (he->active ? ELOOP : 0); in enable_fmri_rec()
1070 he->active = B_FALSE; in enable_fmri_rec()
1074 he->active = B_FALSE; in enable_fmri_rec()
1308 he->active = B_FALSE; in enable_fmri_rec()