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_boot_query() -> bfa_flash_read_part()

Type Parameter Key Value
PARAM_VALUE 0 flash 4096-ptr_max
PARAM_VALUE 1 type 5
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 4 len 144
PARAM_VALUE 5 offset 0
PARAM_VALUE 7 cbarg 5459689425761107968
BUF_SIZE 3 buf 144
BUF_SIZE 7 cbarg 104
PREEMPT_ADD <- disables preempt
UNITS 4 len unit_byte
LOCK2 &bfad->bfad_lock
LOCK2 flags
TYPE_LOCK (struct bfad_s)->bfad_lock

drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_ethboot_query() -> bfa_flash_read_part()

Type Parameter Key Value
PARAM_VALUE 0 flash 4096-ptr_max
PARAM_VALUE 1 type 13
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 4 len 8
PARAM_VALUE 5 offset 0
PARAM_VALUE 7 cbarg 2129805744283484160
BUF_SIZE 3 buf 8
BUF_SIZE 7 cbarg 104
PREEMPT_ADD <- disables preempt
UNITS 4 len unit_byte
LOCK2 &bfad->bfad_lock
LOCK2 flags
TYPE_LOCK (struct bfad_s)->bfad_lock

drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_flash_read_part() -> bfa_flash_read_part()

Type Parameter Key Value
PARAM_VALUE 0 flash 4096-ptr_max
PARAM_VALUE 3 *buf 0-255
PARAM_VALUE 5 offset 0
PARAM_VALUE 7 cbarg 1690003333188722688
BUF_SIZE 7 cbarg 104
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 3 buf unit_byte
UNITS 4 len 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/bfa_ioc.c bfa_dconf_sm_uninit() -> bfa_flash_read_part()

Type Parameter Key Value
PARAM_VALUE 0 flash 4096-ptr_max
PARAM_VALUE 1 type 4
PARAM_VALUE 4 len 536
PARAM_VALUE 5 offset 0
PARAM_VALUE 7 cbarg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte
LOCK2 &bfad->bfad_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct bfad_s)->bfad_lock