Home
last modified time | relevance | path

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

/external/kernel-headers/original/linux/
Dspinlock_api_up.h27 #define __LOCK(lock) \ macro
31 do { local_bh_disable(); __LOCK(lock); } while (0)
34 do { local_irq_disable(); __LOCK(lock); } while (0)
37 do { local_irq_save(flags); __LOCK(lock); } while (0)
51 #define _spin_lock(lock) __LOCK(lock)
52 #define _spin_lock_nested(lock, subclass) __LOCK(lock)
53 #define _read_lock(lock) __LOCK(lock)
54 #define _write_lock(lock) __LOCK(lock)
64 #define _spin_trylock(lock) ({ __LOCK(lock); 1; })
65 #define _read_trylock(lock) ({ __LOCK(lock); 1; })
[all …]