Lines Matching refs:flags

35 	unsigned long flags;						\
36 spin_lock_irqsave(ATOMIC_HASH(v), flags); \
41 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); \
50 unsigned long flags; \
51 spin_lock_irqsave(ATOMIC_HASH(v), flags); \
55 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); \
73 unsigned long flags; in arch_atomic_xchg() local
75 spin_lock_irqsave(ATOMIC_HASH(v), flags); in arch_atomic_xchg()
78 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in arch_atomic_xchg()
86 unsigned long flags; in arch_atomic_cmpxchg() local
88 spin_lock_irqsave(ATOMIC_HASH(v), flags); in arch_atomic_cmpxchg()
93 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in arch_atomic_cmpxchg()
101 unsigned long flags; in arch_atomic_fetch_add_unless() local
103 spin_lock_irqsave(ATOMIC_HASH(v), flags); in arch_atomic_fetch_add_unless()
107 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in arch_atomic_fetch_add_unless()
115 unsigned long flags; in arch_atomic_set() local
117 spin_lock_irqsave(ATOMIC_HASH(v), flags); in arch_atomic_set()
119 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in arch_atomic_set()
125 unsigned long old, flags; in sp32___set_bit() local
127 spin_lock_irqsave(ATOMIC_HASH(addr), flags); in sp32___set_bit()
130 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); in sp32___set_bit()
138 unsigned long old, flags; in sp32___clear_bit() local
140 spin_lock_irqsave(ATOMIC_HASH(addr), flags); in sp32___clear_bit()
143 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); in sp32___clear_bit()
151 unsigned long old, flags; in sp32___change_bit() local
153 spin_lock_irqsave(ATOMIC_HASH(addr), flags); in sp32___change_bit()
156 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); in sp32___change_bit()
164 unsigned long flags; in __cmpxchg_u32() local
167 spin_lock_irqsave(ATOMIC_HASH(ptr), flags); in __cmpxchg_u32()
170 spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); in __cmpxchg_u32()
178 unsigned long flags; in __cmpxchg_u64() local
181 spin_lock_irqsave(ATOMIC_HASH(ptr), flags); in __cmpxchg_u64()
184 spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); in __cmpxchg_u64()
192 unsigned long flags; in __xchg_u32() local
195 spin_lock_irqsave(ATOMIC_HASH(ptr), flags); in __xchg_u32()
198 spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); in __xchg_u32()