Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/bfa/bfad.c bfad_drv_init() -> bfa_fcs_attach()

Type Parameter Key Value
PARAM_VALUE 0 fcs 4096-ptr_max
PARAM_VALUE 0 fcs->trcmod 4096-ptr_max
PARAM_VALUE 1 bfa 4096-ptr_max
PARAM_VALUE 1 bfa->plog 4096-ptr_max
PARAM_VALUE 1 bfa->trcmod 4096-ptr_max
PARAM_VALUE 2 bfad 4096-ptr_max
PARAM_VALUE 2 bfad->active_aen_q.next 4096-ptr_max
PARAM_VALUE 2 bfad->active_aen_q.next->next 4096-ptr_max
PARAM_VALUE 2 bfad->active_aen_q.prev 4096-ptr_max
PARAM_VALUE 2 bfad->active_aen_q.prev->next 4096-ptr_max
PARAM_VALUE 2 bfad->active_aen_q.prev->prev 4096-ptr_max
PARAM_VALUE 2 bfad->aen_list 4096-ptr_max
PARAM_VALUE 2 bfad->bfa.plog 4096-ptr_max
PARAM_VALUE 2 bfad->bfa.trcmod 4096-ptr_max
PARAM_VALUE 2 bfad->bfa.trcmod->head 0-4095
PARAM_VALUE 2 bfad->bfa.trcmod->ntrc 4096
PARAM_VALUE 2 bfad->bfa.trcmod->stopped 0
PARAM_VALUE 2 bfad->bfa.trcmod->tail 0-4095
PARAM_VALUE 2 bfad->bfa_fcs.trcmod 4096-ptr_max
PARAM_VALUE 2 bfad->bfa_fcs.trcmod->head 0-4095
PARAM_VALUE 2 bfad->bfa_fcs.trcmod->ntrc 4096
PARAM_VALUE 2 bfad->bfa_fcs.trcmod->stopped 0
PARAM_VALUE 2 bfad->bfa_fcs.trcmod->tail 0-4095
PARAM_VALUE 2 bfad->cfg_data.binding_method 1
PARAM_VALUE 2 bfad->cfg_data.ioc_queue_depth 0-u16max
PARAM_VALUE 2 bfad->free_aen_q.next 4096-ptr_max
PARAM_VALUE 2 bfad->free_aen_q.next->next 4096-ptr_max
PARAM_VALUE 2 bfad->free_aen_q.prev 4096-ptr_max
PARAM_VALUE 2 bfad->free_aen_q.prev->next 4096-ptr_max
PARAM_VALUE 2 bfad->free_aen_q.prev->prev 4096-ptr_max
PARAM_VALUE 2 bfad->hal_pcidev.device_id 19-20,23,33-35
PARAM_VALUE 2 bfad->hal_pcidev.pci_bar_kva 4096-ptr_max
PARAM_VALUE 2 bfad->hal_pcidev.pci_func 0-7
PARAM_VALUE 2 bfad->hal_pcidev.pci_slot 0-31
PARAM_VALUE 2 bfad->ioc_cfg.drvcfg.delay_comp 0
PARAM_VALUE 2 bfad->ioc_cfg.drvcfg.ioc_recover 0
PARAM_VALUE 2 bfad->ioc_cfg.drvcfg.num_sboot_luns 16
PARAM_VALUE 2 bfad->ioc_cfg.drvcfg.num_sboot_tgts 16
PARAM_VALUE 2 bfad->ioc_cfg.drvcfg.num_sgpgs 16-8192
PARAM_VALUE 2 bfad->ioc_cfg.drvcfg.path_tov 30000
PARAM_VALUE 2 bfad->ioc_cfg.fwcfg.num_cqs 4
PARAM_VALUE 2 bfad->ioc_cfg.fwcfg.num_fabrics 1
PARAM_VALUE 2 bfad->ioc_cfg.fwcfg.num_fcxp_reqs 1-256
PARAM_VALUE 2 bfad->ioc_cfg.fwcfg.num_fwtio_reqs 0
PARAM_VALUE 2 bfad->ioc_cfg.fwcfg.num_ioim_reqs 0,8-2000
PARAM_VALUE 2 bfad->ioc_cfg.fwcfg.num_lports 256
PARAM_VALUE 2 bfad->ioc_cfg.fwcfg.num_rports 4-u16max
PARAM_VALUE 2 bfad->ioc_cfg.fwcfg.num_tskim_reqs 4-u16max
PARAM_VALUE 2 bfad->ioc_cfg.fwcfg.num_uf_bufs 1-256
PARAM_VALUE 2 bfad->list_entry.next 1169345155208544256
PARAM_VALUE 2 bfad->list_entry.prev 4096-ptr_max
PARAM_VALUE 2 bfad->meminfo.dma_info.dma 0
PARAM_VALUE 2 bfad->meminfo.dma_info.dma_curp 0
PARAM_VALUE 2 bfad->meminfo.dma_info.kva 0
PARAM_VALUE 2 bfad->meminfo.dma_info.kva_curp 0
PARAM_VALUE 2 bfad->meminfo.dma_info.mem_len 0
PARAM_VALUE 2 bfad->meminfo.dma_info.qe.next 4096-ptr_max
PARAM_VALUE 2 bfad->meminfo.dma_info.qe.next->next 0
PARAM_VALUE 2 bfad->meminfo.dma_info.qe.prev 4096-ptr_max
PARAM_VALUE 2 bfad->meminfo.dma_info.qe.prev->next 4096-ptr_max
PARAM_VALUE 2 bfad->meminfo.dma_info.qe.prev->next->next 4096-ptr_max
PARAM_VALUE 2 bfad->meminfo.dma_info.qe.prev->prev 0
PARAM_VALUE 2 bfad->meminfo.kva_info.kva 0
PARAM_VALUE 2 bfad->meminfo.kva_info.kva_curp 0
PARAM_VALUE 2 bfad->meminfo.kva_info.mem_len 0
PARAM_VALUE 2 bfad->meminfo.kva_info.qe.next 4096-ptr_max
PARAM_VALUE 2 bfad->meminfo.kva_info.qe.next->next 4096-ptr_max
PARAM_VALUE 2 bfad->meminfo.kva_info.qe.prev 4096-ptr_max
PARAM_VALUE 2 bfad->meminfo.kva_info.qe.prev->next 4096-ptr_max
PARAM_VALUE 2 bfad->meminfo.kva_info.qe.prev->next->next 4096-ptr_max
PARAM_VALUE 2 bfad->meminfo.kva_info.qe.prev->prev 4096-ptr_max
PARAM_VALUE 2 bfad->pbc_vport_list.next 4096-ptr_max
PARAM_VALUE 2 bfad->pbc_vport_list.next->next 4096-ptr_max
PARAM_VALUE 2 bfad->pbc_vport_list.prev 4096-ptr_max
PARAM_VALUE 2 bfad->pbc_vport_list.prev->next 4096-ptr_max
PARAM_VALUE 2 bfad->pbc_vport_list.prev->prev 4096-ptr_max
PARAM_VALUE 2 bfad->pci_attr.device_id 19-20,23,33-35
PARAM_VALUE 2 bfad->pci_attr.pcifn 0-7
PARAM_VALUE 2 bfad->pci_bar0_kva 4096-ptr_max
PARAM_VALUE 2 bfad->pci_bar2_kva 0,4096-ptr_max
PARAM_VALUE 2 bfad->pcidev 4096-ptr_max
PARAM_VALUE 2 bfad->pcidev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 2 bfad->pcidev->dev.dma_mask 4096-ptr_max
PARAM_VALUE 2 bfad->pcidev->device 19-20,23,33-35
PARAM_VALUE 2 bfad->pcidev->driver 4096-ptr_max
PARAM_VALUE 2 bfad->pcidev->error_state 0-2,4-u32max
PARAM_VALUE 2 bfad->pcidev->is_busmaster 1
PARAM_VALUE 2 bfad->pcidev->is_virtfn 0
PARAM_VALUE 2 bfad->pcidev->pcie_cap 0-1
PARAM_VALUE 2 bfad->plog_buf->plog_sig 0-255
PARAM_VALUE 2 bfad->plog_buf.plog_enabled 1
PARAM_VALUE 2 bfad->plog_buf.plog_sig 0
PARAM_VALUE 2 bfad->plog_buf.tail 0-255
PARAM_VALUE 2 bfad->plog_buf.ticks 0
PARAM_VALUE 2 bfad->pport.bfad 4096-ptr_max
PARAM_VALUE 2 bfad->pport.bfad->active_aen_q.next 4096-ptr_max
PARAM_VALUE 2 bfad->pport.bfad->active_aen_q.prev 4096-ptr_max
PARAM_VALUE 2 bfad->pport.bfad->free_aen_q.next 4096-ptr_max
PARAM_VALUE 2 bfad->pport.bfad->free_aen_q.prev 4096-ptr_max
PARAM_VALUE 2 bfad->pport.bfad->hal_pcidev.device_id 19-20,23,33-35
PARAM_VALUE 2 bfad->pport.bfad->hal_pcidev.pci_bar_kva 4096-ptr_max
PARAM_VALUE 2 bfad->pport.bfad->hal_pcidev.pci_func 0-7
PARAM_VALUE 2 bfad->pport.bfad->hal_pcidev.pci_slot 0-31
PARAM_VALUE 2 bfad->pport.bfad->list_entry.next 1169345155208544256
PARAM_VALUE 2 bfad->pport.bfad->list_entry.prev 4096-ptr_max
PARAM_VALUE 2 bfad->pport.bfad->pci_attr.device_id 19-20,23,33-35
PARAM_VALUE 2 bfad->pport.bfad->pci_attr.pcifn 0-7
PARAM_VALUE 2 bfad->pport.bfad->pci_bar0_kva 4096-ptr_max
PARAM_VALUE 2 bfad->pport.bfad->pci_bar2_kva 0,4096-ptr_max
PARAM_VALUE 2 bfad->pport.bfad->pcidev 4096-ptr_max
PARAM_VALUE 2 bfad->pport.bfad->pport.bfad 4096-ptr_max
PARAM_VALUE 2 bfad->pport.bfad->ref_count 0
PARAM_VALUE 2 bfad->pport.bfad->sm 5391871644703416320
PARAM_VALUE 2 bfad->pport.bfad->trcmod 4096-ptr_max
PARAM_VALUE 2 bfad->ref_count 0
PARAM_VALUE 2 bfad->sm 5391871644703416320
PARAM_VALUE 2 bfad->trcmod 4096-ptr_max
PARAM_VALUE 2 bfad->trcmod->head 0-4095
PARAM_VALUE 2 bfad->trcmod->ntrc 4096
PARAM_VALUE 2 bfad->trcmod->stopped 0
PARAM_VALUE 2 bfad->trcmod->tail 0-4095
PARAM_VALUE 2 bfad->vport_list.next 4096-ptr_max
PARAM_VALUE 2 bfad->vport_list.next->next 4096-ptr_max
PARAM_VALUE 2 bfad->vport_list.prev 4096-ptr_max
PARAM_VALUE 2 bfad->vport_list.prev->next 4096-ptr_max
PARAM_VALUE 2 bfad->vport_list.prev->prev 4096-ptr_max
PARAM_VALUE 3 min_cfg 0
BUF_SIZE 2 bfad 73848
BUF_SIZE 2 bfad->bfa.plog 12312
BUF_SIZE 2 bfad->bfa.trcmod 65568
BUF_SIZE 2 bfad->bfa_fcs.trcmod 65568
BUF_SIZE 2 bfad->pport.bfad 73848
BUF_SIZE 2 bfad->trcmod 65568
DATA_SOURCE 2 bfad $0
MEM_ZERO 2 &bfad->meminfo
MEM_ZERO 2 &bfad->plog_buf
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 bfad->pcidev->current_state 0-3[c]
LOCK2 flags
LOCK2 2 &bfad->bfad_lock
TYPE_LOCK (struct bfad_s)->bfad_lock