Home
last modified time | relevance | path

Searched refs:PA_LOCKPTR (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/vm/
H A Dvm_page.h353 #define PA_LOCKPTR(pa) ((struct mtx *)(&pa_lock[pa_index(pa) % PA_LOCK_COUNT])) macro
354 #define PA_LOCKOBJPTR(pa) ((struct lock_object *)PA_LOCKPTR((pa)))
355 #define PA_LOCK(pa) mtx_lock(PA_LOCKPTR(pa))
356 #define PA_TRYLOCK(pa) mtx_trylock(PA_LOCKPTR(pa))
357 #define PA_UNLOCK(pa) mtx_unlock(PA_LOCKPTR(pa))
366 #define PA_LOCK_ASSERT(pa, a) mtx_assert(PA_LOCKPTR(pa), (a))
373 #define vm_page_lockptr(m) (PA_LOCKPTR(VM_PAGE_TO_PHYS((m))))