Searched refs:ATOMIC_HASH (Results 1 – 2 of 2) sorted by relevance
17 #define ATOMIC_HASH(a) (&__atomic_hash[(((unsigned long)a)>>8) & (ATOMIC_HASH_SIZE-1)]) macro27 #define ATOMIC_HASH(a) (&dummy) macro36 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()[all …]
30 # define ATOMIC_HASH(a) (&(__atomic_hash[ (((unsigned long) (a))/L1_CACHE_BYTES) & (ATOMIC_HASH_SI… macro37 arch_spinlock_t *s = ATOMIC_HASH(l); \43 arch_spinlock_t *s = ATOMIC_HASH(l); \