Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process_queue_manager.c pqm_create_queue() -> init_user_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pqm | 4096-ptr_max |
| PARAM_VALUE | 0 | pqm->process | 4096-ptr_max |
| PARAM_VALUE | 0 | pqm->process->n_pdds | 1-u32max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->adev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->adev->mman.bdev.dev_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | dev->adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 1 | dev->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dev->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dev->kfd->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dev->kfd->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | q | 3034060663460257792 |
| PARAM_VALUE | 2 | *q | 0 |
| PARAM_VALUE | 3 | q_properties | 11220864382263296,5367501087066746880 |
| PARAM_VALUE | 3 | q_properties->is_interop | 0 |
| PARAM_VALUE | 3 | q_properties->type | 0-4 |
| PARAM_VALUE | 4 | qid | 0-1023 |
| CAPPED_DATA | 0 | pqm->process->n_pdds | 1 |
| CAPPED_DATA | 1 | dev | 1 |
| DATA_SOURCE | 0 | pqm | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 3 | q_properties | $2 |
| MEM_ZERO | 3 | q_properties | |
| USER_DATA | 3 | q_properties->ctl_stack_size | 0 |
| USER_DATA | 3 | q_properties->ctx_save_restore_area_address | 0[c] |
| USER_DATA | 3 | q_properties->ctx_save_restore_area_size | 0 |
| USER_DATA | 3 | q_properties->eop_ring_buffer_address | 0[c] |
| USER_DATA | 3 | q_properties->eop_ring_buffer_size | 0 |
| USER_DATA | 3 | q_properties->format | 0 |
| USER_DATA | 3 | q_properties->metadata_queue_size | 0-u32max[u] |
| USER_DATA | 3 | q_properties->pm4_target_xcc | 0-255[c] |
| USER_DATA | 3 | q_properties->priority | 0 |
| USER_DATA | 3 | q_properties->queue_address | 0[c] |
| USER_DATA | 3 | q_properties->queue_percent | 0 |
| USER_DATA | 3 | q_properties->queue_size | 0,1024-u32max |
| USER_DATA | 3 | q_properties->sdma_engine_id | 0[u] |
| USER_DATA | 3 | q_properties->type | 0-4 |
| USER_DATA | 4 | qid | 0-1023 |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process_queue_manager.c pqm_create_queue() -> init_user_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pqm | 4096-ptr_max |
| PARAM_VALUE | 0 | pqm->process | 4096-ptr_max |
| PARAM_VALUE | 0 | pqm->process->n_pdds | 1-u32max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->adev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->adev->mman.bdev.dev_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | dev->adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 1 | dev->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dev->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dev->dqm | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->dqm->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->kfd->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dev->kfd->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | q | 3034060663460257792 |
| PARAM_VALUE | 2 | *q | 0 |
| PARAM_VALUE | 3 | q_properties | 11220864382263296,5367501087066746880 |
| PARAM_VALUE | 3 | q_properties->is_interop | 0 |
| PARAM_VALUE | 3 | q_properties->type | 0-4 |
| PARAM_VALUE | 4 | qid | 0-1023 |
| CAPPED_DATA | 0 | pqm->process->n_pdds | 1 |
| CAPPED_DATA | 1 | dev | 1 |
| DATA_SOURCE | 0 | pqm | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 3 | q_properties | $2 |
| MEM_ZERO | 3 | q_properties | |
| USER_DATA | 3 | q_properties->ctl_stack_size | 0 |
| USER_DATA | 3 | q_properties->ctx_save_restore_area_address | 0[c] |
| USER_DATA | 3 | q_properties->ctx_save_restore_area_size | 0 |
| USER_DATA | 3 | q_properties->eop_ring_buffer_address | 0[c] |
| USER_DATA | 3 | q_properties->eop_ring_buffer_size | 0 |
| USER_DATA | 3 | q_properties->format | 0 |
| USER_DATA | 3 | q_properties->metadata_queue_size | 0-u32max[u] |
| USER_DATA | 3 | q_properties->pm4_target_xcc | 0-255[c] |
| USER_DATA | 3 | q_properties->priority | 0 |
| USER_DATA | 3 | q_properties->queue_address | 0[c] |
| USER_DATA | 3 | q_properties->queue_percent | 0 |
| USER_DATA | 3 | q_properties->queue_size | 0,1024-u32max |
| USER_DATA | 3 | q_properties->sdma_engine_id | 0[u] |
| USER_DATA | 3 | q_properties->type | 0-4 |
| USER_DATA | 4 | qid | 0-1023 |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |