Searched refs:mp_size (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/fs/ntfs/ |
D | attrib.c | 1548 int mp_size, mp_ofs, name_ofs, arec_size, err, err2; in ntfs_attr_make_non_resident() local 1600 mp_size = ntfs_get_size_for_mapping_pairs(vol, rl, 0, -1); in ntfs_attr_make_non_resident() 1601 if (unlikely(mp_size < 0)) { in ntfs_attr_make_non_resident() 1602 err = mp_size; in ntfs_attr_make_non_resident() 1651 arec_size = (mp_ofs + mp_size + 7) & ~7; in ntfs_attr_make_non_resident() 1917 int err, mp_size; in ntfs_attr_extend_allocation() local 2267 mp_size = ntfs_get_size_for_mapping_pairs(vol, rl2, ll, -1); in ntfs_attr_extend_allocation() 2268 if (unlikely(mp_size <= 0)) { in ntfs_attr_extend_allocation() 2269 err = mp_size; in ntfs_attr_extend_allocation() 2282 err = ntfs_attr_record_resize(m, a, mp_size + in ntfs_attr_extend_allocation() [all …]
|
D | mft.c | 1298 int ret, mp_size; in ntfs_mft_bitmap_extend_allocation_nolock() local 1429 mp_size = ntfs_get_size_for_mapping_pairs(vol, rl2, ll, -1); in ntfs_mft_bitmap_extend_allocation_nolock() 1430 if (unlikely(mp_size <= 0)) { in ntfs_mft_bitmap_extend_allocation_nolock() 1433 ret = mp_size; in ntfs_mft_bitmap_extend_allocation_nolock() 1440 ret = ntfs_attr_record_resize(ctx->mrec, a, mp_size + in ntfs_mft_bitmap_extend_allocation_nolock() 1463 mp_size, rl2, ll, -1, NULL); in ntfs_mft_bitmap_extend_allocation_nolock() 1734 int ret, mp_size; in ntfs_mft_data_extend_allocation_nolock() local 1861 mp_size = ntfs_get_size_for_mapping_pairs(vol, rl2, ll, -1); in ntfs_mft_data_extend_allocation_nolock() 1862 if (unlikely(mp_size <= 0)) { in ntfs_mft_data_extend_allocation_nolock() 1865 ret = mp_size; in ntfs_mft_data_extend_allocation_nolock() [all …]
|
D | file.c | 603 int err, mp_size; in ntfs_prepare_pages_for_non_resident_write() local 1074 mp_size = ntfs_get_size_for_mapping_pairs(vol, rl2, vcn, in ntfs_prepare_pages_for_non_resident_write() 1076 if (unlikely(mp_size <= 0)) { in ntfs_prepare_pages_for_non_resident_write() 1077 if (!(err = mp_size)) in ntfs_prepare_pages_for_non_resident_write() 1088 err = ntfs_attr_record_resize(m, a, mp_size + le16_to_cpu( in ntfs_prepare_pages_for_non_resident_write() 1118 mp_size, rl2, vcn, highest_vcn, NULL); in ntfs_prepare_pages_for_non_resident_write()
|
D | inode.c | 2365 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() 2741 err = ntfs_attr_record_resize(m, a, mp_size + in ntfs_truncate() 2749 mp_size, ni->runlist.rl, 0, -1, NULL); in ntfs_truncate()
|