Defined in 2 files as a member:
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h, line 198 (as a member)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h, line 108 (as a member)
Defined in 6 files as a function:
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c, line 2913 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c, line 251 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c, line 286 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c, line 322 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c, line 411 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c, line 295 (as a function)
Referenced in 7 files:
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c
- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c
- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_mqd_manager_v9.c checkpoint_mqd_v9_4_3() -> checkpoint_mqd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->checkpoint_mqd | 1-u64max |
| PARAM_VALUE | 0 | mm->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | mqd | 4096-ptr_max |
| PARAM_VALUE | 2 | mqd_dst | 4096-ptr_max |
| PARAM_VALUE | 2 | *mqd_dst | 0-255 |
| PARAM_VALUE | 3 | *ctl_stack_dst | 0-255 |
| DATA_SOURCE | 0 | mm | $0 |
| DATA_SOURCE | 1 | mqd | r get_mqd |
| 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_process_queue_manager.c pqm_checkpoint_mqd() -> (struct device_queue_manager_ops)->checkpoint_mqd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->ops.checkpoint_mqd | 1-u64max |
| PARAM_VALUE | 1 | mqd | 4096-ptr_max |
| PARAM_VALUE | 1 | mqd->device | 4096-ptr_max |
| PARAM_VALUE | 1 | mqd->device->dqm | 4096-ptr_max |
| PARAM_VALUE | 1 | mqd->device->dqm->ops.checkpoint_mqd | 1-u64max |
| PARAM_VALUE | 3 | ctl_stack_dst | 4096-ptr_max |
| DATA_SOURCE | 2 | mqd_dst | $2 |
| DATA_SOURCE | 3 | ctl_stack_dst | $3 |
| CONTAINER | 0 | *(-160-0+0) | $(-1) |
| CONTAINER | 1 | *(-160-0-240-280+0) | $(-1) |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c checkpoint_mqd() -> (struct mqd_manager)->checkpoint_mqd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->checkpoint_mqd | 1-u64max |
| PARAM_VALUE | 3 | ctl_stack_dst | 4096-ptr_max |
| DATA_SOURCE | 2 | mqd_dst | $2 |
| DATA_SOURCE | 3 | ctl_stack_dst | $3 |
| CONTAINER | 0 | -72+0 | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | &dqm->lock_hidden | ||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |