Lines Matching refs:lcn
572 LCN lcn; in ntfs_prepare_pages_for_non_resident_write() local
626 vcn = lcn = -1; in ntfs_prepare_pages_for_non_resident_write()
707 BUG_ON(lcn < 0); in ntfs_prepare_pages_for_non_resident_write()
836 lcn = ntfs_rl_vcn_to_lcn(rl, bh_cpos); in ntfs_prepare_pages_for_non_resident_write()
837 if (likely(lcn >= 0)) { in ntfs_prepare_pages_for_non_resident_write()
845 lcn_block = lcn << (vol->cluster_size_bits - in ntfs_prepare_pages_for_non_resident_write()
866 lcn = LCN_RL_NOT_MAPPED; in ntfs_prepare_pages_for_non_resident_write()
871 if (unlikely(lcn != LCN_HOLE && lcn != LCN_ENOENT)) { in ntfs_prepare_pages_for_non_resident_write()
872 if (likely(!is_retry && lcn == LCN_RL_NOT_MAPPED)) { in ntfs_prepare_pages_for_non_resident_write()
899 lcn = LCN_ENOENT; in ntfs_prepare_pages_for_non_resident_write()
956 BUG_ON(lcn != LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
970 BUG_ON(rl->lcn != LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
971 lcn = -1; in ntfs_prepare_pages_for_non_resident_write()
974 if (rl2->lcn >= 0) { in ntfs_prepare_pages_for_non_resident_write()
975 lcn = rl2->lcn + rl2->length; in ntfs_prepare_pages_for_non_resident_write()
979 rl2 = ntfs_cluster_alloc(vol, bh_cpos, 1, lcn, DATA_ZONE, in ntfs_prepare_pages_for_non_resident_write()
987 lcn = rl2->lcn; in ntfs_prepare_pages_for_non_resident_write()
1006 (unsigned long long)lcn); in ntfs_prepare_pages_for_non_resident_write()
1044 BUG_ON(rl2->lcn < LCN_HOLE); in ntfs_prepare_pages_for_non_resident_write()
1159 lcn_block = lcn << (vol->cluster_size_bits - blocksize_bits); in ntfs_prepare_pages_for_non_resident_write()
1274 if (ntfs_bitmap_clear_bit(vol->lcnbmp_ino, lcn)) { in ntfs_prepare_pages_for_non_resident_write()
1735 LCN lcn; in ntfs_perform_write() local
1793 lcn = ntfs_attr_vcn_to_lcn_nolock(ni, pos >> in ntfs_perform_write()
1796 if (unlikely(lcn < LCN_HOLE)) { in ntfs_perform_write()
1797 if (lcn == LCN_ENOMEM) in ntfs_perform_write()
1812 if (lcn == LCN_HOLE) { in ntfs_perform_write()