Searched refs:max_mem (Results 1 – 5 of 5) sorted by relevance
53 uint64_t max_mem; member103 val = zone->max_mem; in ttm_mem_zone_show()139 if (zone->max_mem > val64) in ttm_mem_zone_store()140 zone->max_mem = val64; in ttm_mem_zone_store()142 zone->max_mem = val64; in ttm_mem_zone_store()252 target = zone->max_mem; in ttm_zones_above_swap_target()314 zone->max_mem = mem >> 1; in ttm_mem_init_kernel_zone()316 zone->swap_limit = zone->max_mem - (mem >> 3); in ttm_mem_init_kernel_zone()350 zone->max_mem = mem >> 1; in ttm_mem_init_highmem_zone()352 zone->swap_limit = zone->max_mem - (mem >> 3); in ttm_mem_init_highmem_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
664 int i, max_mem, mem = 0; in static_config_check_memory_size() local678 max_mem = SJA1105_MAX_FRAME_MEMORY_RETAGGING; in static_config_check_memory_size()680 max_mem = SJA1105_MAX_FRAME_MEMORY; in static_config_check_memory_size()682 if (mem > max_mem) in static_config_check_memory_size()
446 int max_mem; in sja1105_frame_memory_partitioning() local452 max_mem = SJA1105_MAX_FRAME_MEMORY_RETAGGING; in sja1105_frame_memory_partitioning()454 max_mem = SJA1105_MAX_FRAME_MEMORY; in sja1105_frame_memory_partitioning()458 l2_fwd_params->part_spc[0] = max_mem; in sja1105_frame_memory_partitioning()