Home
last modified time | relevance | path

Searched refs:max_mem (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/vmwgfx/
A Dttm_memory.c56 uint64_t max_mem; member
106 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 …]
/linux/arch/powerpc/kernel/
A Dprom.c452 u64 max_mem = 1UL << (MAX_PHYSMEM_BITS); in validate_mem_limit() local
454 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()
/linux/include/linux/
A Dsm501.h52 unsigned long max_mem; member
/linux/drivers/net/dsa/sja1105/
A Dsja1105_static_config.c1020 static_config_check_memory_size(const struct sja1105_table *tables, int max_mem) in static_config_check_memory_size() argument
1038 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() argument
1115 return static_config_check_memory_size(tables, max_mem); in sja1105_static_config_check_valid()
A Dsja1105_static_config.h484 int max_mem);

Completed in 14 milliseconds