Lines Matching defs:max_scan
1762 * @max_scan: Maximum range to search.
1764 * Search the range [index, min(index + max_scan - 1, ULONG_MAX)] for the
1774 * range specified (in which case 'return - index >= max_scan' will be true).
1778 pgoff_t index, unsigned long max_scan)
1781 unsigned long nr = max_scan;
1791 return index + max_scan;
1799 * @max_scan: Maximum range to search.
1801 * Search the range [max(index - max_scan + 1, 0), index] for the
1811 * range specified (in which case 'index - return >= max_scan' will be true).
1815 pgoff_t index, unsigned long max_scan)
1819 while (max_scan--) {