Lines Matching refs:old_size

61 		int old_size, int new_size)  in ntfs_rl_realloc()  argument
65 old_size = PAGE_ALIGN(old_size * sizeof(*rl)); in ntfs_rl_realloc()
67 if (old_size == new_size) in ntfs_rl_realloc()
75 if (unlikely(old_size > new_size)) in ntfs_rl_realloc()
76 old_size = new_size; in ntfs_rl_realloc()
77 memcpy(new_rl, rl, old_size); in ntfs_rl_realloc()
107 int old_size, int new_size) in ntfs_rl_realloc_nofail() argument
111 old_size = PAGE_ALIGN(old_size * sizeof(*rl)); in ntfs_rl_realloc_nofail()
113 if (old_size == new_size) in ntfs_rl_realloc_nofail()
120 if (unlikely(old_size > new_size)) in ntfs_rl_realloc_nofail()
121 old_size = new_size; in ntfs_rl_realloc_nofail()
122 memcpy(new_rl, rl, old_size); in ntfs_rl_realloc_nofail()
1489 int old_size; in ntfs_rl_truncate_nolock() local
1537 old_size = trl - runlist->rl + 1; in ntfs_rl_truncate_nolock()
1556 rl = ntfs_rl_realloc(runlist->rl, old_size, new_size); in ntfs_rl_truncate_nolock()
1577 old_size = rl - runlist->rl + 1; in ntfs_rl_truncate_nolock()
1579 rl = ntfs_rl_realloc(runlist->rl, old_size, in ntfs_rl_truncate_nolock()
1580 old_size + 1); in ntfs_rl_truncate_nolock()
1591 rl += old_size - 1; in ntfs_rl_truncate_nolock()
1636 int old_size; in ntfs_rl_punch_nolock() local
1676 old_size = rl_real_end - runlist->rl + 1; in ntfs_rl_punch_nolock()
1713 rl = ntfs_rl_realloc(runlist->rl, old_size, in ntfs_rl_punch_nolock()
1714 old_size - (rl_end - rl)); in ntfs_rl_punch_nolock()
1758 trl = ntfs_rl_realloc(runlist->rl, old_size, old_size + 1); in ntfs_rl_punch_nolock()
1761 old_size++; in ntfs_rl_punch_nolock()
1828 trl = ntfs_rl_realloc(runlist->rl, old_size, old_size + 1); in ntfs_rl_punch_nolock()
1831 old_size++; in ntfs_rl_punch_nolock()
1863 trl = ntfs_rl_realloc(runlist->rl, old_size, old_size + 2); in ntfs_rl_punch_nolock()
1866 old_size += 2; in ntfs_rl_punch_nolock()