Go to the documentation of this file. 1 #ifndef _ASM_GENERIC_BITOPS_NON_ATOMIC_H_
2 #define _ASM_GENERIC_BITOPS_NON_ATOMIC_H_
18 unsigned long *
p = ((
unsigned long *)addr) +
BIT_WORD(nr);
26 unsigned long *
p = ((
unsigned long *)addr) +
BIT_WORD(nr);
43 unsigned long *
p = ((
unsigned long *)addr) +
BIT_WORD(nr);
60 unsigned long *
p = ((
unsigned long *)addr) +
BIT_WORD(nr);
61 unsigned long old = *
p;
64 return (old & mask) != 0;
79 unsigned long *p = ((
unsigned long *)addr) +
BIT_WORD(nr);
80 unsigned long old = *
p;
83 return (old & mask) != 0;
88 volatile unsigned long *addr)
91 unsigned long *p = ((
unsigned long *)addr) +
BIT_WORD(nr);
92 unsigned long old = *
p;
95 return (old & mask) != 0;
103 static inline int test_bit(
int nr,
const volatile unsigned long *addr)