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

Function pv_to_chunk

freebsd/amd64/amd64/pmap.c:4839–4844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4837CTASSERT(_NPCPV == 168);
4838
4839static __inline struct pv_chunk *
4840pv_to_chunk(pv_entry_t pv)
4841{
4842
4843 return ((struct pv_chunk *)((uintptr_t)pv & ~(uintptr_t)PAGE_MASK));
4844}
4845
4846#define PV_PMAP(pv) (pv_to_chunk(pv)->pc_pmap)
4847

Callers 1

free_pv_entryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected