Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c, line 347
- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c, line 1609
- drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_driver_postclose_kms() -> amdgpu_vm_bo_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| CAPPED_DATA | 0 | adev->num_ip_blocks | 1 |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | pd->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c amdgpu_map_static_csa() -> amdgpu_vm_bo_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->delayed_init_work.timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->gfx.mcbp | 1 |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637,41694,41717,62460,65472 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent | 0,148606482432692224,436469935444291584 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.pool.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.vma_manager->vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->mman.bdev.vma_manager->vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->vm_manager.pasids.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->vm_manager.vm_pte_num_scheds | 1-u32max |
| PARAM_VALUE | 0 | adev->xcp_mgr | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bo_va | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.bo | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm_status.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm_status.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->invalids.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->invalids.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->last_pt_update | 7374952732141793280 |
| PARAM_VALUE | 1 | bo_va->ref_count | 1 |
| PARAM_VALUE | 1 | bo_va->valids.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->valids.prev | 4096-ptr_max |
| CAPPED_DATA | 0 | adev->vm_manager.root_level | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | bo_va | r amdgpu_vm_bo_add |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bo->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c amdgpu_unmap_static_csa() -> amdgpu_vm_bo_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.prt_warning | 1 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->vm_manager.prt_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | bo_va | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm->freed.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm->freed.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm->freed.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm->va.rb_leftmost | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->last_pt_update->cb_list.next->next | 9027468483932250112 |
| PARAM_VALUE | 1 | bo_va->last_pt_update->cb_list.next->prev | 9027468483932250112 |
| PARAM_VALUE | 1 | bo_va->last_pt_update->cb_list.prev->next->next | 4096-ptr_max |
| CAPPED_DATA | 0 | adev->num_ip_blocks | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | bo_va | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bo->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_object_close() -> amdgpu_vm_bo_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->ref_count | 0 |
| DATA_SOURCE | 0 | adev | r amdgpu_ttm_adev |
| DATA_SOURCE | 1 | bo_va | r amdgpu_vm_bo_find |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->object_name_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c kfd_mem_detach() -> amdgpu_vm_bo_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | bo_va | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->ref_count | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &p->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c amdgpu_seq64_map() -> amdgpu_vm_bo_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->delayed_init_work.timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent | 0,148606482432692224,436469935444291584 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.pool.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.vma_manager->vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->mman.bdev.vma_manager->vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->seq64.sbo | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.resource->lru.link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.resource->lru.link.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.resource->lru.link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.resource->lru.link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->vm_bo->vm | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->vm_bo->vm_status.next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->vm_bo->vm_status.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->vm_manager.pasids.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->vm_manager.vm_pte_num_scheds | 1-u32max |
| PARAM_VALUE | 0 | adev->xcp_mgr | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bo_va | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.bo | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm_status.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm_status.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->invalids.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->invalids.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->last_pt_update | 7374952732141793280 |
| PARAM_VALUE | 1 | bo_va->ref_count | 1 |
| PARAM_VALUE | 1 | bo_va->valids.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->valids.prev | 4096-ptr_max |
| CAPPED_DATA | 0 | adev | 1 |
| CAPPED_DATA | 0 | adev->vm_manager.root_level | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | bo_va | r amdgpu_vm_bo_add |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bo->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c amdgpu_seq64_map() -> amdgpu_vm_bo_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->delayed_init_work.timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->gmc.prt_warning | 1 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->list.next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->mes.saved_flags | 0,2048 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent | 0,148606482432692224,436469935444291584 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.pool.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.vma_manager->vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->mman.bdev.vma_manager->vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->seq64.sbo | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.resource->lru.link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.resource->lru.link.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.resource->lru.link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.resource->lru.link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->vm_bo->vm | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->vm_bo->vm_status.next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->vm_bo->vm_status.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->vm_manager.max_pfn | 1-u64max |
| PARAM_VALUE | 0 | adev->vm_manager.pasids.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->vm_manager.prt_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->vm_manager.vm_pte_num_scheds | 1-u32max |
| PARAM_VALUE | 0 | adev->xcp_mgr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | bo_va | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.bo | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm_status.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm_status.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->invalids.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->last_pt_update | 7374952732141793280 |
| PARAM_VALUE | 1 | bo_va->ref_count | 1 |
| CAPPED_DATA | 0 | adev | 1 |
| CAPPED_DATA | 0 | adev->vm_manager.max_pfn | 1 |
| CAPPED_DATA | 0 | adev->vm_manager.root_level | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | bo_va | r amdgpu_vm_bo_add |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bo->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c amdgpu_seq64_unmap() -> amdgpu_vm_bo_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->seq64.sbo | 1-u64max |
| PARAM_VALUE | 1 | bo_va | 1-u64max |
| CAPPED_DATA | 0 | adev->num_ip_blocks | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bo->tbo.base.resv |