Lines Matching refs:nr

24 set_bit(unsigned long nr, volatile void * addr)  in set_bit()  argument
27 int *m = ((int *) addr) + (nr >> 5); in set_bit()
38 :"Ir" (1UL << (nr & 31)), "m" (*m)); in set_bit()
45 __set_bit(unsigned long nr, volatile void * addr) in __set_bit() argument
47 int *m = ((int *) addr) + (nr >> 5); in __set_bit()
49 *m |= 1 << (nr & 31); in __set_bit()
56 clear_bit(unsigned long nr, volatile void * addr) in clear_bit() argument
59 int *m = ((int *) addr) + (nr >> 5); in clear_bit()
70 :"Ir" (~(1UL << (nr & 31))), "m" (*m)); in clear_bit()
77 __change_bit(unsigned long nr, volatile void * addr) in __change_bit() argument
79 int *m = ((int *) addr) + (nr >> 5); in __change_bit()
81 *m ^= 1 << (nr & 31); in __change_bit()
85 change_bit(unsigned long nr, volatile void * addr) in change_bit() argument
88 int *m = ((int *) addr) + (nr >> 5); in change_bit()
99 :"Ir" (1UL << (nr & 31)), "m" (*m)); in change_bit()
103 test_and_set_bit(unsigned long nr, volatile void *addr) in test_and_set_bit() argument
107 int *m = ((int *) addr) + (nr >> 5); in test_and_set_bit()
124 :"Ir" (1UL << (nr & 31)), "m" (*m) : "memory"); in test_and_set_bit()
133 __test_and_set_bit(unsigned long nr, volatile void * addr) in __test_and_set_bit() argument
135 unsigned long mask = 1 << (nr & 0x1f); in __test_and_set_bit()
136 int *m = ((int *) addr) + (nr >> 5); in __test_and_set_bit()
144 test_and_clear_bit(unsigned long nr, volatile void * addr) in test_and_clear_bit() argument
148 int *m = ((int *) addr) + (nr >> 5); in test_and_clear_bit()
165 :"Ir" (1UL << (nr & 31)), "m" (*m) : "memory"); in test_and_clear_bit()
174 __test_and_clear_bit(unsigned long nr, volatile void * addr) in __test_and_clear_bit() argument
176 unsigned long mask = 1 << (nr & 0x1f); in __test_and_clear_bit()
177 int *m = ((int *) addr) + (nr >> 5); in __test_and_clear_bit()
188 __test_and_change_bit(unsigned long nr, volatile void * addr) in __test_and_change_bit() argument
190 unsigned long mask = 1 << (nr & 0x1f); in __test_and_change_bit()
191 int *m = ((int *) addr) + (nr >> 5); in __test_and_change_bit()
199 test_and_change_bit(unsigned long nr, volatile void * addr) in test_and_change_bit() argument
203 int *m = ((int *) addr) + (nr >> 5); in test_and_change_bit()
218 :"Ir" (1UL << (nr & 31)), "m" (*m) : "memory"); in test_and_change_bit()
224 test_bit(int nr, volatile void * addr) in test_bit() argument
226 return (1UL & (((const int *) addr)[nr >> 5] >> (nr & 31))) != 0UL; in test_bit()
382 #define minix_test_and_set_bit(nr,addr) __test_and_set_bit(nr,addr) argument
383 #define minix_set_bit(nr,addr) __set_bit(nr,addr) argument
384 #define minix_test_and_clear_bit(nr,addr) __test_and_clear_bit(nr,addr) argument
385 #define minix_test_bit(nr,addr) test_bit(nr,addr) argument