Searched refs:rl2 (Results 1 – 7 of 7) sorted by relevance
1294 runlist_element *rl, *rl2 = NULL; in ntfs_mft_bitmap_extend_allocation_nolock() local1365 rl2 = ntfs_cluster_alloc(vol, rl[1].vcn, 1, lcn, DATA_ZONE, in ntfs_mft_bitmap_extend_allocation_nolock()1367 if (IS_ERR(rl2)) { in ntfs_mft_bitmap_extend_allocation_nolock()1371 return PTR_ERR(rl2); in ntfs_mft_bitmap_extend_allocation_nolock()1373 rl = ntfs_runlists_merge(mftbmp_ni->runlist.rl, rl2); in ntfs_mft_bitmap_extend_allocation_nolock()1378 if (ntfs_cluster_free_from_rl(vol, rl2)) { in ntfs_mft_bitmap_extend_allocation_nolock()1383 ntfs_free(rl2); in ntfs_mft_bitmap_extend_allocation_nolock()1422 for (rl2 = rl; rl2 > mftbmp_ni->runlist.rl; rl2--) { in ntfs_mft_bitmap_extend_allocation_nolock()1423 if (ll >= rl2->vcn) in ntfs_mft_bitmap_extend_allocation_nolock()1426 BUG_ON(ll < rl2->vcn); in ntfs_mft_bitmap_extend_allocation_nolock()[all …]
595 runlist_element *rl, *rl2; in ntfs_prepare_pages_for_non_resident_write() local988 rl2 = rl; in ntfs_prepare_pages_for_non_resident_write()989 while (--rl2 >= ni->runlist.rl) { in ntfs_prepare_pages_for_non_resident_write()990 if (rl2->lcn >= 0) { in ntfs_prepare_pages_for_non_resident_write()991 lcn = rl2->lcn + rl2->length; in ntfs_prepare_pages_for_non_resident_write()995 rl2 = ntfs_cluster_alloc(vol, bh_cpos, 1, lcn, DATA_ZONE, in ntfs_prepare_pages_for_non_resident_write()997 if (IS_ERR(rl2)) { in ntfs_prepare_pages_for_non_resident_write()998 err = PTR_ERR(rl2); in ntfs_prepare_pages_for_non_resident_write()1003 lcn = rl2->lcn; in ntfs_prepare_pages_for_non_resident_write()1004 rl = ntfs_runlists_merge(ni->runlist.rl, rl2); in ntfs_prepare_pages_for_non_resident_write()[all …]
335 runlist_element *rl2; in ntfs_cluster_alloc() local343 rl2 = ntfs_malloc_nofs(rlsize + (int)PAGE_SIZE); in ntfs_cluster_alloc()344 if (unlikely(!rl2)) { in ntfs_cluster_alloc()350 memcpy(rl2, rl, rlsize); in ntfs_cluster_alloc()352 rl = rl2; in ntfs_cluster_alloc()
1915 runlist_element *rl, *rl2; in ntfs_attr_extend_allocation() local2219 rl2 = ntfs_cluster_alloc(vol, allocated_size >> vol->cluster_size_bits, in ntfs_attr_extend_allocation()2223 if (IS_ERR(rl2)) { in ntfs_attr_extend_allocation()2224 err = PTR_ERR(rl2); in ntfs_attr_extend_allocation()2235 rl = ntfs_runlists_merge(ni->runlist.rl, rl2); in ntfs_attr_extend_allocation()2246 if (ntfs_cluster_free_from_rl(vol, rl2)) { in ntfs_attr_extend_allocation()2253 ntfs_free(rl2); in ntfs_attr_extend_allocation()2261 rl2 = ntfs_rl_find_vcn_nolock(rl, ll); in ntfs_attr_extend_allocation()2262 BUG_ON(!rl2); in ntfs_attr_extend_allocation()2263 BUG_ON(!rl2->length); in ntfs_attr_extend_allocation()[all …]
1093 runlist_element *rl, rl2[2]; in check_mft_mirror() local1180 rl2[0].vcn = 0; in check_mft_mirror()1181 rl2[0].lcn = vol->mftmirr_lcn; in check_mft_mirror()1182 rl2[0].length = (vol->mftmirr_size * vol->mft_record_size + in check_mft_mirror()1184 rl2[1].vcn = rl2[0].length; in check_mft_mirror()1185 rl2[1].lcn = LCN_ENOENT; in check_mft_mirror()1186 rl2[1].length = 0; in check_mft_mirror()1197 if (rl2[i].vcn != rl[i].vcn || rl2[i].lcn != rl[i].lcn || in check_mft_mirror()1198 rl2[i].length != rl[i].length) { in check_mft_mirror()1204 } while (rl2[i++].length); in check_mft_mirror()
805 runlist_element *rl2; in ntfs_mapping_pairs_decompress() local807 rl2 = ntfs_malloc_nofs(rlsize + (int)PAGE_SIZE); in ntfs_mapping_pairs_decompress()808 if (unlikely(!rl2)) { in ntfs_mapping_pairs_decompress()812 memcpy(rl2, rl, rlsize); in ntfs_mapping_pairs_decompress()814 rl = rl2; in ntfs_mapping_pairs_decompress()
340 #define nh_16_2(mp, kp, nw, rh, rl, rh2, rl2) \ argument343 nh_16(mp, ((kp)+2), nw, rh2, rl2); \351 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh2, rl2) \ argument354 nh_vmac_nhbytes(mp, ((kp)+2), nw, rh2, rl2); \