Lines Matching refs:ra_info
644 struct vma_swap_readahead *ra_info) in swap_ra_info() argument
660 ra_info->win = 1; in swap_ra_info()
677 ra_info->win = win = __swapin_nr_pages(pfn, fpfn, hits, in swap_ra_info()
698 ra_info->nr_pte = end - start; in swap_ra_info()
699 ra_info->offset = fpfn - start; in swap_ra_info()
700 pte -= ra_info->offset; in swap_ra_info()
702 ra_info->ptes = pte; in swap_ra_info()
704 tpte = ra_info->ptes; in swap_ra_info()
735 struct vma_swap_readahead ra_info = {0,}; in swap_vma_readahead() local
737 swap_ra_info(vmf, &ra_info); in swap_vma_readahead()
738 if (ra_info.win == 1) in swap_vma_readahead()
742 for (i = 0, pte = ra_info.ptes; i < ra_info.nr_pte; in swap_vma_readahead()
758 if (i != ra_info.offset) { in swap_vma_readahead()
769 ra_info.win == 1); in swap_vma_readahead()