Lines Matching refs:gfp_mask
432 struct folio *__read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask,
477 new_folio = folio_alloc_mpol(gfp_mask, 0, mpol, ilx, numa_node_id());
518 if (mem_cgroup_swapin_charge_folio(new_folio, NULL, gfp_mask, entry))
522 if (add_to_swap_cache(new_folio, entry, gfp_mask & GFP_RECLAIM_MASK, &shadow))
558 struct folio *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask,
568 folio = __read_swap_cache_async(entry, gfp_mask, mpol, ilx,
641 * @gfp_mask: memory allocation flags
656 struct folio *swap_cluster_readahead(swp_entry_t entry, gfp_t gfp_mask,
686 gfp_mask, mpol, ilx, &page_allocated, false);
703 folio = __read_swap_cache_async(entry, gfp_mask, mpol, ilx,
786 * @gfp_mask: memory allocation flags
799 static struct folio *swap_vma_readahead(swp_entry_t targ_entry, gfp_t gfp_mask,
833 folio = __read_swap_cache_async(entry, gfp_mask, mpol, ilx,
853 folio = __read_swap_cache_async(targ_entry, gfp_mask, mpol, targ_ilx,
863 * @gfp_mask: memory allocation flags
872 struct folio *swapin_readahead(swp_entry_t entry, gfp_t gfp_mask,
881 swap_vma_readahead(entry, gfp_mask, mpol, ilx, vmf) :
882 swap_cluster_readahead(entry, gfp_mask, mpol, ilx);