Searched refs:ATOMIC_HASH_SIZE (Results 1 – 3 of 3) sorted by relevance
16 #define ATOMIC_HASH_SIZE 4 macro17 #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
15 arch_spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] __lock_aligned = {16 [0 ... (ATOMIC_HASH_SIZE-1)] = __ARCH_SPIN_LOCK_UNLOCKED
29 # define ATOMIC_HASH_SIZE 4 macro30 … 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;