Lines Matching defs:popcnt
96 * within that object. The reservation's "popcnt" tracks the number of these
110 int popcnt; /* # of pages in use */
131 * "object" field and a non-zero "popcnt" field. In other words, every active
196 unused_pages += VM_LEVEL_0_NPAGES - rv->popcnt;
222 KASSERT(rv->popcnt > 0,
223 ("vm_reserv_depopulate: reserv %p's popcnt is corrupted", rv));
228 rv->popcnt--;
229 if (rv->popcnt == 0) {
274 KASSERT(rv->popcnt < VM_LEVEL_0_NPAGES,
280 rv->popcnt++;
281 if (rv->popcnt < VM_LEVEL_0_NPAGES) {
409 KASSERT(rv->popcnt == 0,
410 ("vm_reserv_alloc_page: reserv %p's popcnt is corrupted",
444 rv->popcnt--;
446 KASSERT(rv->popcnt == 0,
447 ("vm_reserv_break_all: reserv %p's popcnt is corrupted",
512 return (rv->popcnt == VM_LEVEL_0_NPAGES ? 0 : -1);
555 rv->popcnt--;
561 rv->popcnt--;
563 KASSERT(rv->popcnt == 0,
564 ("vm_reserv_uncache_page: reserv %p's popcnt is corrupted",
595 rv->popcnt--;
597 KASSERT(rv->popcnt == 0,
598 ("vm_reserv_reclaim: reserv %p's popcnt is corrupted", rv));