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