Home
last modified time | relevance | path

Searched refs:add_to_swap_cache (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/mm/
Dswap_state.c114 int add_to_swap_cache(struct page *page, swp_entry_t entry, gfp_t gfp) in add_to_swap_cache() function
211 err = add_to_swap_cache(page, entry, in add_to_swap()
421 err = add_to_swap_cache(new_page, entry, gfp_mask & GFP_KERNEL); in __read_swap_cache_async()
Dshmem.c1372 if (add_to_swap_cache(page, swap, GFP_ATOMIC) == 0) { in shmem_writepage()
/Linux-v5.4/include/linux/
Dswap.h411 extern int add_to_swap_cache(struct page *, swp_entry_t, gfp_t);
567 static inline int add_to_swap_cache(struct page *page, swp_entry_t entry, in add_to_swap_cache() function