Searched refs:max_mem (Results 1 – 5 of 5) sorted by relevance
56 uint64_t max_mem; member106 val = zone->max_mem; in ttm_mem_zone_show()142 if (zone->max_mem > val64) in ttm_mem_zone_store()143 zone->max_mem = val64; in ttm_mem_zone_store()145 zone->max_mem = val64; in ttm_mem_zone_store()255 target = zone->max_mem; in ttm_zones_above_swap_target()317 zone->max_mem = mem >> 1; in ttm_mem_init_kernel_zone()319 zone->swap_limit = zone->max_mem - (mem >> 3); in ttm_mem_init_kernel_zone()353 zone->max_mem = mem >> 1; in ttm_mem_init_highmem_zone()401 zone->max_mem = mem >> 1; in ttm_mem_init_dma32_zone()[all …]
452 u64 max_mem = 1UL << (MAX_PHYSMEM_BITS); in validate_mem_limit() local454 if (base >= max_mem) in validate_mem_limit()456 if ((base + *size) > max_mem) in validate_mem_limit()457 *size = max_mem - base; in validate_mem_limit()
52 unsigned long max_mem; member
1020 static_config_check_memory_size(const struct sja1105_table *tables, int max_mem) in static_config_check_memory_size() argument1038 max_mem -= SJA1105_FRAME_MEMORY_RETAGGING_OVERHEAD; in static_config_check_memory_size()1040 if (mem > max_mem) in static_config_check_memory_size()1048 int max_mem) in sja1105_static_config_check_valid() argument1115 return static_config_check_memory_size(tables, max_mem); in sja1105_static_config_check_valid()
484 int max_mem);
Completed in 14 milliseconds