Lines Matching refs:resident_count
1906 return ((pmap)->pm_stats.resident_count);
1958 pmap->pm_stats.resident_count = 0;
2967 assert(pmap->pm_stats.resident_count >= 1);
2968 OSAddAtomic(-1, &pmap->pm_stats.resident_count);
3080 pmap->pm_stats.resident_count++;
3424 if (pmap->pm_stats.resident_count < num_removed)
3425 panic("pmap_remove_range: resident_count");
3427 assert(pmap->pm_stats.resident_count >= num_removed);
3428 OSAddAtomic(-num_removed, &pmap->pm_stats.resident_count);
3655 if (pmap->pm_stats.resident_count < 1)
3656 panic("pmap_page_protect: resident_count");
3657 assert(pmap->pm_stats.resident_count >= 1);
3658 OSAddAtomic(-1, (SInt32 *) & pmap->pm_stats.resident_count);