Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/lpfc/lpfc_els.c lpfc_els_rcv_fpin_cgn() -> lpfc_cgn_calc_crc32()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 1 size 1412
BUF_SIZE 0 data s32min-(-2),1-s32max
UNITS 0 data unit_byte
UNITS 1 size unit_byte

drivers/scsi/lpfc/lpfc_init.c lpfc_cgn_params_parse() -> lpfc_cgn_calc_crc32()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 1 size 1412
BUF_SIZE 0 data s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
UNITS 0 data unit_byte
UNITS 1 size unit_byte
LOCK2 &phba->hbalock
LOCK2 irq
TYPE_LOCK (struct lpfc_hba)->hbalock

drivers/scsi/lpfc/lpfc_init.c lpfc_cgn_update_stat() -> lpfc_cgn_calc_crc32()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 1 size 1412
BUF_SIZE 0 data s32min-(-2),1-s32max
UNITS 0 data unit_byte
UNITS 1 size unit_byte

drivers/scsi/lpfc/lpfc_init.c lpfc_cmf_stats_timer() -> lpfc_cgn_calc_crc32()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 1 size 1412
BUF_SIZE 0 data s32min-(-2),1-s32max
UNITS 0 data unit_byte
UNITS 1 size unit_byte

drivers/scsi/lpfc/lpfc_init.c lpfc_init_congestion_buf() -> lpfc_cgn_calc_crc32()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 1 size 1412
BUF_SIZE 0 data s32min-(-2),1-s32max
UNITS 0 data unit_byte
UNITS 1 size unit_byte

drivers/scsi/lpfc/lpfc_init.c lpfc_init_congestion_stat() -> lpfc_cgn_calc_crc32()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 1 size 1412
BUF_SIZE 0 data s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 data unit_byte
UNITS 1 size unit_byte