Home
last modified time | relevance | path

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

/openbsd/src/sys/dev/pci/drm/include/linux/
Dspinlock.h40 atomic_dec_and_lock(volatile int *v, struct mutex *mtxp) in atomic_dec_and_lock() argument
47 mtx_enter(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
[all …]
Dsched.h43 cond_resched_lock(struct mutex *mtxp) in cond_resched_lock() argument
48 mtx_leave(mtxp); in cond_resched_lock()
50 mtx_enter(mtxp); in cond_resched_lock()