Home
last modified time | relevance | path

Searched refs:guard_tag (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/include/linux/
Dt10-pi.h32 __be16 guard_tag; /* Checksum */ member
57 __be64 guard_tag; member
/linux-6.1.9/block/
Dt10-pi.c40 pi->guard_tag = fn(iter->data_buf, iter->interval); in t10_pi_generate()
88 if (pi->guard_tag != csum) { in t10_pi_verify()
92 be16_to_cpu(pi->guard_tag), be16_to_cpu(csum)); in t10_pi_verify()
296 pi->guard_tag = ext_pi_crc64(iter->data_buf, iter->interval); in ext_pi_crc64_generate()
347 if (pi->guard_tag != csum) { in ext_pi_crc64_verify()
351 be64_to_cpu(pi->guard_tag), be64_to_cpu(csum)); in ext_pi_crc64_verify()
/linux-6.1.9/drivers/target/
Dtarget_core_sbc.c1206 sdt->guard_tag = cpu_to_be16(crc); in sbc_dif_generate()
1215 sdt->guard_tag, sdt->app_tag, in sbc_dif_generate()
1237 if (sdt->guard_tag != csum) { in sbc_dif_v1_verify()
1240 be16_to_cpu(sdt->guard_tag), be16_to_cpu(csum)); in sbc_dif_v1_verify()
1351 (unsigned long long)sector, sdt->guard_tag, in sbc_dif_verify()
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_scsi.c68 __be16 guard_tag; /* Checksum */ member
2707 uint16_t guard_tag; in lpfc_calc_bg_err() local
2718 guard_tag = 0; in lpfc_calc_bg_err()
2770 guard_tag = src->guard_tag; in lpfc_calc_bg_err()
2778 if ((guard_tag != sum)) { in lpfc_calc_bg_err()
2844 sum, guard_tag); in lpfc_calc_bg_err()
4096 src->guard_tag = in lpfc_fcp_io_cmd_wqe_cmpl()
4416 src->guard_tag = in lpfc_scsi_cmd_iocb_cmpl()
/linux-6.1.9/drivers/scsi/
Dscsi_debug.c3122 if (sdt->guard_tag != csum) { in dif_verify()
3125 be16_to_cpu(sdt->guard_tag), in dif_verify()