Lines Matching refs:bit
1134 s64 pass_end, ll, data_pos, pass_start, ofs, bit; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() local
1200 bit = data_pos & 7; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1204 (long long)data_pos, (long long)bit); in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1205 for (; bit < size && data_pos + bit < pass_end; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1206 bit &= ~7ull, bit += 8) { in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1207 byte = buf + (bit >> 3); in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1211 if (b < 8 && b >= (bit & 7)) { in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1212 ll = data_pos + (bit & ~7ull) + b; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1230 (long long)data_pos, (long long)bit); in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
2246 s64 ll, bit, old_data_initialized, old_data_size; in ntfs_mft_record_alloc() local
2279 bit = ntfs_mft_bitmap_find_and_alloc_free_rec_nolock(vol, base_ni); in ntfs_mft_record_alloc()
2280 if (bit >= 0) { in ntfs_mft_record_alloc()
2282 (long long)bit); in ntfs_mft_record_alloc()
2285 if (bit != -ENOSPC) { in ntfs_mft_record_alloc()
2287 return ERR_PTR(bit); in ntfs_mft_record_alloc()
2304 bit = ll; in ntfs_mft_record_alloc()
2305 if (bit < 24) in ntfs_mft_record_alloc()
2306 bit = 24; in ntfs_mft_record_alloc()
2307 if (unlikely(bit >= (1ll << 32))) in ntfs_mft_record_alloc()
2310 (long long)bit); in ntfs_mft_record_alloc()
2318 bit = old_data_initialized << 3; in ntfs_mft_record_alloc()
2319 if (unlikely(bit >= (1ll << 32))) in ntfs_mft_record_alloc()
2368 ntfs_debug("Found free record (#3), bit 0x%llx.", (long long)bit); in ntfs_mft_record_alloc()
2372 err = ntfs_bitmap_set_bit(vol->mftbmp_ino, bit); in ntfs_mft_record_alloc()
2378 ntfs_debug("Set bit 0x%llx in mft bitmap.", (long long)bit); in ntfs_mft_record_alloc()
2388 ll = (bit + 1) << vol->mft_record_size_bits; in ntfs_mft_record_alloc()
2518 index = bit << vol->mft_record_size_bits >> PAGE_CACHE_SHIFT; in ntfs_mft_record_alloc()
2519 ofs = (bit << vol->mft_record_size_bits) & ~PAGE_CACHE_MASK; in ntfs_mft_record_alloc()
2524 "mft record 0x%llx.", (long long)bit); in ntfs_mft_record_alloc()
2541 (long long)bit); in ntfs_mft_record_alloc()
2558 err = ntfs_mft_record_layout(vol, bit, m); in ntfs_mft_record_alloc()
2561 "record 0x%llx.", (long long)bit); in ntfs_mft_record_alloc()
2591 m = map_extent_mft_record(base_ni, bit, &ni); in ntfs_mft_record_alloc()
2594 "mft record 0x%llx.", (long long)bit); in ntfs_mft_record_alloc()
2639 vi->i_ino = bit; in ntfs_mft_record_alloc()
2727 vol->mft_data_pos = bit + 1; in ntfs_mft_record_alloc()
2734 base_ni ? "extent " : "", (long long)bit); in ntfs_mft_record_alloc()
2746 if (ntfs_bitmap_clear_bit(vol->mftbmp_ino, bit)) { in ntfs_mft_record_alloc()