Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd() -> lpfc_sli_prep_gen_req()

Type Parameter Key Value
PARAM_VALUE 0 phba 4096-ptr_max
PARAM_VALUE 0 phba->hbalock.rlock.dep_map->name 0-255
PARAM_VALUE 0 phba->lpfc_mbuf_pool 4096-ptr_max
PARAM_VALUE 0 phba->lpfc_mbuf_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 phba->lpfc_mbuf_pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 phba->lpfc_mbuf_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 phba->lpfc_mbuf_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 cmdiocbq 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->list.next 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->list.next->next 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->list.next->prev 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->list.prev 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->list.prev->next 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->list.prev->prev 4096-ptr_max
PARAM_VALUE 2 bmp 4096-ptr_max
PARAM_VALUE 2 bmp->list.next 4096-ptr_max
PARAM_VALUE 2 bmp->list.next->next 4096-ptr_max
PARAM_VALUE 2 bmp->list.prev 4096-ptr_max
PARAM_VALUE 2 bmp->list.prev->next 4096-ptr_max
PARAM_VALUE 2 bmp->list.prev->prev 4096-ptr_max
PARAM_VALUE 2 bmp->virt 1-u64max
PARAM_VALUE 4 num_entry 2-4194388
BUF_SIZE 2 bmp 40
BUF_SIZE 2 bmp->virt s32min-(-1),1-s32max
DATA_SOURCE 1 cmdiocbq r lpfc_sli_get_iocbq
DATA_SOURCE 2 bmp r _kmalloc_noprof
PARAM_COMPARE 0 &phba->lpfc_iocb_list != $0->lpfc_iocb_list.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 phba unit_byte
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read

drivers/scsi/lpfc/lpfc_ct.c lpfc_gen_req() -> lpfc_sli_prep_gen_req()

Type Parameter Key Value
PARAM_VALUE 0 phba 4096-ptr_max
PARAM_VALUE 0 phba->hbalock.rlock.dep_map->name 0-255
PARAM_VALUE 0 phba->lpfc_mbuf_pool 4096-ptr_max
PARAM_VALUE 1 cmdiocbq 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->bpl_dmabuf 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->bpl_dmabuf->list.next 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->bpl_dmabuf->list.prev 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->bpl_dmabuf->virt 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->cmd_dmabuf 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->cmd_dmabuf->list.next 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->cmd_dmabuf->list.prev 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->cmd_dmabuf->virt 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->list.next 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->list.next->next 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->list.next->prev 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->list.prev 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->list.prev->next 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 cmdiocbq->rsp_dmabuf 4096-ptr_max
PARAM_VALUE 2 bmp 4096-ptr_max
PARAM_VALUE 2 bmp->list.next 4096-ptr_max
PARAM_VALUE 2 bmp->list.next->next 4096-ptr_max
PARAM_VALUE 2 bmp->list.prev 4096-ptr_max
PARAM_VALUE 2 bmp->list.prev->next 4096-ptr_max
PARAM_VALUE 2 bmp->list.prev->prev 4096-ptr_max
PARAM_VALUE 2 bmp->virt 4096-ptr_max
BUF_SIZE 1 cmdiocbq->bpl_dmabuf 40
BUF_SIZE 1 cmdiocbq->cmd_dmabuf 40
BUF_SIZE 1 cmdiocbq->rsp_dmabuf 0,40
BUF_SIZE 2 bmp 40
BUF_SIZE 2 bmp->virt s32min-(-1),1-s32max
DATA_SOURCE 1 cmdiocbq r lpfc_sli_get_iocbq
DATA_SOURCE 2 bmp $1
DATA_SOURCE 4 num_entry $7
DATA_SOURCE 5 tmo $8 [m]
PARAM_COMPARE 0 &phba->lpfc_iocb_list != $0->lpfc_iocb_list.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 phba->cfg_irq_chann
NO_OVERFLOW_SIMPLE 0 phba->sli4_hba.num_possible_cpu
UNITS 0 phba unit_byte
HALF_LOCKED2 &vport->phba->hbalock