/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | mft.c | 1280 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() 1716 runlist_element *rl, *rl2; ntfs_mft_data_extend_allocation_nolock() local [all...] |
H A D | file.c | 581 runlist_element *rl, *rl2; in ntfs_prepare_pages_for_non_resident_write() local 974 rl2 = rl; in ntfs_prepare_pages_for_non_resident_write() 975 while (--rl2 >= ni->runlist.rl) { in ntfs_prepare_pages_for_non_resident_write() 976 if (rl2->lcn >= 0) { in ntfs_prepare_pages_for_non_resident_write() 977 lcn = rl2->lcn + rl2->length; in ntfs_prepare_pages_for_non_resident_write() 981 rl2 = ntfs_cluster_alloc(vol, bh_cpos, 1, lcn, DATA_ZONE, in ntfs_prepare_pages_for_non_resident_write() 983 if (IS_ERR(rl2)) { in ntfs_prepare_pages_for_non_resident_write() 984 err = PTR_ERR(rl2); in ntfs_prepare_pages_for_non_resident_write() 989 lcn = rl2 in ntfs_prepare_pages_for_non_resident_write() [all...] |
H A D | attrib.c | 1925 runlist_element *rl, *rl2; in ntfs_attr_extend_allocation() local 2229 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 in ntfs_attr_extend_allocation() [all...] |
H A D | lcnalloc.c | 321 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()
|
H A D | super.c | 1079 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[ in check_mft_mirror() [all...] |
H A D | runlist.c | 791 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()
|
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | mft.c | 1280 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() 1716 runlist_element *rl, *rl2; ntfs_mft_data_extend_allocation_nolock() local [all...] |
H A D | file.c | 574 runlist_element *rl, *rl2; in ntfs_prepare_pages_for_non_resident_write() local 967 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 in ntfs_prepare_pages_for_non_resident_write() [all...] |
H A D | attrib.c | 1925 runlist_element *rl, *rl2; in ntfs_attr_extend_allocation() local 2229 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 in ntfs_attr_extend_allocation() [all...] |
H A D | lcnalloc.c | 321 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()
|
H A D | super.c | 1087 runlist_element *rl, rl2[2]; in check_mft_mirror() local 1174 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[ in check_mft_mirror() [all...] |
H A D | runlist.c | 791 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()
|
/kernel/linux/linux-5.10/crypto/ |
H A D | vmac.c | 340 #define nh_16_2(mp, kp, nw, rh, rl, rh2, rl2) \ 343 nh_16(mp, ((kp)+2), nw, rh2, rl2); \ 351 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh2, rl2) \ 354 nh_vmac_nhbytes(mp, ((kp)+2), nw, rh2, rl2); \
|
/kernel/linux/linux-6.6/crypto/ |
H A D | vmac.c | 341 #define nh_16_2(mp, kp, nw, rh, rl, rh2, rl2) \ 344 nh_16(mp, ((kp)+2), nw, rh2, rl2); \ 352 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh2, rl2) \ 355 nh_vmac_nhbytes(mp, ((kp)+2), nw, rh2, rl2); \
|