Lines Matching defs:lcn
529 LCN lcn;
551 lcn = ntfs_rl_vcn_to_lcn(rl, vcn);
552 /* For $MFTMirr, only lcn >= 0 is a successful remap. */
553 if (likely(lcn >= 0)) {
555 bh->b_blocknr = ((lcn <<
566 (long long)lcn);
718 LCN lcn;
735 lcn = ntfs_rl_vcn_to_lcn(rl, vcn);
736 /* For $MFT, only lcn >= 0 is a successful remap. */
737 if (likely(lcn >= 0)) {
739 bh->b_blocknr = ((lcn <<
749 ni->mft_no, (long long)lcn);
1274 LCN lcn;
1296 * Determine the last lcn of the mft bitmap. The allocated size of the
1305 if (unlikely(IS_ERR(rl) || !rl->length || rl->lcn < 0)) {
1315 lcn = rl->lcn + rl->length;
1316 ntfs_debug("Last lcn of mft bitmap attribute is 0x%llx.",
1317 (long long)lcn);
1323 ll = lcn >> 3;
1328 ntfs_error(vol->sb, "Failed to read from lcn bitmap.");
1332 tb = 1 << (lcn & 7ull);
1350 rl2 = ntfs_cluster_alloc(vol, rl[1].vcn, 1, lcn, DATA_ZONE,
1519 lcn = rl->lcn;
1521 rl->lcn = rl[1].lcn;
1526 if (ntfs_bitmap_clear_bit(vol->lcnbmp_ino, lcn)) {
1710 LCN lcn;
1726 * Determine the preferred allocation location, i.e. the last lcn of
1736 if (unlikely(IS_ERR(rl) || !rl->length || rl->lcn < 0)) {
1746 lcn = rl->lcn + rl->length;
1747 ntfs_debug("Last lcn of mft data attribute is 0x%llx.", (long long)lcn);
1776 rl2 = ntfs_cluster_alloc(vol, old_last_vcn, nr, lcn, MFT_ZONE,