Go to the documentation of this file.
12 #include <linux/module.h>
15 #define ATOMIC_HASH_SIZE 4
16 #define ATOMIC_HASH(a) (&__atomic_hash[(((unsigned long)a)>>8) & (ATOMIC_HASH_SIZE-1)])
25 #define ATOMIC_HASH_SIZE 1
26 #define ATOMIC_HASH(a) (&dummy)
85 unsigned long old,
flags;
98 unsigned long old,
flags;
111 unsigned long old,
flags;
128 if ((prev = *ptr) == old)
132 return (
unsigned long)
prev;