Searched refs:add_to_swap_cache (Results 1 – 3 of 3) sorted by relevance
/linux/mm/ |
H A D | swap.h | 57 int add_to_swap_cache(struct folio *folio, swp_entry_t entry, 193 static inline int add_to_swap_cache(struct folio *folio, swp_entry_t entry, in add_to_swap_cache() function
|
H A D | swap_state.c | 88 int add_to_swap_cache(struct folio *folio, swp_entry_t entry, in add_to_swap_cache() function 445 if (add_to_swap_cache(new_folio, entry, gfp_mask & GFP_RECLAIM_MASK, &shadow)) in __read_swap_cache_async()
|
H A D | swapfile.c | 1313 if (add_to_swap_cache(folio, entry, gfp | __GFP_NOMEMALLOC, NULL)) in folio_alloc_swap()
|