Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/scsi/scsi_debug.c dif_compute_csum() -> crc_t10dif()

Type Parameter Key Value
PARAM_VALUE 1 len 0-s32max,18446744071562067968-u64max
DATA_SOURCE 0 p $0
DATA_SOURCE 1 len $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 p unit_byte
HALF_LOCKED2 &sdev->state_mutex

drivers/target/target_core_sbc.c sbc_dif_generate() -> crc_t10dif()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
CAPPED_DATA 1 len 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 p unit_byte
UNITS 1 len unit_byte
HALF_LOCKED2 &pool->lock

drivers/target/target_core_sbc.c sbc_dif_verify() -> crc_t10dif()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
CAPPED_DATA 1 len 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 p unit_byte
UNITS 1 len unit_byte
HALF_LOCKED2 &pool->lock

drivers/scsi/lpfc/lpfc_scsi.c lpfc_bg_crc() -> crc_t10dif()

Type Parameter Key Value
PARAM_VALUE 1 len 0-s32max,18446744071562067968-u64max
DATA_SOURCE 0 p $0
DATA_SOURCE 1 len $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 len unit_byte
LOCK2 &lpfc_cmd->buf_lock
HALF_LOCKED2 &phba->epd_pool.lock
HALF_LOCKED2 &phba->sli4_hba.nvmels_wq->pring->ring_lock
TYPE_LOCK (struct lpfc_io_buf)->buf_lock