Lines Matching refs:resident_count
644 assert(pmap->stats.resident_count >= 1);
645 OSAddAtomic(-1, &pmap->stats.resident_count);
753 OSAddAtomic(+1, &pmap->stats.resident_count);
754 if (pmap->stats.resident_count > pmap->stats.resident_max) {
755 pmap->stats.resident_max = pmap->stats.resident_count;
762 OSAddAtomic(+1, &pmap->stats.resident_count);
978 if (pmap->stats.resident_count < num_removed)
979 panic("pmap_remove_range: resident_count");
982 assert(pmap->stats.resident_count >= num_removed);
983 OSAddAtomic(-num_removed, &pmap->stats.resident_count);
1208 if (pmap->stats.resident_count < 1)
1209 panic("pmap_page_protect: resident_count");
1212 assert(pmap->stats.resident_count >= 1);
1213 OSAddAtomic(-1, &pmap->stats.resident_count);