Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_83xx_sysfs_flash_bulk_write() -> qlcnic_83xx_enable_flash_write()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->ahw 4096-ptr_max
PARAM_VALUE 0 adapter->ahw->reg_tbl 4096-ptr_max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
CAPPED_DATA 0 adapter->ahw->fdt.mfg_id 1
CAPPED_DATA 0 adapter->flash_mfg_id 1
DATA_SOURCE 0 adapter $0
PARAM_COMPARE 0 adapter->ahw->fdt.mfg_id == $0->flash_mfg_id
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adapter unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_83xx_sysfs_flash_write() -> qlcnic_83xx_enable_flash_write()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->ahw 4096-ptr_max
PARAM_VALUE 0 adapter->ahw->reg_tbl 4096-ptr_max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
CAPPED_DATA 0 adapter->ahw->fdt.mfg_id 1
CAPPED_DATA 0 adapter->flash_mfg_id 1
DATA_SOURCE 0 adapter $0
PARAM_COMPARE 0 adapter->ahw->fdt.mfg_id == $0->flash_mfg_id
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adapter unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c qlcnic_83xx_erase_flash_sector() -> qlcnic_83xx_enable_flash_write()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->ahw 4096-ptr_max
PARAM_VALUE 0 adapter->ahw->reg_tbl 4096-ptr_max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
CAPPED_DATA 0 adapter->ahw->fdt.mfg_id 1
CAPPED_DATA 0 adapter->flash_mfg_id 1
DATA_SOURCE 0 adapter $0
PARAM_COMPARE 0 adapter->ahw->fdt.mfg_id == $0->flash_mfg_id
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adapter unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex