Lines Matching refs:addr

44 static __inline__ int test_bit(unsigned long nr, __const__ volatile void *addr)  in test_bit()  argument
46 return (1UL & (((__const__ long *) addr)[nr >> 6] >> (nr & 63))); in test_bit()
49 static __inline__ void set_bit(unsigned long nr, volatile void *addr) in set_bit() argument
53 unsigned long *p = ((unsigned long *)addr) + (nr >> 6); in set_bit()
65 static __inline__ void clear_bit(unsigned long nr, volatile void *addr) in clear_bit() argument
69 unsigned long *p = ((unsigned long *)addr) + (nr >> 6); in clear_bit()
81 static __inline__ void change_bit(unsigned long nr, volatile void *addr) in change_bit() argument
85 unsigned long *p = ((unsigned long *)addr) + (nr >> 6); in change_bit()
97 static __inline__ int test_and_set_bit(unsigned long nr, volatile void *addr) in test_and_set_bit() argument
101 unsigned long *p = ((unsigned long *)addr) + (nr >> 6); in test_and_set_bit()
117 static __inline__ int test_and_clear_bit(unsigned long nr, volatile void *addr) in test_and_clear_bit() argument
121 unsigned long *p = ((unsigned long *)addr) + (nr >> 6); in test_and_clear_bit()
137 static __inline__ int test_and_change_bit(unsigned long nr, volatile void *addr) in test_and_change_bit() argument
141 unsigned long *p = ((unsigned long *)addr) + (nr >> 6); in test_and_change_bit()
160 static __inline__ void __set_bit(unsigned long nr, volatile void *addr) in __set_bit() argument
163 unsigned long *p = ((unsigned long *)addr) + (nr >> 6); in __set_bit()
168 static __inline__ void __clear_bit(unsigned long nr, volatile void *addr) in __clear_bit() argument
171 unsigned long *p = ((unsigned long *)addr) + (nr >> 6); in __clear_bit()
176 static __inline__ void __change_bit(unsigned long nr, volatile void *addr) in __change_bit() argument
179 unsigned long *p = ((unsigned long *)addr) + (nr >> 6); in __change_bit()
184 static __inline__ int __test_and_set_bit(unsigned long nr, volatile void *addr) in __test_and_set_bit() argument
187 unsigned long *p = ((unsigned long *)addr) + (nr >> 6); in __test_and_set_bit()
194 static __inline__ int __test_and_clear_bit(unsigned long nr, volatile void *addr) in __test_and_clear_bit() argument
197 unsigned long *p = ((unsigned long *)addr) + (nr >> 6); in __test_and_clear_bit()
204 static __inline__ int __test_and_change_bit(unsigned long nr, volatile void *addr) in __test_and_change_bit() argument
207 unsigned long *p = ((unsigned long *)addr) + (nr >> 6); in __test_and_change_bit()
296 extern unsigned long find_next_zero_bit(unsigned long* addr, unsigned long size, unsigned long offs…
297 #define find_first_zero_bit(addr, size) \ argument
298 find_next_zero_bit((addr), (size), 0)
300 extern unsigned long find_next_bit(unsigned long* addr, unsigned long size, unsigned long offset);
301 #define find_first_bit(addr, size) \ argument
302 find_next_bit((addr), (size), 0)
304 extern unsigned long find_next_zero_le_bit(unsigned long *addr, unsigned long size, unsigned long o…
305 #define find_first_zero_le_bit(addr, size) \ argument
306 find_next_zero_le_bit((addr), (size), 0)
308 static __inline__ int test_le_bit(unsigned long nr, __const__ unsigned long * addr) in test_le_bit() argument
310 __const__ unsigned char *ADDR = (__const__ unsigned char *) addr; in test_le_bit()
317 static __inline__ void __set_le_bit(unsigned long nr, unsigned long *addr) in __set_le_bit() argument
319 unsigned char *ADDR = (unsigned char *)addr; in __set_le_bit()
325 static __inline__ void __clear_le_bit(unsigned long nr, unsigned long *addr) in __clear_le_bit() argument
327 unsigned char *ADDR = (unsigned char *)addr; in __clear_le_bit()
333 static __inline__ int __test_and_set_le_bit(unsigned long nr, unsigned long *addr) in __test_and_set_le_bit() argument
336 unsigned char *ADDR = (unsigned char *)addr; in __test_and_set_le_bit()
345 static __inline__ int __test_and_clear_le_bit(unsigned long nr, unsigned long *addr) in __test_and_clear_le_bit() argument
348 unsigned char *ADDR = (unsigned char *)addr; in __test_and_clear_le_bit()
357 #define ext2_set_bit(nr,addr) \ argument
358 __test_and_set_le_bit((nr),(unsigned long*)addr)
359 #define ext2_clear_bit(nr, addr) \ argument
360 __test_and_clear_le_bit((nr),(unsigned long*)addr)
361 #define ext2_test_bit(nr, addr) test_le_bit((nr),(unsigned long*)addr) argument
362 #define ext2_find_first_zero_bit(addr, size) \ argument
363 find_first_zero_le_bit((unsigned long*)addr, size)
364 #define ext2_find_next_zero_bit(addr, size, off) \ argument
365 find_next_zero_le_bit((unsigned long*)addr, size, off)
367 #define minix_test_and_set_bit(nr,addr) test_and_set_bit(nr,addr) argument
368 #define minix_set_bit(nr,addr) set_bit(nr,addr) argument
369 #define minix_test_and_clear_bit(nr,addr) test_and_clear_bit(nr,addr) argument
370 #define minix_test_bit(nr,addr) test_bit(nr,addr) argument
371 #define minix_find_first_zero_bit(addr,size) find_first_zero_bit(addr,size) argument