Documented in 1 files:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c amdgpu_vram_attrs_is_visible() -> ttm_resource_manager_used()

Type Parameter Key Value
PARAM_VALUE 0 man 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/ttm/ttm_bo.c ttm_bo_alloc_resource() -> ttm_resource_manager_used()

Type Parameter Key Value
PARAM_VALUE 0 man 1-u64max
DATA_SOURCE 0 man r ttm_manager_type
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bo->base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_info_ioctl() -> ttm_resource_manager_used()

Type Parameter Key Value
PARAM_VALUE 0 man 4096-ptr_max

drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_info_ioctl() -> ttm_resource_manager_used()

Type Parameter Key Value
PARAM_VALUE 0 man 4096-ptr_max

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_get_threshold_for_moves() -> ttm_resource_manager_used()

Type Parameter Key Value
PARAM_VALUE 0 man 4096-ptr_max

drivers/gpu/drm/vmwgfx/vmwgfx_drv.c __vmw_svga_disable() -> ttm_resource_manager_used()

Type Parameter Key Value
DATA_SOURCE 0 man r ttm_manager_type
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/vmwgfx/vmwgfx_drv.c __vmw_svga_enable() -> ttm_resource_manager_used()

Type Parameter Key Value
DATA_SOURCE 0 man r ttm_manager_type
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_svga_disable() -> ttm_resource_manager_used()

Type Parameter Key Value
DATA_SOURCE 0 man r ttm_manager_type
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_tile.c xe_tile_init_noalloc() -> ttm_resource_manager_used()

Type Parameter Key Value
PARAM_VALUE 0 man 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c amdgpu_virt_ras_reserve_bps() -> ttm_resource_manager_used()

Type Parameter Key Value
PARAM_VALUE 0 man 4096-ptr_max
BUF_SIZE 0 man 248
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->reset_domain->sem

drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c amdgpu_virt_write_vf2pf_data() -> ttm_resource_manager_used()

Type Parameter Key Value
PARAM_VALUE 0 man 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING