Searched refs:rl2 (Results 1 – 7 of 7) sorted by relevance
1280 runlist_element *rl, *rl2 = NULL; in ntfs_mft_bitmap_extend_allocation_nolock() local1351 rl2 = ntfs_cluster_alloc(vol, rl[1].vcn, 1, lcn, DATA_ZONE, in ntfs_mft_bitmap_extend_allocation_nolock()1353 if (IS_ERR(rl2)) { in ntfs_mft_bitmap_extend_allocation_nolock()1357 return PTR_ERR(rl2); in ntfs_mft_bitmap_extend_allocation_nolock()1359 rl = ntfs_runlists_merge(mftbmp_ni->runlist.rl, rl2); in ntfs_mft_bitmap_extend_allocation_nolock()1364 if (ntfs_cluster_free_from_rl(vol, rl2)) { in ntfs_mft_bitmap_extend_allocation_nolock()1369 ntfs_free(rl2); in ntfs_mft_bitmap_extend_allocation_nolock()1408 for (rl2 = rl; rl2 > mftbmp_ni->runlist.rl; rl2--) { in ntfs_mft_bitmap_extend_allocation_nolock()1409 if (ll >= rl2->vcn) in ntfs_mft_bitmap_extend_allocation_nolock()1412 BUG_ON(ll < rl2->vcn); in ntfs_mft_bitmap_extend_allocation_nolock()[all …]
574 runlist_element *rl, *rl2; in ntfs_prepare_pages_for_non_resident_write() local967 rl2 = rl; in ntfs_prepare_pages_for_non_resident_write()968 while (--rl2 >= ni->runlist.rl) { in ntfs_prepare_pages_for_non_resident_write()969 if (rl2->lcn >= 0) { in ntfs_prepare_pages_for_non_resident_write()970 lcn = rl2->lcn + rl2->length; in ntfs_prepare_pages_for_non_resident_write()974 rl2 = ntfs_cluster_alloc(vol, bh_cpos, 1, lcn, DATA_ZONE, in ntfs_prepare_pages_for_non_resident_write()976 if (IS_ERR(rl2)) { in ntfs_prepare_pages_for_non_resident_write()977 err = PTR_ERR(rl2); in ntfs_prepare_pages_for_non_resident_write()982 lcn = rl2->lcn; in ntfs_prepare_pages_for_non_resident_write()983 rl = ntfs_runlists_merge(ni->runlist.rl, rl2); in ntfs_prepare_pages_for_non_resident_write()[all …]
1925 runlist_element *rl, *rl2; in ntfs_attr_extend_allocation() local2229 rl2 = ntfs_cluster_alloc(vol, allocated_size >> vol->cluster_size_bits, in ntfs_attr_extend_allocation()2233 if (IS_ERR(rl2)) { in ntfs_attr_extend_allocation()2234 err = PTR_ERR(rl2); in ntfs_attr_extend_allocation()2245 rl = ntfs_runlists_merge(ni->runlist.rl, rl2); in ntfs_attr_extend_allocation()2256 if (ntfs_cluster_free_from_rl(vol, rl2)) { in ntfs_attr_extend_allocation()2263 ntfs_free(rl2); in ntfs_attr_extend_allocation()2271 rl2 = ntfs_rl_find_vcn_nolock(rl, ll); in ntfs_attr_extend_allocation()2272 BUG_ON(!rl2); in ntfs_attr_extend_allocation()2273 BUG_ON(!rl2->length); in ntfs_attr_extend_allocation()[all …]
321 runlist_element *rl2; in ntfs_cluster_alloc() local329 rl2 = ntfs_malloc_nofs(rlsize + (int)PAGE_SIZE); in ntfs_cluster_alloc()330 if (unlikely(!rl2)) { in ntfs_cluster_alloc()336 memcpy(rl2, rl, rlsize); in ntfs_cluster_alloc()338 rl = rl2; in ntfs_cluster_alloc()
1087 runlist_element *rl, rl2[2]; in check_mft_mirror() local1174 rl2[0].vcn = 0; in check_mft_mirror()1175 rl2[0].lcn = vol->mftmirr_lcn; in check_mft_mirror()1176 rl2[0].length = (vol->mftmirr_size * vol->mft_record_size + in check_mft_mirror()1178 rl2[1].vcn = rl2[0].length; in check_mft_mirror()1179 rl2[1].lcn = LCN_ENOENT; in check_mft_mirror()1180 rl2[1].length = 0; in check_mft_mirror()1191 if (rl2[i].vcn != rl[i].vcn || rl2[i].lcn != rl[i].lcn || in check_mft_mirror()1192 rl2[i].length != rl[i].length) { in check_mft_mirror()1198 } while (rl2[i++].length); in check_mft_mirror()
791 runlist_element *rl2; in ntfs_mapping_pairs_decompress() local793 rl2 = ntfs_malloc_nofs(rlsize + (int)PAGE_SIZE); in ntfs_mapping_pairs_decompress()794 if (unlikely(!rl2)) { in ntfs_mapping_pairs_decompress()798 memcpy(rl2, rl, rlsize); in ntfs_mapping_pairs_decompress()800 rl = rl2; in ntfs_mapping_pairs_decompress()
341 #define nh_16_2(mp, kp, nw, rh, rl, rh2, rl2) \ argument344 nh_16(mp, ((kp)+2), nw, rh2, rl2); \352 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh2, rl2) \ argument355 nh_vmac_nhbytes(mp, ((kp)+2), nw, rh2, rl2); \