Searched refs:phys_pages (Results 1 – 1 of 1) sorted by relevance
128 const long phys_pages = sysconf(_SC_PHYS_PAGES); in os_get_total_physical_memory() local131 if (phys_pages <= 0 || page_size <= 0) in os_get_total_physical_memory()134 *size = (uint64_t)phys_pages * (uint64_t)page_size; in os_get_total_physical_memory()