Lines Matching refs:lcn

540 			LCN lcn;  in ntfs_sync_mft_mirror()  local
562 lcn = ntfs_rl_vcn_to_lcn(rl, vcn); in ntfs_sync_mft_mirror()
564 if (likely(lcn >= 0)) { in ntfs_sync_mft_mirror()
566 bh->b_blocknr = ((lcn << in ntfs_sync_mft_mirror()
577 (long long)lcn); in ntfs_sync_mft_mirror()
733 LCN lcn; in write_mft_record_nolock() local
750 lcn = ntfs_rl_vcn_to_lcn(rl, vcn); in write_mft_record_nolock()
752 if (likely(lcn >= 0)) { in write_mft_record_nolock()
754 bh->b_blocknr = ((lcn << in write_mft_record_nolock()
764 ni->mft_no, (long long)lcn); in write_mft_record_nolock()
1289 LCN lcn; in ntfs_mft_bitmap_extend_allocation_nolock() local
1320 if (unlikely(IS_ERR(rl) || !rl->length || rl->lcn < 0)) { in ntfs_mft_bitmap_extend_allocation_nolock()
1330 lcn = rl->lcn + rl->length; in ntfs_mft_bitmap_extend_allocation_nolock()
1332 (long long)lcn); in ntfs_mft_bitmap_extend_allocation_nolock()
1338 ll = lcn >> 3; in ntfs_mft_bitmap_extend_allocation_nolock()
1347 tb = 1 << (lcn & 7ull); in ntfs_mft_bitmap_extend_allocation_nolock()
1365 rl2 = ntfs_cluster_alloc(vol, rl[1].vcn, 1, lcn, DATA_ZONE, in ntfs_mft_bitmap_extend_allocation_nolock()
1534 lcn = rl->lcn; in ntfs_mft_bitmap_extend_allocation_nolock()
1536 rl->lcn = rl[1].lcn; in ntfs_mft_bitmap_extend_allocation_nolock()
1541 if (ntfs_bitmap_clear_bit(vol->lcnbmp_ino, lcn)) { in ntfs_mft_bitmap_extend_allocation_nolock()
1725 LCN lcn; in ntfs_mft_data_extend_allocation_nolock() local
1751 if (unlikely(IS_ERR(rl) || !rl->length || rl->lcn < 0)) { in ntfs_mft_data_extend_allocation_nolock()
1761 lcn = rl->lcn + rl->length; in ntfs_mft_data_extend_allocation_nolock()
1762 ntfs_debug("Last lcn of mft data attribute is 0x%llx.", (long long)lcn); in ntfs_mft_data_extend_allocation_nolock()
1791 rl2 = ntfs_cluster_alloc(vol, old_last_vcn, nr, lcn, MFT_ZONE, in ntfs_mft_data_extend_allocation_nolock()