Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c svm_migrate_ram_to_vram() -> svm_migrate_vma_to_vram()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->adev 0,4096-ptr_max
PARAM_VALUE 0 node->adev->mman.bdev.dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 node->adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 node->adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 node->adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 0 node->adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
PARAM_VALUE 0 node->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 node->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 node->xcp 0,4096-ptr_max
PARAM_VALUE 0 node->xcp->id 0-7
PARAM_VALUE 1 prange 4096-ptr_max
PARAM_VALUE 1 prange->actual_loc 0-4294967294
PARAM_VALUE 1 prange->lock.dep_map->name 0-255
PARAM_VALUE 1 prange->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 prange->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 prange->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 prange->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 prange->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 prange->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 prange->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 prange->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 prange->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 prange->migrate_mutex.dep_map->name 0-255
PARAM_VALUE 1 prange->migrate_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 prange->migrate_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 prange->migrate_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 prange->migrate_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 prange->migrate_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 prange->migrate_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 prange->migrate_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 prange->notifier.ops->invalidate 0,4096-ptr_max
PARAM_VALUE 1 prange->notifier.ops->invalidate_finish 0,2193403108630056960
PARAM_VALUE 1 prange->notifier.ops->invalidate_start 0,7606346720449052672
PARAM_VALUE 1 prange->svm_bo 1-u64max
PARAM_VALUE 1 prange->svm_bo->evicting 0-1
PARAM_VALUE 2 vma 4096-ptr_max
PARAM_VALUE 3 start 0
PARAM_VALUE 4 end 0-18446744073709547520
PARAM_VALUE 5 trigger 0-1
CAPPED_DATA 0 node 1
CAPPED_DATA 1 prange->actual_loc 1
CAPPED_DATA 1 prange->start 1
CAPPED_DATA 4 end 1
CAPPED_DATA 4 end 1
DATA_SOURCE 0 node r svm_range_get_node_by_id
DATA_SOURCE 1 prange $0
DATA_SOURCE 2 vma r vma_lookup
DATA_SOURCE 5 trigger $5
PARAM_COMPARE 3 start <= $4
PARAM_COMPARE 3 start <= $4
PARAM_COMPARE 4 end >= $3
HARD_MAX 5 trigger 1
RX_PATH
TASK_NOT_RUNNING
UNITS 3 start unit_byte
UNITS 4 end unit_byte
UNITS 6 ttm_res_offset unit_byte
LOCK2 &mm->mmap_lock
LOCK2 &svms->lock
LOCK2 1 &prange->migrate_mutex
HALF_LOCKED2 &process_info->lock
TYPE_LOCK (struct mm_struct)->mmap_lock
TYPE_LOCK (struct svm_range)->migrate_mutex
TYPE_LOCK (struct svm_range_list)->lock