Searched refs:add_to_swap_cache (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/mm/ |
D | swap_state.c | 114 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()
|
D | shmem.c | 1372 if (add_to_swap_cache(page, swap, GFP_ATOMIC) == 0) { in shmem_writepage()
|
/Linux-v5.4/include/linux/ |
D | swap.h | 411 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
|