Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/leapraid/leapraid_func.c leapraid_internal_sas_topo_chg_evt() -> leapraid_add_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->access_ctrl.host_removing | 0 |
| PARAM_VALUE | 0 | adapter->access_ctrl.pcie_recovering | 0 |
| PARAM_VALUE | 0 | adapter->access_ctrl.shost_recovering | 0 |
| PARAM_VALUE | 0 | adapter->adapter_attr.features.max_dev_handle | 1-u16max |
| PARAM_VALUE | 0 | adapter->dev_topo.topo_node_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->fw_evt_s.cur_evt | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->fw_evt_s.fw_evt_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | hdl | 1-u16max |
| CAPPED_DATA | 1 | hdl | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| PARAM_COMPARE | 0 | adapter->adapter_attr.features.max_dev_handle | >= $1 |
| PARAM_COMPARE | 1 | hdl | <= $0->adapter_attr.features.max_dev_handle |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adapter->dev_topo.card.phys_num |
drivers/scsi/leapraid/leapraid_func.c leapraid_sas_pd_add() -> leapraid_add_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->access_ctrl.host_removing | 0 |
| PARAM_VALUE | 0 | adapter->access_ctrl.pcie_recovering | 0 |
| PARAM_VALUE | 0 | adapter->adapter_attr.features.max_dev_handle | 1-u16max |
| PARAM_VALUE | 0 | adapter->dev_topo.pd_hdls | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dev_topo.sas_dev_lock.rlock.dep_map->name | 0-255 |
| 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.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.status | 32768 |
| PARAM_VALUE | 0 | adapter->fw_evt_s.cur_evt | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->fw_evt_s.fw_evt_lock.rlock.dep_map->name | 0-255 |
| 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->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| 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.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.iommu->pci_32bit_workaround | 0 |
| PARAM_VALUE | 1 | hdl | 1-u16max |
| CAPPED_DATA | 1 | hdl | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| PARAM_COMPARE | 0 | adapter->adapter_attr.features.max_dev_handle | >= $1 |
| PARAM_COMPARE | 1 | hdl | <= $0->adapter_attr.features.max_dev_handle |
| NOCHECK_CALL |
drivers/scsi/leapraid/leapraid_func.c leapraid_scan_phy_disks_after_reset() -> leapraid_add_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->adapter_attr.features.max_dev_handle | 1-u16max |
| PARAM_VALUE | 0 | adapter->adapter_attr.raid_support | 1-255 |
| PARAM_VALUE | 0 | adapter->dev_topo.pd_hdls | 4096-ptr_max |
| 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->driver_cmds.cfg_op_cmd.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.status | 32768 |
| 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->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| 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.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.iommu->pci_32bit_workaround | 0 |
| PARAM_VALUE | 0 | adapter->shost | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->shost->host_lock->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdl | 1-u16max |
| CAPPED_DATA | 1 | hdl | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| PARAM_COMPARE | 0 | adapter->adapter_attr.features.max_dev_handle | >= $1 |
| PARAM_COMPARE | 1 | hdl | <= $0->adapter_attr.features.max_dev_handle |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adapter->dev_topo.card.phys_num |
drivers/scsi/leapraid/leapraid_func.c leapraid_scan_sas_dev_after_reset() -> leapraid_add_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->adapter_attr.features.max_dev_handle | 1-u16max |
| PARAM_VALUE | 0 | adapter->dev_topo.topo_node_lock.rlock.dep_map->name | 0-255 |
| 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.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->driver_cmds.cfg_op_cmd.status | 32768 |
| 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->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| 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.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.iommu->pci_32bit_workaround | 0 |
| PARAM_VALUE | 0 | adapter->shost | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->shost->host_lock->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdl | 1-u16max |
| CAPPED_DATA | 1 | hdl | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| PARAM_COMPARE | 0 | adapter->adapter_attr.features.max_dev_handle | >= $1 |
| PARAM_COMPARE | 1 | hdl | <= $0->adapter_attr.features.max_dev_handle |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adapter->dev_topo.card.phys_num |