Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/leapraid/leapraid_os.c leapraid_probe() -> leapraid_remove_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->access_ctrl.pci_access_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->access_ctrl.recovery_waitq.head.next->next 4096-ptr_max
PARAM_VALUE 0 adapter->access_ctrl.recovery_waitq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 adapter->access_ctrl.recovery_waitq.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 adapter->access_ctrl.shost_recover_wq.head.next 4096-ptr_max
PARAM_VALUE 0 adapter->access_ctrl.shost_recover_wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 adapter->access_ctrl.shost_recover_wq.head.prev 4096-ptr_max
PARAM_VALUE 0 adapter->access_ctrl.shost_recover_wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 adapter->access_ctrl.shost_recover_wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 adapter->adapter_attr.rep_desc_q_seg_cnt 0-4096
PARAM_VALUE 0 adapter->adapter_attr.use_32_dma_mask 1
PARAM_VALUE 0 adapter->dev_topo.blocking_hdls 16,4096-ptr_max
PARAM_VALUE 0 adapter->dev_topo.pd_hdls 16,4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.cb_idx 2
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.mutex.dep_map->name 0-255
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.mutex.magic 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.status 32768
PARAM_VALUE 0 adapter->driver_cmds.ctl_cmd.cb_idx 8
PARAM_VALUE 0 adapter->driver_cmds.ctl_cmd.mutex.dep_map->name 0-255
PARAM_VALUE 0 adapter->driver_cmds.ctl_cmd.mutex.magic 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.ctl_cmd.status 32768
PARAM_VALUE 0 adapter->driver_cmds.enc_cmd.cb_idx 6
PARAM_VALUE 0 adapter->driver_cmds.enc_cmd.mutex.dep_map->name 0-255
PARAM_VALUE 0 adapter->driver_cmds.enc_cmd.mutex.magic 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.enc_cmd.status 32768
PARAM_VALUE 0 adapter->driver_cmds.notify_event_cmd.cb_idx 7
PARAM_VALUE 0 adapter->driver_cmds.notify_event_cmd.mutex.dep_map->name 0-255
PARAM_VALUE 0 adapter->driver_cmds.notify_event_cmd.mutex.magic 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.notify_event_cmd.status 32768
PARAM_VALUE 0 adapter->driver_cmds.scan_dev_cmd.cb_idx 1
PARAM_VALUE 0 adapter->driver_cmds.scan_dev_cmd.status 32768
PARAM_VALUE 0 adapter->driver_cmds.special_cmd_list.next 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.special_cmd_list.next->next 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.special_cmd_list.prev 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.special_cmd_list.prev->next 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.special_cmd_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.tm_cmd.cb_idx 9
PARAM_VALUE 0 adapter->driver_cmds.tm_cmd.mutex.dep_map->name 0-255
PARAM_VALUE 0 adapter->driver_cmds.tm_cmd.mutex.magic 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.tm_cmd.status 32768
PARAM_VALUE 0 adapter->driver_cmds.transport_cmd.cb_idx 3
PARAM_VALUE 0 adapter->driver_cmds.transport_cmd.mutex.dep_map->name 0-255
PARAM_VALUE 0 adapter->driver_cmds.transport_cmd.mutex.magic 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.transport_cmd.status 32768
PARAM_VALUE 0 adapter->dynamic_task_desc.hp_cmd_qd 2
PARAM_VALUE 0 adapter->dynamic_task_desc.inter_cmd_qd 5
PARAM_VALUE 0 adapter->fw_evt_s.fw_evt_thread 4096-ptr_max
PARAM_VALUE 0 adapter->fw_log_desc.fw_log_buffer 1-u64max
PARAM_VALUE 0 adapter->fw_log_desc.mmap_refcnt.counter 0
PARAM_VALUE 0 adapter->fw_log_desc.mmap_waitq.head.next 4096-ptr_max
PARAM_VALUE 0 adapter->fw_log_desc.mmap_waitq.head.next->next 4096-ptr_max
PARAM_VALUE 0 adapter->fw_log_desc.mmap_waitq.head.prev 4096-ptr_max
PARAM_VALUE 0 adapter->fw_log_desc.mmap_waitq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 adapter->fw_log_desc.mmap_waitq.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 adapter->mask_int 0
PARAM_VALUE 0 adapter->mem_desc.rep_desc_q_arr 0-ptr_max
PARAM_VALUE 0 adapter->mem_desc.rep_desc_q_arr->r1 0
PARAM_VALUE 0 adapter->mem_desc.rep_desc_seg_maint 4096-ptr_max
PARAM_VALUE 0 adapter->mem_desc.rep_msg 1-ptr_max
PARAM_VALUE 0 adapter->mem_desc.rep_msg_addr 1-ptr_max
PARAM_VALUE 0 adapter->mem_desc.sense_data 1-ptr_max
PARAM_VALUE 0 adapter->mem_desc.sg_chain_pool 4096-ptr_max
PARAM_VALUE 0 adapter->mem_desc.sg_chain_pool_size 2432
PARAM_VALUE 0 adapter->mem_desc.task_desc 1-ptr_max
PARAM_VALUE 0 adapter->mem_desc.taskid_to_uniq_tag 4096-ptr_max
PARAM_VALUE 0 adapter->overheat_desc.fault_overheat_wq 1-u64max
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 adapter->pdev->driver 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 adapter->pdev->pcie_cap 0-1
PARAM_VALUE 0 adapter->pdev->state_saved 1
PARAM_VALUE 0 adapter->phba->dbg_log_cnt.counter s32min-s32max
PARAM_VALUE 0 adapter->phba->dbg_log_idx.counter s32min-s32max
PARAM_VALUE 0 adapter->reset_desc.adapter_reset_mutex.dep_map->name 0-255
PARAM_VALUE 0 adapter->reset_desc.adapter_reset_mutex.magic 4096-ptr_max
PARAM_VALUE 0 adapter->reset_desc.host_diag_mutex.dep_map->name 0-255
PARAM_VALUE 0 adapter->reset_desc.host_diag_mutex.magic 4096-ptr_max
PARAM_VALUE 0 adapter->reset_desc.reset_wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 adapter->reset_desc.reset_wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 adapter->reset_desc.reset_wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 adapter->reset_desc.reset_wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 adapter->reset_desc.reset_wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 adapter->scan_dev_desc.driver_loading 1
PARAM_VALUE 0 adapter->scan_dev_desc.wait_driver_loading.head.next 4096-ptr_max
PARAM_VALUE 0 adapter->scan_dev_desc.wait_driver_loading.head.next->next 4096-ptr_max
PARAM_VALUE 0 adapter->scan_dev_desc.wait_driver_loading.head.prev 4096-ptr_max
PARAM_VALUE 0 adapter->scan_dev_desc.wait_driver_loading.head.prev->next 4096-ptr_max
PARAM_VALUE 0 adapter->scan_dev_desc.wait_driver_loading.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 adapter->scan_dev_desc.wait_scan_dev_done 1
PARAM_VALUE 0 adapter->shost 4096-ptr_max
PARAM_VALUE 0 adapter->shost->__devices.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->__devices.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->__targets.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->__targets.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->active_mode 1-3
PARAM_VALUE 0 adapter->shost->cmd_per_lun 128
PARAM_VALUE 0 adapter->shost->dma_alignment 1-u32max
PARAM_VALUE 0 adapter->shost->dma_boundary 1-u64max
PARAM_VALUE 0 adapter->shost->dma_channel 255
PARAM_VALUE 0 adapter->shost->eh_abort_list.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->eh_abort_list.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->eh_cmd_q.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->eh_cmd_q.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->eh_deadline (-1)-2147483500,s32max
PARAM_VALUE 0 adapter->shost->ehandler 4096-ptr_max
PARAM_VALUE 0 adapter->shost->host_lock 4096-ptr_max
PARAM_VALUE 0 adapter->shost->host_no 0-s32max
PARAM_VALUE 0 adapter->shost->host_tagset 0
PARAM_VALUE 0 adapter->shost->host_wait.head.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->host_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->hostt 4898604398010769408
PARAM_VALUE 0 adapter->shost->max_channel 0
PARAM_VALUE 0 adapter->shost->max_cmd_len 12
PARAM_VALUE 0 adapter->shost->max_host_blocked 1-u32max
PARAM_VALUE 0 adapter->shost->max_id 8
PARAM_VALUE 0 adapter->shost->max_lun 8
PARAM_VALUE 0 adapter->shost->max_sectors 1-u32max
PARAM_VALUE 0 adapter->shost->max_segment_size 1-u32max
PARAM_VALUE 0 adapter->shost->no_write_same 0
PARAM_VALUE 0 adapter->shost->nr_reserved_cmds 0
PARAM_VALUE 0 adapter->shost->queuecommand_may_block 0
PARAM_VALUE 0 adapter->shost->scan_mutex.first_waiter 0
PARAM_VALUE 0 adapter->shost->scan_mutex.magic 4096-ptr_max
PARAM_VALUE 0 adapter->shost->sg_prot_tablesize 0
PARAM_VALUE 0 adapter->shost->sg_tablesize 32,128
PARAM_VALUE 0 adapter->shost->shost_dev.class 942952841909760000
PARAM_VALUE 0 adapter->shost->shost_dev.devres_head.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 adapter->shost->shost_dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.groups 7715154253256708096
PARAM_VALUE 0 adapter->shost->shost_dev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 adapter->shost->shost_dev.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 adapter->shost->shost_dev.kobj.state_initialized 1
PARAM_VALUE 0 adapter->shost->shost_dev.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.links.status 0
PARAM_VALUE 0 adapter->shost->shost_dev.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.numa_node (-1)
PARAM_VALUE 0 adapter->shost->shost_dev.parent 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.power.disable_depth 1
PARAM_VALUE 0 adapter->shost->shost_dev.power.early_init 1
PARAM_VALUE 0 adapter->shost->shost_dev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.power.last_status (-1)
PARAM_VALUE 0 adapter->shost->shost_dev.power.qos 0
PARAM_VALUE 0 adapter->shost->shost_dev.power.request 0
PARAM_VALUE 0 adapter->shost->shost_dev.power.runtime_auto 1
PARAM_VALUE 0 adapter->shost->shost_dev.power.runtime_status 2
PARAM_VALUE 0 adapter->shost->shost_dev.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_dev.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.bus 3137178616257380352
PARAM_VALUE 0 adapter->shost->shost_gendev.devres_head.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 adapter->shost->shost_gendev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 adapter->shost->shost_gendev.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 adapter->shost->shost_gendev.kobj.state_initialized 1
PARAM_VALUE 0 adapter->shost->shost_gendev.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.numa_node (-1)
PARAM_VALUE 0 adapter->shost->shost_gendev.power.disable_depth 1
PARAM_VALUE 0 adapter->shost->shost_gendev.power.early_init 1
PARAM_VALUE 0 adapter->shost->shost_gendev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.power.last_status (-1)
PARAM_VALUE 0 adapter->shost->shost_gendev.power.qos 0
PARAM_VALUE 0 adapter->shost->shost_gendev.power.runtime_auto 1
PARAM_VALUE 0 adapter->shost->shost_gendev.power.runtime_status 2
PARAM_VALUE 0 adapter->shost->shost_gendev.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->shost_gendev.type 4452975310479048704
PARAM_VALUE 0 adapter->shost->shost_state 1
PARAM_VALUE 0 adapter->shost->starved_list.next 4096-ptr_max
PARAM_VALUE 0 adapter->shost->starved_list.prev 4096-ptr_max
PARAM_VALUE 0 adapter->shost->this_id (-1)
PARAM_VALUE 0 adapter->shost->tmf_work_q 4096-ptr_max
PARAM_VALUE 0 adapter->shost->transportt 5918905452196392960
PARAM_VALUE 0 adapter->shost->virt_boundary_mask 0
PARAM_VALUE 0 *adapter->fw_evt_s.fw_evt_name 0-87,89-98,101-104,106-110,113-114,116,118-119,121-127
PARAM_VALUE 0 *adapter->fw_evt_s.leapraid_evt_masks 4294967295
PARAM_VALUE 0 *adapter->overheat_desc.fault_overheat_wq_name 0-255
BUF_SIZE 0 adapter->fw_evt_s.fw_evt_thread (-1),512,528-8720
BUF_SIZE 0 adapter->pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064
BUF_SIZE 0 adapter->shost 4600-s32max
CAPPED_DATA 0 adapter->notification_desc.iopoll_qcnt 1
CAPPED_DATA 0 adapter->notification_desc.iopoll_qdex 1
STR_LEN 0 adapter->adapter_attr.name 47
STR_LEN 0 adapter->fw_evt_s.fw_evt_name 47
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adapter->pdev->current_state 0-3[c]
NO_OVERFLOW_SIMPLE 0 adapter->adapter_attr.rep_desc_q_seg_cnt
NO_OVERFLOW_SIMPLE 0 adapter->shost->can_queue

drivers/scsi/leapraid/leapraid_os.c leapraid_remove() -> leapraid_remove_ctrl()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->access_ctrl.host_removing 1
PARAM_VALUE 0 adapter->dev_topo.card.card_phy 0
PARAM_VALUE 0 adapter->dev_topo.card.phys_num 0
PARAM_VALUE 0 adapter->dev_topo.raid_volume_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->dev_topo.sas_dev_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->dev_topo.topo_node_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->fw_evt_s.fw_evt_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->fw_evt_s.fw_evt_thread 0
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 adapter->reset_desc.pending_io_cnt 0
PARAM_VALUE 0 adapter->scan_dev_desc.driver_loading 0
PARAM_VALUE 0 adapter->scan_dev_desc.wait_driver_loading.lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 adapter r pdev_to_adapter
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL