Searched refs:max_mem (Results 1 – 3 of 3) 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 …]
450 u64 max_mem = 1UL << (MAX_PHYSMEM_BITS); in validate_mem_limit() local452 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()
52 unsigned long max_mem; member