* Allocate and initialize a hash table with default flag: may sleep. */
| 83 | * Allocate and initialize a hash table with default flag: may sleep. |
| 84 | */ |
| 85 | void * |
| 86 | hashinit(int elements, struct malloc_type *type, u_long *hashmask) |
| 87 | { |
| 88 | |
| 89 | return (hashinit_flags(elements, type, hashmask, HASH_WAITOK)); |
| 90 | } |
| 91 | |
| 92 | void |
| 93 | hashdestroy(void *vhashtbl, struct malloc_type *type, u_long hashmask) |
no test coverage detected