Searched refs:__LOCK (Results 1 – 1 of 1) sorted by relevance
30 #define __LOCK(lock) \ macro37 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)71 #define _raw_spin_trylock(lock) ({ __LOCK(lock); 1; })72 #define _raw_read_trylock(lock) ({ __LOCK(lock); 1; })73 #define _raw_write_trylock(lock) ({ __LOCK(lock); 1; })