| H A D | swap_state.c | 57 #define SWAP_RA_VAL(addr, win, hits) \ argument 60 ((hits) & SWAP_RA_HITS_MASK)) 62 /* Initial readahead hits is 4 to start up with a small window */ 455 int win, hits; in __read_swap_cache_async() 459 hits = SWAP_RA_HITS(ra_val); in __read_swap_cache_async() 461 hits = min_t(int, hits + 1, SWAP_RA_HITS_MAX); in __read_swap_cache_async() 463 SWAP_RA_VAL(addr, win, hits)); in __read_swap_cache_async() 644 int hits, in swap_cluster_readahead() 655 pages = hits in swap_cluster_readahead() 386 int win, hits; swap_update_readahead() local 540 __swapin_nr_pages(unsigned long prev_offset,unsigned long offset,int hits,int max_pages,int prev_win) __swapin_nr_pages() argument 581 unsigned int hits, pages, max_pages; swapin_nr_pages() local 677 unsigned int max_win, hits, prev_win, win; swap_vma_ra_win() local [all...] |