MCPcopy Index your code
hub / github.com/F-Stack/f-stack / hashinit

Function hashinit

lib/ff_kern_subr.c:88–92  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 2

synch_setupFunction · 0.70
vnet_netgraph_initFunction · 0.70

Calls 1

hashinit_flagsFunction · 0.70

Tested by

no test coverage detected