Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_gem_shmem_helper.c123 WARN_ON(shmem->vmap_use_count); in drm_gem_shmem_free_object()
266 if (shmem->vmap_use_count++ > 0) in drm_gem_shmem_vmap_locked()
296 shmem->vmap_use_count = 0; in drm_gem_shmem_vmap_locked()
337 if (WARN_ON_ONCE(!shmem->vmap_use_count)) in drm_gem_shmem_vunmap_locked()
340 if (--shmem->vmap_use_count > 0) in drm_gem_shmem_vunmap_locked()
654 drm_printf_indent(p, indent, "vmap_use_count=%u\n", shmem->vmap_use_count); in drm_gem_shmem_print_info()
/kernel/linux/linux-5.10/include/drm/
Ddrm_gem_shmem_helper.h98 unsigned int vmap_use_count; member
124 !shmem->vmap_use_count && shmem->sgt && in drm_gem_shmem_is_purgeable()