Lines Matching refs:offset
462 unsigned long offset, in __swapin_nr_pages() argument
481 if (offset != prev_offset + 1 && offset != prev_offset - 1) in __swapin_nr_pages()
501 static unsigned long swapin_nr_pages(unsigned long offset) in swapin_nr_pages() argument
512 pages = __swapin_nr_pages(prev_offset, offset, hits, max_pages, in swapin_nr_pages()
515 prev_offset = offset; in swapin_nr_pages()
544 unsigned long offset = entry_offset; in swap_cluster_readahead() local
553 mask = swapin_nr_pages(offset) - 1; in swap_cluster_readahead()
566 start_offset = offset & ~mask; in swap_cluster_readahead()
567 end_offset = offset | mask; in swap_cluster_readahead()
574 for (offset = start_offset; offset <= end_offset ; offset++) { in swap_cluster_readahead()
577 swp_entry(swp_type(entry), offset), in swap_cluster_readahead()
583 if (offset != entry_offset) { in swap_cluster_readahead()
696 ra_info->offset = fpfn - start; in swap_ra_info()
697 pte -= ra_info->offset; in swap_ra_info()
755 if (i != ra_info.offset) { in swap_vma_readahead()