Lines Matching refs:lend
268 * @lend: offset to which to truncate (inclusive)
272 * if lstart or lend + 1 is not page aligned).
285 * truncate_inode_pages_range is able to handle cases where lend + 1 is not
289 loff_t lstart, loff_t lend)
305 partial_end = (lend + 1) & (PAGE_SIZE - 1);
311 * Note that 'end' is exclusive while 'lend' is inclusive.
314 if (lend == -1)
316 * lend == -1 indicates end-of-file so we have to set 'end'
322 end = (lend + 1) >> PAGE_SHIFT;
918 * @lend: offset of last byte of hole
927 void truncate_pagecache_range(struct inode *inode, loff_t lstart, loff_t lend)
931 loff_t unmap_end = round_down(1 + lend, PAGE_SIZE) - 1;
937 * allows holelen 0 for all, and we allow lend -1 for end of file.
948 truncate_inode_pages_range(mapping, lstart, lend);