Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 16 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c, line 727
- drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c, line 44
- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c, line 693
- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
- drivers/gpu/drm/nouveau/nouveau_abi16.c, line 322
- drivers/gpu/drm/radeon/radeon_kms.c
- drivers/gpu/drm/radeon/radeon_object.c, line 419
- drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
- drivers/gpu/drm/ttm/tests/ttm_resource_test.c, line 246
- drivers/gpu/drm/ttm/ttm_resource.c
- drivers/gpu/drm/xe/xe_pm.c, line 1013
- drivers/gpu/drm/xe/xe_query.c, line 281
- drivers/gpu/drm/xe/xe_ttm_sys_mgr.c, line 44
- drivers/gpu/drm/xe/xe_ttm_vram_mgr.c, line 78
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c amdgpu_mem_info_vram_used_show() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| BUF_SIZE | 0 | man | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c amdgpu_vram_mgr_new() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 0 | man->func | 4096-ptr_max |
| DATA_SOURCE | 0 | man | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_info_ioctl() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 0 | man->use_type | 1 |
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_info_ioctl() -> ttm_resource_manager_usage()
| 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_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| BUF_SIZE | 0 | man | 248 |
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_info_ioctl() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| BUF_SIZE | 0 | man | 248 |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_get_threshold_for_moves() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 0 | man->use_type | 1 |
drivers/gpu/drm/xe/xe_pm.c xe_pm_d3cold_allowed_toggle() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 1-u64max |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
drivers/gpu/drm/ttm/tests/ttm_resource_test.c ttm_resource_manager_usage_basic() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | man | r ttm_manager_type |
drivers/gpu/drm/ttm/ttm_resource.c ttm_resource_manager_debug() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| BUF_SIZE | 0 | man | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | man | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | man | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | man | unit_array_size |
| HALF_LOCKED2 | &m->lock |
drivers/gpu/drm/nouveau/nouveau_abi16.c nouveau_abi16_ioctl_getparam() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | man | r ttm_manager_type |
drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c mem_info_preempt_used_show() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| BUF_SIZE | 0 | man | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/xe/xe_query.c query_mem_regions() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c ttm_bo_validate_deleted_evict() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | man | r ttm_manager_type |
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c ttm_bo_validate_deleted_evict() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 0 | man->bdev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | man->bdev->lru_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | man | r ttm_manager_type |
drivers/gpu/drm/radeon/radeon_object.c radeon_bo_get_threshold_for_moves() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | man | r ttm_manager_type |
| LOCK2 | &rdev->exclusive_lock | ||
| TYPE_LOCK | (struct radeon_device)->exclusive_lock |
drivers/gpu/drm/radeon/radeon_kms.c radeon_info_ioctl() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | man | r ttm_manager_type |
drivers/gpu/drm/radeon/radeon_kms.c radeon_info_ioctl() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | man | r ttm_manager_type |
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c amdgpu_virt_write_vf2pf_data() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 0 | man->use_type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c xe_ttm_vram_mgr_new() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 0 | man->func | 4096-ptr_max |
| DATA_SOURCE | 0 | man | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c amdgpu_gtt_mgr_new() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 0 | man->func | 4096-ptr_max |
| DATA_SOURCE | 0 | man | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c amdgpu_mem_info_gtt_used_show() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| BUF_SIZE | 0 | man | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/xe/xe_ttm_sys_mgr.c xe_ttm_sys_mgr_new() -> ttm_resource_manager_usage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | man | 4096-ptr_max |
| PARAM_VALUE | 0 | man->func | 4096-ptr_max |
| DATA_SOURCE | 0 | man | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |