Lines Matching refs:bit
114 u_int32_t bit,
179 ; forceContiguous - Force contiguous flag - if bit 0 set (NE), allocation is contiguous
405 u_int32_t bit;
415 bit = VCBTOHFS(vcb)->hfs_metazone_start;
416 if (bit == 1)
417 bit = 0;
423 * Count all the bits from bit to lastbit.
425 while (bit < lastbit) {
434 if (ReadBitmapBlock(vcb, bit, &currCache, &blockRef) != 0) {
443 bit += kBitsPerByte;
454 * Obtain the next allocation block (bit) that's
459 u_int32_t bit)
464 return (bit);
468 if ((bit >= hfsmp->hfs_metazone_start) &&
469 (bit <= hfsmp->hfs_metazone_end)) {
470 bit = hfsmp->hfs_metazone_end + 1;
472 return (bit);
482 ; block (bit). Return a pointer to the bitmap block.
486 ; bit -- Allocation block whose bitmap block is desired
495 u_int32_t bit,
511 block = (daddr64_t)(bit / (blockSize * kBitsPerByte));
747 // Next bit
818 // Next bit
1004 u_int32_t firstBit; // Bit index within word of first bit to allocate
1173 u_int32_t firstBit; // Bit index within word of first bit to allocate
1462 // Did we find an unused bit (bitMask != 0), or run out of bits (bitMask == 0)?
1503 // Figure out which bit is clear
1511 break; // Found the free bit; break out to FoundUnused.
1521 // Make sure the unused bit is early enough to use
1548 // Did we find a used bit (bitMask != 0), or run out of bits (bitMask == 0)?
1591 // Figure out which bit is set
1599 break; // Found the used bit; break out to FoundUsed.
1690 u_int32_t firstBit; // Bit index within word of first bit to allocate