Lines Matching refs:nr
9 static __inline__ void set_bit(int nr, volatile void * addr) in set_bit() argument
15 a += nr >> 5; in set_bit()
16 mask = 1 << (nr & 0x1f); in set_bit()
22 static __inline__ void __set_bit(int nr, volatile void * addr) in __set_bit() argument
27 a += nr >> 5; in __set_bit()
28 mask = 1 << (nr & 0x1f); in __set_bit()
37 static __inline__ void clear_bit(int nr, volatile void * addr) in clear_bit() argument
43 a += nr >> 5; in clear_bit()
44 mask = 1 << (nr & 0x1f); in clear_bit()
50 static __inline__ void __clear_bit(int nr, volatile void * addr) in __clear_bit() argument
55 a += nr >> 5; in __clear_bit()
56 mask = 1 << (nr & 0x1f); in __clear_bit()
60 static __inline__ void change_bit(int nr, volatile void * addr) in change_bit() argument
66 a += nr >> 5; in change_bit()
67 mask = 1 << (nr & 0x1f); in change_bit()
73 static __inline__ void __change_bit(int nr, volatile void * addr) in __change_bit() argument
78 a += nr >> 5; in __change_bit()
79 mask = 1 << (nr & 0x1f); in __change_bit()
83 static __inline__ int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() argument
89 a += nr >> 5; in test_and_set_bit()
90 mask = 1 << (nr & 0x1f); in test_and_set_bit()
99 static __inline__ int __test_and_set_bit(int nr, volatile void * addr) in __test_and_set_bit() argument
104 a += nr >> 5; in __test_and_set_bit()
105 mask = 1 << (nr & 0x1f); in __test_and_set_bit()
112 static __inline__ int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() argument
118 a += nr >> 5; in test_and_clear_bit()
119 mask = 1 << (nr & 0x1f); in test_and_clear_bit()
128 static __inline__ int __test_and_clear_bit(int nr, volatile void * addr) in __test_and_clear_bit() argument
133 a += nr >> 5; in __test_and_clear_bit()
134 mask = 1 << (nr & 0x1f); in __test_and_clear_bit()
141 static __inline__ int test_and_change_bit(int nr, volatile void * addr) in test_and_change_bit() argument
147 a += nr >> 5; in test_and_change_bit()
148 mask = 1 << (nr & 0x1f); in test_and_change_bit()
157 static __inline__ int __test_and_change_bit(int nr, volatile void * addr) in __test_and_change_bit() argument
162 a += nr >> 5; in __test_and_change_bit()
163 mask = 1 << (nr & 0x1f); in __test_and_change_bit()
170 static __inline__ int test_bit(int nr, const volatile void *addr) in test_bit() argument
172 return 1UL & (((const volatile unsigned int *) addr)[nr >> 5] >> (nr & 31)); in test_bit()
246 #define ext2_set_bit(nr, addr) test_and_set_bit((nr), (addr)) argument
247 #define ext2_clear_bit(nr, addr) test_and_clear_bit((nr), (addr)) argument
248 #define ext2_test_bit(nr, addr) test_bit((nr), (addr)) argument
253 static __inline__ int ext2_set_bit(int nr, volatile void * addr) in ext2_set_bit() argument
259 ADDR += nr >> 3; in ext2_set_bit()
260 mask = 1 << (nr & 0x07); in ext2_set_bit()
268 static __inline__ int ext2_clear_bit(int nr, volatile void * addr) in ext2_clear_bit() argument
274 ADDR += nr >> 3; in ext2_clear_bit()
275 mask = 1 << (nr & 0x07); in ext2_clear_bit()
283 static __inline__ int ext2_test_bit(int nr, const volatile void * addr) in ext2_test_bit() argument
288 ADDR += nr >> 3; in ext2_test_bit()
289 mask = 1 << (nr & 0x07); in ext2_test_bit()
348 #define minix_test_and_set_bit(nr,addr) test_and_set_bit(nr,addr) argument
349 #define minix_set_bit(nr,addr) set_bit(nr,addr) argument
350 #define minix_test_and_clear_bit(nr,addr) test_and_clear_bit(nr,addr) argument
351 #define minix_test_bit(nr,addr) test_bit(nr,addr) argument