Lines Matching defs:max
477 pgoff_t max = end_byte >> PAGE_SHIFT;
484 folio = xas_find(&xas, max);
635 pgoff_t max = end_byte >> PAGE_SHIFT;
642 xas_for_each(&xas, folio, max) {
1754 * Search the range [max(index - max_scan + 1, 0), index] for the
1969 static inline struct folio *find_get_entry(struct xa_state *xas, pgoff_t max,
1976 folio = xas_find(xas, max);
1978 folio = xas_find_marked(xas, max, mark);
2330 pgoff_t index, pgoff_t max, struct folio_batch *fbatch)
2339 if (xas.xa_index > max || xa_is_value(folio))
3052 pgoff_t max = (end - 1) >> PAGE_SHIFT;
3060 while ((folio = find_get_entry(&xas, max, XA_PRESENT))) {
3992 iov_iter_revert(i, copied - max(status, 0L));