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

Function popmap_is_clear

freebsd/vm/vm_reserv.c:153–158  ·  view source on GitHub ↗

* Is a bit in the population map clear? */

Source from the content-addressed store, hash-verified

151 * Is a bit in the population map clear?
152 */
153static __inline boolean_t
154popmap_is_clear(popmap_t popmap[], int i)
155{
156
157 return ((popmap[i / NBPOPMAP] & (1UL << (i % NBPOPMAP))) == 0);
158}
159
160/*
161 * Is a bit in the population map set?

Callers 2

vm_reserv_populateFunction · 0.85
vm_reserv_is_page_freeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected