Home
last modified time | relevance | path

Searched refs:win (Results 1 – 1 of 1) sorted by relevance

/mm/
Dswap_state.c53 #define SWAP_RA_VAL(addr, win, hits) \ argument
55 (((win) << SWAP_RA_WIN_SHIFT) & SWAP_RA_WIN_MASK) | \
339 int win, hits; in lookup_swap_cache() local
342 win = SWAP_RA_WIN(ra_val); in lookup_swap_cache()
347 SWAP_RA_VAL(addr, win, hits)); in lookup_swap_cache()
652 unsigned int max_win, hits, prev_win, win, left; in swap_ra_info() local
660 ra_info->win = 1; in swap_ra_info()
677 ra_info->win = win = __swapin_nr_pages(pfn, fpfn, hits, in swap_ra_info()
680 SWAP_RA_VAL(faddr, win, 0)); in swap_ra_info()
682 if (win == 1) { in swap_ra_info()
[all …]