Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_memory.c53 uint64_t max_mem; member
103 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 …]
/Linux-v5.4/arch/powerpc/kernel/
Dprom.c450 u64 max_mem = 1UL << (MAX_PHYSMEM_BITS); in validate_mem_limit() local
452 if (base >= max_mem) in validate_mem_limit()
454 if ((base + *size) > max_mem) in validate_mem_limit()
455 *size = max_mem - base; in validate_mem_limit()
/Linux-v5.4/include/linux/
Dsm501.h52 unsigned long max_mem; member