Lines Matching refs:ATOMIC_HASH
17 #define ATOMIC_HASH(a) (&__atomic_hash[(((unsigned long)a)>>8) & (ATOMIC_HASH_SIZE-1)]) macro
27 #define ATOMIC_HASH(a) (&dummy) macro
36 spin_lock_irqsave(ATOMIC_HASH(v), flags); \
41 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); \
51 spin_lock_irqsave(ATOMIC_HASH(v), flags); \
55 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); \
75 spin_lock_irqsave(ATOMIC_HASH(v), flags); in arch_atomic_xchg()
78 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in arch_atomic_xchg()
88 spin_lock_irqsave(ATOMIC_HASH(v), flags); in arch_atomic_cmpxchg()
93 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in arch_atomic_cmpxchg()
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()
117 spin_lock_irqsave(ATOMIC_HASH(v), flags); in arch_atomic_set()
119 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in arch_atomic_set()
127 spin_lock_irqsave(ATOMIC_HASH(addr), flags); in sp32___set_bit()
130 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); in sp32___set_bit()
140 spin_lock_irqsave(ATOMIC_HASH(addr), flags); in sp32___clear_bit()
143 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); in sp32___clear_bit()
153 spin_lock_irqsave(ATOMIC_HASH(addr), flags); in sp32___change_bit()
156 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); in sp32___change_bit()
167 spin_lock_irqsave(ATOMIC_HASH(ptr), flags); in __cmpxchg_u32()
170 spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); in __cmpxchg_u32()
181 spin_lock_irqsave(ATOMIC_HASH(ptr), flags); in __cmpxchg_u64()
184 spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); in __cmpxchg_u64()
195 spin_lock_irqsave(ATOMIC_HASH(ptr), flags); in __xchg_u32()
198 spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); in __xchg_u32()