Home
last modified time | relevance | path

Searched refs:swap_limit (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_memory.c54 uint64_t swap_limit; member
105 val = zone->swap_limit; in ttm_mem_zone_show()
146 zone->swap_limit = val64; in ttm_mem_zone_store()
248 target = zone->swap_limit; in ttm_zones_above_swap_target()
316 zone->swap_limit = zone->max_mem - (mem >> 3); in ttm_mem_init_kernel_zone()
352 zone->swap_limit = zone->max_mem - (mem >> 3); in ttm_mem_init_highmem_zone()
400 zone->swap_limit = zone->max_mem - (mem >> 3); in ttm_mem_init_dma32_zone()
493 if (zone->used_mem > zone->swap_limit) { in ttm_check_swapping()
/Linux-v5.4/drivers/edac/
Damd64_edac.c1876 u32 swap_reg, swap_base, swap_limit, rgn_size, tmp_addr; in f1x_swap_interleaved_region() local
1890 swap_limit = (swap_reg >> 11) & 0x7f; in f1x_swap_interleaved_region()
1896 (tmp_addr <= swap_limit)) || in f1x_swap_interleaved_region()