Searched refs:mem_gb (Results 1 – 1 of 1) sorted by relevance
228 static int compute_memory_sizes(uds_memory_config_size_t mem_gb, bool sparse, in compute_memory_sizes() argument235 if (mem_gb == UDS_MEMORY_CONFIG_256MB) { in compute_memory_sizes()238 } else if (mem_gb == UDS_MEMORY_CONFIG_512MB) { in compute_memory_sizes()241 } else if (mem_gb == UDS_MEMORY_CONFIG_768MB) { in compute_memory_sizes()244 } else if ((mem_gb >= 1) && (mem_gb <= UDS_MEMORY_CONFIG_MAX)) { in compute_memory_sizes()245 base_chapters = mem_gb * DEFAULT_CHAPTERS_PER_VOLUME; in compute_memory_sizes()247 } else if (mem_gb == UDS_MEMORY_CONFIG_REDUCED_256MB) { in compute_memory_sizes()251 } else if (mem_gb == UDS_MEMORY_CONFIG_REDUCED_512MB) { in compute_memory_sizes()255 } else if (mem_gb == UDS_MEMORY_CONFIG_REDUCED_768MB) { in compute_memory_sizes()259 } else if ((mem_gb >= 1 + UDS_MEMORY_CONFIG_REDUCED) && in compute_memory_sizes()[all …]