Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_vm.c vm_bind_ioctl_ops_execute() -> ops_execute()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->exec_queues.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->exec_queues.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->op_alloc | 0,4178244968145121280 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->op_free | 0 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->sm_step_map | 0,912682263357759488,3850699923445227520,8379760394559614976,8609383518014025728 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->sm_step_remap | 0,3850699923445227520,5121074557911261184,5420759306209017856,8609383518014025728 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->sm_step_unmap | 0,3850699923445227520,5914183354706407424,7504656685248028672,8609383518014025728 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->vm_bo_alloc | 0 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->vm_bo_free | 0,5555473383884926976 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->vm_bo_validate | 0,248747483245506560,265657736556892160,1638191084720013312,1986338527227244544 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->vm_free | 0,826467068035764224,3805946052293255168,5326365468746117120,6598819279086505984 |
| PARAM_VALUE | 0 | vm->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vm->lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | vm->lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | vm->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vm->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.ops->invalidate | 1822217023706652672 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.ops->notifier_alloc | 0 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.ops->notifier_free | 0 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.ops->range_alloc | 2247529597885444096 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.ops->range_free | 2375940009807314944 |
| PARAM_VALUE | 0 | vm->validation._exec | 5891861914877964288 |
| PARAM_VALUE | 0 | vm->validation._exec->flags | 0-3 |
| PARAM_VALUE | 0 | vm->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->xe->val.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->xe->val.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | vops | 2095402379943301120,7719872029486641152 |
| PARAM_VALUE | 1 | vops->flags | 0-12,17-28,32-506 |
| PARAM_VALUE | 1 | vops->num_syncs | 0 |
| PARAM_VALUE | 1 | vops->syncs | 0,4096-ptr_max |
| PARAM_VALUE | 1 | vops->vm | 4096-ptr_max |
| PARAM_VALUE | 1 | vops->vm->svm.gpusvm.notifier_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | vops->vm->svm.gpusvm.notifier_lock.first_waiter->type | 0-1 |
| BUF_SIZE | 0 | vm | (-1),2712 |
| BUF_SIZE | 0 | vm | (-1),2712 |
| CAPPED_DATA | 0 | vm | 1 |
| DATA_SOURCE | 0 | vm | $0 |
| DATA_SOURCE | 1 | vops | $1 |
| MEM_ZERO | 1 | vops | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &vm->lock | |
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_vm.c xe_vm_range_rebind() -> ops_execute()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->gpuvm.ops->op_free | 0 |
| PARAM_VALUE | 0 | vm->size | 1-u64max |
| PARAM_VALUE | 0 | vm->svm.garbage_collector.list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vm->svm.gpusvm->mm->exe_file->f_cred->user->uidhash_node.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->context.global_asid | 0 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->context.ldt | 0 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->user->uidhash_node.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_task_work.func | 5179756662909861888 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_task_work.next | 0-7661163036167163903,7661163036167163905-u64max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->mm_cid.pcpu | 0 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->mm_id | 0 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->mmap_lock.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->mmap_lock.first_waiter->list.prev | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->mmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->notifier_subscriptions->active_invalidate_ranges | 0-s64max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->notifier_subscriptions->invalidate_seq | 2 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->notifier_subscriptions->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->sc_stat.pcpu_sched | 0 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm_start | 0 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.name | 3247675261583343616,8321627992709902336 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_size | 0-u32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.num_chunks | 0,3 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.ops | 0,9157251904928550912 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.root.rb_leftmost | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.root.rb_root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->validation._exec | 13299192113799168 |
| PARAM_VALUE | 0 | vm->validation._exec->contended | 0 |
| PARAM_VALUE | 0 | vm->validation._exec->flags | 0-3 |
| PARAM_VALUE | 0 | vm->validation._exec->ticket.deadlock_inject_countdown | 0-3758096380,u32max |
| PARAM_VALUE | 0 | vm->validation._exec->ticket.deadlock_inject_interval | 0-3758096380,u32max |
| PARAM_VALUE | 0 | vm->validation._exec->ticket.wounded | 0-1 |
| PARAM_VALUE | 0 | vm->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->xe->drm.mode_config.helper_private->atomic_commit_tail | 0,113,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max |
| PARAM_VALUE | 0 | vm->xe->val.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | *vm->svm.gpusvm.mm->exe_file->f_cred->user->uidhash_node.next->pprev | 1-u64max |
| PARAM_VALUE | 1 | vops | 6681896416960835584 |
| PARAM_VALUE | 1 | vops->flags | 8 |
| PARAM_VALUE | 1 | vops->list.next | 2095402379943301120,2313651854003339264,3936094987755937792,6681896416960835584,6998450656257011712,7719872029486641152,8401200971228401664 |
| PARAM_VALUE | 1 | vops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | vops->syncs | 0 |
| PARAM_VALUE | 1 | vops->vm | 4096-ptr_max |
| CAPPED_DATA | 0 | vm->svm.gpusvm.mm | 1 |
| CAPPED_DATA | 0 | vm->svm.gpusvm.num_chunks | 1 |
| DATA_SOURCE | 0 | vm | $0 |
| MEM_ZERO | 1 | vops | |
| LOCK2 | &range->lock | ||
| TYPE_LOCK | (struct xe_svm_range)->lock |
drivers/gpu/drm/xe/xe_vm.c xe_vm_range_unbind() -> ops_execute()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->exec_queues.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->exec_queues.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->op_alloc | 0,4178244968145121280 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->op_free | 0 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->sm_step_map | 0,912682263357759488,3850699923445227520,8379760394559614976,8609383518014025728 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->sm_step_remap | 0,3850699923445227520,5121074557911261184,5420759306209017856,8609383518014025728 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->sm_step_unmap | 0,3850699923445227520,5914183354706407424,7504656685248028672,8609383518014025728 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->vm_bo_alloc | 0 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->vm_bo_free | 0,5555473383884926976 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->vm_bo_validate | 0,248747483245506560,265657736556892160,1638191084720013312,1986338527227244544 |
| PARAM_VALUE | 0 | vm->gpuvm.ops->vm_free | 0,826467068035764224,3805946052293255168,5326365468746117120,6598819279086505984 |
| PARAM_VALUE | 0 | vm->lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | vm->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vm->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vm->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->exe_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.mm_start | 0 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.name | 3247675261583343616,8321627992709902336 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_size | 0-u32max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.num_chunks | 0,3 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.ops | 0,9157251904928550912 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.ops->invalidate | 1822217023706652672 |
| PARAM_VALUE | 0 | vm->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->xe->drm.mode_config.helper_private->atomic_commit_tail | 0,113,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max |
| PARAM_VALUE | 0 | vm->xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->xe->val.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | vops | 2313651854003339264 |
| PARAM_VALUE | 1 | vops->flags | 0 |
| PARAM_VALUE | 1 | vops->list.next | 2095402379943301120,2313651854003339264,3936094987755937792,6681896416960835584,6998450656257011712,7719872029486641152,8401200971228401664 |
| PARAM_VALUE | 1 | vops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | vops->syncs | 0 |
| PARAM_VALUE | 1 | vops->vm | 4096-ptr_max |
| DATA_SOURCE | 0 | vm | $0 |
| MEM_ZERO | 1 | vops | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| LOCK2 | 0 | &vm->lock | |
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_vm.c xe_vm_rebind() -> ops_execute()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->gpuvm.ops | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->gpuvm.ops->vm_bo_validate | 0,248747483245506560,265657736556892160,1638191084720013312,1986338527227244544 |
| PARAM_VALUE | 0 | vm->gpuvm.r_obj->_resv.lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 0 | vm->gpuvm.r_obj->resv->lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 0 | vm->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->xe->drm.mode_config.helper_private->atomic_commit_tail | 0,113,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max |
| PARAM_VALUE | 0 | vm->xe->val.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | vops | 8401200971228401664 |
| PARAM_VALUE | 1 | vops->flags | 0 |
| PARAM_VALUE | 1 | vops->list.next | 2095402379943301120,2313651854003339264,3936094987755937792,6681896416960835584,6998450656257011712,7719872029486641152,8401200971228401664 |
| PARAM_VALUE | 1 | vops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | vops->syncs | 0 |
| PARAM_VALUE | 1 | vops->vm | 4096-ptr_max |
| CAPPED_DATA | 0 | &vm->rebind_list | 1 |
| DATA_SOURCE | 0 | vm | $0 |
| PARAM_COMPARE | 0 | &vm->rebind_list | != $0->rebind_list.next |
| MEM_ZERO | 1 | vops | |
| HALF_LOCKED2 | 0 | &vm->lock |
drivers/gpu/drm/xe/xe_vm.c xe_vma_rebind() -> ops_execute()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vm->svm.gpusvm.notifier_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vm->validation._exec | 7747202913587535872 |
| PARAM_VALUE | 0 | vm->validation._exec->contended | 0 |
| PARAM_VALUE | 0 | vm->validation._exec->flags | 0-3 |
| PARAM_VALUE | 0 | vm->validation._exec->prelocked | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vm->xe | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->xe->val.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | vops | 3936094987755937792 |
| PARAM_VALUE | 1 | vops->flags | 8 |
| PARAM_VALUE | 1 | vops->list.next | 2095402379943301120,2313651854003339264,3936094987755937792,6681896416960835584,6998450656257011712,7719872029486641152,8401200971228401664 |
| PARAM_VALUE | 1 | vops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | vops->syncs | 0 |
| PARAM_VALUE | 1 | vops->vm | 4096-ptr_max |
| DATA_SOURCE | 0 | vm | $0 |
| MEM_ZERO | 1 | vops | |
| LOCK2 | &vm->lock | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |