Home
last modified time | relevance | path

Searched refs:mem_unit (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/bionic/
Dsysinfo.cpp67 return (static_cast<int64_t>(si.totalram) * si.mem_unit) / PAGE_SIZE; in get_phys_pages()
73 return ((static_cast<int64_t>(si.freeram) + si.bufferram) * si.mem_unit) / PAGE_SIZE; in get_avphys_pages()
/bionic/libc/kernel/uapi/linux/
Dsysinfo.h36 __u32 mem_unit; member
/bionic/tests/
Dsys_sysinfo_test.cpp47 ASSERT_GT(uint64_t(si.totalram) * si.mem_unit, uint64_t(512 * 1024 * 1024)); in TEST()
Dstdio_test.cpp2973 return (static_cast<int64_t>(si.totalram) * si.mem_unit) / 1024 / 1024 / 1024; in GetTotalRamGiB()