Searched refs:add_to_swap_cache (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/include/linux/ |
D | swap.h | 409 extern int add_to_swap_cache(struct page *, swp_entry_t, gfp_t); 559 static inline int add_to_swap_cache(struct page *page, swp_entry_t entry, in add_to_swap_cache() function
|
/Linux-v4.19/mm/ |
D | swap_state.c | 160 int add_to_swap_cache(struct page *page, swp_entry_t entry, gfp_t gfp_mask) in add_to_swap_cache() function 230 err = add_to_swap_cache(page, entry, in add_to_swap()
|
D | shmem.c | 1358 if (add_to_swap_cache(page, swap, GFP_ATOMIC) == 0) { in shmem_writepage()
|