Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/esas2r/esas2r_ioctl.c esas2r_ioctl_handler() -> esas2r_read_fw()

Type Parameter Key Value
PARAM_VALUE 0 a 4096-ptr_max
PARAM_VALUE 0 a->buffered_ioctl_done 0-1
PARAM_VALUE 0 a->firmware.state 0-2
PARAM_VALUE 0 a->flash_context.comp_typ 0,2-5
PARAM_VALUE 0 a->flash_context.fi_hdr_len 0,2176
PARAM_VALUE 0 a->flash_context.func 0-1
PARAM_VALUE 0 a->flash_context.interrupt_cb 0,4870797858849771520
PARAM_VALUE 0 a->flash_context.num_comps 0,6
PARAM_VALUE 0 a->flash_context.task 0-8
PARAM_VALUE 0 a->fm_api_command_done 0-1
PARAM_VALUE 0 a->fs_api_command_done 0-1
PARAM_VALUE 0 a->nvram_command_done 0-1
PARAM_VALUE 0 a->nvram_semaphore.first_waiter->up 0-1
PARAM_VALUE 0 a->pcid->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 a->vda_command_done 0-1
PARAM_VALUE 2 off 0
PARAM_VALUE 3 count 524320
BUF_SIZE 1 buf 524288
UNITS 3 count unit_byte

drivers/scsi/esas2r/esas2r_main.c read_fw() -> esas2r_read_fw()

Type Parameter Key Value
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 3 count 1-4096
CAPPED_DATA 3 count 1
DATA_SOURCE 0 a r esas2r_adapter_from_kobj
DATA_SOURCE 1 buf $3
DATA_SOURCE 2 off $4
DATA_SOURCE 3 count $5
PARAM_COMPARE 1 buf == $3
NOSPEC 2 off
NOSPEC 2 off
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 off 0-4095
USER_DATA 3 count 2-4096[c]
BYTE_COUNT 1 ==buf3 8050
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex