Home
last modified time | relevance | path

Searched refs:totalram (Results 1 – 25 of 53) sorted by relevance

123

/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dsysinfo.c43 if (info.totalram < 0) { in sysinfo_0100()
44 t_error("%s failed: info.totalram = %ld\n", __func__, info.totalram); in sysinfo_0100()
48 if (info.totalram < info.freeram) { in sysinfo_0100()
49 …t_error("%s failed: info.totalram = %ld, info.freeram = %ld\n", __func__, info.totalram, info.free… in sysinfo_0100()
/third_party/musl/src/linux/x32/
Dsysinfo.c10 kulong totalram; member
33 kulong max = tmp.totalram | tmp.totalswap; in __lsysinfo()
36 info->totalram = tmp.totalram >> shifts; in __lsysinfo()
/third_party/toybox/toys/other/
Dfree.c53 "Swap:%16s%12s%12s\n", convert(in.totalram), in free_main()
54 convert(in.totalram-in.freeram), convert(in.freeram), convert(in.sharedram), in free_main()
55 convert(in.bufferram), convert(in.totalram - in.freeram - in.bufferram), in free_main()
/third_party/rust/crates/libc/src/unix/linux_like/linux/musl/
Dmod.rs274 pub totalram: ::c_ulong,
334 && self.totalram == other.totalram
360 .field("totalram", &self.totalram)
380 self.totalram.hash(state);
/third_party/musl/porting/liteos_a/kernel/include/
Dsysinfo.h11 unsigned long totalram; member
/third_party/musl/porting/liteos_a_newlib/kernel/include/
Dsysinfo.h11 unsigned long totalram; member
/third_party/libuv/src/unix/
Dsysinfo-memory.c40 return (uint64_t) info.totalram * info.mem_unit; in uv_get_total_memory()
/third_party/node/deps/uv/src/unix/
Dsysinfo-memory.c40 return (uint64_t) info.totalram * info.mem_unit; in uv_get_total_memory()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsysinfo.h13 unsigned long totalram; member
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dsysinfo.h13 unsigned long totalram; member
/third_party/musl/porting/uniproton/kernel/include/sys/
Dsysinfo.h13 unsigned long totalram; member
/third_party/musl/porting/linux/user/include/sys/
Dsysinfo.h14 unsigned long totalram; member
/third_party/musl/include/sys/
Dsysinfo.h14 unsigned long totalram; member
/third_party/rust/crates/nix/src/sys/
Dsysinfo.rs57 self.scale_mem(self.0.totalram) in ram_total()
/third_party/ltp/testcases/kernel/syscalls/sysinfo/
Dsysinfo01.c134 printf("totalram %lu\n", sys_buf->totalram); in main()
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/
Dmod.rs40 pub totalram: u64,
/third_party/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c240 (long)(info.totalram / pagesize) / ncpus / 256 in calculate_total_batch_size()
/third_party/lzma/CPP/Windows/
DSystem.cpp220 size = (UInt64)info.mem_unit * info.totalram; in GetRamSize()
/third_party/musl/porting/linux/user/src/conf/
Dsysconf.c206 if (name==_SC_PHYS_PAGES) mem = si.totalram; in sysconf()
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/mips64/
Dmod.rs175 pub totalram: ::c_ulong,
/third_party/musl/src/conf/
Dsysconf.c209 if (name==_SC_PHYS_PAGES) mem = si.totalram; in sysconf()
/third_party/rust/crates/libc/src/unix/linux_like/android/b32/
Dmod.rs158 pub totalram: ::c_ulong,
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/
Dmod.rs428 pub totalram: ::c_ulong,
527 && self.totalram == other.totalram
551 .field("totalram", &self.totalram)
570 self.totalram.hash(state);
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/x86_64/
Dmod.rs230 pub totalram: ::c_ulong,
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/
Dmod.rs120 pub totalram: ::c_ulong,

123