Lines Matching refs:flags
33 #define do_raw_read_lock_flags(lock, flags) do_raw_read_lock(lock) argument
37 #define do_raw_write_lock_flags(lock, flags) do_raw_write_lock(lock) argument
43 # define arch_read_lock_flags(lock, flags) arch_read_lock(lock) argument
47 # define arch_write_lock_flags(lock, flags) arch_write_lock(lock) argument
51 # define do_raw_read_lock_flags(lock, flags) \ argument
52 do {__acquire(lock); arch_read_lock_flags(&(lock)->raw_lock, *(flags)); } while (0)
56 # define do_raw_write_lock_flags(lock, flags) \ argument
57 do {__acquire(lock); arch_write_lock_flags(&(lock)->raw_lock, *(flags)); } while (0)
75 #define read_lock_irqsave(lock, flags) \ argument
77 typecheck(unsigned long, flags); \
78 flags = _raw_read_lock_irqsave(lock); \
80 #define write_lock_irqsave(lock, flags) \ argument
82 typecheck(unsigned long, flags); \
83 flags = _raw_write_lock_irqsave(lock); \
88 #define read_lock_irqsave(lock, flags) \ argument
90 typecheck(unsigned long, flags); \
91 _raw_read_lock_irqsave(lock, flags); \
93 #define write_lock_irqsave(lock, flags) \ argument
95 typecheck(unsigned long, flags); \
96 _raw_write_lock_irqsave(lock, flags); \
110 #define read_unlock_irqrestore(lock, flags) \ argument
112 typecheck(unsigned long, flags); \
113 _raw_read_unlock_irqrestore(lock, flags); \
117 #define write_unlock_irqrestore(lock, flags) \ argument
119 typecheck(unsigned long, flags); \
120 _raw_write_unlock_irqrestore(lock, flags); \
124 #define write_trylock_irqsave(lock, flags) \ argument
126 local_irq_save(flags); \
128 1 : ({ local_irq_restore(flags); 0; }); \