• Home
  • Raw
  • Download

Lines Matching refs:nr

40 static inline void set_bit(int nr, volatile unsigned long * addr)  in set_bit()  argument
45 :"Ir" (nr)); in set_bit()
57 static inline void __set_bit(int nr, volatile unsigned long * addr) in __set_bit() argument
62 :"Ir" (nr)); in __set_bit()
75 static inline void clear_bit(int nr, volatile unsigned long * addr) in clear_bit() argument
80 :"Ir" (nr)); in clear_bit()
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
102 :"Ir" (nr)); in __clear_bit()
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
140 :"Ir" (nr)); in __change_bit()
153 static inline void change_bit(int nr, volatile unsigned long * addr) in change_bit() argument
158 :"Ir" (nr)); in change_bit()
170 static inline int test_and_set_bit(int nr, volatile unsigned long * addr) in test_and_set_bit() argument
177 :"Ir" (nr) : "memory"); in test_and_set_bit()
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
209 :"Ir" (nr)); in __test_and_set_bit()
222 static inline int test_and_clear_bit(int nr, volatile unsigned long * addr) in test_and_clear_bit() argument
229 :"Ir" (nr) : "memory"); in test_and_clear_bit()
242 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit() argument
249 :"Ir" (nr)); in __test_and_clear_bit()
254 static inline int __test_and_change_bit(int nr, volatile unsigned long *addr) in __test_and_change_bit() argument
261 :"Ir" (nr) : "memory"); in __test_and_change_bit()
273 static inline int test_and_change_bit(int nr, volatile unsigned long* addr) in test_and_change_bit() argument
280 :"Ir" (nr) : "memory"); in test_and_change_bit()
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
305 :"m" (ADDR),"Ir" (nr)); in variable_test_bit()
309 #define test_bit(nr,addr) \ argument
310 (__builtin_constant_p(nr) ? \
311 constant_test_bit((nr),(addr)) : \
312 variable_test_bit((nr),(addr)))
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)