Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c create_queue_cpsch() -> deallocate_sdma_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.type | 1,3 |
| CAPPED_DATA | 0 | dqm->total_queue_count | 1 |
| CAPPED_DATA | 1 | q->mqd_mem_obj | 1 |
| CAPPED_DATA | 1 | q->properties.queue_id | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 1 | q | $1 |
| BIT_INFO | 1 | q->properties.type | 0x1,0x3 |
| NOSPEC | 1 | q->properties.ctl_stack_size | |
| NOSPEC | 1 | q->properties.queue_id | |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dqm->packet_mgr.dqm->wait_times | 0-u32max |
| USER_DATA | 1 | q->properties.ctl_stack_size | 0-u32max |
| USER_DATA | 1 | q->properties.ctx_save_restore_area_address | 0-u64max |
| USER_DATA | 1 | q->properties.ctx_save_restore_area_size | 0-u32max |
| USER_DATA | 1 | q->properties.eop_ring_buffer_address | 0-u64max |
| USER_DATA | 1 | q->properties.eop_ring_buffer_size | 0-u32max |
| USER_DATA | 1 | q->properties.format | 0-u32max |
| USER_DATA | 1 | q->properties.metadata_queue_size | 0-u32max[u] |
| USER_DATA | 1 | q->properties.pm4_target_xcc | 0-255[c] |
| USER_DATA | 1 | q->properties.priority | 0-u32max |
| USER_DATA | 1 | q->properties.queue_address | 0-u64max |
| USER_DATA | 1 | q->properties.queue_id | 0-1023[c] |
| USER_DATA | 1 | q->properties.queue_percent | 0-u32max |
| USER_DATA | 1 | q->properties.queue_size | 0-u64max |
| USER_DATA | 1 | q->properties.sdma_engine_id | 0-u32max |
| USER_DATA | 1 | q->properties.sdma_queue_id | 0-s32max[c] |
| USER_DATA | 1 | q->sdma_id | 0-s32max[c] |
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | &dqm->lock_hidden | |
| 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 create_queue_nocpsch() -> deallocate_sdma_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.type | 1,3 |
| CAPPED_DATA | 0 | dqm->total_queue_count | 1 |
| CAPPED_DATA | 1 | q->mqd_mem_obj | 1 |
| CAPPED_DATA | 1 | q->properties.queue_id | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 1 | q | $1 |
| BIT_INFO | 1 | q->properties.type | 0x1,0x3 |
| NOSPEC | 1 | q->properties.ctl_stack_size | |
| NOSPEC | 1 | q->properties.queue_id | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | q->properties.ctl_stack_size | 0-u32max |
| USER_DATA | 1 | q->properties.ctx_save_restore_area_address | 0-u64max |
| USER_DATA | 1 | q->properties.ctx_save_restore_area_size | 0-u32max |
| USER_DATA | 1 | q->properties.eop_ring_buffer_address | 0-u64max |
| USER_DATA | 1 | q->properties.eop_ring_buffer_size | 0-u32max |
| USER_DATA | 1 | q->properties.format | 0-u32max |
| USER_DATA | 1 | q->properties.metadata_queue_size | 0-u32max[u] |
| USER_DATA | 1 | q->properties.pm4_target_xcc | 0-255[c] |
| USER_DATA | 1 | q->properties.priority | 0-u32max |
| USER_DATA | 1 | q->properties.queue_address | 0-u64max |
| USER_DATA | 1 | q->properties.queue_id | 0-1023[c] |
| USER_DATA | 1 | q->properties.queue_percent | 0-u32max |
| USER_DATA | 1 | q->properties.queue_size | 0-u64max |
| USER_DATA | 1 | q->properties.sdma_engine_id | 0-u32max |
| USER_DATA | 1 | q->properties.sdma_queue_id | 0-s32max[c] |
| USER_DATA | 1 | q->sdma_id | 0-s32max[c] |
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | &dqm->lock_hidden | |
| 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 destroy_queue_cpsch() -> deallocate_sdma_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.type | 1,3 |
| CAPPED_DATA | 1 | q->device | 1 |
| CAPPED_DATA | 1 | q->process->n_pdds | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 1 | q | $2 |
| FUZZY_MAX | 1 | q->properties.type | 3 |
| BIT_INFO | 1 | q->properties.type | 0x1,0x3 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dqm->packet_mgr.dqm->wait_times | 0-u32max |
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | &dqm->lock_hidden | |
| 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 destroy_queue_nocpsch_locked() -> deallocate_sdma_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.type | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 1 | q | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dqm->packet_mgr.dqm->wait_times | 0-u32max |
| LOCK2 | 0 | &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 destroy_queue_nocpsch_locked() -> deallocate_sdma_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.type | 3 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 1 | q | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dqm->packet_mgr.dqm->wait_times | 0-u32max |
| LOCK2 | 0 | &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 process_termination_cpsch() -> deallocate_sdma_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.type | 1 |
| CAPPED_DATA | 0 | dqm->dev | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dqm->lock_hidden | |
| HALF_LOCKED2 | global &srcu | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c process_termination_cpsch() -> deallocate_sdma_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->properties.type | 3 |
| CAPPED_DATA | 0 | dqm->dev | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dqm->lock_hidden | |
| HALF_LOCKED2 | global &srcu | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |