Home
last modified time | relevance | path

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

/Linux-v5.10/fs/ntfs/
Dattrib.c1534 int mp_size, mp_ofs, name_ofs, arec_size, err, err2; in ntfs_attr_make_non_resident() local
1586 mp_size = ntfs_get_size_for_mapping_pairs(vol, rl, 0, -1); in ntfs_attr_make_non_resident()
1587 if (unlikely(mp_size < 0)) { in ntfs_attr_make_non_resident()
1588 err = mp_size; in ntfs_attr_make_non_resident()
1637 arec_size = (mp_ofs + mp_size + 7) & ~7; in ntfs_attr_make_non_resident()
1903 int err, mp_size; in ntfs_attr_extend_allocation() local
2253 mp_size = ntfs_get_size_for_mapping_pairs(vol, rl2, ll, -1); in ntfs_attr_extend_allocation()
2254 if (unlikely(mp_size <= 0)) { in ntfs_attr_extend_allocation()
2255 err = mp_size; in ntfs_attr_extend_allocation()
2268 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.c589 int err, mp_size; in ntfs_prepare_pages_for_non_resident_write() local
1060 mp_size = ntfs_get_size_for_mapping_pairs(vol, rl2, vcn, in ntfs_prepare_pages_for_non_resident_write()
1062 if (unlikely(mp_size <= 0)) { in ntfs_prepare_pages_for_non_resident_write()
1063 if (!(err = mp_size)) in ntfs_prepare_pages_for_non_resident_write()
1074 err = ntfs_attr_record_resize(m, a, mp_size + le16_to_cpu( in ntfs_prepare_pages_for_non_resident_write()
1104 mp_size, rl2, vcn, highest_vcn, NULL); in ntfs_prepare_pages_for_non_resident_write()
Dinode.c2349 int err, mp_size, size_change, alloc_change; in ntfs_truncate() local
2709 mp_size = ntfs_get_size_for_mapping_pairs(vol, ni->runlist.rl, 0, -1); in ntfs_truncate()
2710 if (unlikely(mp_size <= 0)) { in ntfs_truncate()
2715 (unsigned)le32_to_cpu(ni->type), mp_size, es); in ntfs_truncate()
2725 err = ntfs_attr_record_resize(m, a, mp_size + in ntfs_truncate()
2733 mp_size, ni->runlist.rl, 0, -1, NULL); in ntfs_truncate()