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 */
397 int win, hits;
401 hits = SWAP_RA_HITS(ra_val);
403 hits = min_t(int, hits + 1, SWAP_RA_HITS_MAX);
405 SWAP_RA_VAL(addr, win, hits));
572 int hits,
583 pages = hits + 2;
586 * We can have no readahead hits to judge by: but must not get
613 unsigned int hits, pages, max_pages;
620 hits = atomic_xchg(&swapin_readahead_hits, 0);
621 pages = __swapin_nr_pages(READ_ONCE(prev_offset), offset, hits,
624 if (!hits)
759 unsigned int max_win, hits, prev_win, win, left;
783 hits = SWAP_RA_HITS(ra_val);
784 ra_info->win = win = __swapin_nr_pages(pfn, fpfn, hits,