Searched refs:mem_unit (Results 1 – 4 of 4) sorted by relevance
67 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()
36 __u32 mem_unit; member
47 ASSERT_GT(uint64_t(si.totalram) * si.mem_unit, uint64_t(512 * 1024 * 1024)); in TEST()
2973 return (static_cast<int64_t>(si.totalram) * si.mem_unit) / 1024 / 1024 / 1024; in GetTotalRamGiB()