Searched refs:ATOMIC_HASH (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/arch/sparc/lib/ |
H A D | atomic32.c | 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); atomic_xchg() 56 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); atomic_xchg() 66 spin_lock_irqsave(ATOMIC_HASH(v), flags); atomic_cmpxchg() 71 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); atomic_cmpxchg() 81 spin_lock_irqsave(ATOMIC_HASH(v), flags); __atomic_add_unless() 85 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); __atomic_add_unless() 95 spin_lock_irqsave(ATOMIC_HASH(v), flags); atomic_set() 97 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); atomic_set() 105 spin_lock_irqsave(ATOMIC_HASH(addr), flags); ___set_bit() 108 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); ___set_bit() 118 spin_lock_irqsave(ATOMIC_HASH(addr), flags); ___clear_bit() 121 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); ___clear_bit() 131 spin_lock_irqsave(ATOMIC_HASH(addr), flags); ___change_bit() 134 spin_unlock_irqrestore(ATOMIC_HASH(addr), flags); ___change_bit() 145 spin_lock_irqsave(ATOMIC_HASH(ptr), flags); __cmpxchg_u32() 148 spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); __cmpxchg_u32() 159 spin_lock_irqsave(ATOMIC_HASH(ptr), flags); __xchg_u32() 162 spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); __xchg_u32()
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | atomic.h | 29 # define ATOMIC_HASH(a) (&(__atomic_hash[ (((unsigned long) (a))/L1_CACHE_BYTES) & (ATOMIC_HASH_SIZE-1) ])) macro 36 arch_spinlock_t *s = ATOMIC_HASH(l); \ 42 arch_spinlock_t *s = ATOMIC_HASH(l); \
|
/linux-4.1.27/include/asm-generic/bitops/ |
H A D | atomic.h | 16 # define ATOMIC_HASH(a) (&(__atomic_hash[ (((unsigned long) a)/L1_CACHE_BYTES) & (ATOMIC_HASH_SIZE-1) ])) macro 23 arch_spinlock_t *s = ATOMIC_HASH(l); \ 29 arch_spinlock_t *s = ATOMIC_HASH(l); \
|
Completed in 207 milliseconds