Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_handle_list_op() -> svm_range_unlink()

Type Parameter Key Value
PARAM_VALUE 0 prange 4096-ptr_max
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->work_item.mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 prange->work_item.op 1
DATA_SOURCE 0 prange $1
NOCHECK_CALL
LOCK2 &mm->mmap_lock
LOCK2 &svms->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &prange->migrate_mutex
TYPE_LOCK (struct mm_struct)->mmap_lock
TYPE_LOCK (struct svm_range_list)->lock

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_list_fini() -> svm_range_unlink()

Type Parameter Key Value
PARAM_VALUE 0 prange 4096-ptr_max
CAPPED_DATA 0 &prange->list 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &kfd_processes_mutex

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_set_attr() -> svm_range_unlink()

Type Parameter Key Value
PARAM_VALUE 0 prange 4096-ptr_max
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
NOCHECK_CALL
LOCK2 &mm->mmap_lock
LOCK2 &process_info->lock
LOCK2 &svms->lock
HALF_LOCKED2 &p->mutex
TYPE_LOCK (struct amdkfd_process_info)->lock
TYPE_LOCK (struct mm_struct)->mmap_lock
TYPE_LOCK (struct svm_range_list)->lock