Home
last modified time | relevance | path

Searched refs:HWLOCK_IN_ATOMIC (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
H A 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()
/kernel/linux/linux-6.6/include/linux/
H A 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()
/kernel/linux/linux-5.10/drivers/hwspinlock/
H A Dhwspinlock_core.c75 * If the mode is neither HWLOCK_IN_ATOMIC nor HWLOCK_RAW, upon a successful
119 case HWLOCK_IN_ATOMIC: in __hwspin_trylock()
144 case HWLOCK_IN_ATOMIC: in __hwspin_trylock()
188 * If the mode is HWLOCK_IN_ATOMIC (called from an atomic context) the timeout
191 * If the mode is neither HWLOCK_IN_ATOMIC nor HWLOCK_RAW, upon a successful
224 if (mode == HWLOCK_IN_ATOMIC) { in __hwspin_lock_timeout()
295 case HWLOCK_IN_ATOMIC: in __hwspin_unlock()
/kernel/linux/linux-6.6/drivers/hwspinlock/
H A Dhwspinlock_core.c75 * If the mode is neither HWLOCK_IN_ATOMIC nor HWLOCK_RAW, upon a successful
119 case HWLOCK_IN_ATOMIC: in __hwspin_trylock()
144 case HWLOCK_IN_ATOMIC: in __hwspin_trylock()
188 * If the mode is HWLOCK_IN_ATOMIC (called from an atomic context) the timeout
191 * If the mode is neither HWLOCK_IN_ATOMIC nor HWLOCK_RAW, upon a successful
224 if (mode == HWLOCK_IN_ATOMIC) { in __hwspin_lock_timeout()
295 case HWLOCK_IN_ATOMIC: in __hwspin_unlock()

Completed in 5 milliseconds