Searched refs:swapoff (Results 1 - 3 of 3) sorted by last modified time

/linux-master/mm/
H A Dswapfile.c105 /* Activity counter to indicate that a swapon or swapoff has occurred */
1241 * prevent swapoff, such as the folio in swap cache is locked, RCU
1243 * because of swapoff. Then, we need to enclose all swap related
1248 * prevent swapoff, because synchronize_rcu() is called in swapoff()
1253 * via preventing the swap device from being swapoff, until
1256 * Notice that swapoff or swapoff+swapon can still happen before the
1259 * to prevent swapoff. The caller must be prepared for that. For
1264 * ... swapoff
[all...]
/linux-master/kernel/
H A Dsys_ni.c180 COND_SYSCALL(swapoff); variable
/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"

Completed in 332 milliseconds