Searched full:swapoff (Results 1 – 25 of 109) sorted by relevance
12345
| /external/toybox/toys/other/ |
| D | swapoff.c | 1 /* 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/ |
| D | zram02.sh | 28 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/ |
| D | memcg_limit_in_bytes.sh | 36 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/ |
| D | swapoff02.c | 9 * 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()
|
| D | swapoff01.c | 9 * Check that swapoff() succeeds.
|
| /external/strace/tests/ |
| D | swap.gen.test | 2 # 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
|
| D | swap.c | 40 printf("swapoff(\"%s\") = %ld %s (%m)\n", in main()
|
| /external/strace/tests-mx32/ |
| D | swap.gen.test | 2 # 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
|
| D | swap.c | 40 printf("swapoff(\"%s\") = %ld %s (%m)\n", in main()
|
| /external/strace/tests-m32/ |
| D | swap.gen.test | 2 # 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
|
| D | swap.c | 40 printf("swapoff(\"%s\") = %ld %s (%m)\n", in main()
|
| /external/linux-kselftest/tools/testing/selftests/zram/ |
| D | zram_lib.sh | 52 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"
|
| D | README | 36 - swapoff
|
| /external/ltp/include/ |
| D | libswap.h | 8 * 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/ |
| D | memcg_test_4.sh | 31 # turn off swap, and swapoff will be killed 32 swapoff -a
|
| /external/ltp/libs/libltpswap/ |
| D | libswap.c | 37 * 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/ |
| D | mkswap01.sh | 94 swapoff $swapfile 2>/dev/null 96 tst_res TWARN "Can not do swapoff on $swapfile."
|
| /external/musl/src/linux/ |
| D | swap.c | 9 int swapoff(const char *path) in swapoff() function
|
| /external/musl/include/sys/ |
| D | swap.h | 15 int swapoff (const char *);
|
| /external/ltp/testcases/kernel/syscalls/swapon/ |
| D | swaponoff.h | 6 * Read swapon(2) / swapoff(2) for a full history lesson behind the value of
|
| D | swapon03.c | 221 * 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/ |
| D | todo.txt | 13 > suspend: swapoff -a, then proceed like in hotplug_locking, while
|
| /external/oss-fuzz/.github/workflows/ |
| D | project_tests.yml | 58 sudo swapoff -a
|
| /external/libbpf/travis-ci/rootfs/ |
| D | mkrootfs_tweak.sh | 13 ::shutdown:/sbin/swapoff -a
|
| /external/ltp/include/lapi/syscalls/ |
| D | aarch64.in | 227 swapoff 225
|
12345