Documented in 1 files:
Defined in 1 files as a function:
Referenced in 15 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
- drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
- drivers/gpu/drm/nouveau/nouveau_ttm.c
- drivers/gpu/drm/ttm/tests/ttm_mock_manager.c
- drivers/gpu/drm/ttm/tests/ttm_resource_test.c
- drivers/gpu/drm/ttm/ttm_device.c, line 264
- drivers/gpu/drm/ttm/ttm_range_manager.c
- drivers/gpu/drm/ttm/ttm_sys_manager.c, line 48
- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
- drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c
- drivers/gpu/drm/vmwgfx/vmwgfx_system_manager.c
- drivers/gpu/drm/xe/xe_ttm_sys_mgr.c
- drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c amdgpu_vram_mgr_fini() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 0 |
| BUF_SIZE | 0 | man | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c amdgpu_vram_mgr_init() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | man->size | 4096-4503599626321920[c] |
drivers/gpu/drm/ttm/ttm_device.c ttm_device_fini() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | used | 0 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c __vmw_svga_disable() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 0 | man->use_type | 1 |
| PARAM_VALUE | 1 | used | 0 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c __vmw_svga_enable() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 0 | man->use_type | 0 |
| PARAM_VALUE | 1 | used | 1 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_svga_disable() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 0 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_vram_manager_init() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | used | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/ttm/tests/ttm_resource_test.c ttm_init_test_manager() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| DATA_SOURCE | 0 | man | r kunit_kzalloc |
| MEM_ZERO | 0 | man | |
| NOCHECK_CALL |
drivers/gpu/drm/ttm/tests/ttm_resource_test.c ttm_resource_manager_set_used_basic() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 0 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c amdgpu_preempt_mgr_fini() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 0 |
| BUF_SIZE | 0 | man | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c amdgpu_preempt_mgr_init() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | man->size | 1073741824[c] |
drivers/gpu/drm/ttm/ttm_sys_manager.c ttm_sys_man_init() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/ttm/ttm_range_manager.c ttm_range_man_fini_nocheck() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 1-u64max |
| PARAM_VALUE | 1 | used | 0 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/ttm/ttm_range_manager.c ttm_range_man_init_nocheck() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | man->size | 0-4503599626321920[c] |
drivers/gpu/drm/nouveau/nouveau_ttm.c nouveau_ttm_fini_gtt() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | used | 0 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/nouveau/nouveau_ttm.c nouveau_ttm_fini_vram() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | used | 0 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/nouveau/nouveau_ttm.c nouveau_ttm_init_gtt() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| DATA_SOURCE | 0 | man | r _kzalloc_noprof |
| BIT_INFO | 0 | man->func | 0x4838840900202000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/nouveau/nouveau_ttm.c nouveau_ttm_init_vram() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->cg | (-1),96 |
| BUF_SIZE | 0 | man->func | 40 |
| DATA_SOURCE | 0 | man | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c i915_ttm_buddy_man_fini() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | used | 0 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c i915_ttm_buddy_man_init() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c vmw_gmrid_man_fini() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | used | 0 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c vmw_gmrid_man_init() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | man->size | 0[c] |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c __xe_ttm_vram_mgr_init() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 0 | man->use_type | 0 |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| CAPPED_DATA | 0 | man->size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c xe_ttm_vram_mgr_set_unused() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | used | 0 |
| DATA_SOURCE | 0 | man | $1 |
| STR_LEN | 0 | man | (-1),28 |
| STR_LEN | 0 | man | (-1),28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | man | unit_byte |
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c amdgpu_gtt_mgr_fini() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 0 |
| BUF_SIZE | 0 | man | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c amdgpu_gtt_mgr_init() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | man->size | 0,4096-4503599626321920[c] |
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c ttm_bad_manager_fini() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | used | 0 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| NOCHECK_CALL |
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c ttm_bad_manager_init() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| DATA_SOURCE | 0 | man | r _kzalloc_noprof |
| NOCHECK_CALL |
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c ttm_mock_manager_fini() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | used | 0 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| NOCHECK_CALL |
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c ttm_mock_manager_init() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_system_manager.c vmw_sys_man_fini() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | used | 0 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_system_manager.c vmw_sys_man_init() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| DATA_SOURCE | 0 | man | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_ttm_sys_mgr.c xe_ttm_sys_mgr_fini() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 0 |
| BUF_SIZE | 0 | man | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/xe/xe_ttm_sys_mgr.c xe_ttm_sys_mgr_init() -> ttm_resource_manager_set_used()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | used | 1 |
| BUF_SIZE | 0 | man | 248 |
| BUF_SIZE | 0 | man->func | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |