Lines Matching refs:nr
36 static __inline__ void set_bit(long nr, volatile void * addr) in set_bit() argument
41 :"dIr" (nr), "m" (ADDR)); in set_bit()
53 static __inline__ void __set_bit(long nr, volatile void * addr) in __set_bit() argument
58 :"dIr" (nr), "m" (ADDR)); in __set_bit()
71 static __inline__ void clear_bit(long nr, volatile void * addr) in clear_bit() argument
76 :"dIr" (nr), "m" (ADDR)); in clear_bit()
90 static __inline__ void __change_bit(long nr, volatile void * addr) in __change_bit() argument
95 :"dIr" (nr), "m" (ADDR)); in __change_bit()
107 static __inline__ void change_bit(long nr, volatile void * addr) in change_bit() argument
112 :"dIr" (nr), "m" (ADDR)); in change_bit()
123 static __inline__ int test_and_set_bit(long nr, volatile void * addr) in test_and_set_bit() argument
130 :"dIr" (nr), "m" (ADDR) : "memory"); in test_and_set_bit()
143 static __inline__ int __test_and_set_bit(long nr, volatile void * addr) in __test_and_set_bit() argument
150 :"dIr" (nr), "m" (ADDR)); in __test_and_set_bit()
162 static __inline__ int test_and_clear_bit(long nr, volatile void * addr) in test_and_clear_bit() argument
169 :"dIr" (nr), "m" (ADDR) : "memory"); in test_and_clear_bit()
182 static __inline__ int __test_and_clear_bit(long nr, volatile void * addr) in __test_and_clear_bit() argument
189 :"dIr" (nr), "m" (ADDR)); in __test_and_clear_bit()
194 static __inline__ int __test_and_change_bit(long nr, volatile void * addr) in __test_and_change_bit() argument
201 :"dIr" (nr), "m" (ADDR) : "memory"); in __test_and_change_bit()
213 static __inline__ int test_and_change_bit(long nr, volatile void * addr) in test_and_change_bit() argument
220 :"dIr" (nr), "m" (ADDR) : "memory"); in test_and_change_bit()
230 static int test_bit(int nr, const volatile void * addr);
233 static __inline__ int constant_test_bit(long nr, const volatile void * addr) in constant_test_bit() argument
235 return ((1UL << (nr & 31)) & (((const volatile unsigned int *) addr)[nr >> 5])) != 0; in constant_test_bit()
238 static __inline__ int variable_test_bit(long nr, volatile void * addr) in variable_test_bit() argument
245 :"m" (ADDR),"dIr" (nr)); in variable_test_bit()
249 #define test_bit(nr,addr) \ argument
250 (__builtin_constant_p(nr) ? \
251 constant_test_bit((nr),(addr)) : \
252 variable_test_bit((nr),(addr)))
401 #define minix_test_and_set_bit(nr,addr) __test_and_set_bit(nr,addr) argument
402 #define minix_set_bit(nr,addr) __set_bit(nr,addr) argument
403 #define minix_test_and_clear_bit(nr,addr) __test_and_clear_bit(nr,addr) argument
404 #define minix_test_bit(nr,addr) test_bit(nr,addr) argument