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_process.c kfd_process_alloc_gpuvm() -> amdgpu_amdkfd_gpuvm_sync_memory()

Type Parameter Key Value
PARAM_VALUE 0 adev->kfd.client.file->table_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
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 0 adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 1 mem 4096-ptr_max
PARAM_VALUE 1 mem->bo 4096-ptr_max
PARAM_VALUE 1 mem->dmabuf 4096-ptr_max
PARAM_VALUE 1 mem->lock.osq.tail.counter 0-s32max
PARAM_VALUE 2 intr 1
LOCK2 &p->mutex
TYPE_LOCK (struct kfd_process)->mutex

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_ioctl_map_memory_to_gpu() -> amdgpu_amdkfd_gpuvm_sync_memory()

Type Parameter Key Value
PARAM_VALUE 1 mem 1-u64max
PARAM_VALUE 2 intr 1
DATA_SOURCE 1 mem r kfd_process_device_translate_handle
LOCK2 &p->mutex
TYPE_LOCK (struct kfd_process)->mutex

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_ioctl_unmap_memory_from_gpu() -> amdgpu_amdkfd_gpuvm_sync_memory()

Type Parameter Key Value
PARAM_VALUE 1 mem 1-u64max
PARAM_VALUE 2 intr 1
DATA_SOURCE 1 mem r kfd_process_device_translate_handle
LOCK2 &p->mutex
TYPE_LOCK (struct kfd_process)->mutex