Home
last modified time | relevance | path

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

12345

/external/toybox/toys/other/
Dswapoff.c1 /* swapoff.c - Disable region for swapping
5 USE_SWAPOFF(NEWTOY(swapoff, "<1>1av", TOYFLAG_SBIN|TOYFLAG_NEEDROOT))
7 config SWAPOFF
8 bool "swapoff"
11 usage: swapoff FILE
21 if (FLAG(v)) printf("swapoff %s", str); in xswapoff()
22 if (swapoff(str)) perror_msg("failed to remove swaparea"); in xswapoff()
/external/ltp/testcases/kernel/device-drivers/zram/
Dzram02.sh28 tst_require_cmds mkswap swapon swapoff
43 tst_require_cmds swapoff
47 ROD swapoff /dev/zram$i
51 tst_res TPASS "swapoff completed"
/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_limit_in_bytes.sh36 tst_res TINFO "Test swapoff + alloc_mem > limit_in_bytes"
37 swapoff -a
44 swapoff -a
51 swapoff -a
/external/ltp/testcases/kernel/syscalls/swapoff/
Dswapoff02.c9 * This test case checks whether swapoff(2) system call returns
51 tst_res(TPASS, "swapoff(2) expected failure;" in verify_swapoff()
55 tst_res(TFAIL, "swapoff(2) failed to produce" in verify_swapoff()
Dswapoff01.c9 * Check that swapoff() succeeds.
/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/linux-kselftest/tools/testing/selftests/zram/
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"
DREADME36 - swapoff
/external/ltp/include/
Dlibswap.h8 * Contains common content for all swapon/swapoff tests
20 * Check swapon/swapoff support status of filesystems or files
/external/ltp/testcases/kernel/controllers/memcg/regression/
Dmemcg_test_4.sh31 # turn off swap, and swapoff will be killed
32 swapoff -a
/external/ltp/libs/libltpswap/
Dlibswap.c37 * Check swapon/swapoff support status of filesystems or files
64 tst_brk(TFAIL | TTERRNO, "swapoff on %s failed", fstype); in is_swap_supported()
/external/ltp/testcases/commands/mkswap/
Dmkswap01.sh94 swapoff $swapfile 2>/dev/null
96 tst_res TWARN "Can not do swapoff on $swapfile."
/external/musl/src/linux/
Dswap.c9 int swapoff(const char *path) in swapoff() function
/external/musl/include/sys/
Dswap.h15 int swapoff (const char *);
/external/ltp/testcases/kernel/syscalls/swapon/
Dswaponoff.h6 * Read swapon(2) / swapoff(2) for a full history lesson behind the value of
Dswapon03.c221 * Check if the file is at /proc/swaps and remove it giving swapoff
237 /* now we need to swapoff the file */ in check_and_swapoff()
/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.yml58 sudo swapoff -a
/external/libbpf/travis-ci/rootfs/
Dmkrootfs_tweak.sh13 ::shutdown:/sbin/swapoff -a
/external/ltp/include/lapi/syscalls/
Daarch64.in227 swapoff 225

12345