MCPcopy Create free account
hub / github.com/F-Stack/f-stack / hashinit

Function hashinit

freebsd/kern/subr_hash.c:85–90  ·  view source on GitHub ↗

* Allocate and initialize a hash table with default flag: may sleep. */

Source from the content-addressed store, hash-verified

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

Callers 15

ksem_module_initFunction · 0.70
procinitFunction · 0.70
threadinitFunction · 0.70
vntblinitFunction · 0.70
vfs_hashinitFunction · 0.70
vfs_hash_changesizeFunction · 0.70
uihashinitFunction · 0.70
shm_initFunction · 0.70
sf_buf_initFunction · 0.70
system_taskq_initFunction · 0.50
in_pcbinfo_initFunction · 0.50
ip_initFunction · 0.50

Calls 1

hashinit_flagsFunction · 0.70

Tested by

no test coverage detected