Lines Matching refs:runlist

1485 int ntfs_rl_truncate_nolock(const ntfs_volume *vol, runlist *const runlist,  in ntfs_rl_truncate_nolock()  argument
1492 BUG_ON(!runlist); in ntfs_rl_truncate_nolock()
1494 rl = runlist->rl; in ntfs_rl_truncate_nolock()
1497 runlist->rl = NULL; in ntfs_rl_truncate_nolock()
1513 runlist->rl = rl; in ntfs_rl_truncate_nolock()
1537 old_size = trl - runlist->rl + 1; in ntfs_rl_truncate_nolock()
1555 int new_size = rl - runlist->rl + 1; in ntfs_rl_truncate_nolock()
1556 rl = ntfs_rl_realloc(runlist->rl, old_size, new_size); in ntfs_rl_truncate_nolock()
1564 runlist->rl = rl; in ntfs_rl_truncate_nolock()
1573 if ((rl > runlist->rl) && ((rl - 1)->lcn == LCN_HOLE)) 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()
1586 runlist->rl = rl; in ntfs_rl_truncate_nolock()
1630 int ntfs_rl_punch_nolock(const ntfs_volume *vol, runlist *const runlist, in ntfs_rl_punch_nolock() argument
1641 BUG_ON(!runlist); in ntfs_rl_punch_nolock()
1645 rl = runlist->rl; in ntfs_rl_punch_nolock()
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()
1722 runlist->rl = rl; in ntfs_rl_punch_nolock()
1743 if (rl > runlist->rl && (rl - 1)->lcn == LCN_HOLE) { in ntfs_rl_punch_nolock()
1758 trl = ntfs_rl_realloc(runlist->rl, old_size, old_size + 1); in ntfs_rl_punch_nolock()
1762 if (runlist->rl != trl) { in ntfs_rl_punch_nolock()
1763 rl = trl + (rl - runlist->rl); in ntfs_rl_punch_nolock()
1764 rl_end = trl + (rl_end - runlist->rl); in ntfs_rl_punch_nolock()
1765 rl_real_end = trl + (rl_real_end - runlist->rl); in ntfs_rl_punch_nolock()
1766 runlist->rl = trl; in ntfs_rl_punch_nolock()
1828 trl = ntfs_rl_realloc(runlist->rl, old_size, old_size + 1); in ntfs_rl_punch_nolock()
1832 if (runlist->rl != trl) { in ntfs_rl_punch_nolock()
1833 rl = trl + (rl - runlist->rl); in ntfs_rl_punch_nolock()
1834 rl_end = trl + (rl_end - runlist->rl); in ntfs_rl_punch_nolock()
1835 rl_real_end = trl + (rl_real_end - runlist->rl); in ntfs_rl_punch_nolock()
1836 runlist->rl = trl; in ntfs_rl_punch_nolock()
1863 trl = ntfs_rl_realloc(runlist->rl, old_size, old_size + 2); in ntfs_rl_punch_nolock()
1867 if (runlist->rl != trl) { in ntfs_rl_punch_nolock()
1868 rl = trl + (rl - runlist->rl); in ntfs_rl_punch_nolock()
1869 rl_end = trl + (rl_end - runlist->rl); in ntfs_rl_punch_nolock()
1870 rl_real_end = trl + (rl_real_end - runlist->rl); in ntfs_rl_punch_nolock()
1871 runlist->rl = trl; in ntfs_rl_punch_nolock()