Lines Matching refs:gfp_mask
417 struct page *__read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, in __read_swap_cache_async() argument
459 page = alloc_page_vma(gfp_mask, vma, addr); in __read_swap_cache_async()
491 if (mem_cgroup_swapin_charge_page(page, NULL, gfp_mask, entry)) in __read_swap_cache_async()
495 if (add_to_swap_cache(page, entry, gfp_mask & GFP_RECLAIM_MASK, &shadow)) in __read_swap_cache_async()
521 struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, in read_swap_cache_async() argument
525 struct page *retpage = __read_swap_cache_async(entry, gfp_mask, in read_swap_cache_async()
613 struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t gfp_mask, in swap_cluster_readahead() argument
645 gfp_mask, vma, addr, &page_allocated); in swap_cluster_readahead()
661 return read_swap_cache_async(entry, gfp_mask, vma, addr, do_poll); in swap_cluster_readahead()
788 static struct page *swap_vma_readahead(swp_entry_t fentry, gfp_t gfp_mask, in swap_vma_readahead() argument
817 page = __read_swap_cache_async(entry, gfp_mask, vma, in swap_vma_readahead()
833 return read_swap_cache_async(fentry, gfp_mask, vma, vmf->address, in swap_vma_readahead()
849 struct page *swapin_readahead(swp_entry_t entry, gfp_t gfp_mask, in swapin_readahead() argument
853 swap_vma_readahead(entry, gfp_mask, vmf) : in swapin_readahead()
854 swap_cluster_readahead(entry, gfp_mask, vmf); in swapin_readahead()