Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/csiostor/csio_wr.c csio_wr_alloc_q() -> csio_wr_alloc_q()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->fres_info.e_d_tov 0
PARAM_VALUE 0 hw->fres_info.max_fcfs 0
PARAM_VALUE 0 hw->fres_info.max_ssns 0
PARAM_VALUE 0 hw->fres_info.max_vnps 0
PARAM_VALUE 0 hw->fres_info.max_xchgs 0
PARAM_VALUE 0 hw->fres_info.r_a_tov_els 0
PARAM_VALUE 0 hw->fres_info.r_a_tov_seq 0
PARAM_VALUE 0 hw->fres_info.r_r_tov 0
PARAM_VALUE 0 hw->fres_info.used_fcfs 0
PARAM_VALUE 0 hw->fres_info.used_ssns 0
PARAM_VALUE 0 hw->fres_info.used_vnps 0
PARAM_VALUE 0 hw->fres_info.used_xchgs 0
PARAM_VALUE 0 hw->fwevt_intr_idx 1
PARAM_VALUE 0 hw->intr_mode 1,3
PARAM_VALUE 0 hw->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->mb_mempool 4096-ptr_max
PARAM_VALUE 0 hw->mb_mempool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->mbm.mcurrent 0
PARAM_VALUE 0 hw->nondata_intr_idx 0
PARAM_VALUE 0 hw->num_sqsets 0-512
PARAM_VALUE 0 hw->pdev 4096-ptr_max
PARAM_VALUE 0 hw->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hw->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hw->pdev->dev.cma_area->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 hw->pdev->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 hw->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 hw->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 hw->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 hw->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 0 hw->pdev->sriov->nres s32min-s32max
PARAM_VALUE 0 hw->pdev->sriov->vf_rebar_cap 0-u16max
PARAM_VALUE 0 hw->sm.sm_state 640788751139241984
PARAM_VALUE 0 hw->stats.n_evt_sm 4096-ptr_max
PARAM_VALUE 0 hw->wrm.num_q (-2147483647)-s32max
PARAM_VALUE 0 hw->wrm.q_arr 4096-ptr_max
PARAM_VALUE 1 qsize 512
PARAM_VALUE 2 wrsize 8
PARAM_VALUE 3 type 3
PARAM_VALUE 4 owner 4096-ptr_max
PARAM_VALUE 5 nflb 0
PARAM_VALUE 6 sreg 0
PARAM_VALUE 7 iq_intx_handler 0
CAPPED_DATA 0 hw->mb_mempool->min_nr 1
CAPPED_DATA 0 hw->num_pports 1
CAPPED_DATA 0 &hw->pdev->dev 1
CAPPED_DATA 4 owner->mb_mempool->min_nr 1
CAPPED_DATA 4 owner->num_pports 1
DATA_SOURCE 0 hw $0
DATA_SOURCE 4 owner $4
DATA_SOURCE 6 sreg $6
NO_OVERFLOW_SIMPLE 0 hw->pdev->dev.cma_area->available_count
NO_OVERFLOW_SIMPLE 4 owner->pdev->dev.cma_area->available_count
UNITS 2 wrsize unit_byte

drivers/scsi/csiostor/csio_init.c csio_config_queues() -> csio_wr_alloc_q()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->fres_info.e_d_tov 0
PARAM_VALUE 0 hw->fres_info.max_fcfs 0
PARAM_VALUE 0 hw->fres_info.max_ssns 0
PARAM_VALUE 0 hw->fres_info.max_vnps 0
PARAM_VALUE 0 hw->fres_info.max_xchgs 0
PARAM_VALUE 0 hw->fres_info.r_a_tov_els 0
PARAM_VALUE 0 hw->fres_info.r_a_tov_seq 0
PARAM_VALUE 0 hw->fres_info.r_r_tov 0
PARAM_VALUE 0 hw->fres_info.used_fcfs 0
PARAM_VALUE 0 hw->fres_info.used_ssns 0
PARAM_VALUE 0 hw->fres_info.used_vnps 0
PARAM_VALUE 0 hw->fres_info.used_xchgs 0
PARAM_VALUE 0 hw->fwevt_intr_idx 1
PARAM_VALUE 0 hw->intr_mode 1
PARAM_VALUE 0 hw->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->mb_mempool 4096-ptr_max
PARAM_VALUE 0 hw->mb_mempool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->mbm.mcurrent 0
PARAM_VALUE 0 hw->nondata_intr_idx 0
PARAM_VALUE 0 hw->num_sqsets 0-512
PARAM_VALUE 0 hw->sm.sm_state 640788751139241984
PARAM_VALUE 0 hw->stats.n_evt_sm 4096-ptr_max
PARAM_VALUE 1 qsize 65920
PARAM_VALUE 2 wrsize 128
PARAM_VALUE 3 type 2
PARAM_VALUE 4 owner 4096-ptr_max
PARAM_VALUE 5 nflb 0
PARAM_VALUE 6 sreg 0
PARAM_VALUE 7 iq_intx_handler 0
CAPPED_DATA 0 hw->mb_mempool->min_nr 1
CAPPED_DATA 0 hw->num_pports 1
CAPPED_DATA 4 owner->mb_mempool->min_nr 1
CAPPED_DATA 4 owner->num_pports 1
DATA_SOURCE 0 hw $0
DATA_SOURCE 4 owner $0

drivers/scsi/csiostor/csio_init.c csio_config_queues() -> csio_wr_alloc_q()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->fres_info.e_d_tov 0
PARAM_VALUE 0 hw->fres_info.max_fcfs 0
PARAM_VALUE 0 hw->fres_info.max_ssns 0
PARAM_VALUE 0 hw->fres_info.max_vnps 0
PARAM_VALUE 0 hw->fres_info.max_xchgs 0
PARAM_VALUE 0 hw->fres_info.r_a_tov_els 0
PARAM_VALUE 0 hw->fres_info.r_a_tov_seq 0
PARAM_VALUE 0 hw->fres_info.r_r_tov 0
PARAM_VALUE 0 hw->fres_info.used_fcfs 0
PARAM_VALUE 0 hw->fres_info.used_ssns 0
PARAM_VALUE 0 hw->fres_info.used_vnps 0
PARAM_VALUE 0 hw->fres_info.used_xchgs 0
PARAM_VALUE 0 hw->fwevt_intr_idx 1
PARAM_VALUE 0 hw->intr_mode 1,3
PARAM_VALUE 0 hw->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->mb_mempool 4096-ptr_max
PARAM_VALUE 0 hw->mb_mempool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->mbm.mcurrent 0
PARAM_VALUE 0 hw->nondata_intr_idx 0
PARAM_VALUE 0 hw->num_sqsets 0-512
PARAM_VALUE 0 hw->sm.sm_state 640788751139241984
PARAM_VALUE 0 hw->stats.n_evt_sm 4096-ptr_max
PARAM_VALUE 1 qsize 16384
PARAM_VALUE 2 wrsize 128
PARAM_VALUE 3 type 2
PARAM_VALUE 4 owner 4096-ptr_max
PARAM_VALUE 5 nflb 64
PARAM_VALUE 6 sreg 0
CAPPED_DATA 0 hw->mb_mempool->min_nr 1
CAPPED_DATA 0 hw->num_pports 1
CAPPED_DATA 4 owner->mb_mempool->min_nr 1
CAPPED_DATA 4 owner->num_pports 1
DATA_SOURCE 0 hw $0
DATA_SOURCE 4 owner $0

drivers/scsi/csiostor/csio_init.c csio_config_queues() -> csio_wr_alloc_q()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->fres_info.e_d_tov 0
PARAM_VALUE 0 hw->fres_info.max_fcfs 0
PARAM_VALUE 0 hw->fres_info.max_ssns 0
PARAM_VALUE 0 hw->fres_info.max_vnps 0
PARAM_VALUE 0 hw->fres_info.max_xchgs 0
PARAM_VALUE 0 hw->fres_info.r_a_tov_els 0
PARAM_VALUE 0 hw->fres_info.r_a_tov_seq 0
PARAM_VALUE 0 hw->fres_info.r_r_tov 0
PARAM_VALUE 0 hw->fres_info.used_fcfs 0
PARAM_VALUE 0 hw->fres_info.used_ssns 0
PARAM_VALUE 0 hw->fres_info.used_vnps 0
PARAM_VALUE 0 hw->fres_info.used_xchgs 0
PARAM_VALUE 0 hw->fwevt_intr_idx 1
PARAM_VALUE 0 hw->fwevt_iq_idx s32min-(-2),0-2147483646
PARAM_VALUE 0 hw->intr_mode 1,3
PARAM_VALUE 0 hw->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->mb_mempool 4096-ptr_max
PARAM_VALUE 0 hw->mb_mempool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->mbm.mcurrent 0
PARAM_VALUE 0 hw->nondata_intr_idx 0
PARAM_VALUE 0 hw->num_sqsets 0-512
PARAM_VALUE 0 hw->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hw->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->sm.sm_state 640788751139241984
PARAM_VALUE 0 hw->stats.n_evt_sm 4096-ptr_max
PARAM_VALUE 0 hw->wrm.num_q (-2147483647)-s32max
PARAM_VALUE 1 qsize 32768
PARAM_VALUE 2 wrsize 512
PARAM_VALUE 3 type 1
PARAM_VALUE 4 owner 4096-ptr_max
PARAM_VALUE 5 nflb 0
PARAM_VALUE 6 sreg 0
PARAM_VALUE 7 iq_intx_handler 0
CAPPED_DATA 0 hw->mb_mempool->min_nr 1
CAPPED_DATA 0 hw->num_pports 1
CAPPED_DATA 4 owner->mb_mempool->min_nr 1
CAPPED_DATA 4 owner->num_pports 1
DATA_SOURCE 0 hw $0
DATA_SOURCE 4 owner $0

drivers/scsi/csiostor/csio_init.c csio_config_queues() -> csio_wr_alloc_q()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->fres_info.e_d_tov 0
PARAM_VALUE 0 hw->fres_info.max_fcfs 0
PARAM_VALUE 0 hw->fres_info.max_ssns 0
PARAM_VALUE 0 hw->fres_info.max_vnps 0
PARAM_VALUE 0 hw->fres_info.max_xchgs 0
PARAM_VALUE 0 hw->fres_info.r_a_tov_els 0
PARAM_VALUE 0 hw->fres_info.r_a_tov_seq 0
PARAM_VALUE 0 hw->fres_info.r_r_tov 0
PARAM_VALUE 0 hw->fres_info.used_fcfs 0
PARAM_VALUE 0 hw->fres_info.used_ssns 0
PARAM_VALUE 0 hw->fres_info.used_vnps 0
PARAM_VALUE 0 hw->fres_info.used_xchgs 0
PARAM_VALUE 0 hw->fwevt_intr_idx 1
PARAM_VALUE 0 hw->fwevt_iq_idx s32min-(-2),0-2147483646
PARAM_VALUE 0 hw->intr_mode 1,3
PARAM_VALUE 0 hw->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->mb_mempool 4096-ptr_max
PARAM_VALUE 0 hw->mb_mempool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->mbm.mcurrent 0
PARAM_VALUE 0 hw->mgmtm.eq_idx s32min-2147483646
PARAM_VALUE 0 hw->mgmtm.iq_idx s32min-(-2),0-2147483646
PARAM_VALUE 0 hw->nondata_intr_idx 0
PARAM_VALUE 0 hw->num_pports 1-255
PARAM_VALUE 0 hw->num_scsi_msix_cpus 1-u32max
PARAM_VALUE 0 hw->num_sqsets 0-512
PARAM_VALUE 0 hw->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hw->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->scsi_cpu_info 4096-ptr_max
PARAM_VALUE 0 hw->sm.sm_state 640788751139241984
PARAM_VALUE 0 hw->sqset 4096-ptr_max
PARAM_VALUE 0 hw->stats.n_evt_sm 4096-ptr_max
PARAM_VALUE 0 hw->wrm.num_q (-2147483647)-s32max
PARAM_VALUE 1 qsize 65536
PARAM_VALUE 2 wrsize 0
PARAM_VALUE 3 type 1
PARAM_VALUE 4 owner 4096-ptr_max
PARAM_VALUE 5 nflb 0
PARAM_VALUE 6 sreg 0
PARAM_VALUE 7 iq_intx_handler 0
CAPPED_DATA 0 hw->mb_mempool->min_nr 1
CAPPED_DATA 0 hw->num_pports 1
CAPPED_DATA 4 owner->mb_mempool->min_nr 1
CAPPED_DATA 4 owner->num_pports 1
DATA_SOURCE 0 hw $0
DATA_SOURCE 4 owner $0

drivers/scsi/csiostor/csio_init.c csio_config_queues() -> csio_wr_alloc_q()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->fres_info.e_d_tov 0
PARAM_VALUE 0 hw->fres_info.max_fcfs 0
PARAM_VALUE 0 hw->fres_info.max_ssns 0
PARAM_VALUE 0 hw->fres_info.max_vnps 0
PARAM_VALUE 0 hw->fres_info.max_xchgs 0
PARAM_VALUE 0 hw->fres_info.r_a_tov_els 0
PARAM_VALUE 0 hw->fres_info.r_a_tov_seq 0
PARAM_VALUE 0 hw->fres_info.r_r_tov 0
PARAM_VALUE 0 hw->fres_info.used_fcfs 0
PARAM_VALUE 0 hw->fres_info.used_ssns 0
PARAM_VALUE 0 hw->fres_info.used_vnps 0
PARAM_VALUE 0 hw->fres_info.used_xchgs 0
PARAM_VALUE 0 hw->fwevt_intr_idx 1
PARAM_VALUE 0 hw->fwevt_iq_idx s32min-(-2),0-2147483646
PARAM_VALUE 0 hw->intr_mode 1,3
PARAM_VALUE 0 hw->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->mb_mempool 4096-ptr_max
PARAM_VALUE 0 hw->mb_mempool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->mbm.mcurrent 0
PARAM_VALUE 0 hw->mgmtm.eq_idx s32min-2147483646
PARAM_VALUE 0 hw->mgmtm.iq_idx s32min-(-2),0-2147483646
PARAM_VALUE 0 hw->nondata_intr_idx 0
PARAM_VALUE 0 hw->num_pports 1-255
PARAM_VALUE 0 hw->num_scsi_msix_cpus 1-u32max
PARAM_VALUE 0 hw->num_sqsets 0-512
PARAM_VALUE 0 hw->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hw->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hw->scsi_cpu_info 4096-ptr_max
PARAM_VALUE 0 hw->sm.sm_state 640788751139241984
PARAM_VALUE 0 hw->sqset 4096-ptr_max
PARAM_VALUE 0 hw->stats.n_evt_sm 4096-ptr_max
PARAM_VALUE 0 hw->wrm.num_q (-2147483647)-s32max
PARAM_VALUE 1 qsize 16384
PARAM_VALUE 2 wrsize 128
PARAM_VALUE 3 type 2
PARAM_VALUE 4 owner 4096-ptr_max
PARAM_VALUE 5 nflb 0
PARAM_VALUE 6 sreg 0
CAPPED_DATA 0 hw->mb_mempool->min_nr 1
CAPPED_DATA 0 hw->num_pports 1
CAPPED_DATA 4 owner->mb_mempool->min_nr 1
CAPPED_DATA 4 owner->num_pports 1
DATA_SOURCE 0 hw $0
DATA_SOURCE 4 owner $0