Home
last modified time | relevance | path

Searched refs:swap_total (Results 1 - 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/mem/tunable/
H A Dovercommit_memory.c89 long mem_total, swap_total; in setup() local
101 swap_total = SAFE_READ_MEMINFO("SwapTotal:"); in setup()
102 tst_res(TINFO, "SwapTotal is %ld kB", swap_total); in setup()
103 sum_total = mem_total + swap_total; in setup()
/third_party/rust/crates/nix/test/sys/
H A Dtest_sysinfo.rs15 info.swap_free() <= info.swap_total(), in sysinfo_works()
18 info.swap_total() in sysinfo_works()
/third_party/ltp/testcases/kernel/syscalls/madvise/
H A Dmadvise09.c305 long int swap_total; in setup() local
317 SAFE_FILE_LINES_SCANF("/proc/meminfo", "SwapTotal: %ld", &swap_total); in setup()
318 if (swap_total <= 0) in setup()
/third_party/rust/crates/nix/src/sys/
H A Dsysinfo.rs46 pub fn swap_total(&self) -> u64 { in swap_total() functions

Completed in 2 milliseconds