Lines Matching refs:runlist

1499 int ntfs_rl_truncate_nolock(const ntfs_volume *vol, runlist *const runlist,  in ntfs_rl_truncate_nolock()  argument
1506 BUG_ON(!runlist); in ntfs_rl_truncate_nolock()
1508 rl = runlist->rl; in ntfs_rl_truncate_nolock()
1511 runlist->rl = NULL; in ntfs_rl_truncate_nolock()
1527 runlist->rl = rl; in ntfs_rl_truncate_nolock()
1551 old_size = trl - runlist->rl + 1; in ntfs_rl_truncate_nolock()
1569 int new_size = rl - runlist->rl + 1; in ntfs_rl_truncate_nolock()
1570 rl = ntfs_rl_realloc(runlist->rl, old_size, new_size); in ntfs_rl_truncate_nolock()
1578 runlist->rl = rl; in ntfs_rl_truncate_nolock()
1587 if ((rl > runlist->rl) && ((rl - 1)->lcn == LCN_HOLE)) in ntfs_rl_truncate_nolock()
1591 old_size = rl - runlist->rl + 1; in ntfs_rl_truncate_nolock()
1593 rl = ntfs_rl_realloc(runlist->rl, old_size, in ntfs_rl_truncate_nolock()
1600 runlist->rl = rl; in ntfs_rl_truncate_nolock()
1644 int ntfs_rl_punch_nolock(const ntfs_volume *vol, runlist *const runlist, in ntfs_rl_punch_nolock() argument
1655 BUG_ON(!runlist); in ntfs_rl_punch_nolock()
1659 rl = runlist->rl; in ntfs_rl_punch_nolock()
1690 old_size = rl_real_end - runlist->rl + 1; in ntfs_rl_punch_nolock()
1727 rl = ntfs_rl_realloc(runlist->rl, old_size, in ntfs_rl_punch_nolock()
1736 runlist->rl = rl; in ntfs_rl_punch_nolock()
1757 if (rl > runlist->rl && (rl - 1)->lcn == LCN_HOLE) { in ntfs_rl_punch_nolock()
1772 trl = ntfs_rl_realloc(runlist->rl, old_size, old_size + 1); in ntfs_rl_punch_nolock()
1776 if (runlist->rl != trl) { in ntfs_rl_punch_nolock()
1777 rl = trl + (rl - runlist->rl); in ntfs_rl_punch_nolock()
1778 rl_end = trl + (rl_end - runlist->rl); in ntfs_rl_punch_nolock()
1779 rl_real_end = trl + (rl_real_end - runlist->rl); in ntfs_rl_punch_nolock()
1780 runlist->rl = trl; in ntfs_rl_punch_nolock()
1842 trl = ntfs_rl_realloc(runlist->rl, old_size, old_size + 1); in ntfs_rl_punch_nolock()
1846 if (runlist->rl != trl) { in ntfs_rl_punch_nolock()
1847 rl = trl + (rl - runlist->rl); in ntfs_rl_punch_nolock()
1848 rl_end = trl + (rl_end - runlist->rl); in ntfs_rl_punch_nolock()
1849 rl_real_end = trl + (rl_real_end - runlist->rl); in ntfs_rl_punch_nolock()
1850 runlist->rl = trl; in ntfs_rl_punch_nolock()
1877 trl = ntfs_rl_realloc(runlist->rl, old_size, old_size + 2); in ntfs_rl_punch_nolock()
1881 if (runlist->rl != trl) { in ntfs_rl_punch_nolock()
1882 rl = trl + (rl - runlist->rl); in ntfs_rl_punch_nolock()
1883 rl_end = trl + (rl_end - runlist->rl); in ntfs_rl_punch_nolock()
1884 rl_real_end = trl + (rl_real_end - runlist->rl); in ntfs_rl_punch_nolock()
1885 runlist->rl = trl; in ntfs_rl_punch_nolock()