Searched refs:try_to_unuse (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
H A D | swapfile.h | 12 extern int try_to_unuse(unsigned int, bool, unsigned long);
|
/kernel/linux/linux-5.10/mm/ |
H A D | frontswap.c | 441 * "partial swapoff" and works by calling try_to_unuse to attempt to 453 * lengthy try_to_unuse, but swap_list may change in frontswap_shrink() 460 try_to_unuse(type, true, pages_to_unuse); in frontswap_shrink()
|
H A D | swapfile.c | 2186 int try_to_unuse(unsigned int type, bool frontswap, in try_to_unuse() function 2295 * After a successful try_to_unuse, if no swap is now in use, we know 2653 err = try_to_unuse(p->type, false, 0); /* force unuse all pages */ in SYSCALL_DEFINE1()
|
/kernel/linux/linux-6.6/mm/ |
H A D | swapfile.c | 2050 static int try_to_unuse(unsigned int type) in try_to_unuse() function 2147 * After a successful try_to_unuse, if no swap is now in use, we know 2474 err = try_to_unuse(p->type); in SYSCALL_DEFINE1()
|
Completed in 10 milliseconds