Lines Matching defs:mtxp
40 atomic_dec_and_lock(volatile int *v, struct mutex *mtxp) in atomic_dec_and_lock()
55 #define spin_lock(mtxp) mtx_enter(mtxp) argument
56 #define spin_lock_nested(mtxp, l) mtx_enter(mtxp) argument
57 #define spin_unlock(mtxp) mtx_leave(mtxp) argument
58 #define spin_lock_irq(mtxp) mtx_enter(mtxp) argument
59 #define spin_unlock_irq(mtxp) mtx_leave(mtxp) argument
60 #define assert_spin_locked(mtxp) MUTEX_ASSERT_LOCKED(mtxp) argument
61 #define spin_trylock_irq(mtxp) mtx_enter_try(mtxp) argument
63 #define read_lock(mtxp) mtx_enter(mtxp) argument
64 #define read_unlock(mtxp) mtx_leave(mtxp) argument
65 #define write_lock(mtxp) mtx_enter(mtxp) argument
66 #define write_unlock(mtxp) mtx_leave(mtxp) argument