Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/zram/
Dzram01.sh51 local used_mem=$(($mem_free0 - $mem_free1))
59 echo "zram used ${used_mem}M, zram disk sizes ${total_size}M"
61 local v=$((100 * $total_size / $used_mem))
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_memory.c55 uint64_t used_mem; member
85 zone->name, (unsigned long long)zone->used_mem >> 10); in ttm_mem_zone_kobj_release()
107 val = zone->used_mem; in ttm_mem_zone_show()
256 if (zone->used_mem > target) in ttm_zones_above_swap_target()
317 zone->used_mem = 0; in ttm_mem_init_kernel_zone()
353 zone->used_mem = 0; in ttm_mem_init_highmem_zone()
401 zone->used_mem = 0; in ttm_mem_init_dma32_zone()
493 if (zone->used_mem > zone->swap_limit) { in ttm_check_swapping()
518 zone->used_mem -= amount; in ttm_mem_global_free_zone()
576 if (zone->used_mem > limit) in ttm_mem_global_reserve()
[all …]