Searched refs:total_ram (Results 1 – 1 of 1) sorted by relevance
27 static uint64_t total_ram; variable68 new_memlimit = (uint32_t)new_memlimit * total_ram / 100; in hardware_memlimit_set()121 printf("%" PRIu64 "\t%" PRIu64 "\t%" PRIu64 "\n", total_ram, in hardware_memlimit_show()127 total_ram); in hardware_memlimit_show()143 total_ram = lzma_physmem(); in hardware_init()144 if (total_ram == 0) in hardware_init()145 total_ram = (uint64_t)(ASSUME_RAM) * 1024 * 1024; in hardware_init()