Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/elx/efct/efct_hw.c efct_els_hw_srrs_send() -> efct_hw_io_alloc()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
BUF_SIZE 0 hw 36856
TASK_NOT_RUNNING

drivers/scsi/elx/efct/efct_hw.c efct_hw_bls_send() -> efct_hw_io_alloc()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->state 2
BUF_SIZE 0 hw 36856
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/elx/efct/efct_hw.c efct_hw_init() -> efct_hw_io_alloc()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->bmbx_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hw->bmbx_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hw->bmbx_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hw->bmbx_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hw->cmd_ctx_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->cmd_head.next 4096-ptr_max
PARAM_VALUE 0 hw->cmd_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->cmd_pending.next 4096-ptr_max
PARAM_VALUE 0 hw->cq_count 0
PARAM_VALUE 0 hw->eq_count 0
PARAM_VALUE 0 hw->eq_list.next 4096-ptr_max
PARAM_VALUE 0 hw->eq_list.next->next 4096-ptr_max
PARAM_VALUE 0 hw->eq_list.prev 4096-ptr_max
PARAM_VALUE 0 hw->eq_list.prev->next 4096-ptr_max
PARAM_VALUE 0 hw->eq_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hw->eq_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 hw->hw_mrq_count 0-u16max
PARAM_VALUE 0 hw->hw_rq_count 0
PARAM_VALUE 0 hw->io 1-u64max
PARAM_VALUE 0 hw->loop_map.size 128
PARAM_VALUE 0 hw->loop_map.virt 0-ptr_max
PARAM_VALUE 0 hw->mq->index 0-4294967295
PARAM_VALUE 0 hw->mq_count 0
PARAM_VALUE 0 hw->os 4096-ptr_max
PARAM_VALUE 0 hw->os->pci 4096-ptr_max
PARAM_VALUE 0 hw->os->pci->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hw->os->pci->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hw->os->pci->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hw->os->pci->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 hw->os->pci->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->os->pci->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 hw->os->pci->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 hw->os->pci->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 hw->os->pci->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->os->pci->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 hw->os->pci->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 hw->os->pci->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 hw->rq_count 0
PARAM_VALUE 0 hw->seq_pool 1-u64max
PARAM_VALUE 0 hw->sli.bmbx.virt->dw1_flags 1
PARAM_VALUE 0 hw->sli.bmbx.virt->dw1_qry 1
PARAM_VALUE 0 hw->sli.bmbx.virt->hdr.command 155,157
PARAM_VALUE 0 hw->sli.bmbx.virt->hdr.status 0
PARAM_VALUE 0 hw->sli.bmbx.virt->payload_len 0-232
PARAM_VALUE 0 hw->sli.params.has_extents 0
PARAM_VALUE 0 hw->sli.params.sgl_pre_registered 0-1
PARAM_VALUE 0 hw->sli.pci->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hw->sli.pci->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hw->sli.pci->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 hw->sli.pci->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 hw->sli.pci->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 hw->sli.pci->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 hw->state 2
PARAM_VALUE 0 hw->wq_count 0
PARAM_VALUE 0 hw->wq_cpu_array 16,4096-ptr_max
PARAM_VALUE 0 hw->wq_reqtag_pool 4096-ptr_max
PARAM_VALUE 0 hw->wq_reqtag_pool->freelist.next 4096-ptr_max
PARAM_VALUE 0 hw->wq_reqtag_pool->freelist.next->next 4096-ptr_max
PARAM_VALUE 0 hw->wq_reqtag_pool->freelist.prev 4096-ptr_max
PARAM_VALUE 0 hw->wq_reqtag_pool->freelist.prev->next 4096-ptr_max
PARAM_VALUE 0 hw->wq_reqtag_pool->freelist.prev->prev 4096-ptr_max
PARAM_VALUE 0 hw->wq_reqtag_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->wqe_buffs 0,16,4096-ptr_max
BUF_SIZE 0 hw->wq_reqtag_pool 524368
CAPPED_DATA 0 hw->config.n_eq 1
CAPPED_DATA 0 hw->config.n_io 1
CAPPED_DATA 0 hw->io 1
CAPPED_DATA 0 &hw->cmd_head 1
CAPPED_DATA 0 &hw->cmd_pending 1
CAPPED_DATA 0 &hw->io_free 1
CAPPED_DATA 0 &hw->io_inuse 1
CAPPED_DATA 0 &hw->io_wait_free 1
CAPPED_DATA 0 &hw->os->pci->dev 1
DATA_SOURCE 0 hw $0
PARAM_COMPARE 0 &hw->cmd_head == $0->cmd_head.next
PARAM_COMPARE 0 &hw->cmd_pending == $0->cmd_pending.next
MEM_ZERO 0 hw->cq_hash
MEM_ZERO 0 hw->rq_hash
MEM_ZERO 0 hw->sli.bmbx.virt
MEM_ZERO 0 hw->wq_hash
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hw->config.n_io

drivers/scsi/elx/efct/efct_scsi.c efct_scsi_dispatch_pending() -> efct_hw_io_alloc()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xport->io_pending_lock
LOCK2 flags
TYPE_LOCK (struct efct_xport)->io_pending_lock

drivers/scsi/elx/efct/efct_scsi.c efct_scsi_io_dispatch() -> efct_hw_io_alloc()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING