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

Function hash_mflags

freebsd/kern/subr_hash.c:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44#include <sys/malloc.h>
45
46static __inline int
47hash_mflags(int flags)
48{
49
50 return ((flags & HASH_NOWAIT) ? M_NOWAIT : M_WAITOK);
51}
52
53/*
54 * General routine to allocate a hash table with control of memory flags.

Callers 2

hashinit_flagsFunction · 0.70
phashinit_flagsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected