Lines Matching refs:ATOMIC_HASH

16 #define ATOMIC_HASH(a)	(&__atomic_hash[(((unsigned long)a)>>8) & (ATOMIC_HASH_SIZE-1)])  macro
26 #define ATOMIC_HASH(a) (&dummy) macro
35 spin_lock_irqsave(ATOMIC_HASH(v), flags); \
39 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); \
48 spin_lock_irqsave(ATOMIC_HASH(v), flags); \
52 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); \
69 spin_lock_irqsave(ATOMIC_HASH(v), flags); in atomic_xchg()
72 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in atomic_xchg()
82 spin_lock_irqsave(ATOMIC_HASH(v), flags); in atomic_cmpxchg()
87 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in atomic_cmpxchg()
97 spin_lock_irqsave(ATOMIC_HASH(v), flags); in __atomic_add_unless()
101 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in __atomic_add_unless()
111 spin_lock_irqsave(ATOMIC_HASH(v), flags); in atomic_set()
113 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in atomic_set()
121 spin_lock_irqsave(ATOMIC_HASH(addr), flags); in ___set_bit()
124 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); in ___set_bit()
134 spin_lock_irqsave(ATOMIC_HASH(addr), flags); in ___clear_bit()
137 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); in ___clear_bit()
147 spin_lock_irqsave(ATOMIC_HASH(addr), flags); in ___change_bit()
150 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); in ___change_bit()
161 spin_lock_irqsave(ATOMIC_HASH(ptr), flags); in __cmpxchg_u32()
164 spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); in __cmpxchg_u32()
175 spin_lock_irqsave(ATOMIC_HASH(ptr), flags); in __xchg_u32()
178 spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); in __xchg_u32()