Lines Matching refs:end

202  * folio that's within the [start, end] range, and then split the folio if
210 bool truncate_inode_partial_folio(struct folio *folio, loff_t start, loff_t end)
220 if (pos + length <= (u64)end)
223 length = end + 1 - pos - offset;
306 * truncate_inode_pages_range - truncate range of pages specified by start & end byte offsets
333 pgoff_t end; /* exclusive */
345 * 'start' and 'end' always covers the range of pages to be fully
347 * start of the range and 'partial_end' at the end of the range.
348 * Note that 'end' is exclusive while 'lend' is inclusive.
353 * lend == -1 indicates end-of-file so we have to set 'end'
357 end = -1;
359 end = (lend + 1) >> PAGE_SHIFT;
363 while (index < end && find_lock_entries(mapping, &index, end - 1,
382 end = folio->index;
394 end = folio->index;
401 while (index < end) {
403 if (!find_get_entries(mapping, &index, end - 1, &fbatch,
491 * @end: the offset 'to' which to invalidate (inclusive)
498 pgoff_t start, pgoff_t end, unsigned long *nr_failed)
508 while (find_lock_entries(mapping, &index, end, &fbatch, indices)) {
545 * @end: the offset 'to' which to invalidate (inclusive)
556 pgoff_t start, pgoff_t end)
558 return mapping_try_invalidate(mapping, start, end, NULL);
611 * @end: the page offset 'to' which to invalidate (inclusive)
619 pgoff_t start, pgoff_t end)
634 while (find_get_entries(mapping, &index, end, &fbatch, indices)) {
653 (1 + end - indices[i]), false);
690 unmap_mapping_pages(mapping, start, end - start + 1, false);
844 * allows holelen 0 for all, and we allow lend -1 for end of file.