Searched refs:swapon (Results 1 - 4 of 4) sorted by last modified time

/linux-master/mm/
H A Dswapfile.c105 /* Activity counter to indicate that a swapon or swapoff has occurred */
180 * swapon tell device that all the old swap contents can be discarded,
1256 * Notice that swapoff or swapoff+swapon can still happen before the
1264 * ... swapoff+swapon
1276 * has been swapoff or swapoff+swapon.
2299 * built at swapon time and is then used at swap_writepage/swap_read_folio
2308 * swapfiles are handled *identically* after swapon time.
2316 * For all swap devices we set S_SWAPFILE across the life of the swapon. This
2613 * Clear the SWP_USED flag after all resources are freed so that swapon
3033 SYSCALL_DEFINE2(swapon, cons
[all...]
/linux-master/fs/nfs/
H A Dnfs4state.c1212 bool swapon = false; local
1220 swapon = !test_and_set_bit(NFS4CLNT_MANAGER_AVAILABLE,
1222 if (!swapon) {
1247 if (swapon)
/linux-master/kernel/
H A Dsys_ni.c179 COND_SYSCALL(swapon); variable
/linux-master/tools/testing/selftests/zram/
H A Dzram_lib.sh211 swapon /dev/zram$i > err.log 2>&1
214 echo "FAIL swapon /dev/zram$1 failed"
221 echo "zram making zram mkswap and swapon: OK"

Completed in 180 milliseconds