Searched refs:add_to_swap_cache (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/mm/ |
D | swap_state.c | 100 int add_to_swap_cache(struct page *page, swp_entry_t entry, in add_to_swap_cache() function 207 err = add_to_swap_cache(page, entry, in add_to_swap() 495 if (add_to_swap_cache(page, entry, gfp_mask & GFP_RECLAIM_MASK, &shadow)) in __read_swap_cache_async()
|
D | shmem.c | 1430 if (add_to_swap_cache(page, swap, in shmem_writepage()
|
/Linux-v5.15/include/linux/ |
D | swap.h | 447 extern int add_to_swap_cache(struct page *page, swp_entry_t entry, 637 static inline int add_to_swap_cache(struct page *page, swp_entry_t entry, in add_to_swap_cache() function
|