Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/vmwgfx/
A Dttm_memory.c58 uint64_t used_mem; member
88 zone->name, (unsigned long long)zone->used_mem >> 10); in ttm_mem_zone_kobj_release()
110 val = zone->used_mem; in ttm_mem_zone_show()
259 if (zone->used_mem > target) in ttm_zones_above_swap_target()
320 zone->used_mem = 0; in ttm_mem_init_kernel_zone()
356 zone->used_mem = 0; in ttm_mem_init_highmem_zone()
404 zone->used_mem = 0; in ttm_mem_init_dma32_zone()
492 if (zone->used_mem > zone->swap_limit) { in ttm_check_swapping()
517 zone->used_mem -= amount; in ttm_mem_global_free_zone()
576 if (zone->used_mem > limit) in ttm_mem_global_reserve()
[all …]
/linux/tools/testing/selftests/zram/
A 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))

Completed in 4 milliseconds