Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h, line 220 (as a function)
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c, line 85 (as a function)
Referenced in 3 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c, line 408
- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c, line 99
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c amdgpu_sync_get_owner() -> to_amdgpu_amdkfd_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| DATA_SOURCE | 0 | f | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &process_info->lock | ||
| HALF_LOCKED2 | resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_remove_all_eviction_fences() -> to_amdgpu_amdkfd_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bo->base._resv | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct drm_gem_object)->_resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c amdkfd_fence_check_mm() -> to_amdgpu_amdkfd_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1-u64max |
| DATA_SOURCE | 0 | f | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c amdkfd_fence_enable_signaling() -> to_amdgpu_amdkfd_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->ops | 4096-ptr_max |
| BUF_SIZE | 0 | f | (-1)-s32max |
| BUF_SIZE | 0 | f | (-1)-s32max |
| DATA_SOURCE | 0 | f | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | f->seqno | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | f->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | f->num_pending.counter | |
| LOCK2 | flags | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c amdkfd_fence_get_timeline_name() -> to_amdgpu_amdkfd_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->ops | 4096-ptr_max |
| BUF_SIZE | 0 | f | (-1)-0,32-s32max |
| BUF_SIZE | 0 | f | (-1)-0,32-s32max |
| DATA_SOURCE | 0 | f | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c amdkfd_fence_release() -> to_amdgpu_amdkfd_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->ops | 4096-ptr_max |
| DATA_SOURCE | 0 | f | $0 |
| LOCK2 | rcu_read |