Lines Matching refs:pm_stats
1456 OSAddAtomic(+1, &map->pm_stats.wired_count);
1462 assert(map->pm_stats.wired_count >= 1);
1463 OSAddAtomic(-1, &map->pm_stats.wired_count);
1901 return ((pmap)->pm_stats.resident_max);
1906 return ((pmap)->pm_stats.resident_count);
1958 pmap->pm_stats.resident_count = 0;
1959 pmap->pm_stats.wired_count = 0;
2919 OSAddAtomic(+1, &pmap->pm_stats.wired_count);
2923 assert(pmap->pm_stats.wired_count >= 1);
2924 OSAddAtomic(-1, &pmap->pm_stats.wired_count);
2967 assert(pmap->pm_stats.resident_count >= 1);
2968 OSAddAtomic(-1, &pmap->pm_stats.resident_count);
2972 assert(pmap->pm_stats.wired_count >= 1);
2973 OSAddAtomic(-1, &pmap->pm_stats.wired_count);
3080 pmap->pm_stats.resident_count++;
3084 pmap->pm_stats.wired_count++;
3424 if (pmap->pm_stats.resident_count < num_removed)
3427 assert(pmap->pm_stats.resident_count >= num_removed);
3428 OSAddAtomic(-num_removed, &pmap->pm_stats.resident_count);
3430 if (pmap->pm_stats.wired_count < num_unwired)
3432 assert(pmap->pm_stats.wired_count >= num_unwired);
3433 OSAddAtomic(-num_unwired, &pmap->pm_stats.wired_count);
3655 if (pmap->pm_stats.resident_count < 1)
3657 assert(pmap->pm_stats.resident_count >= 1);
3658 OSAddAtomic(-1, (SInt32 *) & pmap->pm_stats.resident_count);