Lines Matching refs:flags
47 unsigned long flags; in atomic64_read() local
51 raw_spin_lock_irqsave(lock, flags); in atomic64_read()
53 raw_spin_unlock_irqrestore(lock, flags); in atomic64_read()
60 unsigned long flags; in atomic64_set() local
63 raw_spin_lock_irqsave(lock, flags); in atomic64_set()
65 raw_spin_unlock_irqrestore(lock, flags); in atomic64_set()
72 unsigned long flags; \
75 raw_spin_lock_irqsave(lock, flags); \
77 raw_spin_unlock_irqrestore(lock, flags); \
84 unsigned long flags; \
88 raw_spin_lock_irqsave(lock, flags); \
90 raw_spin_unlock_irqrestore(lock, flags); \
98 unsigned long flags; \
102 raw_spin_lock_irqsave(lock, flags); \
105 raw_spin_unlock_irqrestore(lock, flags); \
135 unsigned long flags; in atomic64_dec_if_positive() local
139 raw_spin_lock_irqsave(lock, flags); in atomic64_dec_if_positive()
143 raw_spin_unlock_irqrestore(lock, flags); in atomic64_dec_if_positive()
150 unsigned long flags; in atomic64_cmpxchg() local
154 raw_spin_lock_irqsave(lock, flags); in atomic64_cmpxchg()
158 raw_spin_unlock_irqrestore(lock, flags); in atomic64_cmpxchg()
165 unsigned long flags; in atomic64_xchg() local
169 raw_spin_lock_irqsave(lock, flags); in atomic64_xchg()
172 raw_spin_unlock_irqrestore(lock, flags); in atomic64_xchg()
179 unsigned long flags; in atomic64_fetch_add_unless() local
183 raw_spin_lock_irqsave(lock, flags); in atomic64_fetch_add_unless()
187 raw_spin_unlock_irqrestore(lock, flags); in atomic64_fetch_add_unless()