Home
last modified time | relevance | path

Searched refs:rl2 (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/fs/ntfs/
Dmft.c1280 runlist_element *rl, *rl2 = NULL; in ntfs_mft_bitmap_extend_allocation_nolock() local
1351 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 …]
Dfile.c578 runlist_element *rl, *rl2; in ntfs_prepare_pages_for_non_resident_write() local
971 rl2 = rl; in ntfs_prepare_pages_for_non_resident_write()
972 while (--rl2 >= ni->runlist.rl) { in ntfs_prepare_pages_for_non_resident_write()
973 if (rl2->lcn >= 0) { in ntfs_prepare_pages_for_non_resident_write()
974 lcn = rl2->lcn + rl2->length; in ntfs_prepare_pages_for_non_resident_write()
978 rl2 = ntfs_cluster_alloc(vol, bh_cpos, 1, lcn, DATA_ZONE, in ntfs_prepare_pages_for_non_resident_write()
980 if (IS_ERR(rl2)) { in ntfs_prepare_pages_for_non_resident_write()
981 err = PTR_ERR(rl2); in ntfs_prepare_pages_for_non_resident_write()
986 lcn = rl2->lcn; in ntfs_prepare_pages_for_non_resident_write()
987 rl = ntfs_runlists_merge(ni->runlist.rl, rl2); in ntfs_prepare_pages_for_non_resident_write()
[all …]
Dlcnalloc.c321 runlist_element *rl2; in ntfs_cluster_alloc() local
329 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()
Dattrib.c1901 runlist_element *rl, *rl2; in ntfs_attr_extend_allocation() local
2205 rl2 = ntfs_cluster_alloc(vol, allocated_size >> vol->cluster_size_bits, in ntfs_attr_extend_allocation()
2209 if (IS_ERR(rl2)) { in ntfs_attr_extend_allocation()
2210 err = PTR_ERR(rl2); in ntfs_attr_extend_allocation()
2221 rl = ntfs_runlists_merge(ni->runlist.rl, rl2); in ntfs_attr_extend_allocation()
2232 if (ntfs_cluster_free_from_rl(vol, rl2)) { in ntfs_attr_extend_allocation()
2239 ntfs_free(rl2); in ntfs_attr_extend_allocation()
2247 rl2 = ntfs_rl_find_vcn_nolock(rl, ll); in ntfs_attr_extend_allocation()
2248 BUG_ON(!rl2); in ntfs_attr_extend_allocation()
2249 BUG_ON(!rl2->length); in ntfs_attr_extend_allocation()
[all …]
Dsuper.c1079 runlist_element *rl, rl2[2]; in check_mft_mirror() local
1166 rl2[0].vcn = 0; in check_mft_mirror()
1167 rl2[0].lcn = vol->mftmirr_lcn; in check_mft_mirror()
1168 rl2[0].length = (vol->mftmirr_size * vol->mft_record_size + in check_mft_mirror()
1170 rl2[1].vcn = rl2[0].length; in check_mft_mirror()
1171 rl2[1].lcn = LCN_ENOENT; in check_mft_mirror()
1172 rl2[1].length = 0; in check_mft_mirror()
1183 if (rl2[i].vcn != rl[i].vcn || rl2[i].lcn != rl[i].lcn || in check_mft_mirror()
1184 rl2[i].length != rl[i].length) { in check_mft_mirror()
1190 } while (rl2[i++].length); in check_mft_mirror()
Drunlist.c791 runlist_element *rl2; in ntfs_mapping_pairs_decompress() local
793 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()
/Linux-v5.15/crypto/
Dvmac.c341 #define nh_16_2(mp, kp, nw, rh, rl, rh2, rl2) \ argument
344 nh_16(mp, ((kp)+2), nw, rh2, rl2); \
352 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh2, rl2) \ argument
355 nh_vmac_nhbytes(mp, ((kp)+2), nw, rh2, rl2); \