Lines Matching refs:addr
23 #define ADDR (*(volatile long *) addr)
40 static inline void set_bit(int nr, volatile unsigned long * addr) in set_bit() argument
57 static inline void __set_bit(int nr, volatile unsigned long * addr) in __set_bit() argument
75 static inline void clear_bit(int nr, volatile unsigned long * addr) in clear_bit() argument
91 static inline void clear_bit_unlock(unsigned long nr, volatile unsigned long *addr) in clear_bit_unlock() argument
94 clear_bit(nr, addr); in clear_bit_unlock()
97 static inline void __clear_bit(int nr, volatile unsigned long * addr) in __clear_bit() argument
117 static inline void __clear_bit_unlock(unsigned long nr, volatile unsigned long *addr) in __clear_bit_unlock() argument
120 __clear_bit(nr, addr); in __clear_bit_unlock()
135 static inline void __change_bit(int nr, volatile unsigned long * addr) in __change_bit() argument
153 static inline void change_bit(int nr, volatile unsigned long * addr) in change_bit() argument
170 static inline int test_and_set_bit(int nr, volatile unsigned long * addr) in test_and_set_bit() argument
188 static inline int test_and_set_bit_lock(int nr, volatile unsigned long *addr) in test_and_set_bit_lock() argument
190 return test_and_set_bit(nr, addr); in test_and_set_bit_lock()
202 static inline int __test_and_set_bit(int nr, volatile unsigned long * addr) in __test_and_set_bit() argument
222 static inline int test_and_clear_bit(int nr, volatile unsigned long * addr) in test_and_clear_bit() argument
242 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit() argument
254 static inline int __test_and_change_bit(int nr, volatile unsigned long *addr) in __test_and_change_bit() argument
273 static inline int test_and_change_bit(int nr, volatile unsigned long* addr) in test_and_change_bit() argument
290 static int test_bit(int nr, const volatile void * addr);
293 static __always_inline int constant_test_bit(int nr, const volatile unsigned long *addr) in constant_test_bit() argument
295 return ((1UL << (nr & 31)) & (addr[nr >> 5])) != 0; in constant_test_bit()
298 static inline int variable_test_bit(int nr, const volatile unsigned long * addr) in variable_test_bit() argument
309 #define test_bit(nr,addr) \ argument
311 constant_test_bit((nr),(addr)) : \
312 variable_test_bit((nr),(addr)))
324 static inline int find_first_zero_bit(const unsigned long *addr, unsigned size) in find_first_zero_bit() argument
344 :"1" ((size + 31) >> 5), "2" (addr), "b" (addr) : "memory"); in find_first_zero_bit()
354 int find_next_zero_bit(const unsigned long *addr, int size, int offset);
378 static inline unsigned find_first_bit(const unsigned long *addr, unsigned size) in find_first_bit() argument
383 unsigned long val = *addr++; in find_first_bit()
386 x += (sizeof(*addr)<<3); in find_first_bit()
397 int find_next_bit(const unsigned long *addr, int size, int offset);
463 #define ext2_set_bit_atomic(lock,nr,addr) \ argument
464 test_and_set_bit((nr),(unsigned long*)addr)
465 #define ext2_clear_bit_atomic(lock,nr, addr) \ argument
466 test_and_clear_bit((nr),(unsigned long*)addr)