Searched refs:hashmask (Results 1 – 2 of 2) sorted by relevance
| /xnu-8019.80.24/bsd/sys/ |
| H A D | systm.h | 204 void *hashinit(int count, int type, u_long *hashmask); 205 void hashdestroy(void *, int type, u_long hashmask);
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | kern_subr.c | 411 hashinit(int elements, int type __unused, u_long *hashmask) in hashinit() argument 424 *hashmask = hashsize - 1; in hashinit() 430 hashdestroy(void *hash, int type __unused, u_long hashmask) in hashdestroy() argument 433 assert(powerof2(hashmask + 1)); in hashdestroy() 434 kheap_free(KHEAP_DEFAULT, hashtbl, (hashmask + 1) * sizeof(*hashtbl)); in hashdestroy()
|