Searched refs:swap_ra (Results 1 – 2 of 2) sorted by relevance
651 struct vma_swap_readahead *swap_ra) in swap_readahead_detect() argument668 swap_ra->win = 1; in swap_readahead_detect()685 swap_ra->win = win = __swapin_nr_pages(pfn, fpfn, hits, in swap_readahead_detect()704 swap_ra->nr_pte = end - start; in swap_readahead_detect()705 swap_ra->offset = fpfn - start; in swap_readahead_detect()706 pte = vmf->pte - swap_ra->offset; in swap_readahead_detect()708 swap_ra->ptes = pte; in swap_readahead_detect()710 tpte = swap_ra->ptes; in swap_readahead_detect()720 struct vma_swap_readahead *swap_ra) in do_swap_page_readahead() argument730 if (swap_ra->win == 1) in do_swap_page_readahead()[all …]
2877 struct vma_swap_readahead swap_ra; in do_swap_page() local2886 page = swap_readahead_detect(vmf, &swap_ra); in do_swap_page()2921 GFP_HIGHUSER_MOVABLE, vmf, &swap_ra); in do_swap_page()