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); \
53 spin_lock_irqsave(ATOMIC_HASH(v), flags); in atomic_xchg()
56 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in atomic_xchg()
66 spin_lock_irqsave(ATOMIC_HASH(v), flags); in atomic_cmpxchg()
71 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in atomic_cmpxchg()
81 spin_lock_irqsave(ATOMIC_HASH(v), flags); in __atomic_add_unless()
85 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in __atomic_add_unless()
95 spin_lock_irqsave(ATOMIC_HASH(v), flags); in atomic_set()
97 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in atomic_set()
105 spin_lock_irqsave(ATOMIC_HASH(addr), flags); in ___set_bit()
108 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); in ___set_bit()
118 spin_lock_irqsave(ATOMIC_HASH(addr), flags); in ___clear_bit()
121 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); in ___clear_bit()
131 spin_lock_irqsave(ATOMIC_HASH(addr), flags); in ___change_bit()
134 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); in ___change_bit()
145 spin_lock_irqsave(ATOMIC_HASH(ptr), flags); in __cmpxchg_u32()
148 spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); in __cmpxchg_u32()
159 spin_lock_irqsave(ATOMIC_HASH(ptr), flags); in __xchg_u32()
162 spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); in __xchg_u32()