Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/mpt3sas/mpt3sas_base.c _base_get_ioc_facts() -> _base_handshake_req_reply_wait()

Type Parameter Key Value
PARAM_VALUE 0 ioc 4096-ptr_max
PARAM_VALUE 0 ioc->base_readl 4096-ptr_max
PARAM_VALUE 0 ioc->chip 4096-ptr_max
PARAM_VALUE 0 ioc->mask_interrupts 1
PARAM_VALUE 0 ioc->pci_error_recovery 0
PARAM_VALUE 0 ioc->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 ioc->pdev->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 ioc->pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 0 ioc->shost->shost_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 *ioc->diag_buffer_sz 0-4294967295
PARAM_VALUE 0 *ioc->diagnostic_flags 0-4294967295
PARAM_VALUE 0 *ioc->pdev->saved_config_space 0-4294967295
PARAM_VALUE 0 *ioc->unique_id 0-4294967295
PARAM_VALUE 1 request_bytes 12
PARAM_VALUE 2 request 8683607330445135872
PARAM_VALUE 3 reply_bytes 68
PARAM_VALUE 4 reply 6146589955111186432
PARAM_VALUE 5 timeout 5
BUF_SIZE 0 ioc->pdev (-1),1-s32max
BUF_SIZE 0 ioc->sas_hba.parent_dev (-1),1616
BUF_SIZE 0 ioc->schedule_dead_ioc_flush_running_cmds (-1),8
BUF_SIZE 2 request 12
BUF_SIZE 4 reply 68
DATA_SOURCE 0 ioc $0
MEM_ZERO 2 request
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ioc->pdev->current_state 0-3[c]
NO_OVERFLOW_SIMPLE 0 ioc->combined_reply_index_count
NO_OVERFLOW_SIMPLE 0 ioc->pdev->dev.cma_area->available_count
NO_OVERFLOW_SIMPLE 0 ioc->pdev->msix_base
NO_OVERFLOW_SIMPLE 0 ioc->sas_hba.nr_phys_allocated
NO_OVERFLOW_SIMPLE 0 ioc->sas_hba.num_phys
UNITS 1 request_bytes unit_byte
UNITS 3 reply_bytes unit_byte
HALF_LOCKED2 0 &ioc->base_cmds.mutex
HALF_LOCKED2 0 &ioc->ctl_cmds.mutex
HALF_LOCKED2 0 &ioc->pci_access_mutex
HALF_LOCKED2 0 &ioc->reset_in_progress_mutex
HALF_LOCKED2 0 &ioc->scsih_cmds.mutex
HALF_LOCKED2 0 &ioc->tm_cmds.mutex
HALF_LOCKED2 0 &ioc->transport_cmds.mutex

drivers/scsi/mpt3sas/mpt3sas_base.c _base_get_port_facts() -> _base_handshake_req_reply_wait()

Type Parameter Key Value
PARAM_VALUE 0 ioc 4096-ptr_max
PARAM_VALUE 1 request_bytes 12
PARAM_VALUE 2 request 3453523793771053056
PARAM_VALUE 3 reply_bytes 28
PARAM_VALUE 4 reply 5236708485928239104
PARAM_VALUE 5 timeout 5
BUF_SIZE 2 request 12
BUF_SIZE 4 reply 28
DATA_SOURCE 0 ioc $0
MEM_ZERO 2 request
UNITS 1 request_bytes unit_byte
UNITS 3 reply_bytes unit_byte

drivers/scsi/mpt3sas/mpt3sas_base.c _base_send_ioc_init() -> _base_handshake_req_reply_wait()

Type Parameter Key Value
PARAM_VALUE 0 ioc 4096-ptr_max
PARAM_VALUE 0 ioc->atomic_desc_capable 1
PARAM_VALUE 0 ioc->base_cmds.done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->base_cmds.done.wait.lock.owner (-1)
PARAM_VALUE 0 ioc->base_cmds.done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ioc->base_readl 4096-ptr_max
PARAM_VALUE 0 ioc->base_readl_ext_retry 4096-ptr_max
PARAM_VALUE 0 ioc->blocking_handles 1-u64max
PARAM_VALUE 0 ioc->chip 4096-ptr_max
PARAM_VALUE 0 ioc->combined_reply_queue 0
PARAM_VALUE 0 ioc->config_cmds.done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->config_cmds.done.wait.lock.owner (-1)
PARAM_VALUE 0 ioc->config_cmds.done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ioc->config_cmds.smid u16max
PARAM_VALUE 0 ioc->ctl_cmds.done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->ctl_cmds.done.wait.lock.owner (-1)
PARAM_VALUE 0 ioc->ctl_cmds.done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ioc->current_event 0
PARAM_VALUE 0 ioc->current_event->ignore 1
PARAM_VALUE 0 ioc->device_remove_in_progress 1-u64max
PARAM_VALUE 0 ioc->device_remove_in_progress_sz 0,8-8192
PARAM_VALUE 0 ioc->diag_buffer_status 4096-ptr_max
PARAM_VALUE 0 ioc->facts.FWVersion.Struct.Dev 0
PARAM_VALUE 0 ioc->facts.FWVersion.Struct.Major 0
PARAM_VALUE 0 ioc->facts.FWVersion.Struct.Minor 0
PARAM_VALUE 0 ioc->facts.FWVersion.Struct.Unit 0
PARAM_VALUE 0 ioc->facts.IOCLogInfo 0
PARAM_VALUE 0 ioc->facts.IOCNumber 0
PARAM_VALUE 0 ioc->facts.IOCStatus 0
PARAM_VALUE 0 ioc->facts.MaxDevHandle 0
PARAM_VALUE 0 ioc->facts.MaxPersistentEntries 0
PARAM_VALUE 0 ioc->facts.MaxVolumes 0
PARAM_VALUE 0 ioc->facts.MinDevHandle 0
PARAM_VALUE 0 ioc->fault_reset_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 ioc->fault_reset_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 ioc->fault_reset_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 ioc->firmware_event_thread->flags 0-4294967295
PARAM_VALUE 0 ioc->fw_event_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->fw_events_cleanup 0
PARAM_VALUE 0 ioc->hpr_free_list.next 4096-ptr_max
PARAM_VALUE 0 ioc->hpr_free_list.next->next 4096-ptr_max
PARAM_VALUE 0 ioc->hpr_free_list.prev 4096-ptr_max
PARAM_VALUE 0 ioc->hpr_free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ioc->hpr_free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ioc->htb_rel.buffer_rel_condition 5
PARAM_VALUE 0 ioc->internal_free_list.next 4096-ptr_max
PARAM_VALUE 0 ioc->internal_free_list.next->next 4096-ptr_max
PARAM_VALUE 0 ioc->internal_free_list.prev 4096-ptr_max
PARAM_VALUE 0 ioc->internal_free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ioc->internal_free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ioc->ioc_reset_in_progress_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->ir_firmware 1
PARAM_VALUE 0 ioc->mask_interrupts 1
PARAM_VALUE 0 ioc->page_size 0,2-u32max
PARAM_VALUE 0 ioc->pci_error_recovery 0
PARAM_VALUE 0 ioc->pd_handles 1-u64max
PARAM_VALUE 0 ioc->pd_handles_sz 0,8-8192
PARAM_VALUE 0 ioc->pdev->dev.cma_area->available_count 0-s64max
PARAM_VALUE 0 ioc->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 ioc->pdev->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 ioc->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 ioc->pdev->dev.iommu->max_pasids 0-4294967295
PARAM_VALUE 0 ioc->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ioc->pdev->dev.iommu_group->default_domain 0-s64max
PARAM_VALUE 0 ioc->pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 0 ioc->pdev->sriov->pos s32min-s32max
PARAM_VALUE 0 ioc->pend_os_device_add 1-u64max
PARAM_VALUE 0 ioc->pend_os_device_add_sz 0,8-8192
PARAM_VALUE 0 ioc->pending_io_count 0
PARAM_VALUE 0 ioc->port_enable_cmds.done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->port_enable_cmds.done.wait.lock.owner (-1)
PARAM_VALUE 0 ioc->port_enable_cmds.done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ioc->port_enable_failed 1
PARAM_VALUE 0 ioc->prev_fw_facts.FWVersion.Struct.Dev 0
PARAM_VALUE 0 ioc->prev_fw_facts.IOCLogInfo 0
PARAM_VALUE 0 ioc->prev_fw_facts.IOCNumber 0
PARAM_VALUE 0 ioc->prev_fw_facts.IOCStatus 0
PARAM_VALUE 0 ioc->prev_fw_facts.MaxPersistentEntries 0
PARAM_VALUE 0 ioc->prev_fw_facts.MaxVolumes 0
PARAM_VALUE 0 ioc->prev_fw_facts.MinDevHandle 0
PARAM_VALUE 0 ioc->rdpq_array_capable 1
PARAM_VALUE 0 ioc->reply_post 4096-ptr_max
PARAM_VALUE 0 ioc->reset_in_progress_mutex.dep_map->name 0-255
PARAM_VALUE 0 ioc->reset_in_progress_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ioc->reset_in_progress_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ioc->reset_in_progress_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ioc->reset_in_progress_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->reset_in_progress_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ioc->reset_in_progress_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ioc->scsi_lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ioc->scsih_cmds.done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->scsih_cmds.done.wait.lock.owner (-1)
PARAM_VALUE 0 ioc->scsih_cmds.done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ioc->scsiio_depth 0-65534
PARAM_VALUE 0 ioc->shost->max_id u32max
PARAM_VALUE 0 ioc->shost->shost_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ioc->shost->tag_set.tags_srcu.dep_map->name 0-255
PARAM_VALUE 0 ioc->shost_recovery 1
PARAM_VALUE 0 ioc->start_scan 0
PARAM_VALUE 0 ioc->start_scan_failed 4
PARAM_VALUE 0 ioc->tm_cmds.done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->tm_cmds.done.wait.lock.owner (-1)
PARAM_VALUE 0 ioc->tm_cmds.done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ioc->transport_cmds.done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 ioc->transport_cmds.done.wait.lock.owner (-1)
PARAM_VALUE 0 ioc->transport_cmds.done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 *ioc->diag_buffer_status 0-255
PARAM_VALUE 0 *ioc->diag_buffer_sz 0-4294967295
PARAM_VALUE 0 *ioc->diagnostic_flags 0-4294967295
PARAM_VALUE 0 *ioc->pdev->saved_config_space 0-4294967295
PARAM_VALUE 0 *ioc->unique_id 0-4294967295
PARAM_VALUE 1 request_bytes 72
PARAM_VALUE 2 request 3151629606861385728
PARAM_VALUE 3 reply_bytes 20
PARAM_VALUE 4 reply 4323544092980842496
PARAM_VALUE 5 timeout 30
BUF_SIZE 0 ioc->pdev (-1),16,24,40,56,96,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
BUF_SIZE 0 ioc->sas_hba.parent_dev (-1),1616
BUF_SIZE 0 ioc->schedule_dead_ioc_flush_running_cmds (-1),8
BUF_SIZE 2 request 72
BUF_SIZE 4 reply 20
CAPPED_DATA 0 ioc->blocking_handles 1
CAPPED_DATA 0 ioc->device_remove_in_progress 1
CAPPED_DATA 0 ioc->hi_priority_depth 1
CAPPED_DATA 0 ioc->internal_depth 1
CAPPED_DATA 0 ioc->pd_handles 1
CAPPED_DATA 0 ioc->pd_handles_sz 1
CAPPED_DATA 0 ioc->pend_os_device_add 1
CAPPED_DATA 0 ioc->pend_os_device_add_sz 1
CAPPED_DATA 0 ioc->reply_free_queue_depth 1
CAPPED_DATA 0 ioc->scsiio_depth 1
DATA_SOURCE 0 ioc $0
MEM_ZERO 0 &ioc->facts
MEM_ZERO 2 request
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ioc->pdev->current_state 0-3[c]
NO_OVERFLOW_SIMPLE 0 ioc->combined_reply_index_count
NO_OVERFLOW_SIMPLE 0 ioc->pdev->dev.cma_area->available_count
NO_OVERFLOW_SIMPLE 0 ioc->pdev->msix_base
NO_OVERFLOW_SIMPLE 0 ioc->sas_hba.nr_phys_allocated
NO_OVERFLOW_SIMPLE 0 ioc->sas_hba.num_phys
UNITS 1 request_bytes unit_byte
UNITS 3 reply_bytes unit_byte
LOCK2 0 &ioc->reset_in_progress_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &ioc->base_cmds.mutex
HALF_LOCKED2 0 &ioc->ctl_cmds.mutex
HALF_LOCKED2 0 &ioc->pci_access_mutex
HALF_LOCKED2 0 &ioc->scsih_cmds.mutex
HALF_LOCKED2 0 &ioc->tm_cmds.mutex
HALF_LOCKED2 0 &ioc->transport_cmds.mutex
TYPE_LOCK (struct MPT3SAS_ADAPTER)->reset_in_progress_mutex