Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_init() -> amdgpu_vm_pt_create()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
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->delayed.cb.func 0
PARAM_VALUE 1 vm->delayed.cb.node.next 0
PARAM_VALUE 1 vm->delayed.cb.node.prev 0
PARAM_VALUE 1 vm->delayed.dependency 0
PARAM_VALUE 1 vm->delayed.entity_idle.done u32max
PARAM_VALUE 1 vm->delayed.entity_idle.wait.lock.dep_map->name 0-255
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.next->next 4096-ptr_max
PARAM_VALUE 1 vm->delayed.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 1 vm->delayed.entity_idle.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 1 vm->delayed.entity_idle.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 vm->delayed.fence_seq.counter 0
PARAM_VALUE 1 vm->delayed.guilty 0
PARAM_VALUE 1 vm->delayed.job_queue.head 0
PARAM_VALUE 1 vm->delayed.job_queue.job_count.counter 0
PARAM_VALUE 1 vm->delayed.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 1 vm->delayed.last_scheduled 0
PARAM_VALUE 1 vm->delayed.list.next 4096-ptr_max
PARAM_VALUE 1 vm->delayed.list.next->next 4096-ptr_max
PARAM_VALUE 1 vm->delayed.list.prev 4096-ptr_max
PARAM_VALUE 1 vm->delayed.list.prev->next 4096-ptr_max
PARAM_VALUE 1 vm->delayed.list.prev->prev 4096-ptr_max
PARAM_VALUE 1 vm->delayed.oldest_job_waiting 0
PARAM_VALUE 1 vm->delayed.rb_tree_node.rb_left 0
PARAM_VALUE 1 vm->delayed.rb_tree_node.rb_right 0
PARAM_VALUE 1 vm->delayed.rq 4096-ptr_max
PARAM_VALUE 1 vm->delayed.sched_list 0,4096-ptr_max
PARAM_VALUE 1 vm->delayed.stats 4096-ptr_max
PARAM_VALUE 1 vm->delayed.stats->avg_job_us.internal 0
PARAM_VALUE 1 vm->delayed.stats->kref.refcount.refs.counter 1
PARAM_VALUE 1 vm->delayed.stopped 0
PARAM_VALUE 1 vm->evicting 0
PARAM_VALUE 1 vm->eviction_lock.dep_map->name 0-255
PARAM_VALUE 1 vm->eviction_lock.first_waiter 0
PARAM_VALUE 1 vm->eviction_lock.magic 4096-ptr_max
PARAM_VALUE 1 vm->eviction_lock.osq.tail.counter 0
PARAM_VALUE 1 vm->eviction_lock.owner.counter 0
PARAM_VALUE 1 vm->freed.next 4096-ptr_max
PARAM_VALUE 1 vm->freed.next->next 4096-ptr_max
PARAM_VALUE 1 vm->freed.prev 4096-ptr_max
PARAM_VALUE 1 vm->freed.prev->next 4096-ptr_max
PARAM_VALUE 1 vm->freed.prev->prev 4096-ptr_max
PARAM_VALUE 1 vm->generation 0,4294967296-9223372032559808512,9223372036854775808-18446744069414584320
PARAM_VALUE 1 vm->immediate.cb.func 0
PARAM_VALUE 1 vm->immediate.cb.node.next 0
PARAM_VALUE 1 vm->immediate.cb.node.prev 0
PARAM_VALUE 1 vm->immediate.dependency 0
PARAM_VALUE 1 vm->immediate.entity_idle.done u32max
PARAM_VALUE 1 vm->immediate.entity_idle.wait.lock.dep_map->name 0-255
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.next->next 4096-ptr_max
PARAM_VALUE 1 vm->immediate.entity_idle.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 1 vm->immediate.entity_idle.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 1 vm->immediate.entity_idle.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 vm->immediate.fence_seq.counter 0
PARAM_VALUE 1 vm->immediate.guilty 0
PARAM_VALUE 1 vm->immediate.job_queue.head 0
PARAM_VALUE 1 vm->immediate.job_queue.tail.counter s64min-(-4096),4096-s64max
PARAM_VALUE 1 vm->immediate.last_scheduled 0
PARAM_VALUE 1 vm->immediate.list.next 4096-ptr_max
PARAM_VALUE 1 vm->immediate.list.next->next 4096-ptr_max
PARAM_VALUE 1 vm->immediate.list.prev 4096-ptr_max
PARAM_VALUE 1 vm->immediate.list.prev->next 4096-ptr_max
PARAM_VALUE 1 vm->immediate.list.prev->prev 4096-ptr_max
PARAM_VALUE 1 vm->immediate.oldest_job_waiting 0
PARAM_VALUE 1 vm->immediate.rb_tree_node.rb_left 0
PARAM_VALUE 1 vm->immediate.rb_tree_node.rb_right 0
PARAM_VALUE 1 vm->immediate.rq 4096-ptr_max
PARAM_VALUE 1 vm->immediate.sched_list 0,4096-ptr_max
PARAM_VALUE 1 vm->immediate.stats 4096-ptr_max
PARAM_VALUE 1 vm->immediate.stats->kref.refcount.refs.counter 1
PARAM_VALUE 1 vm->immediate.stopped 0
PARAM_VALUE 1 vm->is_compute_context 0
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.next->next 4096-ptr_max
PARAM_VALUE 1 vm->lru_bulk_move.cursor_list.prev 4096-ptr_max
PARAM_VALUE 1 vm->lru_bulk_move.cursor_list.prev->next 4096-ptr_max
PARAM_VALUE 1 vm->lru_bulk_move.cursor_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 vm->reserved_vmid 4096-ptr_max
PARAM_VALUE 1 vm->update_funcs 85864505331179520,898041574914170880
PARAM_VALUE 3 immediate 0
PARAM_VALUE 4 vmbo 635583645445541888
BUF_SIZE 1 vm->update_funcs 32
CAPPED_DATA 1 vm->immediate.stats 1
DATA_SOURCE 0 adev $0
DATA_SOURCE 1 vm $1
DATA_SOURCE 5 xcp_id $2
CAPABLE 0 21
BIT_INFO 0 adev->vm_manager.vm_update_mode 0x0,0xffffffff
BIT_INFO 1 vm->update_funcs 0x300c000a002000,0xd777d5deb5ee000
MEM_ZERO 1 &vm->delayed
MEM_ZERO 1 &vm->immediate
MEM_ZERO 1 &vm->lru_bulk_move
RX_PATH
TASK_NOT_RUNNING
UNITS 5 xcp_id unit_array_size

drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c amdgpu_vm_pt_alloc() -> amdgpu_vm_pt_create()

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,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
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 1 vm->eviction_lock.dep_map->name 0-255
PARAM_VALUE 1 vm->eviction_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 vm->eviction_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 vm->eviction_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 vm->eviction_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 vm->eviction_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 vm->root.bo 4096-ptr_max
PARAM_VALUE 1 vm->update_funcs->update 4096-ptr_max
PARAM_VALUE 4 vmbo 185176979764625408
DATA_SOURCE 0 adev $0
DATA_SOURCE 1 vm $1
DATA_SOURCE 3 immediate $3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &vm->eviction_lock
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &prange->lock
HALF_LOCKED2 &prange->migrate_mutex
HALF_LOCKED2 &svms->lock