__LOCK 31 include/linux/spinlock_api_up.h do { local_bh_disable(); __LOCK(lock); } while (0) __LOCK 34 include/linux/spinlock_api_up.h do { local_irq_disable(); __LOCK(lock); } while (0) __LOCK 37 include/linux/spinlock_api_up.h do { local_irq_save(flags); __LOCK(lock); } while (0) __LOCK 51 include/linux/spinlock_api_up.h #define _spin_lock(lock) __LOCK(lock) __LOCK 52 include/linux/spinlock_api_up.h #define _spin_lock_nested(lock, subclass) __LOCK(lock) __LOCK 53 include/linux/spinlock_api_up.h #define _read_lock(lock) __LOCK(lock) __LOCK 54 include/linux/spinlock_api_up.h #define _write_lock(lock) __LOCK(lock) __LOCK 64 include/linux/spinlock_api_up.h #define _spin_trylock(lock) ({ __LOCK(lock); 1; }) __LOCK 65 include/linux/spinlock_api_up.h #define _read_trylock(lock) ({ __LOCK(lock); 1; }) __LOCK 66 include/linux/spinlock_api_up.h #define _write_trylock(lock) ({ __LOCK(lock); 1; })