Documented in 1 files:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c, line 601
- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c, line 2122
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c criu_checkpoint_bos() -> amdgpu_bo_mmap_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_mode_dumb_mmap() -> amdgpu_bo_mmap_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| BIT_INFO | 0 | bo->flags | 0x0,0xfffffffffffffffd |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() -> amdgpu_bo_mmap_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| BUF_SIZE | 0 | bo->kfd_bo | 376 |
| BUF_SIZE | 0 | bo->tbo.sg | (-1),16 |
| BUF_SIZE | 0 | bo->tbo.ttm->sg | (-1),16 |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c import_obj_create() -> amdgpu_bo_mmap_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| LOCK2 | &p->mutex | ||
| HALF_LOCKED2 | &adev->ddev.object_name_lock | ||
| TYPE_LOCK | (struct kfd_process)->mutex |