Searched refs:rl2 (Results 1 – 6 of 6) sorted by relevance
/fs/ntfs/ |
D | mft.c | 1285 runlist_element *rl, *rl2 = NULL; in ntfs_mft_bitmap_extend_allocation_nolock() local 1356 rl2 = ntfs_cluster_alloc(vol, rl[1].vcn, 1, lcn, DATA_ZONE, in ntfs_mft_bitmap_extend_allocation_nolock() 1358 if (IS_ERR(rl2)) { in ntfs_mft_bitmap_extend_allocation_nolock() 1362 return PTR_ERR(rl2); in ntfs_mft_bitmap_extend_allocation_nolock() 1364 rl = ntfs_runlists_merge(mftbmp_ni->runlist.rl, rl2); in ntfs_mft_bitmap_extend_allocation_nolock() 1369 if (ntfs_cluster_free_from_rl(vol, rl2)) { in ntfs_mft_bitmap_extend_allocation_nolock() 1374 ntfs_free(rl2); in ntfs_mft_bitmap_extend_allocation_nolock() 1413 for (rl2 = rl; rl2 > mftbmp_ni->runlist.rl; rl2--) { in ntfs_mft_bitmap_extend_allocation_nolock() 1414 if (ll >= rl2->vcn) in ntfs_mft_bitmap_extend_allocation_nolock() 1417 BUG_ON(ll < rl2->vcn); in ntfs_mft_bitmap_extend_allocation_nolock() [all …]
|
D | file.c | 502 runlist_element *rl, *rl2; in ntfs_prepare_pages_for_non_resident_write() local 896 rl2 = rl; in ntfs_prepare_pages_for_non_resident_write() 897 while (--rl2 >= ni->runlist.rl) { in ntfs_prepare_pages_for_non_resident_write() 898 if (rl2->lcn >= 0) { in ntfs_prepare_pages_for_non_resident_write() 899 lcn = rl2->lcn + rl2->length; in ntfs_prepare_pages_for_non_resident_write() 903 rl2 = ntfs_cluster_alloc(vol, bh_cpos, 1, lcn, DATA_ZONE, in ntfs_prepare_pages_for_non_resident_write() 905 if (IS_ERR(rl2)) { in ntfs_prepare_pages_for_non_resident_write() 906 err = PTR_ERR(rl2); in ntfs_prepare_pages_for_non_resident_write() 911 lcn = rl2->lcn; in ntfs_prepare_pages_for_non_resident_write() 912 rl = ntfs_runlists_merge(ni->runlist.rl, rl2); in ntfs_prepare_pages_for_non_resident_write() [all …]
|
D | attrib.c | 1915 runlist_element *rl, *rl2; in ntfs_attr_extend_allocation() local 2219 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 …]
|
D | lcnalloc.c | 335 runlist_element *rl2; in ntfs_cluster_alloc() local 343 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()
|
D | super.c | 1063 runlist_element *rl, rl2[2]; in check_mft_mirror() local 1150 rl2[0].vcn = 0; in check_mft_mirror() 1151 rl2[0].lcn = vol->mftmirr_lcn; in check_mft_mirror() 1152 rl2[0].length = (vol->mftmirr_size * vol->mft_record_size + in check_mft_mirror() 1154 rl2[1].vcn = rl2[0].length; in check_mft_mirror() 1155 rl2[1].lcn = LCN_ENOENT; in check_mft_mirror() 1156 rl2[1].length = 0; in check_mft_mirror() 1167 if (rl2[i].vcn != rl[i].vcn || rl2[i].lcn != rl[i].lcn || in check_mft_mirror() 1168 rl2[i].length != rl[i].length) { in check_mft_mirror() 1174 } while (rl2[i++].length); in check_mft_mirror()
|
D | runlist.c | 805 runlist_element *rl2; in ntfs_mapping_pairs_decompress() local 807 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()
|