Searched refs:PA_LOCKPTR (Results 1 – 1 of 1) sorted by relevance
357 #define PA_LOCKPTR(pa) ((struct mtx *)(&pa_lock[pa_index(pa) % PA_LOCK_COUNT])) macro358 #define PA_LOCKOBJPTR(pa) ((struct lock_object *)PA_LOCKPTR((pa)))359 #define PA_LOCK(pa) mtx_lock(PA_LOCKPTR(pa))360 #define PA_TRYLOCK(pa) mtx_trylock(PA_LOCKPTR(pa))361 #define PA_UNLOCK(pa) mtx_unlock(PA_LOCKPTR(pa))370 #define PA_LOCK_ASSERT(pa, a) mtx_assert(PA_LOCKPTR(pa), (a))377 #define vm_page_lockptr(m) (PA_LOCKPTR(VM_PAGE_TO_PHYS((m))))