• Home
  • Raw
  • Download

Lines Matching refs:nr

36 static inline void set_bit(int nr, volatile void *addr)  in set_bit()  argument
42 a += nr >> 5; in set_bit()
43 mask = 1 << (nr & 0x1f); in set_bit()
49 static inline void __set_bit(int nr, volatile void *addr) in __set_bit() argument
54 a += nr >> 5; in __set_bit()
55 mask = 1 << (nr & 0x1f); in __set_bit()
66 static inline void clear_bit(int nr, volatile void *addr) in clear_bit() argument
72 a += nr >> 5; in clear_bit()
73 mask = 1 << (nr & 0x1f); in clear_bit()
79 #define __clear_bit(nr, addr) clear_bit(nr, addr) argument
82 static inline void change_bit(int nr, volatile void *addr) in change_bit() argument
88 ADDR += nr >> 5; in change_bit()
89 mask = 1 << (nr & 31); in change_bit()
95 static inline void __change_bit(int nr, volatile void *addr) in __change_bit() argument
100 ADDR += nr >> 5; in __change_bit()
101 mask = 1 << (nr & 31); in __change_bit()
105 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() argument
111 a += nr >> 5; in test_and_set_bit()
112 mask = 1 << (nr & 0x1f); in test_and_set_bit()
121 static inline int __test_and_set_bit(int nr, volatile void *addr) in __test_and_set_bit() argument
126 a += nr >> 5; in __test_and_set_bit()
127 mask = 1 << (nr & 0x1f); in __test_and_set_bit()
133 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() argument
139 a += nr >> 5; in test_and_clear_bit()
140 mask = 1 << (nr & 0x1f); in test_and_clear_bit()
149 static inline int __test_and_clear_bit(int nr, volatile void *addr) in __test_and_clear_bit() argument
154 a += nr >> 5; in __test_and_clear_bit()
155 mask = 1 << (nr & 0x1f); in __test_and_clear_bit()
161 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() argument
167 a += nr >> 5; in test_and_change_bit()
168 mask = 1 << (nr & 0x1f); in test_and_change_bit()
177 static inline int __test_and_change_bit(int nr, volatile void *addr) in __test_and_change_bit() argument
182 a += nr >> 5; in __test_and_change_bit()
183 mask = 1 << (nr & 0x1f); in __test_and_change_bit()
192 static inline int __constant_test_bit(int nr, const volatile void *addr) in __constant_test_bit() argument
194 return ((1UL << (nr & 31)) & (((const volatile unsigned int *) addr)[nr >> 5])) != 0; in __constant_test_bit()
197 static inline int __test_bit(int nr, volatile void *addr) in __test_bit() argument
202 a += nr >> 5; in __test_bit()
203 mask = 1 << (nr & 0x1f); in __test_bit()
207 #define test_bit(nr,addr) \ argument
208 (__builtin_constant_p(nr) ? \
209 __constant_test_bit((nr),(addr)) : \
210 __test_bit((nr),(addr)))
261 static inline int ext2_set_bit(int nr, volatile void *addr) in ext2_set_bit() argument
267 ADDR += nr >> 3; in ext2_set_bit()
268 mask = 1 << (nr & 0x07); in ext2_set_bit()
276 static inline int ext2_clear_bit(int nr, volatile void *addr) in ext2_clear_bit() argument
282 ADDR += nr >> 3; in ext2_clear_bit()
283 mask = 1 << (nr & 0x07); in ext2_clear_bit()
291 static inline int ext2_test_bit(int nr, const volatile void *addr) in ext2_test_bit() argument
296 ADDR += nr >> 3; in ext2_test_bit()
297 mask = 1 << (nr & 0x07); in ext2_test_bit()
356 #define minix_test_and_set_bit(nr,addr) test_and_set_bit(nr,addr) argument
357 #define minix_set_bit(nr,addr) set_bit(nr,addr) argument
358 #define minix_test_and_clear_bit(nr,addr) test_and_clear_bit(nr,addr) argument
359 #define minix_test_bit(nr,addr) test_bit(nr,addr) argument