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

Function pmap_demote_l2

freebsd/arm64/arm64/pmap.c:6420–6431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6418}
6419
6420static pt_entry_t *
6421pmap_demote_l2(pmap_t pmap, pt_entry_t *l2, vm_offset_t va)
6422{
6423 struct rwlock *lock;
6424 pt_entry_t *l3;
6425
6426 lock = NULL;
6427 l3 = pmap_demote_l2_locked(pmap, l2, va, &lock);
6428 if (lock != NULL)
6429 rw_wunlock(lock);
6430 return (l3);
6431}
6432
6433/*
6434 * Perform the pmap work for mincore(2). If the page is not both referenced and

Callers 3

pmap_protectFunction · 0.85
pmap_unwireFunction · 0.85
pmap_change_attr_lockedFunction · 0.85

Calls 1

pmap_demote_l2_lockedFunction · 0.85

Tested by

no test coverage detected