Home
last modified time | relevance | path

Searched full:swapoff (Results 1 – 25 of 98) sorted by relevance

1234

/external/toybox/toys/other/
Dswapoff.c1 /* swapoff.c - Disable region for swapping
5 USE_SWAPOFF(NEWTOY(swapoff, "<1>1", TOYFLAG_SBIN|TOYFLAG_NEEDROOT))
7 config SWAPOFF
8 bool "swapoff"
11 usage: swapoff swapregion
20 if (swapoff(toys.optargs[0])) perror_exit("failed to remove swaparea"); in swapoff_main()
/external/ltp/testcases/kernel/device-drivers/zram/
Dzram_lib.sh19 swapoff /dev/zram$i
149 tst_require_cmds mkswap swapon swapoff
164 tst_require_cmds swapoff
168 ROD swapoff /dev/zram$i
172 tst_res TPASS "swapoff completed"
/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_limit_in_bytes.sh44 # Test swapoff + alloc_mem > limit_in_bytes
47 swapoff -a
54 swapoff -a
61 swapoff -a
/external/linux-kselftest/tools/testing/selftests/zram/
Dzram_lib.sh33 swapoff /dev/zram$i
186 swapoff /dev/zram$i > err.log 2>&1
189 echo "FAIL swapoff /dev/zram$i failed"
194 echo "zram swapoff: OK"
DREADME36 - swapoff
/external/strace/tests/
Dswap.gen.test2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (swap -a23 -e trace=swapon,swapoff); …
4 run_strace_match_diff -a23 -e trace=swapon,swapoff
Dswap.c40 printf("swapoff(\"%s\") = %ld %s (%m)\n", in main()
/external/strace/tests-mx32/
Dswap.gen.test2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (swap -a23 -e trace=swapon,swapoff); …
4 run_strace_match_diff -a23 -e trace=swapon,swapoff
Dswap.c40 printf("swapoff(\"%s\") = %ld %s (%m)\n", in main()
/external/strace/tests-m32/
Dswap.gen.test2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (swap -a23 -e trace=swapon,swapoff); …
4 run_strace_match_diff -a23 -e trace=swapon,swapoff
Dswap.c40 printf("swapoff(\"%s\") = %ld %s (%m)\n", in main()
/external/ltp/testcases/kernel/syscalls/swapoff/
Dswapoff02.c19 * This test case checks whether swapoff(2) system call returns
86 "swapoff(2) expected failure;" in main()
92 tst_resm(TFAIL, "swapoff(2) failed to produce" in main()
Dswapoff01.c19 * Check that swapoff() succeeds.
/external/ltp/testcases/kernel/controllers/memcg/regression/
Dmemcg_test_4.sh40 # turn off swap, and swapoff will be killed
41 swapoff -a
/external/ltp/testcases/kernel/syscalls/swapon/
Dlibswapon.c54 * Check swapon/swapoff support status of filesystems or files
88 "swapoff on %s failed", fstype); in is_swap_supported()
Dswaponoff.h6 * Read swapon(2) / swapoff(2) for a full history lesson behind the value of
Dlibswapon.h35 * Check swapon/swapoff support status of filesystems or files
Dswapon03.c291 * Check if the file is at /proc/swaps and remove it giving swapoff
308 /* now we need to swapoff the file */ in check_and_swapoff()
/external/ltp/testcases/commands/mkswap/
Dmkswap01.sh100 swapoff $swapfile 2>/dev/null
102 tst_res TWARN "Can not do swapoff on $swapfile."
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/doc/
Dtodo.txt13 > suspend: swapoff -a, then proceed like in hotplug_locking, while
/external/oss-fuzz/.github/workflows/
Dproject_tests.yml57 sudo swapoff -a
/external/ltp/include/lapi/syscalls/
Daarch64.in227 swapoff 225
Dsparc64.in195 swapoff 213
Dia64.in72 swapoff 1095
Dx86_64.in169 swapoff 168

1234