Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 19 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c, line 390
- drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c, line 147
- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c, line 2708
- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c, line 1006
- drivers/gpu/drm/i915/i915_ttm_buddy_manager.c, line 342
- drivers/gpu/drm/loongson/lsdc_ttm.c, line 413
- drivers/gpu/drm/nouveau/nouveau_drm.c, line 963
- drivers/gpu/drm/nouveau/nouveau_ttm.c
- drivers/gpu/drm/qxl/qxl_object.c
- drivers/gpu/drm/radeon/radeon_object.c, line 363
- drivers/gpu/drm/ttm/tests/ttm_mock_manager.c, line 138
- drivers/gpu/drm/ttm/ttm_range_manager.c, line 229
- drivers/gpu/drm/ttm/ttm_resource.c, line 614
- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
- drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c, line 196
- drivers/gpu/drm/vmwgfx/vmwgfx_system_manager.c, line 82
- drivers/gpu/drm/xe/xe_bo_evict.c
- drivers/gpu/drm/xe/xe_ttm_sys_mgr.c, line 95
- drivers/gpu/drm/xe/xe_ttm_vram_mgr.c, line 321
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c amdgpu_vram_mgr_fini() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | man->use_type | 0 |
| BUF_SIZE | 1 | man | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/gpu/drm/qxl/qxl_object.c qxl_surf_evict() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/qxl/qxl_object.c qxl_vram_evict() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_evict_resources() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &attr->mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_release_device_early() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_request_device() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| DATA_SOURCE | 1 | 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_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | man->use_type | 1 |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c amdgpu_preempt_mgr_fini() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | man->use_type | 0 |
| BUF_SIZE | 1 | man | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/gpu/drm/ttm/ttm_range_manager.c ttm_range_man_fini_nocheck() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | man->use_type | 0 |
| DATA_SOURCE | 0 | bdev | $0 |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nouveau_ttm.c nouveau_ttm_fini_gtt() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | man->use_type | 0 |
| DATA_SOURCE | 1 | 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_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | man->use_type | 0 |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/radeon/radeon_object.c radeon_bo_evict_vram() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 1-u64max |
| BUF_SIZE | 0 | bdev | 5760 |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c i915_ttm_buddy_man_fini() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | man->use_type | 0 |
| DATA_SOURCE | 0 | bdev | $0 |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c vmw_gmrid_man_fini() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | man->use_type | 0 |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c xe_ttm_vram_mgr_fini() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| BUF_SIZE | 1 | man | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c amdgpu_gtt_mgr_fini() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | man->use_type | 0 |
| BUF_SIZE | 1 | man | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/gpu/drm/xe/xe_bo_evict.c xe_bo_evict_all_user() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 1-u64max |
| BUF_SIZE | 0 | bdev | 5760 |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_bo_evict.c xe_bo_pci_dev_remove_all() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 1-u64max |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c ttm_mock_manager_fini() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->dev_mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | bdev->dev_mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| PARAM_VALUE | 0 | bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | bdev->dev_mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | bdev->dev_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | bdev->dev_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | bdev->dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | bdev->funcs->access_memory | 0,1017633713053646848,3225919106585391104,6129073923208413184 |
| PARAM_VALUE | 0 | bdev->funcs->delete_mem_notify | 0,1324054607772385280,3362702293586616320,3508674538459328512,4046619066990776320,4672322443624128512,6012858452504408064 |
| PARAM_VALUE | 0 | bdev->funcs->eviction_valuable | 0,1858549247423643648,2081513394135252992,4678632391305342976,8260624757114155008 |
| PARAM_VALUE | 0 | bdev->funcs->io_mem_free | 0,2194093600872873984 |
| PARAM_VALUE | 0 | bdev->funcs->io_mem_pfn | 0,2706132887046717440,3654902622055292928,7331281985970253824 |
| PARAM_VALUE | 0 | bdev->funcs->release_notify | 0,6700952100510887936,8497440169773187072 |
| PARAM_VALUE | 0 | bdev->funcs->swap_notify | 0,444935274221056000,3637901885053157376,5073818069448499200 |
| PARAM_VALUE | 0 | bdev->funcs->ttm_tt_create | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->funcs->ttm_tt_populate | 0,222258046416863232,3994591000577544192,4134842942852018176,4222010675217444864,4805071350855475200,7664591298186248192,8057603946702434304 |
| PARAM_VALUE | 0 | bdev->funcs->ttm_tt_unpopulate | 0,4666166901115146240,5282055296047239168,6183271797138042880,6595337069447958528,7578260243328782336,7595606228058984448,7854353412451688448 |
| PARAM_VALUE | 0 | bdev->pool.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | bdev->pool.dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | bdev->pool.dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | bdev->pool.dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | bdev->sysman.func->alloc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdev->sysman.func->free | 0,4096-ptr_max |
| DATA_SOURCE | 0 | bdev | $0 |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
drivers/gpu/drm/vmwgfx/vmwgfx_system_manager.c vmw_sys_man_fini() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_ttm_sys_mgr.c xe_ttm_sys_mgr_fini() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 4096-ptr_max |
| PARAM_VALUE | 1 | man->use_type | 0 |
| BUF_SIZE | 1 | man | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/loongson/lsdc_ttm.c lsdc_bo_evict_vram() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 1 | man | 1-u64max |
| BUF_SIZE | 0 | bdev | 5760 |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nouveau_drm.c nouveau_do_suspend() -> ttm_resource_manager_evict_all()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| DATA_SOURCE | 1 | man | r ttm_manager_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |