Lines Matching defs:vcn
525 VCN vcn;
530 /* Obtain the vcn and offset of the current block. */
531 vcn = ((VCN)mft_no << vol->mft_record_size_bits) +
533 vcn_ofs = vcn & vol->cluster_size_mask;
534 vcn >>= vol->cluster_size_bits;
545 /* Seek to element containing target vcn. */
546 while (rl->length && rl[1].vcn <= vcn)
548 lcn = ntfs_rl_vcn_to_lcn(rl, vcn);
718 VCN vcn;
723 /* Obtain the vcn and offset of the current block. */
724 vcn = ((VCN)ni->mft_no << vol->mft_record_size_bits) +
726 vcn_ofs = vcn & vol->cluster_size_mask;
727 vcn >>= vol->cluster_size_bits;
733 /* Seek to element containing target vcn. */
734 while (rl->length && rl[1].vcn <= vcn)
736 lcn = ntfs_rl_vcn_to_lcn(rl, vcn);
1344 rl[1].vcn++;
1351 rl2 = ntfs_cluster_alloc(vol, rl[1].vcn, 1, lcn, DATA_ZONE,
1396 mftbmp_ni->name_len, CASE_SENSITIVE, rl[1].vcn, NULL,
1409 if (ll >= rl2->vcn)
1412 BUG_ON(ll < rl2->vcn);
1413 BUG_ON(ll >= rl2->vcn + rl2->length);
1456 a->data.non_resident.highest_vcn = cpu_to_sle64(rl[1].vcn - 1);
1495 mftbmp_ni->name_len, CASE_SENSITIVE, rl[1].vcn, NULL,
1513 a->data.non_resident.highest_vcn = cpu_to_sle64(rl[1].vcn - 2);
1518 rl[1].vcn--;
1775 old_last_vcn = rl[1].vcn;
1829 CASE_SENSITIVE, rl[1].vcn, NULL, 0, ctx);
1841 if (ll >= rl2->vcn)
1844 BUG_ON(ll < rl2->vcn);
1845 BUG_ON(ll >= rl2->vcn + rl2->length);
1893 a->data.non_resident.highest_vcn = cpu_to_sle64(rl[1].vcn - 1);
1934 CASE_SENSITIVE, rl[1].vcn, NULL, 0, ctx)) {