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

Function popmap_is_set

freebsd/vm/vm_reserv.c:163–168  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

161 * Is a bit in the population map set?
162 */
163static __inline boolean_t
164popmap_is_set(popmap_t popmap[], int i)
165{
166
167 return ((popmap[i / NBPOPMAP] & (1UL << (i % NBPOPMAP))) != 0);
168}
169
170/*
171 * The reservation structure

Callers 3

vm_reserv_depopulateFunction · 0.85
vm_reserv_alloc_contigFunction · 0.85
vm_reserv_alloc_pageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected