Lines Matching refs:hits
54 #define SWAP_RA_VAL(addr, win, hits) \
57 ((hits) & SWAP_RA_HITS_MASK))
59 /* Initial readahead hits is 4 to start up with a small window */
368 int win, hits;
372 hits = SWAP_RA_HITS(ra_val);
374 hits = min_t(int, hits + 1, SWAP_RA_HITS_MAX);
376 SWAP_RA_VAL(addr, win, hits));
573 int hits,
584 pages = hits + 2;
587 * We can have no readahead hits to judge by: but must not get
614 unsigned int hits, pages, max_pages;
621 hits = atomic_xchg(&swapin_readahead_hits, 0);
622 pages = __swapin_nr_pages(READ_ONCE(prev_offset), offset, hits,
625 if (!hits)
756 unsigned int max_win, hits, prev_win, win;
770 hits = SWAP_RA_HITS(ra_val);
771 ra_info->win = win = __swapin_nr_pages(pfn, fpfn, hits,