Searched refs:hashmask (Results 1 – 2 of 2) sorted by relevance
| /xnu-10002.81.5/bsd/sys/ |
| H A D | systm.h | 202 void *hashinit(int count, int type, u_long *hashmask); 203 void hashdestroy(void *, int type, u_long hashmask);
|
| /xnu-10002.81.5/bsd/kern/ |
| H A D | kern_subr.c | 420 hashinit(int elements, int type __unused, u_long *hashmask) in hashinit() argument 432 *hashmask = hashsize - 1; in hashinit() 438 hashdestroy(void *hash, int type __unused, u_long hashmask) in hashdestroy() argument 440 assert(powerof2(hashmask + 1)); in hashdestroy() 441 kfree_type(struct generic_hash_head, hashmask + 1, hash); in hashdestroy()
|