Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dspinlock_api_up.h30 #define __LOCK(lock) \ macro
37 do { local_irq_disable(); __LOCK(lock); } while (0)
40 do { local_irq_save(flags); __LOCK(lock); } while (0)
58 #define _raw_spin_lock(lock) __LOCK(lock)
59 #define _raw_spin_lock_nested(lock, subclass) __LOCK(lock)
60 #define _raw_read_lock(lock) __LOCK(lock)
61 #define _raw_write_lock(lock) __LOCK(lock)
62 #define _raw_write_lock_nested(lock, subclass) __LOCK(lock)
72 #define _raw_spin_trylock(lock) ({ __LOCK(lock); 1; })
73 #define _raw_read_trylock(lock) ({ __LOCK(lock); 1; })
[all …]