Lines Matching refs:size
18 unsigned long find_first_bit_inv(const unsigned long *addr, unsigned long size) in find_first_bit_inv() argument
24 while (size & ~(BITS_PER_LONG - 1)) { in find_first_bit_inv()
28 size -= BITS_PER_LONG; in find_first_bit_inv()
30 if (!size) in find_first_bit_inv()
32 tmp = (*p) & (~0UL << (BITS_PER_LONG - size)); in find_first_bit_inv()
34 return result + size; /* Nope. */ in find_first_bit_inv()
40 unsigned long find_next_bit_inv(const unsigned long *addr, unsigned long size, in find_next_bit_inv() argument
47 if (offset >= size) in find_next_bit_inv()
48 return size; in find_next_bit_inv()
49 size -= result; in find_next_bit_inv()
54 if (size < BITS_PER_LONG) in find_next_bit_inv()
58 size -= BITS_PER_LONG; in find_next_bit_inv()
61 while (size & ~(BITS_PER_LONG-1)) { in find_next_bit_inv()
65 size -= BITS_PER_LONG; in find_next_bit_inv()
67 if (!size) in find_next_bit_inv()
71 tmp &= (~0UL << (BITS_PER_LONG - size)); in find_next_bit_inv()
73 return result + size; /* Nope. */ in find_next_bit_inv()