Searched refs:total_ram (Results 1 – 2 of 2) sorted by relevance
61 static uint64_t total_ram; variable126 new_memlimit = (uint32_t)new_memlimit * total_ram / 100; in hardware_memlimit_set()264 total_ram, in hardware_memlimit_show()296 memlimit_show(msgs[0], width_max, total_ram); in hardware_memlimit_show()319 total_ram = lzma_physmem(); in hardware_init()320 if (total_ram == 0) in hardware_init()321 total_ram = (uint64_t)(ASSUME_RAM) * 1024 * 1024; in hardware_init()326 memlimit_mt_default = total_ram / 4; in hardware_init()
1766 unsigned long total_ram; in ath12k_core_get_memory_mode() local1770 total_ram = si.totalram * si.mem_unit; in ath12k_core_get_memory_mode()1772 if (total_ram < SZ_512M) in ath12k_core_get_memory_mode()