Searched refs:num_removed (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | pmap_x86_common.c | 859 int num_removed, num_unwired, num_found, num_invalid; local 864 num_removed = 0; 939 num_removed++; 978 if (pmap->stats.resident_count < num_removed) 981 pmap_ledger_debit(pmap, task_ledgers.phys_mem, machine_ptob(num_removed)); 982 assert(pmap->stats.resident_count >= num_removed); 983 OSAddAtomic(-num_removed, &pmap->stats.resident_count);
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | pmap.c | 3341 int num_removed = 0, num_unwired = 0; local 3375 num_removed++; 3424 if (pmap->pm_stats.resident_count < num_removed) 3426 pmap_ledger_debit(pmap, task_ledgers.phys_mem, num_removed * PAGE_SIZE); 3427 assert(pmap->pm_stats.resident_count >= num_removed); 3428 OSAddAtomic(-num_removed, &pmap->pm_stats.resident_count);
|
Completed in 76 milliseconds