Lines Matching refs:nr
36 static __inline__ void set_bit(int nr, volatile void * addr) in set_bit() argument
41 :"Ir" (nr), "m" (ADDR)); in set_bit()
53 static __inline__ void __set_bit(int nr, volatile void * addr) in __set_bit() argument
58 :"Ir" (nr), "m" (ADDR)); in __set_bit()
71 static __inline__ void clear_bit(int nr, volatile void * addr) in clear_bit() argument
76 :"Ir" (nr), "m" (ADDR)); in clear_bit()
90 static __inline__ void __change_bit(int nr, volatile void * addr) in __change_bit() argument
95 :"Ir" (nr), "m" (ADDR)); in __change_bit()
107 static __inline__ void change_bit(int nr, volatile void * addr) in change_bit() argument
112 :"Ir" (nr), "m" (ADDR)); in change_bit()
123 static __inline__ int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() argument
130 :"Ir" (nr), "m" (ADDR) : "memory"); in test_and_set_bit()
143 static __inline__ int __test_and_set_bit(int nr, volatile void * addr) in __test_and_set_bit() argument
150 :"Ir" (nr), "m" (ADDR)); in __test_and_set_bit()
162 static __inline__ int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() argument
169 :"Ir" (nr), "m" (ADDR) : "memory"); in test_and_clear_bit()
182 static __inline__ int __test_and_clear_bit(int nr, volatile void * addr) in __test_and_clear_bit() argument
189 :"Ir" (nr), "m" (ADDR)); in __test_and_clear_bit()
194 static __inline__ int __test_and_change_bit(int nr, volatile void * addr) in __test_and_change_bit() argument
201 :"Ir" (nr), "m" (ADDR) : "memory"); in __test_and_change_bit()
213 static __inline__ int test_and_change_bit(int nr, volatile void * addr) in test_and_change_bit() argument
220 :"Ir" (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(int 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(int nr, volatile void * addr) in variable_test_bit() argument
245 :"m" (ADDR),"Ir" (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)))
375 #define minix_test_and_set_bit(nr,addr) __test_and_set_bit(nr,addr) argument
376 #define minix_set_bit(nr,addr) __set_bit(nr,addr) argument
377 #define minix_test_and_clear_bit(nr,addr) __test_and_clear_bit(nr,addr) argument
378 #define minix_test_bit(nr,addr) test_bit(nr,addr) argument