Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/leapraid/leapraid_func.c leapraid_ctrl_init() -> leapraid_set_pcie_and_notification()

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.pci_access_lock.magic 4096-ptr_max
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->driver_cmds.cfg_op_cmd.cb_idx 2
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.list.next 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.cfg_op_cmd.list.prev 4096-ptr_max
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.list.next 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.ctl_cmd.list.prev 4096-ptr_max
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.list.next 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.enc_cmd.list.prev 4096-ptr_max
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.list.next 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.notify_event_cmd.list.prev 4096-ptr_max
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.list.next 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.scan_dev_cmd.list.prev 4096-ptr_max
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->next->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.list.next 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.tm_cmd.list.prev 4096-ptr_max
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.list.next 4096-ptr_max
PARAM_VALUE 0 adapter->driver_cmds.transport_cmd.list.prev 4096-ptr_max
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->fw_evt_s.fw_evt_thread 4096-ptr_max
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->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->driver 4096-ptr_max
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->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->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->can_queue 1
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 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
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,7472,8064
BUF_SIZE 0 adapter->shost 4600-s32max
DATA_SOURCE 0 adapter $0
STR_LEN 0 adapter->adapter_attr.name 47
STR_LEN 0 adapter->fw_evt_s.fw_evt_name 47
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adapter->pdev->current_state 0-3[c]

drivers/scsi/leapraid/leapraid_os.c leapraid_pci_slot_reset() -> leapraid_set_pcie_and_notification()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
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->pdev->dev.driver_data 1-u64max
BUF_SIZE 0 adapter->pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064
DATA_SOURCE 0 adapter r pdev_to_adapter
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex

drivers/scsi/leapraid/leapraid_os.c leapraid_resume() -> leapraid_set_pcie_and_notification()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->bus 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->pdev->dev.driver_data 1-u64max
PARAM_VALUE 0 adapter->pdev->driver 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->pcie_cap 0-1
PARAM_VALUE 0 adapter->pdev->state_saved 0
DATA_SOURCE 0 adapter r pdev_to_adapter
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adapter->pdev->current_state 0-3[c]
HOST_DATA 0 adapter->pdev->pcie_flags_reg 0-u16max
HALF_LOCKED2 &dev->mutex