Lines Matching refs:swap_ra
651 struct vma_swap_readahead *swap_ra) in swap_readahead_detect() argument
668 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() argument
730 if (swap_ra->win == 1) in do_swap_page_readahead()
734 for (i = 0, pte = swap_ra->ptes; i < swap_ra->nr_pte; in do_swap_page_readahead()
750 if (i != swap_ra->offset && in do_swap_page_readahead()
762 swap_ra->win == 1); in do_swap_page_readahead()