Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpu/drm/amd/amdkfd/kfd_queue.c, line 49 (as a function)
- drivers/net/wireless/ath/ath9k/debug.c, line 608 (as a function)
Referenced in 3 files:
- drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c, line 151
- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
- drivers/net/wireless/ath/ath9k/debug.c
Smatch caller information:
drivers/net/wireless/ath/ath9k/debug.c read_file_queues() -> print_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tx.txq_map | 4096-ptr_max |
| PARAM_VALUE | 2 | file | 4096-ptr_max |
| PARAM_VALUE | 2 | file->buf | 1-u64max |
| PARAM_VALUE | 2 | file->from | 0 |
| PARAM_VALUE | 2 | file->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | file->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | file->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | file->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | file->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | file->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 2 | file->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | file->op | 4096-ptr_max |
| PARAM_VALUE | 2 | file->private | 4096-ptr_max |
| BUF_SIZE | 2 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | file->buf | (-1)-2147479552 |
| CAPPED_DATA | 2 | file->size | 1 |
| DATA_SOURCE | 2 | file | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | file->read_pos | 0-13442450941 |
| LOCK2 | 2 | &file->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
drivers/net/wireless/ath/ath9k/debug.c read_file_queues() -> print_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tx.txq_map | 4096-ptr_max |
| PARAM_VALUE | 2 | file | 4096-ptr_max |
| PARAM_VALUE | 2 | file->buf | 1-u64max |
| PARAM_VALUE | 2 | file->from | 0 |
| PARAM_VALUE | 2 | file->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | file->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | file->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | file->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | file->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | file->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 2 | file->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | file->op | 4096-ptr_max |
| PARAM_VALUE | 2 | file->private | 4096-ptr_max |
| BUF_SIZE | 2 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | file->buf | (-1)-2147479552 |
| CAPPED_DATA | 2 | file->size | 1 |
| DATA_SOURCE | 2 | file | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | file->read_pos | 0-13442450941 |
| LOCK2 | 2 | &file->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process_queue_manager.c pqm_create_queue() -> print_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->device | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | sc->mqd_mem_obj | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sc->process->n_pdds | 1-4294967295 |
| PARAM_VALUE | 0 | sc->properties.exception_status | 0,1073741824 |
| PARAM_VALUE | 0 | sc->properties.is_gws | 0 |
| PARAM_VALUE | 0 | sc->properties.is_interop | 0 |
| PARAM_VALUE | 0 | sc->properties.metadata_queue_size | 0-4294967295 |
| PARAM_VALUE | 0 | sc->properties.pm4_target_xcc | 0-255 |
| PARAM_VALUE | 0 | sc->properties.queue_id | 0-1023 |
| PARAM_VALUE | 0 | sc->properties.sdma_vm_addr | 0,512-1536 |
| PARAM_VALUE | 0 | sc->properties.type | 0-4 |
| PARAM_VALUE | 0 | sc->properties.vmid | 0-4294967295 |
| PARAM_VALUE | 0 | *sc->gang_ctx_cpu_ptr | (-4611686018427387904)-4611686018427387903 |
| CAPPED_DATA | 0 | sc->properties.queue_id | 1 |
| NOSPEC | 0 | sc->properties.ctl_stack_size | |
| NOSPEC | 0 | sc->properties.queue_id | |
| NOCHECK_CALL | |||
| USER_DATA | 0 | sc->properties.ctl_stack_size | 0 |
| USER_DATA | 0 | sc->properties.ctx_save_restore_area_address | 0[c] |
| USER_DATA | 0 | sc->properties.ctx_save_restore_area_size | 0 |
| USER_DATA | 0 | sc->properties.eop_ring_buffer_address | 0[c] |
| USER_DATA | 0 | sc->properties.eop_ring_buffer_size | 0 |
| USER_DATA | 0 | sc->properties.format | 0 |
| USER_DATA | 0 | sc->properties.metadata_queue_size | 0-4294967295[u] |
| USER_DATA | 0 | sc->properties.pm4_target_xcc | 0-255[c] |
| USER_DATA | 0 | sc->properties.priority | 0 |
| USER_DATA | 0 | sc->properties.queue_address | 0[c] |
| USER_DATA | 0 | sc->properties.queue_id | 0-1023[c] |
| USER_DATA | 0 | sc->properties.queue_percent | 0 |
| USER_DATA | 0 | sc->properties.queue_size | 0,1024-4294967295 |
| USER_DATA | 0 | sc->properties.sdma_engine_id | 0[u] |
| USER_DATA | 0 | sc->properties.sdma_queue_id | 0-s32max[c] |
| USER_DATA | 0 | sc->properties.type | 0-4 |
| USER_DATA | 0 | sc->sdma_id | 0-s32max[c] |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process_queue_manager.c pqm_create_queue() -> print_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->device | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | sc->mqd_mem_obj | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sc->process->n_pdds | 1-4294967295 |
| PARAM_VALUE | 0 | sc->properties.exception_status | 0,1073741824 |
| PARAM_VALUE | 0 | sc->properties.is_gws | 0 |
| PARAM_VALUE | 0 | sc->properties.is_interop | 0 |
| PARAM_VALUE | 0 | sc->properties.metadata_queue_size | 0-4294967295 |
| PARAM_VALUE | 0 | sc->properties.pm4_target_xcc | 0-255 |
| PARAM_VALUE | 0 | sc->properties.queue_id | 0-1023 |
| PARAM_VALUE | 0 | sc->properties.sdma_vm_addr | 0,512-1536 |
| PARAM_VALUE | 0 | sc->properties.type | 0-4 |
| PARAM_VALUE | 0 | sc->properties.vmid | 0-4294967295 |
| PARAM_VALUE | 0 | *sc->gang_ctx_cpu_ptr | (-4611686018427387904)-4611686018427387903 |
| CAPPED_DATA | 0 | sc->properties.queue_id | 1 |
| NOSPEC | 0 | sc->properties.ctl_stack_size | |
| NOSPEC | 0 | sc->properties.queue_id | |
| NOCHECK_CALL | |||
| USER_DATA | 0 | sc->properties.ctl_stack_size | 0 |
| USER_DATA | 0 | sc->properties.ctx_save_restore_area_address | 0[c] |
| USER_DATA | 0 | sc->properties.ctx_save_restore_area_size | 0 |
| USER_DATA | 0 | sc->properties.eop_ring_buffer_address | 0[c] |
| USER_DATA | 0 | sc->properties.eop_ring_buffer_size | 0 |
| USER_DATA | 0 | sc->properties.format | 0 |
| USER_DATA | 0 | sc->properties.metadata_queue_size | 0-4294967295[u] |
| USER_DATA | 0 | sc->properties.pm4_target_xcc | 0-255[c] |
| USER_DATA | 0 | sc->properties.priority | 0 |
| USER_DATA | 0 | sc->properties.queue_address | 0[c] |
| USER_DATA | 0 | sc->properties.queue_id | 0-1023[c] |
| USER_DATA | 0 | sc->properties.queue_percent | 0 |
| USER_DATA | 0 | sc->properties.queue_size | 0,1024-4294967295 |
| USER_DATA | 0 | sc->properties.sdma_engine_id | 0[u] |
| USER_DATA | 0 | sc->properties.sdma_queue_id | 0-s32max[c] |
| USER_DATA | 0 | sc->properties.type | 0-4 |
| USER_DATA | 0 | sc->sdma_id | 0-s32max[c] |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_kernel_queue.c kq_initialize() -> print_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->device | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->device->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->device->dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->device->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mqd_mem_obj | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->properties.cwsr_bo | 0 |
| PARAM_VALUE | 0 | sc->properties.exception_status | 0,1073741824 |
| PARAM_VALUE | 0 | sc->properties.is_gws | 0 |
| PARAM_VALUE | 0 | sc->properties.is_interop | 0 |
| PARAM_VALUE | 0 | sc->properties.metadata_queue_size | 0-4294967295 |
| PARAM_VALUE | 0 | sc->properties.pm4_target_xcc | 0-255 |
| PARAM_VALUE | 0 | sc->properties.queue_id | 0-1023 |
| PARAM_VALUE | 0 | sc->properties.ring_bo | 0 |
| PARAM_VALUE | 0 | sc->properties.rptr_bo | 0 |
| PARAM_VALUE | 0 | sc->properties.type | 0-4 |
| PARAM_VALUE | 0 | sc->properties.vmid | 0 |
| PARAM_VALUE | 0 | sc->properties.wptr_bo | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |