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/../amdkfd/kfd_chardev.c kfd_ioctl_alloc_memory_of_gpu() -> svm_range_list_lock_and_flush_work()

Type Parameter Key Value
PARAM_VALUE 0 svms 4096-ptr_max
NOCHECK_CALL
UNITS 1 mm unit_byte

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_restore_work() -> svm_range_list_lock_and_flush_work()

Type Parameter Key Value
PARAM_VALUE 0 svms 4096-ptr_max
PARAM_VALUE 1 mm 4096-ptr_max
DATA_SOURCE 1 mm r get_task_mm
NOCHECK_CALL
LOCK2 &process_info->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdkfd_process_info)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 svms 4096-ptr_max
PARAM_VALUE 1 mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 mm->mmap_lock.first_waiter->type 0-1
BUF_SIZE 0 svms 1096
DATA_SOURCE 1 mm $1
NOCHECK_CALL
UNITS 1 mm unit_byte
LOCK2 &process_info->lock
HALF_LOCKED2 &p->mutex
TYPE_LOCK (struct amdkfd_process_info)->lock