Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_driver_open_kms() -> amdgpu_vm_bo_add()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
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,4672,5297,4573560380487,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.dep_map->name 0-255
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 1 vm 4096-ptr_max
PARAM_VALUE 1 vm->delayed.entity_idle.done u32max
PARAM_VALUE 1 vm->delayed.entity_idle.wait.lock.owner (-1)
PARAM_VALUE 1 vm->delayed.entity_idle.wait.lock.owner_cpu u32max
PARAM_VALUE 1 vm->delayed.entity_idle.wait.task_list.next 4096-ptr_max
PARAM_VALUE 1 vm->delayed.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 1 vm->delayed.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 1 vm->delayed.list.next 4096-ptr_max
PARAM_VALUE 1 vm->delayed.list.prev 4096-ptr_max
PARAM_VALUE 1 vm->delayed.rq 4096-ptr_max
PARAM_VALUE 1 vm->delayed.stats 4096-ptr_max
PARAM_VALUE 1 vm->evicting 0
PARAM_VALUE 1 vm->eviction_lock.magic 4096-ptr_max
PARAM_VALUE 1 vm->freed.next 4096-ptr_max
PARAM_VALUE 1 vm->freed.prev 4096-ptr_max
PARAM_VALUE 1 vm->generation 0,4294967296-9223372032559808512,9223372036854775808-18446744069414584320
PARAM_VALUE 1 vm->immediate.entity_idle.done u32max
PARAM_VALUE 1 vm->immediate.entity_idle.wait.lock.owner (-1)
PARAM_VALUE 1 vm->immediate.entity_idle.wait.lock.owner_cpu u32max
PARAM_VALUE 1 vm->immediate.entity_idle.wait.task_list.next 4096-ptr_max
PARAM_VALUE 1 vm->immediate.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 1 vm->immediate.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 1 vm->immediate.list.next 4096-ptr_max
PARAM_VALUE 1 vm->immediate.list.prev 4096-ptr_max
PARAM_VALUE 1 vm->immediate.rq 4096-ptr_max
PARAM_VALUE 1 vm->immediate.stats 4096-ptr_max
PARAM_VALUE 1 vm->last_tlb_flush 7374952732141793280
PARAM_VALUE 1 vm->last_unlocked 7374952732141793280
PARAM_VALUE 1 vm->last_update 7374952732141793280
PARAM_VALUE 1 vm->lru_bulk_move.cursor_list.next 4096-ptr_max
PARAM_VALUE 1 vm->lru_bulk_move.cursor_list.prev 4096-ptr_max
PARAM_VALUE 1 vm->pasid 0-s32max
PARAM_VALUE 1 vm->root.bo 0,4096-ptr_max
PARAM_VALUE 1 vm->update_funcs 85864505331179520,898041574914170880
PARAM_VALUE 2 bo 0
DATA_SOURCE 0 adev r drm_to_adev
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c amdgpu_map_static_csa() -> amdgpu_vm_bo_add()

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->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->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 vm 4096-ptr_max
PARAM_VALUE 1 vm->always_valid.evicted.next 4096-ptr_max
PARAM_VALUE 1 vm->always_valid.evicted.prev 4096-ptr_max
PARAM_VALUE 1 vm->always_valid.idle.next 4096-ptr_max
PARAM_VALUE 1 vm->always_valid.idle.prev 4096-ptr_max
PARAM_VALUE 1 vm->always_valid.needs_update.next 4096-ptr_max
PARAM_VALUE 1 vm->always_valid.needs_update.prev 4096-ptr_max
PARAM_VALUE 1 vm->delayed.entity_idle.done u32max
PARAM_VALUE 1 vm->delayed.entity_idle.wait.lock.owner (-1)
PARAM_VALUE 1 vm->delayed.entity_idle.wait.lock.owner_cpu u32max
PARAM_VALUE 1 vm->delayed.entity_idle.wait.task_list.next 4096-ptr_max
PARAM_VALUE 1 vm->delayed.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 1 vm->delayed.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 1 vm->delayed.list.next 4096-ptr_max
PARAM_VALUE 1 vm->delayed.list.prev 4096-ptr_max
PARAM_VALUE 1 vm->delayed.rq 4096-ptr_max
PARAM_VALUE 1 vm->delayed.stats 4096-ptr_max
PARAM_VALUE 1 vm->evicting 0
PARAM_VALUE 1 vm->eviction_lock.magic 4096-ptr_max
PARAM_VALUE 1 vm->freed.next 4096-ptr_max
PARAM_VALUE 1 vm->freed.prev 4096-ptr_max
PARAM_VALUE 1 vm->generation 0,4294967296-9223372032559808512,9223372036854775808-18446744069414584320
PARAM_VALUE 1 vm->immediate.entity_idle.done u32max
PARAM_VALUE 1 vm->immediate.entity_idle.wait.lock.owner (-1)
PARAM_VALUE 1 vm->immediate.entity_idle.wait.lock.owner_cpu u32max
PARAM_VALUE 1 vm->immediate.entity_idle.wait.task_list.next 4096-ptr_max
PARAM_VALUE 1 vm->immediate.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 1 vm->immediate.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 1 vm->immediate.list.next 4096-ptr_max
PARAM_VALUE 1 vm->immediate.list.prev 4096-ptr_max
PARAM_VALUE 1 vm->immediate.rq 4096-ptr_max
PARAM_VALUE 1 vm->immediate.stats 4096-ptr_max
PARAM_VALUE 1 vm->individual.evicted.next 4096-ptr_max
PARAM_VALUE 1 vm->individual.evicted.prev 4096-ptr_max
PARAM_VALUE 1 vm->individual.idle.next 4096-ptr_max
PARAM_VALUE 1 vm->individual.idle.prev 4096-ptr_max
PARAM_VALUE 1 vm->individual.needs_update.next 4096-ptr_max
PARAM_VALUE 1 vm->individual.needs_update.prev 4096-ptr_max
PARAM_VALUE 1 vm->kernel.evicted.next 4096-ptr_max
PARAM_VALUE 1 vm->kernel.evicted.prev 4096-ptr_max
PARAM_VALUE 1 vm->kernel.idle.next 4096-ptr_max
PARAM_VALUE 1 vm->kernel.idle.prev 4096-ptr_max
PARAM_VALUE 1 vm->kernel.needs_update.next 4096-ptr_max
PARAM_VALUE 1 vm->kernel.needs_update.prev 4096-ptr_max
PARAM_VALUE 1 vm->last_tlb_flush 7374952732141793280
PARAM_VALUE 1 vm->last_unlocked 7374952732141793280
PARAM_VALUE 1 vm->last_update 7374952732141793280
PARAM_VALUE 1 vm->lru_bulk_move.cursor_list.next 4096-ptr_max
PARAM_VALUE 1 vm->lru_bulk_move.cursor_list.prev 4096-ptr_max
PARAM_VALUE 1 vm->pasid 1-s32max
PARAM_VALUE 1 vm->root.bo 4096-ptr_max
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->fences 4096-ptr_max
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 vm->update_funcs 85864505331179520,898041574914170880
CAPPED_DATA 0 adev->vm_manager.root_level 1
DATA_SOURCE 0 adev $0
DATA_SOURCE 1 vm $1
DATA_SOURCE 2 bo $2
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 2 bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_object_open() -> amdgpu_vm_bo_add()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 1 vm 4096-ptr_max
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->fences 4096-ptr_max
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 2 bo 4096-ptr_max
PARAM_VALUE 2 bo->tbo.base.funcs->free 0,4096-ptr_max
PARAM_VALUE 2 bo->vm_bo->vm->stats_lock.rlock.dep_map->name 0-255
BUF_SIZE 1 vm 3584
CAPPED_DATA 1 vm 1
DATA_SOURCE 0 adev r amdgpu_ttm_adev
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->driver_priv->mutex
HALF_LOCKED2 &file_priv->prime.lock
HALF_LOCKED2 &obj->dev->object_name_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c amdgpu_seq64_map() -> amdgpu_vm_bo_add()

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->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 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 vm 4096-ptr_max
PARAM_VALUE 1 vm->always_valid.evicted.next 4096-ptr_max
PARAM_VALUE 1 vm->always_valid.evicted.prev 4096-ptr_max
PARAM_VALUE 1 vm->always_valid.idle.next 4096-ptr_max
PARAM_VALUE 1 vm->always_valid.idle.prev 4096-ptr_max
PARAM_VALUE 1 vm->always_valid.needs_update.next 4096-ptr_max
PARAM_VALUE 1 vm->always_valid.needs_update.prev 4096-ptr_max
PARAM_VALUE 1 vm->delayed.entity_idle.done u32max
PARAM_VALUE 1 vm->delayed.entity_idle.wait.lock.owner (-1)
PARAM_VALUE 1 vm->delayed.entity_idle.wait.lock.owner_cpu u32max
PARAM_VALUE 1 vm->delayed.entity_idle.wait.task_list.next 4096-ptr_max
PARAM_VALUE 1 vm->delayed.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 1 vm->delayed.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 1 vm->delayed.list.next 4096-ptr_max
PARAM_VALUE 1 vm->delayed.list.prev 4096-ptr_max
PARAM_VALUE 1 vm->delayed.rq 4096-ptr_max
PARAM_VALUE 1 vm->delayed.stats 4096-ptr_max
PARAM_VALUE 1 vm->evicting 0
PARAM_VALUE 1 vm->eviction_lock.magic 4096-ptr_max
PARAM_VALUE 1 vm->freed.next 4096-ptr_max
PARAM_VALUE 1 vm->freed.prev 4096-ptr_max
PARAM_VALUE 1 vm->generation 0,4294967296-9223372032559808512,9223372036854775808-18446744069414584320
PARAM_VALUE 1 vm->immediate.entity_idle.done u32max
PARAM_VALUE 1 vm->immediate.entity_idle.wait.lock.owner (-1)
PARAM_VALUE 1 vm->immediate.entity_idle.wait.lock.owner_cpu u32max
PARAM_VALUE 1 vm->immediate.entity_idle.wait.task_list.next 4096-ptr_max
PARAM_VALUE 1 vm->immediate.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 1 vm->immediate.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 1 vm->immediate.list.next 4096-ptr_max
PARAM_VALUE 1 vm->immediate.list.prev 4096-ptr_max
PARAM_VALUE 1 vm->immediate.rq 4096-ptr_max
PARAM_VALUE 1 vm->immediate.stats 4096-ptr_max
PARAM_VALUE 1 vm->individual.evicted.next 4096-ptr_max
PARAM_VALUE 1 vm->individual.evicted.prev 4096-ptr_max
PARAM_VALUE 1 vm->individual.idle.next 4096-ptr_max
PARAM_VALUE 1 vm->individual.idle.prev 4096-ptr_max
PARAM_VALUE 1 vm->individual.needs_update.next 4096-ptr_max
PARAM_VALUE 1 vm->individual.needs_update.prev 4096-ptr_max
PARAM_VALUE 1 vm->kernel.evicted.next 4096-ptr_max
PARAM_VALUE 1 vm->kernel.evicted.prev 4096-ptr_max
PARAM_VALUE 1 vm->kernel.idle.next 4096-ptr_max
PARAM_VALUE 1 vm->kernel.idle.prev 4096-ptr_max
PARAM_VALUE 1 vm->kernel.needs_update.next 4096-ptr_max
PARAM_VALUE 1 vm->kernel.needs_update.prev 4096-ptr_max
PARAM_VALUE 1 vm->last_tlb_flush 7374952732141793280
PARAM_VALUE 1 vm->last_unlocked 7374952732141793280
PARAM_VALUE 1 vm->last_update 7374952732141793280
PARAM_VALUE 1 vm->lru_bulk_move.cursor_list.next 4096-ptr_max
PARAM_VALUE 1 vm->lru_bulk_move.cursor_list.prev 4096-ptr_max
PARAM_VALUE 1 vm->pasid 1-s32max
PARAM_VALUE 1 vm->root.bo 4096-ptr_max
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->fences 4096-ptr_max
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 vm->root.bo->tbo.base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 vm->update_funcs 85864505331179520,898041574914170880
PARAM_VALUE 2 bo 1-u64max
CAPPED_DATA 0 adev 1
CAPPED_DATA 0 adev->vm_manager.root_level 1
DATA_SOURCE 0 adev $0
DATA_SOURCE 1 vm $1
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 2 bo->tbo.base.resv