Lines Matching refs:flags
51 unsigned long flags; in atomic64_read() local
55 raw_spin_lock_irqsave(lock, flags); in atomic64_read()
57 raw_spin_unlock_irqrestore(lock, flags); in atomic64_read()
64 unsigned long flags; in atomic64_set() local
67 raw_spin_lock_irqsave(lock, flags); in atomic64_set()
69 raw_spin_unlock_irqrestore(lock, flags); in atomic64_set()
76 unsigned long flags; \
79 raw_spin_lock_irqsave(lock, flags); \
81 raw_spin_unlock_irqrestore(lock, flags); \
88 unsigned long flags; \
92 raw_spin_lock_irqsave(lock, flags); \
94 raw_spin_unlock_irqrestore(lock, flags); \
102 unsigned long flags; \
106 raw_spin_lock_irqsave(lock, flags); \
109 raw_spin_unlock_irqrestore(lock, flags); \
139 unsigned long flags; in atomic64_dec_if_positive() local
143 raw_spin_lock_irqsave(lock, flags); in atomic64_dec_if_positive()
147 raw_spin_unlock_irqrestore(lock, flags); in atomic64_dec_if_positive()
154 unsigned long flags; in atomic64_cmpxchg() local
158 raw_spin_lock_irqsave(lock, flags); in atomic64_cmpxchg()
162 raw_spin_unlock_irqrestore(lock, flags); in atomic64_cmpxchg()
169 unsigned long flags; in atomic64_xchg() local
173 raw_spin_lock_irqsave(lock, flags); in atomic64_xchg()
176 raw_spin_unlock_irqrestore(lock, flags); in atomic64_xchg()
183 unsigned long flags; in atomic64_fetch_add_unless() local
187 raw_spin_lock_irqsave(lock, flags); in atomic64_fetch_add_unless()
191 raw_spin_unlock_irqrestore(lock, flags); in atomic64_fetch_add_unless()