Home
last modified time | relevance | path

Searched refs:ATOMIC_HASH_SIZE (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/arch/sparc/lib/
Datomic32.c16 #define ATOMIC_HASH_SIZE 4 macro
17 #define ATOMIC_HASH(a) (&__atomic_hash[(((unsigned long)a)>>8) & (ATOMIC_HASH_SIZE-1)])
19 spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] = {
20 [0 ... (ATOMIC_HASH_SIZE-1)] = __SPIN_LOCK_UNLOCKED(__atomic_hash)
26 #define ATOMIC_HASH_SIZE 1 macro
/kernel/linux/linux-5.10/arch/parisc/lib/
Dbitops.c15 arch_spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] __lock_aligned = {
16 [0 ... (ATOMIC_HASH_SIZE-1)] = __ARCH_SPIN_LOCK_UNLOCKED
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Datomic.h29 # define ATOMIC_HASH_SIZE 4 macro
30 … ATOMIC_HASH(a) (&(__atomic_hash[ (((unsigned long) (a))/L1_CACHE_BYTES) & (ATOMIC_HASH_SIZE-1) ]))
32 extern arch_spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] __lock_aligned;