Lines Matching refs:hashtbl
60 LIST_HEAD(generic, generic) *hashtbl; in hashinit_flags()
74 hashtbl = malloc((u_long)hashsize * sizeof(*hashtbl), type, in hashinit_flags()
77 if (hashtbl != NULL) { in hashinit_flags()
79 LIST_INIT(&hashtbl[i]); in hashinit_flags()
82 return (hashtbl); in hashinit_flags()
97 LIST_HEAD(generic, generic) *hashtbl, *hp; in hashdestroy()
99 hashtbl = vhashtbl; in hashdestroy()
100 for (hp = hashtbl; hp <= &hashtbl[hashmask]; hp++) in hashdestroy()
102 "(malloc type %s)", __func__, hashtbl, type->ks_shortdesc)); in hashdestroy()
103 free(hashtbl, type); in hashdestroy()
119 LIST_HEAD(generic, generic) *hashtbl; in phashinit_flags()
134 hashtbl = malloc((u_long)hashsize * sizeof(*hashtbl), type, in phashinit_flags()
136 if (hashtbl == NULL) in phashinit_flags()
140 LIST_INIT(&hashtbl[i]); in phashinit_flags()
142 return (hashtbl); in phashinit_flags()