Searched refs:swapoff (Results 1 - 3 of 3) sorted by relevance

/linux-master/tools/testing/selftests/zram/
H A Dzram_lib.sh52 swapoff /dev/zram$i
228 swapoff /dev/zram$i > err.log 2>&1
231 echo "FAIL swapoff /dev/zram$i failed"
236 echo "zram swapoff: OK"
/linux-master/kernel/
H A Dsys_ni.c180 COND_SYSCALL(swapoff); variable
/linux-master/mm/
H A Dswapfile.c105 /* Activity counter to indicate that a swapon or swapoff has occurred */
1229 * prevent swapoff, such as the folio in swap cache is locked, page
1231 * of swapoff. Then, we need to enclose all swap related functions
1235 * Note that when only holding the PTL, swapoff might succeed immediately
1242 * via preventing the swap device from being swapoff, until
1245 * Notice that swapoff or swapoff+swapon can still happen before the
1248 * to prevent swapoff. The caller must be prepared for that. For
1253 * ... swapoff+swapon
1262 * swap device which has been swapoff
[all...]

Completed in 130 milliseconds