Lines Matching refs:bit
720 * The metadata file $Bitmap has one binary bit representing each cluster on
721 * disk. The bit will be set for each cluster that is in use. The function
722 * reads the relevant part of $Bitmap into a buffer and tests the bit.
726 * refreshed. @bmplcn stores offset to the first bit (in bits) stored in the
739 int byte, bit;
772 bit = 1 << (lcn & 7);
774 ntfs_log_debug("cluster = %lld, bmplcn = %lld, byte = %d, bit = %d, "
775 "in use %d\n", lcn, bmplcn, byte, bit, buffer[byte] &
776 bit);
778 return (buffer[byte] & bit);
786 * The metadata file $BITMAP has one binary bit representing each record in the
787 * MFT. The bit will be set for each record that is in use. The function
788 * reads the relevant part of $BITMAP into a buffer and tests the bit.
801 static s64 bmpmref = -(sizeof(buffer) << 3) - 1; /* Which bit of $BITMAP is in the buffer */
802 int byte, bit;
828 bit = 1 << (mref & 7);
830 ntfs_log_debug("cluster = %lld, bmpmref = %lld, byte = %d, bit = %d, "
832 byte, bit, buffer[byte] & bit);
834 return (buffer[byte] & bit);