Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/scsi/esas2r/esas2r_targdb.c esas2r_targ_db_remove_all() -> esas2r_target_state_changed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4096-ptr_max |
| PARAM_VALUE | 0 | a->active_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->active_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->avail_request.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->avail_request.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | a->defer_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->defer_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->free_sg_list_head.next->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->free_sg_list_head.next->next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | a->free_sg_list_head.next->prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->free_sg_list_head.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | a->free_sg_list_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->fw_event_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->fw_event_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | a->fw_event_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | a->fw_events_off | 0-1 |
| PARAM_VALUE | 0 | a->general_req.interrupt_cx->disc_evt | 0 |
| 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->heartbeat_time | 0-u16max |
| PARAM_VALUE | 0 | a->init_msg | 0-4 |
| PARAM_VALUE | 0 | a->intr_mode | 0-1 |
| PARAM_VALUE | 0 | a->mem_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | a->nvram_semaphore.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | a->nvram_semaphore.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | a->outbound_copy | 4096-ptr_max |
| PARAM_VALUE | 0 | a->pcid->bus->self->link_bwctrl->cdev | (-22),(-19),(-12),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.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | a->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | a->sg_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->block_size | 0-4294967295 |
| PARAM_VALUE | 0 | a->targetdb->buffered_target_state | 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.dwevent | 0-4294967295 |
| PARAM_VALUE | 0 | a->targetdb->lu_event.id.tgtlun.bylun | 0-255 |
| PARAM_VALUE | 0 | a->targetdb->new_target_state | 0,5,255 |
| PARAM_VALUE | 0 | a->targetdb->target_state | 0 |
| PARAM_VALUE | 0 | a->targetdb_end | 1-u64max |
| PARAM_VALUE | 0 | a->tasklet.next | 0 |
| PARAM_VALUE | 0 | a->window_base | 0,3959422976-u32max |
| PARAM_VALUE | 0 | *a->flash_rev | 0-255 |
| PARAM_VALUE | 0 | *a->image_type | 0-255 |
| PARAM_VALUE | 2 | state | 0 |
| BUF_SIZE | 0 | a->fw_event_q | (-1),512,8712 |
| BUF_SIZE | 0 | a->host | (-1),4520-s32max |
| BUF_SIZE | 0 | a->pcid | (-1),1-s32max |
| CAPPED_DATA | 0 | a->targetdb_end | 1 |
| DATA_SOURCE | 0 | a | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | a->pcid->current_state | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | a->general_req.vrq_md->esas2r_param | |
| 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->dev.cma_area->available_count | |
| 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_targdb.c esas2r_targ_db_report_changes() -> esas2r_target_state_changed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4096-ptr_max |
| PARAM_VALUE | 0 | a->disc_ctx.dev_addr_type | 0,4 |
| PARAM_VALUE | 0 | a->disc_ctx.state | 0-6,255 |
| PARAM_VALUE | 0 | a->firmware.state | 0-2 |
| PARAM_VALUE | 0 | a->flash_context.comp_typ | 0,2-5 |
| PARAM_VALUE | 0 | a->flash_context.fi_hdr_len | 0,2176 |
| PARAM_VALUE | 0 | a->flash_context.func | 0-1 |
| PARAM_VALUE | 0 | a->flash_context.num_comps | 0,6 |
| PARAM_VALUE | 0 | a->flash_context.task | 0-8 |
| PARAM_VALUE | 0 | a->fw_events_off | 0-1 |
| 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->index | 0-31,2147483648-u32max |
| PARAM_VALUE | 0 | a->init_msg | 0-4 |
| PARAM_VALUE | 0 | a->int_mask | 0,4112 |
| PARAM_VALUE | 0 | a->intr_mode | 0-1 |
| PARAM_VALUE | 0 | a->mem_lock.rlock.dep_map->name | 0-255 |
| 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,4096-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.msi.data->__iter_idx | 0-s64max |
| 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->targetdb_end | 1-u64max |
| PARAM_VALUE | 0 | a->vrq_mds | 0 |
| PARAM_VALUE | 0 | a->window_base | 0,131072-u32max |
| PARAM_VALUE | 0 | *a->image_type | 0-255 |
| PARAM_VALUE | 2 | state | 0,5 |
| 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 |
| DATA_SOURCE | 0 | a | $0 |
| 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->dev.cma_area->available_count | |
| 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_int.c esas2r_check_req_rsp_sense() -> esas2r_target_state_changed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | a | 4096-ptr_max |
| PARAM_VALUE | 0 | a->buffered_ioctl_done | 0-1 |
| PARAM_VALUE | 0 | a->firmware.state | 0-2 |
| PARAM_VALUE | 0 | a->flash_context.comp_typ | 0,2-5 |
| PARAM_VALUE | 0 | a->flash_context.fi_hdr_len | 0,2176 |
| PARAM_VALUE | 0 | a->flash_context.func | 0-1 |
| PARAM_VALUE | 0 | a->flash_context.interrupt_cb | 0,4870797858849771520 |
| PARAM_VALUE | 0 | a->flash_context.num_comps | 0,6 |
| PARAM_VALUE | 0 | a->flash_context.task | 0-8 |
| PARAM_VALUE | 0 | a->fm_api_command_done | 0-1 |
| PARAM_VALUE | 0 | a->fs_api_command_done | 0-1 |
| PARAM_VALUE | 0 | a->fw_events_off | 0-1 |
| 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->nvram_command_done | 0-1 |
| 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.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | a->targetdb->block_size | 0-4294967295 |
| PARAM_VALUE | 0 | a->targetdb->buffered_target_state | 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.dwevent | 0-4294967295 |
| PARAM_VALUE | 0 | a->targetdb->new_target_state | 0,5,255 |
| PARAM_VALUE | 0 | a->targetdb->target_state | 0,5 |
| PARAM_VALUE | 0 | a->vda_command_done | 0-1 |
| PARAM_VALUE | 2 | state | 6 |
| BUF_SIZE | 0 | a->firmware.header_buff | (-1),2176 |
| BUF_SIZE | 0 | a->fm_api_sgc.cur_offset | (-1),1-s32max |
| BUF_SIZE | 0 | a->fw_event_q | (-1)-s32max |
| BUF_SIZE | 0 | a->host | (-1),4,168,192,2080,4520-s32max |
| BUF_SIZE | 0 | a->save_offset | (-1),1-s32max |
| DATA_SOURCE | 0 | a | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | a->pcid->current_state | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | a->firmware.header_buff_phys | |
| NO_OVERFLOW_SIMPLE | 0 | a->firmware.orig_len | |
| NO_OVERFLOW_SIMPLE | 0 | a->firmware.phys | |
| NO_OVERFLOW_SIMPLE | 0 | a->fs_api_buffer_size | |
| NO_OVERFLOW_SIMPLE | 0 | a->fw_rev | |
| 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->dev.cma_area->available_count | |
| NO_OVERFLOW_SIMPLE | 0 | a->pcid->msix_base | |
| NO_OVERFLOW_SIMPLE | 0 | a->ppfs_api_buffer | |
| NO_OVERFLOW_SIMPLE | 0 | a->ppvda_buffer | |
| NO_OVERFLOW_SIMPLE | 0 | a->uncached_phys | |
| NO_OVERFLOW_SIMPLE | 0 | a->uncached_size | |
| UNITS | 1 | targ_id | unit_array_size |
| HALF_LOCKED2 | 0 | &a->fm_api_mutex | |
| HALF_LOCKED2 | 0 | &a->fs_api_mutex | |
| HALF_LOCKED2 | 0 | &a->nvram_semaphore |