Lines Matching refs:hashtbl
56 LIST_HEAD(generic, generic) *hashtbl; in hashinit_flags()
67 hashtbl = malloc((u_long)hashsize * sizeof(*hashtbl), type, in hashinit_flags()
69 if (hashtbl != NULL) { in hashinit_flags()
71 LIST_INIT(&hashtbl[i]); in hashinit_flags()
74 return (hashtbl); in hashinit_flags()
90 LIST_HEAD(generic, generic) *hashtbl, *hp; in hashdestroy()
92 hashtbl = vhashtbl; in hashdestroy()
93 for (hp = hashtbl; hp <= &hashtbl[hashmask]; hp++) in hashdestroy()
95 "(malloc type %s)", __func__, hashtbl, type->ks_shortdesc)); in hashdestroy()
96 free(hashtbl, type); in hashdestroy()
112 LIST_HEAD(generic, generic) *hashtbl; in phashinit_flags()
127 hashtbl = malloc((u_long)hashsize * sizeof(*hashtbl), type, in phashinit_flags()
129 if (hashtbl == NULL) in phashinit_flags()
133 LIST_INIT(&hashtbl[i]); in phashinit_flags()
135 return (hashtbl); in phashinit_flags()