Lines Matching refs:stats
581 OSAddAtomic(+1, &pmap->stats.wired_count);
586 assert(pmap->stats.wired_count >= 1);
587 OSAddAtomic(-1, &pmap->stats.wired_count);
644 assert(pmap->stats.resident_count >= 1);
645 OSAddAtomic(-1, &pmap->stats.resident_count);
647 assert(pmap->stats.wired_count >= 1);
648 OSAddAtomic(-1, &pmap->stats.wired_count);
670 assert(pmap->stats.wired_count >= 1);
671 OSAddAtomic(-1, &pmap->stats.wired_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);
791 OSAddAtomic(+1, & pmap->stats.wired_count);
978 if (pmap->stats.resident_count < num_removed)
982 assert(pmap->stats.resident_count >= num_removed);
983 OSAddAtomic(-num_removed, &pmap->stats.resident_count);
986 if (pmap->stats.wired_count < num_unwired)
989 assert(pmap->stats.wired_count >= num_unwired);
990 OSAddAtomic(-num_unwired, &pmap->stats.wired_count);
1198 OSAddAtomic(-1, &pmap->stats.wired_count);
1208 if (pmap->stats.resident_count < 1)
1212 assert(pmap->stats.resident_count >= 1);
1213 OSAddAtomic(-1, &pmap->stats.resident_count);
1465 OSAddAtomic(+1, &map->stats.wired_count);
1472 assert(map->stats.wired_count >= 1);
1473 OSAddAtomic(-1, &map->stats.wired_count);