Lines Matching defs:end
103 wait_queue_head_t *waitq; /* faults into hole wait for punch to end */
584 /* No huge page at the end of the file: nothing to split */
786 pgoff_t start, pgoff_t end)
793 xas_for_each(&xas, page, end - 1) {
886 static bool shmem_punch_compound(struct page *page, pgoff_t start, pgoff_t end)
893 page->index >= start && page->index + HPAGE_PMD_NR <= end)
910 pgoff_t end = (lend + 1) >> PAGE_SHIFT;
920 end = -1; /* unsigned, so actually very big */
924 while (index < end) {
926 min(end - index, (pgoff_t)PAGEVEC_SIZE),
934 if (index >= end)
953 if (shmem_punch_compound(page, start, end))
969 if (start > end) {
981 shmem_getpage(inode, end, &page, SGP_READ);
989 if (start >= end)
993 while (index < end) {
997 min(end - index, (pgoff_t)PAGEVEC_SIZE),
1001 if (index == start || end != -1)
1011 if (index >= end)
1036 if (shmem_punch_compound(page, start, end))
2687 pgoff_t index, pgoff_t end, int whence)
2702 index = end;
2718 if (index >= end ||
2737 pgoff_t start, end;
2750 end = (inode->i_size + PAGE_SIZE - 1) >> PAGE_SHIFT;
2751 new_offset = shmem_seek_hole_data(mapping, start, end, whence);
2776 pgoff_t start, index, end;
2829 end = (offset + len + PAGE_SIZE - 1) >> PAGE_SHIFT;
2831 if (sbinfo->max_blocks && end - start > sbinfo->max_blocks) {
2845 for (index = start; index < end; index++) {