Home
last modified time | relevance | path

Searched refs:swapon (Results 1 - 17 of 17) sorted by relevance

/third_party/ltp/testcases/kernel/controllers/memcg/functional/
H A Dmemcg_limit_in_bytes.sh20 swapon -a
39 swapon -a
46 swapon -a
53 swapon -a
/third_party/ltp/testcases/kernel/device-drivers/zram/
H A Dzram02.sh28 tst_require_cmds mkswap swapon swapoff
33 ROD swapon /dev/zram$i
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dswap.h14 int swapon (const char *, int);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dswap.h14 int swapon (const char *, int);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dswap.h14 int swapon (const char *, int);
/third_party/musl/src/linux/
H A Dswap.c4 int swapon(const char *path, int flags) in swapon() function
/third_party/musl/include/sys/
H A Dswap.h14 int swapon (const char *, int);
/third_party/toybox/toys/other/
H A Dswapon.c0 /* swapon.c - Enable region for swapping
5 USE_SWAPON(NEWTOY(swapon, "<1>1p#<0>32767d", TOYFLAG_SBIN|TOYFLAG_NEEDROOT))
8 bool "swapon"
11 usage: swapon [-d] [-p priority] filename
34 if (swapon(*toys.optargs, flags)) in swapon_main()
35 perror_exit("Couldn't swapon '%s'", *toys.optargs); in swapon_main()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dswapoff.c39 int result = swapon(path, SWAP_FLAG_PREFER); in swapoff_0100()
41 t_error("%s swapon failed\n", __func__); in swapoff_0100()
H A Dswapon.c39 int result = swapon(path, SWAP_FLAG_PREFER); in swapon_0100()
41 t_error("%s swapon failed\n", __func__); in swapon_0100()
/third_party/ltp/testcases/commands/mkswap/
H A Dmkswap01.sh56 swapon $swapfile 2>/dev/null
59 tst_res TINFO "Can not do swapon on $swapfile."
85 # In general, the swap increment by doing swapon should be equal to
/third_party/ltp/testcases/kernel/controllers/memcg/regression/
H A Dmemcg_regression_test.sh239 swapon -a
/third_party/toybox/generated/
H A Dglobals.h415 // toys/other/swapon.c
1670 struct swapon_data swapon; member
H A Dflags.h2775 // swapon <1>1p#<0>32767d <1>1p#<0>32767d
5812 #define TT this.swapon
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs3337 pub fn swapon(path: *const ::c_char, swapflags: ::c_int) -> ::c_int; in swapon() functions
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs4166 pub fn swapon(path: *const ::c_char, swapflags: ::c_int) -> ::c_int; in swapon() functions
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs4227 pub fn swapon(path: *const ::c_char, swapflags: ::c_int) -> ::c_int; in swapon() functions

Completed in 62 milliseconds