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

Function nbufp

freebsd/kern/vfs_bio.c:151–156  ·  view source on GitHub ↗

buffer header pool */

Source from the content-addressed store, hash-verified

149
150static char *buf; /* buffer header pool */
151static struct buf *
152nbufp(unsigned i)
153{
154 return ((struct buf *)(buf + (sizeof(struct buf) +
155 sizeof(vm_page_t) * atop(maxbcachebuf)) * i));
156}
157
158caddr_t __read_mostly unmapped_buf;
159

Callers 3

bufinitFunction · 0.85
bufshutdownFunction · 0.85
vfs_bio.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected