Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/amdkfd/kfd_events.c, line 320
- drivers/gpu/drm/amd/amdkfd/kfd_process.c, line 802
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c kfd_process_alloc_gpuvm() -> amdgpu_amdkfd_gpuvm_map_bo_to_kernel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->dmabuf | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | kptr | 1434741187103621120,6769304267203145728 |
| PARAM_VALUE | 2 | size | 0 |
| PARAM_VALUE | 3 | domain | 2,4 |
| DATA_SOURCE | 1 | kptr | $5 |
| FUZZY_MAX | 3 | domain | 4 |
| BIT_INFO | 3 | domain | 0x0,0x6 |
| HARD_MAX | 3 | domain | 4 |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_events.c kfd_kmap_event_page() -> amdgpu_amdkfd_gpuvm_map_bo_to_kernel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 1-u64max |
| PARAM_VALUE | 1 | kptr | 7686154711706107904 |
| PARAM_VALUE | 2 | size | 1004125340528058368 |
| PARAM_VALUE | 3 | domain | 2 |
| DATA_SOURCE | 0 | mem | r kfd_process_device_translate_handle |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |