Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dhwspinlock.h20 #define HWLOCK_IN_ATOMIC 0x04 /* Called while in atomic context */ macro
240 return __hwspin_trylock(hwlock, HWLOCK_IN_ATOMIC, NULL); in hwspin_trylock_in_atomic()
352 return __hwspin_lock_timeout(hwlock, to, HWLOCK_IN_ATOMIC, NULL); in hwspin_lock_timeout_in_atomic()
441 __hwspin_unlock(hwlock, HWLOCK_IN_ATOMIC, NULL); in hwspin_unlock_in_atomic()
/linux-5.19.10/drivers/hwspinlock/
Dhwspinlock_core.c119 case HWLOCK_IN_ATOMIC: in __hwspin_trylock()
144 case HWLOCK_IN_ATOMIC: in __hwspin_trylock()
224 if (mode == HWLOCK_IN_ATOMIC) { in __hwspin_lock_timeout()
295 case HWLOCK_IN_ATOMIC: in __hwspin_unlock()