MCPcopy Create free account
hub / github.com/F-Stack/f-stack / pmap_resident_count_dec

Function pmap_resident_count_dec

freebsd/amd64/amd64/pmap.c:1464–1473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1462}
1463
1464static __inline void
1465pmap_resident_count_dec(pmap_t pmap, int count)
1466{
1467
1468 PMAP_LOCK_ASSERT(pmap, MA_OWNED);
1469 KASSERT(pmap->pm_stats.resident_count >= count,
1470 ("pmap %p resident count underflow %ld %d", pmap,
1471 pmap->pm_stats.resident_count, count));
1472 pmap->pm_stats.resident_count -= count;
1473}
1474
1475PMAP_INLINE pt_entry_t *
1476vtopte(vm_offset_t va)

Callers 7

_pmap_unwire_ptpFunction · 0.70
reclaim_pv_chunk_domainFunction · 0.70
pmap_remove_pdeFunction · 0.70
pmap_remove_pteFunction · 0.70
pmap_removeFunction · 0.70
pmap_remove_allFunction · 0.70
pmap_remove_pagesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected