Lines Matching refs:addr

14 extern int test_and_set_bit(unsigned long nr, volatile void *addr);
15 extern int test_and_clear_bit(unsigned long nr, volatile void *addr);
16 extern int test_and_change_bit(unsigned long nr, volatile void *addr);
17 extern void set_bit(unsigned long nr, volatile void *addr);
18 extern void clear_bit(unsigned long nr, volatile void *addr);
19 extern void change_bit(unsigned long nr, volatile void *addr);
23 static __inline__ void __set_bit(int nr, volatile void *addr) in __set_bit() argument
27 m = ((unsigned long *)addr) + (nr >> 6); in __set_bit()
31 static __inline__ void __clear_bit(int nr, volatile void *addr) in __clear_bit() argument
35 m = ((unsigned long *)addr) + (nr >> 6); in __clear_bit()
39 static __inline__ void __change_bit(int nr, volatile void *addr) in __change_bit() argument
43 m = ((unsigned long *)addr) + (nr >> 6); in __change_bit()
47 static __inline__ int __test_and_set_bit(int nr, volatile void *addr) in __test_and_set_bit() argument
49 unsigned long *m = ((unsigned long *)addr) + (nr >> 6); in __test_and_set_bit()
57 static __inline__ int __test_and_clear_bit(int nr, volatile void *addr) in __test_and_clear_bit() argument
59 unsigned long *m = ((unsigned long *)addr) + (nr >> 6); in __test_and_clear_bit()
67 static __inline__ int __test_and_change_bit(int nr, volatile void *addr) in __test_and_change_bit() argument
69 unsigned long *m = ((unsigned long *)addr) + (nr >> 6); in __test_and_change_bit()
87 __const__ unsigned long *addr; in test_bit() local
89 addr = (__const__ unsigned long *) _addr; in test_bit()
91 return (1UL & ((addr)[nr >> 6] >> (nr & 63))) != 0UL; in test_bit()
198 static __inline__ unsigned long find_next_zero_bit(void *addr, unsigned long size, unsigned long of… in find_next_zero_bit() argument
200 unsigned long *p = ((unsigned long *) addr) + (offset >> 6); in find_next_zero_bit()
236 #define find_first_zero_bit(addr, size) \ argument
237 find_next_zero_bit((addr), (size), 0)
239 #define test_and_set_le_bit(nr,addr) \ argument
240 test_and_set_bit((nr) ^ 0x38, (addr))
241 #define test_and_clear_le_bit(nr,addr) \ argument
242 test_and_clear_bit((nr) ^ 0x38, (addr))
244 static __inline__ int test_le_bit(int nr, __const__ void *addr) in test_le_bit() argument
247 __const__ unsigned char *ADDR = (__const__ unsigned char *) addr; in test_le_bit()
254 #define find_first_zero_le_bit(addr, size) \ argument
255 find_next_zero_le_bit((addr), (size), 0)
257 static __inline__ unsigned long find_next_zero_le_bit(void *addr, unsigned long size, unsigned long… in find_next_zero_le_bit() argument
259 unsigned long *p = ((unsigned long *) addr) + (offset >> 6); in find_next_zero_le_bit()
296 #define __set_le_bit(nr, addr) \ argument
297 __set_bit((nr) ^ 0x38, (addr))
298 #define __clear_le_bit(nr, addr) \ argument
299 __clear_bit((nr) ^ 0x38, (addr))
300 #define __test_and_clear_le_bit(nr, addr) \ argument
301 __test_and_clear_bit((nr) ^ 0x38, (addr))
302 #define __test_and_set_le_bit(nr, addr) \ argument
303 __test_and_set_bit((nr) ^ 0x38, (addr))
305 #define ext2_set_bit(nr,addr) \ argument
306 __test_and_set_le_bit((nr),(unsigned long *)(addr))
307 #define ext2_set_bit_atomic(lock,nr,addr) \ argument
308 test_and_set_le_bit((nr),(unsigned long *)(addr))
309 #define ext2_clear_bit(nr,addr) \ argument
310 __test_and_clear_le_bit((nr),(unsigned long *)(addr))
311 #define ext2_clear_bit_atomic(lock,nr,addr) \ argument
312 test_and_clear_le_bit((nr),(unsigned long *)(addr))
313 #define ext2_test_bit(nr,addr) \ argument
314 test_le_bit((nr),(unsigned long *)(addr))
315 #define ext2_find_first_zero_bit(addr, size) \ argument
316 find_first_zero_le_bit((unsigned long *)(addr), (size))
317 #define ext2_find_next_zero_bit(addr, size, off) \ argument
318 find_next_zero_le_bit((unsigned long *)(addr), (size), (off))
321 #define minix_test_and_set_bit(nr,addr) \ argument
322 test_and_set_bit((nr),(unsigned long *)(addr))
323 #define minix_set_bit(nr,addr) \ argument
324 set_bit((nr),(unsigned long *)(addr))
325 #define minix_test_and_clear_bit(nr,addr) \ argument
326 test_and_clear_bit((nr),(unsigned long *)(addr))
327 #define minix_test_bit(nr,addr) \ argument
328 test_bit((nr),(unsigned long *)(addr))
329 #define minix_find_first_zero_bit(addr,size) \ argument
330 find_first_zero_bit((unsigned long *)(addr),(size))