Lines Matching refs:type
57 hashinit_flags(int elements, struct malloc_type *type, u_long *hashmask,
72 hashtbl = malloc((u_long)hashsize * sizeof(*hashtbl), type,
86 hashinit(int elements, struct malloc_type *type, u_long *hashmask)
89 return (hashinit_flags(elements, type, hashmask, HASH_WAITOK));
93 hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask)
100 "(malloc type %s)", __func__, hashtbl, type->ks_shortdesc));
101 free(hashtbl, type);
114 phashinit_flags(int elements, struct malloc_type *type, u_long *nentries, int flags)
132 hashtbl = malloc((u_long)hashsize * sizeof(*hashtbl), type,
148 phashinit(int elements, struct malloc_type *type, u_long *nentries)
151 return (phashinit_flags(elements, type, nentries, HASH_WAITOK));