Lines Matching refs:hits
52 #define SWAP_RA_VAL(addr, win, hits) \
55 ((hits) & SWAP_RA_HITS_MASK))
57 /* Initial readahead hits is 4 to start up with a small window */
351 int win, hits;
355 hits = SWAP_RA_HITS(ra_val);
357 hits = min_t(int, hits + 1, SWAP_RA_HITS_MAX);
359 SWAP_RA_VAL(addr, win, hits));
543 int hits,
554 pages = hits + 2;
557 * We can have no readahead hits to judge by: but must not get
584 unsigned int hits, pages, max_pages;
591 hits = atomic_xchg(&swapin_readahead_hits, 0);
592 pages = __swapin_nr_pages(READ_ONCE(prev_offset), offset, hits,
595 if (!hits)
723 unsigned int max_win, hits, prev_win, win;
737 hits = SWAP_RA_HITS(ra_val);
738 ra_info->win = win = __swapin_nr_pages(pfn, fpfn, hits,