Lines Matching defs:ADDR
78 int set_bit(unsigned int nr,void * addr)
81 unsigned char *ADDR = (unsigned char *) addr;
83 ADDR += nr >> 3;
85 retval = mask & *ADDR;
86 *ADDR |= mask;
90 int clear_bit(unsigned int nr, void * addr)
93 unsigned char *ADDR = (unsigned char *) addr;
95 ADDR += nr >> 3;
97 retval = mask & *ADDR;
98 *ADDR &= ~mask;
102 int test_bit(unsigned int nr, const void * addr)
104 const __u32 *p = (const __u32 *)addr;
114 char *addr = (char *)p;
116 addr += (nr >> 3);
118 return (mask & *addr) != 0;
121 int f2fs_set_bit(unsigned int nr, char *addr)
126 addr += (nr >> 3);
128 ret = mask & *addr;
129 *addr |= mask;
133 int f2fs_clear_bit(unsigned int nr, char *addr)
138 addr += (nr >> 3);
140 ret = mask & *addr;
141 *addr &= ~mask;
176 unsigned long find_next_bit(const unsigned long *addr, unsigned long size,
179 const unsigned long *p = addr + BIT_WORD(offset);