Searched refs:add_to_swap_cache (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/mm/ |
D | swap_state.c | 128 int add_to_swap_cache(struct page *page, swp_entry_t entry, in add_to_swap_cache() function 239 err = add_to_swap_cache(page, entry, in add_to_swap() 526 if (add_to_swap_cache(page, entry, gfp_mask & GFP_RECLAIM_MASK, &shadow)) { in __read_swap_cache_async()
|
D | shmem.c | 1438 if (add_to_swap_cache(page, swap, in shmem_writepage()
|
/Linux-v5.10/include/linux/ |
D | swap.h | 417 extern int add_to_swap_cache(struct page *page, swp_entry_t entry, 589 static inline int add_to_swap_cache(struct page *page, swp_entry_t entry, in add_to_swap_cache() function
|