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/../amdkfd/kfd_migrate.c svm_migrate_ram_to_vram() -> svm_range_vram_node_free()

Type Parameter Key Value
PARAM_VALUE 0 prange 4096-ptr_max
PARAM_VALUE 0 prange->actual_loc 0
PARAM_VALUE 0 prange->lock.dep_map->name 0-255
PARAM_VALUE 0 prange->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 prange->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 prange->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 prange->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 prange->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 prange->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 prange->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 prange->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 prange->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 prange->migrate_mutex.dep_map->name 0-255
PARAM_VALUE 0 prange->migrate_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 prange->migrate_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 prange->migrate_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 prange->migrate_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 prange->migrate_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 prange->migrate_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 prange->migrate_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 prange->notifier.ops->invalidate 0,4096-ptr_max
PARAM_VALUE 0 prange->notifier.ops->invalidate_finish 0,2193403108630056960
PARAM_VALUE 0 prange->notifier.ops->invalidate_start 0,7606346720449052672
PARAM_VALUE 0 prange->svm_bo 1-u64max
PARAM_VALUE 0 prange->svm_bo->evicting 0-1
CAPPED_DATA 0 prange->start 1
DATA_SOURCE 0 prange $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mm->mmap_lock
LOCK2 &svms->lock
LOCK2 0 &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

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c svm_migrate_vram_to_ram() -> svm_range_vram_node_free()

Type Parameter Key Value
PARAM_VALUE 0 prange 4096-ptr_max
PARAM_VALUE 0 prange->actual_loc 0
PARAM_VALUE 0 prange->notifier.ops->invalidate 0,4096-ptr_max
PARAM_VALUE 0 prange->notifier.ops->invalidate_finish 0,2193403108630056960
PARAM_VALUE 0 prange->notifier.ops->invalidate_start 0,7606346720449052672
PARAM_VALUE 0 prange->ttm_res 1-u64max
PARAM_VALUE 0 prange->vram_pages 0
CAPPED_DATA 0 prange->start 1
DATA_SOURCE 0 prange $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &prange->migrate_mutex
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &p->svms.lock
HALF_LOCKED2 &process_info->lock
HALF_LOCKED2 &svms->lock
TYPE_LOCK (struct svm_range)->migrate_mutex

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_free() -> svm_range_vram_node_free()

Type Parameter Key Value
PARAM_VALUE 0 prange 4096-ptr_max
PARAM_VALUE 0 prange->migrate_mutex.dep_map->name 0-255
PARAM_VALUE 0 prange->migrate_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 prange->migrate_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 prange->migrate_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 prange->migrate_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 prange->migrate_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 prange->migrate_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 prange->migrate_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 prange->migrate_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 prange->migrate_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 prange->notifier.ops->invalidate 0,4096-ptr_max
PARAM_VALUE 0 prange->notifier.ops->invalidate_finish 0,2193403108630056960
PARAM_VALUE 0 prange->notifier.ops->invalidate_start 0,7606346720449052672
PARAM_VALUE 0 prange->svm_bo 0,4096-ptr_max
PARAM_VALUE 0 prange->work_item.mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 prange->work_item.mm->mmap_lock.first_waiter->type 0-1
BUF_SIZE 0 prange (-1),1176
BUF_SIZE 0 prange (-1),1176
BUF_SIZE 0 prange->svms (-1),1096
CAPPED_DATA 0 &prange->migrate_mutex 1
DATA_SOURCE 0 prange $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 prange->last 0-9007199254740989
USER_DATA 0 prange->npages 1-9007199254740990
USER_DATA 0 prange->start 0-9007199254740990[c]
NO_OVERFLOW_SIMPLE 0 prange->offset
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &process_info->lock
HALF_LOCKED2 &svms->lock