Searched refs:add_to_swap_cache (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/mm/ |
D | swap_state.c | 119 int add_to_swap_cache(struct page *page, swp_entry_t entry, gfp_t gfp_mask) in add_to_swap_cache() function 190 err = add_to_swap_cache(page, entry, in add_to_swap()
|
D | shmem.c | 844 if (add_to_swap_cache(page, swap, GFP_ATOMIC) == 0) { in shmem_writepage()
|
/linux-4.4.14/include/linux/ |
D | swap.h | 400 extern int add_to_swap_cache(struct page *, swp_entry_t, gfp_t); 518 static inline int add_to_swap_cache(struct page *page, swp_entry_t entry, in add_to_swap_cache() function
|