Lines Matching full:bitpos
331 unsigned long bitpos = start - bitmap->start;
338 while ((bitpos & 0x7) != 0 && count > 0) {
339 if (!ext2fs_test_bit64(bitpos, bp->bitarray)) {
340 *out = bitpos + bitmap->start;
343 bitpos++;
350 pos = ((unsigned char *)bp->bitarray) + (bitpos >> 3);
359 bitpos += 8;
372 bitpos += 64 * (max_loop_count - i);
385 bitpos += 8 * (max_loop_count - i);
390 if (!ext2fs_test_bit64(bitpos, bp->bitarray)) {
391 *out = bitpos + bitmap->start;
394 bitpos++;
405 unsigned long bitpos = start - bitmap->start;
412 while ((bitpos & 0x7) != 0 && count > 0) {
413 if (ext2fs_test_bit64(bitpos, bp->bitarray)) {
414 *out = bitpos + bitmap->start;
417 bitpos++;
424 pos = ((unsigned char *)bp->bitarray) + (bitpos >> 3);
433 bitpos += 8;
446 bitpos += 64 * (max_loop_count - i);
459 bitpos += 8 * (max_loop_count - i);
464 if (ext2fs_test_bit64(bitpos, bp->bitarray)) {
465 *out = bitpos + bitmap->start;
468 bitpos++;