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() -> allocate_sdma_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->lock_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dqm->lock_hidden.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dqm->saved_flags | 0,2048 |
| PARAM_VALUE | 0 | dqm->total_queue_count | 0-4294967294 |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->device | 4096-ptr_max |
| PARAM_VALUE | 1 | q->process->n_pdds | 1-u32max |
| PARAM_VALUE | 1 | q->process->runtime_info.runtime_state | 0-3 |
| PARAM_VALUE | 1 | q->process->runtime_info.ttmp_setup | 0-1 |
| PARAM_VALUE | 1 | q->properties.exception_status | 0,1073741824 |
| PARAM_VALUE | 1 | q->properties.is_gws | 0 |
| PARAM_VALUE | 1 | q->properties.is_reset | 0 |
| PARAM_VALUE | 1 | q->properties.metadata_queue_size | 0-u32max |
| PARAM_VALUE | 1 | q->properties.pm4_target_xcc | 0-255 |
| PARAM_VALUE | 1 | q->properties.queue_id | 0-1023 |
| PARAM_VALUE | 1 | q->properties.tba_addr | 0 |
| PARAM_VALUE | 1 | q->properties.tma_addr | 0 |
| PARAM_VALUE | 1 | q->properties.type | 1,3-4 |
| PARAM_VALUE | 1 | q->properties.vmid | 0 |
| PARAM_VALUE | 2 | restore_sdma_id | 0,4096-ptr_max |
| BUF_SIZE | 2 | restore_sdma_id | 0,4 |
| CAPPED_DATA | 0 | dqm->total_queue_count | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 1 | q | $1 |
| NOSPEC | 1 | q->properties.ctl_stack_size | |
| 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 |
| 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 | 2 | *restore_sdma_id | 0-u32max |
| USER_PTR | 2 | restore_sdma_id | |
| 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() -> allocate_sdma_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->lock_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dqm->lock_hidden.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dqm->mqd_mgrs | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->saved_flags | 0,2048 |
| PARAM_VALUE | 0 | dqm->total_queue_count | 0-4294967294 |
| PARAM_VALUE | 1 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | q->device | 4096-ptr_max |
| PARAM_VALUE | 1 | q->process->n_pdds | 1-u32max |
| PARAM_VALUE | 1 | q->process->runtime_info.runtime_state | 0-3 |
| PARAM_VALUE | 1 | q->process->runtime_info.ttmp_setup | 0-1 |
| PARAM_VALUE | 1 | q->properties.exception_status | 0,1073741824 |
| PARAM_VALUE | 1 | q->properties.is_gws | 0 |
| PARAM_VALUE | 1 | q->properties.is_reset | 0 |
| PARAM_VALUE | 1 | q->properties.metadata_queue_size | 0-u32max |
| PARAM_VALUE | 1 | q->properties.pm4_target_xcc | 0-255 |
| PARAM_VALUE | 1 | q->properties.queue_id | 0-1023 |
| PARAM_VALUE | 1 | q->properties.type | 1,3 |
| PARAM_VALUE | 2 | restore_sdma_id | 0,4096-ptr_max |
| BUF_SIZE | 2 | restore_sdma_id | 0,4 |
| CAPPED_DATA | 0 | dqm->total_queue_count | 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 | |
| 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 |
| 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 | 2 | *restore_sdma_id | 0-u32max |
| USER_PTR | 2 | restore_sdma_id | |
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | &dqm->lock_hidden | |
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |