Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/esas2r/esas2r_init.c esas2r_format_init_msg() -> esas2r_build_cfg_req()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4096-ptr_max |
| PARAM_VALUE | 0 | a->build_sgl | 0,2068576153605242880,3096162918893264896 |
| PARAM_VALUE | 0 | a->fw_events_off | 0-1 |
| PARAM_VALUE | 0 | a->general_req.data_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.flags | 0,8 |
| PARAM_VALUE | 0 | a->general_req.req_stat | 254-255 |
| PARAM_VALUE | 0 | a->general_req.sg_table_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.sg_table_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.sg_table_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.sg_table_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.sg_table_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.vda_rsp_data | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.vda_rsp_data->mgt_data.data.grp_info.grp_index | 0-31 |
| PARAM_VALUE | 0 | a->general_req.vda_rsp_data->mgt_data.data.part_info.part_no | 0-127 |
| PARAM_VALUE | 0 | a->general_req.vrq->scsi.chain_offset | 0 |
| PARAM_VALUE | 0 | a->general_req.vrq->scsi.flags | 0 |
| PARAM_VALUE | 0 | a->general_req.vrq->scsi.function | 0 |
| PARAM_VALUE | 0 | a->general_req.vrq->scsi.reserved | 0 |
| PARAM_VALUE | 0 | a->general_req.vrq->scsi.sense_len | 252 |
| PARAM_VALUE | 0 | a->general_req.vrq->scsi.sg_list_offset | 0 |
| PARAM_VALUE | 0 | a->general_req.vrq_md | 4096-ptr_max |
| PARAM_VALUE | 0 | a->index | 0-31,2147483648-u32max |
| PARAM_VALUE | 0 | a->init_msg | 0 |
| PARAM_VALUE | 0 | a->intr_mode | 0-1 |
| PARAM_VALUE | 0 | a->max_vdareq_size | 0,128,1024 |
| PARAM_VALUE | 0 | a->nvram_semaphore.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | a->outbound_copy | 0,8-u64max |
| PARAM_VALUE | 0 | a->pcid->bus->self->link_bwctrl->cdev | (-22),(-19),(-12),0-s64max |
| PARAM_VALUE | 0 | a->pcid->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | a->pcid->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | a->pcid->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | a->pcid->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | a->pcid->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | a->pcid->dev.iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | a->pcid->dev.iommu_group->recovery_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | a->pcid->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | a->pcid->sriov->pos | s32min-s32max |
| PARAM_VALUE | 0 | a->req_table | 4096-ptr_max |
| PARAM_VALUE | 0 | a->targetdb->block_size | 0-4294967295 |
| PARAM_VALUE | 0 | a->targetdb->buffered_target_state | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->flags | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->identifier_len | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->inter_block | 0-4294967295 |
| PARAM_VALUE | 0 | a->targetdb->inter_byte | 0-4294967295 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.byreserved | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.bystate | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.dwevent | 0-4294967295 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.hdr.byflags | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.hdr.bylength | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.hdr.bytype | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.hdr.byversion | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.id.tgtlun.bylun | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.wphys_target_id | 0-u16max |
| PARAM_VALUE | 0 | a->targetdb->new_target_state | 0,5,255 |
| PARAM_VALUE | 0 | a->targetdb->phys_targ_id | 0-u16max |
| PARAM_VALUE | 0 | a->targetdb->target_state | 0,5 |
| PARAM_VALUE | 0 | a->targetdb->virt_targ_id | 0-u16max |
| PARAM_VALUE | 0 | a->window_base | 0,3959422976-u32max |
| PARAM_VALUE | 1 | rq | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->comp_cb | 5404777953949511680 |
| PARAM_VALUE | 1 | rq->data_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->flags | 0,8 |
| PARAM_VALUE | 1 | rq->interrupt_cb | 0 |
| PARAM_VALUE | 1 | rq->req_stat | 254-255 |
| PARAM_VALUE | 1 | rq->req_type | 1 |
| PARAM_VALUE | 1 | rq->sg_table_head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->sg_table_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->sg_table_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->sg_table_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->sg_table_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->timeout | 0 |
| PARAM_VALUE | 1 | rq->vda_req_sz | 0,32,256 |
| PARAM_VALUE | 1 | rq->vda_rsp_data | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->vrq | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->vrq->scsi.chain_offset | 0 |
| PARAM_VALUE | 1 | rq->vrq->scsi.flags | 0 |
| PARAM_VALUE | 1 | rq->vrq->scsi.function | 0 |
| PARAM_VALUE | 1 | rq->vrq->scsi.reserved | 0 |
| PARAM_VALUE | 1 | rq->vrq->scsi.sense_len | 252 |
| PARAM_VALUE | 1 | rq->vrq->scsi.sg_list_offset | 0 |
| PARAM_VALUE | 1 | rq->vrq_md | 4096-ptr_max |
| PARAM_VALUE | 2 | sub_func | 0 |
| PARAM_VALUE | 3 | length | 0 |
| PARAM_VALUE | 4 | data | 0 |
| BUF_SIZE | 0 | a->fw_event_q | (-1),512,528-8720 |
| BUF_SIZE | 0 | a->host | (-1),4520-s32max |
| BUF_SIZE | 0 | a->pcid | (-1),1-s32max |
| BUF_SIZE | 1 | rq | 176 |
| DATA_SOURCE | 0 | a | $0 |
| DATA_SOURCE | 1 | rq | $1 |
| FUZZY_MAX | 0 | a->max_vdareq_size | 128 |
| BIT_INFO | 1 | rq->flags | 0x0,0x8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | a->pcid->current_state | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | a->inbound_list_md.esas2r_param | |
| NO_OVERFLOW_SIMPLE | 0 | a->inbound_list_md.phys_addr | |
| NO_OVERFLOW_SIMPLE | 0 | a->outbound_list_md.esas2r_param | |
| NO_OVERFLOW_SIMPLE | 0 | a->outbound_list_md.phys_addr | |
| NO_OVERFLOW_SIMPLE | 0 | a->pcid->msix_base | |
| NO_OVERFLOW_SIMPLE | 0 | a->uncached_phys | |
| NO_OVERFLOW_SIMPLE | 0 | a->uncached_size |
drivers/scsi/esas2r/esas2r_init.c esas2r_format_init_msg() -> esas2r_build_cfg_req()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4096-ptr_max |
| PARAM_VALUE | 0 | a->build_sgl | 0,2068576153605242880,3096162918893264896 |
| PARAM_VALUE | 0 | a->fw_events_off | 0-1 |
| PARAM_VALUE | 0 | a->general_req.data_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.flags | 0,8 |
| PARAM_VALUE | 0 | a->general_req.req_stat | 254-255 |
| PARAM_VALUE | 0 | a->general_req.sg_table_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.sg_table_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.sg_table_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.sg_table_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.sg_table_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.vda_rsp_data | 4096-ptr_max |
| PARAM_VALUE | 0 | a->general_req.vda_rsp_data->mgt_data.data.grp_info.grp_index | 0-31 |
| PARAM_VALUE | 0 | a->general_req.vda_rsp_data->mgt_data.data.part_info.part_no | 0-127 |
| PARAM_VALUE | 0 | a->general_req.vrq->scsi.chain_offset | 0 |
| PARAM_VALUE | 0 | a->general_req.vrq->scsi.flags | 0 |
| PARAM_VALUE | 0 | a->general_req.vrq->scsi.function | 0 |
| PARAM_VALUE | 0 | a->general_req.vrq->scsi.reserved | 0 |
| PARAM_VALUE | 0 | a->general_req.vrq->scsi.sense_len | 252 |
| PARAM_VALUE | 0 | a->general_req.vrq->scsi.sg_list_offset | 0 |
| PARAM_VALUE | 0 | a->general_req.vrq_md | 4096-ptr_max |
| PARAM_VALUE | 0 | a->index | 0-31,2147483648-u32max |
| PARAM_VALUE | 0 | a->init_msg | 0 |
| PARAM_VALUE | 0 | a->intr_mode | 0-1 |
| PARAM_VALUE | 0 | a->max_vdareq_size | 0,128,1024 |
| PARAM_VALUE | 0 | a->nvram_semaphore.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | a->outbound_copy | 0,8-u64max |
| PARAM_VALUE | 0 | a->pcid->bus->self->link_bwctrl->cdev | (-22),(-19),(-12),0-s64max |
| PARAM_VALUE | 0 | a->pcid->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | a->pcid->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | a->pcid->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | a->pcid->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | a->pcid->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | a->pcid->dev.iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | a->pcid->dev.iommu_group->recovery_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | a->pcid->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | a->pcid->sriov->pos | s32min-s32max |
| PARAM_VALUE | 0 | a->req_table | 4096-ptr_max |
| PARAM_VALUE | 0 | a->targetdb->block_size | 0-4294967295 |
| PARAM_VALUE | 0 | a->targetdb->buffered_target_state | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->flags | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->identifier_len | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->inter_block | 0-4294967295 |
| PARAM_VALUE | 0 | a->targetdb->inter_byte | 0-4294967295 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.byreserved | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.bystate | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.dwevent | 0-4294967295 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.hdr.byflags | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.hdr.bylength | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.hdr.bytype | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.hdr.byversion | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.id.tgtlun.bylun | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.wphys_target_id | 0-u16max |
| PARAM_VALUE | 0 | a->targetdb->new_target_state | 0,5,255 |
| PARAM_VALUE | 0 | a->targetdb->phys_targ_id | 0-u16max |
| PARAM_VALUE | 0 | a->targetdb->target_state | 0,5 |
| PARAM_VALUE | 0 | a->targetdb->virt_targ_id | 0-u16max |
| PARAM_VALUE | 0 | a->window_base | 0,3959422976-u32max |
| PARAM_VALUE | 1 | rq | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->comp_cb | 5404777953949511680 |
| PARAM_VALUE | 1 | rq->data_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->flags | 0,8 |
| PARAM_VALUE | 1 | rq->interrupt_cb | 0 |
| PARAM_VALUE | 1 | rq->req_stat | 254-255 |
| PARAM_VALUE | 1 | rq->req_type | 1 |
| PARAM_VALUE | 1 | rq->sg_table_head.next | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->sg_table_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->sg_table_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->sg_table_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->sg_table_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->timeout | 0 |
| PARAM_VALUE | 1 | rq->vda_req_sz | 0,32,256 |
| PARAM_VALUE | 1 | rq->vda_rsp_data | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->vrq | 4096-ptr_max |
| PARAM_VALUE | 1 | rq->vrq->scsi.chain_offset | 0 |
| PARAM_VALUE | 1 | rq->vrq->scsi.flags | 0 |
| PARAM_VALUE | 1 | rq->vrq->scsi.function | 0 |
| PARAM_VALUE | 1 | rq->vrq->scsi.reserved | 0 |
| PARAM_VALUE | 1 | rq->vrq->scsi.sense_len | 252 |
| PARAM_VALUE | 1 | rq->vrq->scsi.sg_list_offset | 0 |
| PARAM_VALUE | 1 | rq->vrq_md | 4096-ptr_max |
| PARAM_VALUE | 2 | sub_func | 2 |
| PARAM_VALUE | 3 | length | 112 |
| PARAM_VALUE | 4 | data | 0 |
| BUF_SIZE | 0 | a->fw_event_q | (-1),512,528-8720 |
| BUF_SIZE | 0 | a->host | (-1),4520-s32max |
| BUF_SIZE | 0 | a->pcid | (-1),1-s32max |
| BUF_SIZE | 1 | rq | 176 |
| DATA_SOURCE | 0 | a | $0 |
| DATA_SOURCE | 1 | rq | $1 |
| FUZZY_MAX | 0 | a->max_vdareq_size | 128 |
| BIT_INFO | 1 | rq->flags | 0x0,0x8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | a->pcid->current_state | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | a->inbound_list_md.esas2r_param | |
| NO_OVERFLOW_SIMPLE | 0 | a->inbound_list_md.phys_addr | |
| NO_OVERFLOW_SIMPLE | 0 | a->outbound_list_md.esas2r_param | |
| NO_OVERFLOW_SIMPLE | 0 | a->outbound_list_md.phys_addr | |
| NO_OVERFLOW_SIMPLE | 0 | a->pcid->msix_base | |
| NO_OVERFLOW_SIMPLE | 0 | a->uncached_phys | |
| NO_OVERFLOW_SIMPLE | 0 | a->uncached_size | |
| UNITS | 3 | length | unit_byte |