Lines Matching refs:addr

36 extern void set_bit(int nr, volatile void * addr);
38 extern void clear_bit(int nr, volatile void * addr);
40 extern void change_bit(int nr, volatile void * addr);
42 static inline void __change_bit(int nr, volatile void *addr) in __change_bit() argument
45 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __change_bit()
50 static inline int __test_and_set_bit(int nr, volatile void *addr) in __test_and_set_bit() argument
53 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_set_bit()
60 static inline int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() argument
66 out = __test_and_set_bit(nr, addr); in test_and_set_bit()
72 static inline int __test_and_clear_bit(int nr, volatile void *addr) in __test_and_clear_bit() argument
75 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_clear_bit()
82 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() argument
88 out = __test_and_clear_bit(nr, addr); in test_and_clear_bit()
94 extern int test_and_change_bit(int nr, volatile void * addr);
96 static inline int __test_and_change_bit(int nr, volatile void *addr) in __test_and_change_bit() argument
99 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_change_bit()
109 static inline int test_bit(int nr, const void * addr) in test_bit() argument
111 return ((unsigned char *) addr)[nr >> 3] & (1U << (nr & 7)); in test_bit()
121 static inline int find_next_zero_bit(void *addr, int size, int offset) in find_next_zero_bit() argument
123 unsigned long *p = ((unsigned long *)addr) + (offset / BITS_PER_LONG); in find_next_zero_bit()
167 #define find_first_zero_bit(addr, size) \ argument
168 find_next_zero_bit((addr), (size), 0)
177 #define minix_test_and_set_bit(nr,addr) test_and_set_bit(nr,addr) argument
178 #define minix_set_bit(nr,addr) set_bit(nr,addr) argument
179 #define minix_test_and_clear_bit(nr,addr) test_and_clear_bit(nr,addr) argument
180 #define minix_test_bit(nr,addr) test_bit(nr,addr) argument
181 #define minix_find_first_zero_bit(addr,size) find_first_zero_bit(addr,size) argument