Lines Matching refs:nr
35 static inline void __set_bit(int nr, void *addr) in __set_bit() argument
40 a += nr >> 5; in __set_bit()
41 mask = 1 << (nr & 0x1f); in __set_bit()
47 static inline void __clear_bit(int nr, void *addr) in __clear_bit() argument
52 a += nr >> 5; in __clear_bit()
53 mask = 1 << (nr & 0x1f); in __clear_bit()
59 static inline void __change_bit(int nr, void *addr) in __change_bit() argument
64 ADDR += nr >> 5; in __change_bit()
65 mask = 1 << (nr & 31); in __change_bit()
69 static inline int __test_and_set_bit(int nr, void *addr) in __test_and_set_bit() argument
74 a += nr >> 5; in __test_and_set_bit()
75 mask = 1 << (nr & 0x1f); in __test_and_set_bit()
81 static inline int __test_and_clear_bit(int nr, void *addr) in __test_and_clear_bit() argument
86 a += nr >> 5; in __test_and_clear_bit()
87 mask = 1 << (nr & 0x1f); in __test_and_clear_bit()
93 static inline int __test_and_change_bit(int nr, void *addr) in __test_and_change_bit() argument
98 a += nr >> 5; in __test_and_change_bit()
99 mask = 1 << (nr & 0x1f); in __test_and_change_bit()
108 static inline int test_bit(int nr, const void *addr) in test_bit() argument
110 return ((unsigned char *)addr)[nr >> 3] & (1U << (nr & 7)); in test_bit()
168 #define minix_test_and_set_bit(nr, addr) test_and_set_bit(nr, addr) argument
169 #define minix_set_bit(nr, addr) set_bit(nr, addr) argument
170 #define minix_test_and_clear_bit(nr, addr) test_and_clear_bit(nr, addr) argument
171 #define minix_test_bit(nr, addr) test_bit(nr, addr) argument