Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/parisc/lib/
Dbitops.c28 SPIN_LOCK_IRQSAVE(ATOMIC_HASH(ptr), flags); in __xchg64()
31 SPIN_UNLOCK_IRQRESTORE(ATOMIC_HASH(ptr), flags); in __xchg64()
41 SPIN_LOCK_IRQSAVE(ATOMIC_HASH(ptr), flags); in __xchg32()
44 SPIN_UNLOCK_IRQRESTORE(ATOMIC_HASH(ptr), flags); in __xchg32()
54 SPIN_LOCK_IRQSAVE(ATOMIC_HASH(ptr), flags); in __xchg8()
57 SPIN_UNLOCK_IRQRESTORE(ATOMIC_HASH(ptr), flags); in __xchg8()
68 SPIN_LOCK_IRQSAVE(ATOMIC_HASH(ptr), flags); in __cmpxchg_u64()
71 SPIN_UNLOCK_IRQRESTORE(ATOMIC_HASH(ptr), flags); in __cmpxchg_u64()
81 SPIN_LOCK_IRQSAVE(ATOMIC_HASH(ptr), flags); in __cmpxchg_u32()
84 SPIN_UNLOCK_IRQRESTORE(ATOMIC_HASH(ptr), flags); in __cmpxchg_u32()
/linux-2.4.37.9/include/asm-parisc/
Dbitops.h41 SPIN_LOCK_IRQSAVE(ATOMIC_HASH(addr), flags); in set_bit()
43 SPIN_UNLOCK_IRQRESTORE(ATOMIC_HASH(addr), flags); in set_bit()
64 SPIN_LOCK_IRQSAVE(ATOMIC_HASH(addr), flags); in clear_bit()
66 SPIN_UNLOCK_IRQRESTORE(ATOMIC_HASH(addr), flags); in clear_bit()
77 SPIN_LOCK_IRQSAVE(ATOMIC_HASH(addr), flags); in change_bit()
79 SPIN_UNLOCK_IRQRESTORE(ATOMIC_HASH(addr), flags); in change_bit()
101 SPIN_LOCK_IRQSAVE(ATOMIC_HASH(addr), flags); in test_and_set_bit()
104 SPIN_UNLOCK_IRQRESTORE(ATOMIC_HASH(addr), flags); in test_and_set_bit()
132 SPIN_LOCK_IRQSAVE(ATOMIC_HASH(addr), flags); in test_and_clear_bit()
135 SPIN_UNLOCK_IRQRESTORE(ATOMIC_HASH(addr), flags); in test_and_clear_bit()
[all …]
Datomic.h24 # define ATOMIC_HASH(a) (&__atomic_hash[(((unsigned long) a)>>8)&(ATOMIC_HASH_SIZE-1)]) macro
39 #define ATOMIC_HASH(a) (0) macro
149 SPIN_LOCK_IRQSAVE(ATOMIC_HASH(v), flags); in __atomic_add_return()
153 SPIN_UNLOCK_IRQRESTORE(ATOMIC_HASH(v), flags); in __atomic_add_return()
160 SPIN_LOCK_IRQSAVE(ATOMIC_HASH(v), flags); in __atomic_set()
164 SPIN_UNLOCK_IRQRESTORE(ATOMIC_HASH(v), flags); in __atomic_set()