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_port_get_stats() -> bfa_port_get_stats()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 stats 40,4096-ptr_max
PARAM_VALUE 3 cbarg 8825016519204065280
BUF_SIZE 3 cbarg 104
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 1 stats unit_byte
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/bfad_attr.c bfad_im_get_stats() -> bfa_port_get_stats()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 1 stats 4096-ptr_max
PARAM_VALUE 3 cbarg 5244303390559137792
BUF_SIZE 1 stats 336
BUF_SIZE 3 cbarg 104
DATA_SOURCE 1 stats r _kzalloc_noprof
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bfad->bfad_lock
LOCK2 &of->mutex
LOCK2 flags
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct bfad_s)->bfad_lock
TYPE_LOCK (struct kernfs_open_file)->mutex