Lines Matching defs:lock
33 #include <sys/lock.h>
43 #define read_lock_irq(lock) read_lock((lock))
44 #define read_unlock_irq(lock) read_unlock((lock))
45 #define write_lock_irq(lock) write_lock((lock))
46 #define write_unlock_irq(lock) write_unlock((lock))
47 #define read_lock_irqsave(lock, flags) \
48 do {(flags) = 0; read_lock(lock); } while (0)
49 #define write_lock_irqsave(lock, flags) \
50 do {(flags) = 0; write_lock(lock); } while (0)
51 #define read_unlock_irqrestore(lock, flags) \
52 do { read_unlock(lock); } while (0)
53 #define write_unlock_irqrestore(lock, flags) \
54 do { write_unlock(lock); } while (0)