Home
last modified time | relevance | path

Searched refs:mp_size (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/ntfs/
Dattrib.c1558 int mp_size, mp_ofs, name_ofs, arec_size, err, err2; in ntfs_attr_make_non_resident() local
1610 mp_size = ntfs_get_size_for_mapping_pairs(vol, rl, 0, -1); in ntfs_attr_make_non_resident()
1611 if (unlikely(mp_size < 0)) { in ntfs_attr_make_non_resident()
1612 err = mp_size; in ntfs_attr_make_non_resident()
1661 arec_size = (mp_ofs + mp_size + 7) & ~7; in ntfs_attr_make_non_resident()
1927 int err, mp_size; in ntfs_attr_extend_allocation() local
2277 mp_size = ntfs_get_size_for_mapping_pairs(vol, rl2, ll, -1); in ntfs_attr_extend_allocation()
2278 if (unlikely(mp_size <= 0)) { in ntfs_attr_extend_allocation()
2279 err = mp_size; in ntfs_attr_extend_allocation()
2292 err = ntfs_attr_record_resize(m, a, mp_size + in ntfs_attr_extend_allocation()
[all …]
Dmft.c1284 int ret, mp_size; in ntfs_mft_bitmap_extend_allocation_nolock() local
1415 mp_size = ntfs_get_size_for_mapping_pairs(vol, rl2, ll, -1); in ntfs_mft_bitmap_extend_allocation_nolock()
1416 if (unlikely(mp_size <= 0)) { in ntfs_mft_bitmap_extend_allocation_nolock()
1419 ret = mp_size; in ntfs_mft_bitmap_extend_allocation_nolock()
1426 ret = ntfs_attr_record_resize(ctx->mrec, a, mp_size + in ntfs_mft_bitmap_extend_allocation_nolock()
1449 mp_size, rl2, ll, -1, NULL); in ntfs_mft_bitmap_extend_allocation_nolock()
1720 int ret, mp_size; in ntfs_mft_data_extend_allocation_nolock() local
1847 mp_size = ntfs_get_size_for_mapping_pairs(vol, rl2, ll, -1); in ntfs_mft_data_extend_allocation_nolock()
1848 if (unlikely(mp_size <= 0)) { in ntfs_mft_data_extend_allocation_nolock()
1851 ret = mp_size; in ntfs_mft_data_extend_allocation_nolock()
[all …]
Dfile.c582 int err, mp_size; in ntfs_prepare_pages_for_non_resident_write() local
1053 mp_size = ntfs_get_size_for_mapping_pairs(vol, rl2, vcn, in ntfs_prepare_pages_for_non_resident_write()
1055 if (unlikely(mp_size <= 0)) { in ntfs_prepare_pages_for_non_resident_write()
1056 if (!(err = mp_size)) in ntfs_prepare_pages_for_non_resident_write()
1067 err = ntfs_attr_record_resize(m, a, mp_size + le16_to_cpu( in ntfs_prepare_pages_for_non_resident_write()
1097 mp_size, rl2, vcn, highest_vcn, NULL); in ntfs_prepare_pages_for_non_resident_write()
Dinode.c2366 int err, mp_size, size_change, alloc_change; in ntfs_truncate() local
2725 mp_size = ntfs_get_size_for_mapping_pairs(vol, ni->runlist.rl, 0, -1); in ntfs_truncate()
2726 if (unlikely(mp_size <= 0)) { in ntfs_truncate()
2731 (unsigned)le32_to_cpu(ni->type), mp_size, es); in ntfs_truncate()
2740 err = ntfs_attr_record_resize(m, a, mp_size + in ntfs_truncate()
2748 mp_size, ni->runlist.rl, 0, -1, NULL); in ntfs_truncate()