Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dt10-pi.h32 __be16 guard_tag; /* Checksum */ member
57 __be64 guard_tag; member
/Linux-v6.6/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-v6.6/drivers/target/
Dtarget_core_sbc.c1209 sdt->guard_tag = cpu_to_be16(crc); in sbc_dif_generate()
1218 sdt->guard_tag, sdt->app_tag, in sbc_dif_generate()
1240 if (sdt->guard_tag != csum) { in sbc_dif_v1_verify()
1243 be16_to_cpu(sdt->guard_tag), be16_to_cpu(csum)); in sbc_dif_v1_verify()
1354 (unsigned long long)sector, sdt->guard_tag, in sbc_dif_verify()
/Linux-v6.6/drivers/scsi/lpfc/
Dlpfc_scsi.c68 __be16 guard_tag; /* Checksum */ member
2693 uint16_t guard_tag; in lpfc_calc_bg_err() local
2704 guard_tag = 0; in lpfc_calc_bg_err()
2754 guard_tag = src->guard_tag; in lpfc_calc_bg_err()
2762 if ((guard_tag != sum)) { in lpfc_calc_bg_err()
2828 sum, guard_tag); in lpfc_calc_bg_err()
4079 src->guard_tag = in lpfc_fcp_io_cmd_wqe_cmpl()
4395 src->guard_tag = in lpfc_scsi_cmd_iocb_cmpl()
/Linux-v6.6/drivers/scsi/
Dscsi_debug.c3110 if (sdt->guard_tag != csum) { in dif_verify()
3113 be16_to_cpu(sdt->guard_tag), in dif_verify()