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 resume_queues() -> q_array_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | num_queues | 0-1024 |
| PARAM_VALUE | 2 | queue_ids | 1-ptr_max |
| PARAM_VALUE | 2 | *queue_ids | 2147483648 |
| BUF_SIZE | 2 | queue_ids | 0-4096 |
| BUF_SIZE | 2 | queue_ids | 0-4096 |
| CAPPED_DATA | 1 | num_queues | 1 |
| DATA_SOURCE | 1 | num_queues | $1 |
| DATA_SOURCE | 2 | queue_ids | r get_queue_ids |
| RX_PATH | |||
| USER_DATA | 1 | num_queues | 0-1024[c] |
| NO_OVERFLOW_SIMPLE | 1 | num_queues | |
| 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_device_queue_manager.c resume_queues() -> q_array_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | num_queues | 1-1024 |
| PARAM_VALUE | 2 | queue_ids | 4096-ptr_max |
| PARAM_VALUE | 2 | *queue_ids | 2147483648 |
| BUF_SIZE | 2 | queue_ids | 0-4096 |
| BUF_SIZE | 2 | queue_ids | 0-4096 |
| CAPPED_DATA | 1 | num_queues | 1 |
| DATA_SOURCE | 1 | num_queues | $1 |
| DATA_SOURCE | 2 | queue_ids | r get_queue_ids |
| RX_PATH | |||
| USER_DATA | 1 | num_queues | 1-1024[c] |
| NO_OVERFLOW_SIMPLE | 1 | num_queues | |
| 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_device_queue_manager.c suspend_queues() -> q_array_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | num_queues | 0-1024 |
| PARAM_VALUE | 2 | queue_ids | 0-ptr_max |
| PARAM_VALUE | 2 | *queue_ids | 2147483648 |
| BUF_SIZE | 2 | queue_ids | (-1)-4096 |
| BUF_SIZE | 2 | queue_ids | (-1)-4096 |
| CAPPED_DATA | 1 | num_queues | 1 |
| DATA_SOURCE | 1 | num_queues | $1 |
| DATA_SOURCE | 2 | queue_ids | r get_queue_ids |
| NOSPEC | 1 | num_queues | |
| NOSPEC | 1 | num_queues | |
| USER_DATA | 1 | num_queues | 0-1024[c] |
| LOCK2 | &dqm->lock_hidden | ||
| LOCK2 | &p->event_mutex | ||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->event_mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c suspend_queues() -> q_array_get_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | num_queues | 1-1024 |
| PARAM_VALUE | 2 | queue_ids | 4096-ptr_max |
| PARAM_VALUE | 2 | *queue_ids | 2147483648 |
| BUF_SIZE | 2 | queue_ids | 0-4096 |
| BUF_SIZE | 2 | queue_ids | 0-4096 |
| CAPPED_DATA | 1 | num_queues | 1 |
| DATA_SOURCE | 1 | num_queues | $1 |
| DATA_SOURCE | 2 | queue_ids | r get_queue_ids |
| NOSPEC | 1 | num_queues | |
| NOSPEC | 1 | num_queues | |
| HARD_MAX | 1 | num_queues | 1024 |
| USER_DATA | 1 | num_queues | 1-1024[c] |
| NO_OVERFLOW_SIMPLE | 1 | num_queues | |
| LOCK2 | &dqm->lock_hidden | ||
| LOCK2 | &p->event_mutex | ||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->event_mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |