Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
- drivers/gpu/drm/amd/amdkfd/kfd_svm.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_ioctl_map_memory_to_gpu() -> kfd_flush_tlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->user_gpu_id | 1-u32max |
| CAPPED_DATA | 0 | pdd->user_gpu_id | 1 |
| DATA_SOURCE | 0 | pdd | r kfd_process_device_data_by_id |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_ioctl_unmap_memory_from_gpu() -> kfd_flush_tlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->user_gpu_id | 1-u32max |
| CAPPED_DATA | 0 | pdd->user_gpu_id | 1 |
| DATA_SOURCE | 0 | pdd | r kfd_process_device_data_by_id |
| NOCHECK_CALL | |||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_map_to_gpus() -> kfd_flush_tlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->drm_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->runtime_inuse | 1 |
| CAPPED_DATA | 0 | pdd->dev | 1 |
| DATA_SOURCE | 0 | pdd | r kfd_bind_process_to_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &prange->lock | ||
| LOCK2 | &prange->migrate_mutex | ||
| LOCK2 | &svms->lock | ||
| HALF_LOCKED2 | &process_info->lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock | ||
| TYPE_LOCK | (struct svm_range)->lock | ||
| TYPE_LOCK | (struct svm_range)->migrate_mutex | ||
| TYPE_LOCK | (struct svm_range_list)->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_unmap_from_gpus() -> kfd_flush_tlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->drm_priv | 4096-ptr_max |
| DATA_SOURCE | 0 | pdd | r kfd_process_device_from_gpuidx |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c allocate_vmid() -> kfd_flush_tlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &dqm->lock_hidden | ||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c deallocate_vmid() -> kfd_flush_tlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c restore_process_queues_nocpsch() -> kfd_flush_tlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->drm_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->drm_priv->driver_priv | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |