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

Function cache_roundup_2

freebsd/kern/vfs_cache.c:2481–2490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2479}
2480
2481static u_int
2482cache_roundup_2(u_int val)
2483{
2484 u_int res;
2485
2486 for (res = 1; res <= val; res <<= 1)
2487 continue;
2488
2489 return (res);
2490}
2491
2492static struct nchashhead *
2493nchinittbl(u_long elements, u_long *hashmask)

Callers 3

nchinittblFunction · 0.85
nchinitFunction · 0.85
cache_changesizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected