Lines Matching refs:start
346 #define BITMAP_FIRST_BYTE_MASK(start) (0xff << ((start) & (BITS_PER_BYTE - 1)))
348 static u64 _find_next_bit_le(const u8 *addr, u64 nbits, u64 start, char invert)
352 if (!nbits || start >= nbits)
355 tmp = addr[start / BITS_PER_BYTE] ^ invert;
358 tmp &= BITMAP_FIRST_BYTE_MASK(start);
359 start = round_down(start, BITS_PER_BYTE);
362 start += BITS_PER_BYTE;
363 if (start >= nbits)
366 tmp = addr[start / BITS_PER_BYTE] ^ invert;
369 return min(start + __ffs(tmp), nbits);
996 c.start_sector = geom.start;