Lines Matching refs:size
17 unsigned long find_first_bit_inv(const unsigned long *addr, unsigned long size) in find_first_bit_inv() argument
23 while (size & ~(BITS_PER_LONG - 1)) { in find_first_bit_inv()
27 size -= BITS_PER_LONG; in find_first_bit_inv()
29 if (!size) in find_first_bit_inv()
31 tmp = (*p) & (~0UL << (BITS_PER_LONG - size)); in find_first_bit_inv()
33 return result + size; /* Nope. */ in find_first_bit_inv()
39 unsigned long find_next_bit_inv(const unsigned long *addr, unsigned long size, in find_next_bit_inv() argument
46 if (offset >= size) in find_next_bit_inv()
47 return size; in find_next_bit_inv()
48 size -= result; in find_next_bit_inv()
53 if (size < BITS_PER_LONG) in find_next_bit_inv()
57 size -= BITS_PER_LONG; in find_next_bit_inv()
60 while (size & ~(BITS_PER_LONG-1)) { in find_next_bit_inv()
64 size -= BITS_PER_LONG; in find_next_bit_inv()
66 if (!size) in find_next_bit_inv()
70 tmp &= (~0UL << (BITS_PER_LONG - size)); in find_next_bit_inv()
72 return result + size; /* Nope. */ in find_next_bit_inv()