Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_fcpim_get_modstats() -> bfa_fcpim_add_stats()

Type Parameter Key Value
PARAM_VALUE 0 lstats 24,4096-ptr_max
PARAM_VALUE 0 lstats->iocom_dif_err 0
PARAM_VALUE 0 lstats->no_tskims 0
PARAM_VALUE 1 rstats 4096-ptr_max
MEM_ZERO 0 lstats
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &bfad->bfad_lock
LOCK2 flags
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct bfad_s)->bfad_lock

drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_port_iostats() -> bfa_fcpim_add_stats()

Type Parameter Key Value
PARAM_VALUE 0 lstats 4096-ptr_max
PARAM_VALUE 0 lstats->iocom_dif_err 0
PARAM_VALUE 0 lstats->no_tskims 0
PARAM_VALUE 1 rstats 4096-ptr_max
DATA_SOURCE 0 lstats $1
MEM_ZERO 0 lstats
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &bfad->bfad_lock
LOCK2 flags
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct bfad_s)->bfad_lock