Lines Matching refs:mp_size
1609 int mp_size, l; in replace_attribute_runlist() local
1623 if ((mp_size = ntfs_get_size_for_mapping_pairs(vol, rl, 0, INT_MAX)) == -1) in replace_attribute_runlist()
1639 if (mp_size > l) { in replace_attribute_runlist()
1645 mp_size = (mp_size + 7) & ~7; in replace_attribute_runlist()
1648 ntfs_log_verbose("New mp size : %d\n", mp_size); in replace_attribute_runlist()
1653 l = mp_size - l; in replace_attribute_runlist()
1682 mp = ntfs_calloc(mp_size); in replace_attribute_runlist()
1686 if (ntfs_mapping_pairs_build(vol, (u8*)mp, mp_size, rl, 0, NULL)) in replace_attribute_runlist()
1689 memmove((u8*)a + le16_to_cpu(a->mapping_pairs_offset), mp, mp_size); in replace_attribute_runlist()
3909 int mp_size; in update_runlist() local
3918 if ((mp_size = ntfs_get_size_for_mapping_pairs(vol, rl, in update_runlist()
3935 if (mp_size > l) { in update_runlist()
3941 mp_size = (mp_size + 7) & ~7; in update_runlist()
3944 ntfs_log_verbose("New mp size : %d\n", mp_size); in update_runlist()
3949 l = mp_size - l; in update_runlist()
3984 mp = ntfs_calloc(mp_size); in update_runlist()
3988 if (ntfs_mapping_pairs_build(vol, (u8*)mp, mp_size, rl, 0, NULL)) in update_runlist()
3991 memmove((u8*)a + le16_to_cpu(a->mapping_pairs_offset), mp, mp_size); in update_runlist()