Home
last modified time | relevance | path

Searched defs:mtxp (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/sys/dev/pci/drm/include/linux/
H A Dspinlock.h40 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
[all …]
H A Dsched.h43 cond_resched_lock(struct mutex *mtxp) in cond_resched_lock()