Lines Matching refs:size
16 unsigned long find_first_bit_inv(const unsigned long *addr, unsigned long size) in find_first_bit_inv() argument
22 while (size & ~(BITS_PER_LONG - 1)) { in find_first_bit_inv()
26 size -= BITS_PER_LONG; in find_first_bit_inv()
28 if (!size) in find_first_bit_inv()
30 tmp = (*p) & (~0UL << (BITS_PER_LONG - size)); in find_first_bit_inv()
32 return result + size; /* Nope. */ in find_first_bit_inv()
38 unsigned long find_next_bit_inv(const unsigned long *addr, unsigned long size, in find_next_bit_inv() argument
45 if (offset >= size) in find_next_bit_inv()
46 return size; in find_next_bit_inv()
47 size -= result; in find_next_bit_inv()
52 if (size < BITS_PER_LONG) in find_next_bit_inv()
56 size -= BITS_PER_LONG; in find_next_bit_inv()
59 while (size & ~(BITS_PER_LONG-1)) { in find_next_bit_inv()
63 size -= BITS_PER_LONG; in find_next_bit_inv()
65 if (!size) in find_next_bit_inv()
69 tmp &= (~0UL << (BITS_PER_LONG - size)); in find_next_bit_inv()
71 return result + size; /* Nope. */ in find_next_bit_inv()