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

Function phashinit

freebsd/kern/subr_hash.c:147–152  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

145 * may sleep.
146 */
147void *
148phashinit(int elements, struct malloc_type *type, u_long *nentries)
149{
150
151 return (phashinit_flags(elements, type, nentries, HASH_WAITOK));
152}

Callers

nothing calls this directly

Calls 1

phashinit_flagsFunction · 0.70

Tested by

no test coverage detected