Lines Matching refs:lbasz
75 trace_pci_nvme_dif_pract_generate_dif_crc16(len, ns->lbasz, in nvme_dif_pract_generate_dif_crc16()
76 ns->lbasz + pil, apptag, in nvme_dif_pract_generate_dif_crc16()
79 for (; buf < end; buf += ns->lbasz, mbuf += ns->lbaf.ms) { in nvme_dif_pract_generate_dif_crc16()
81 uint16_t crc = crc16_t10dif(0x0, buf, ns->lbasz); in nvme_dif_pract_generate_dif_crc16()
109 trace_pci_nvme_dif_pract_generate_dif_crc64(len, ns->lbasz, in nvme_dif_pract_generate_dif_crc64()
110 ns->lbasz + pil, apptag, in nvme_dif_pract_generate_dif_crc64()
113 for (; buf < end; buf += ns->lbasz, mbuf += ns->lbaf.ms) { in nvme_dif_pract_generate_dif_crc64()
115 uint64_t crc = crc64_nvme(~0ULL, buf, ns->lbasz); in nvme_dif_pract_generate_dif_crc64()
178 uint16_t crc = crc16_t10dif(0x0, buf, ns->lbasz); in nvme_dif_prchk_crc16()
246 uint64_t crc = crc64_nvme(~0ULL, buf, ns->lbasz); in nvme_dif_prchk_crc64()
314 trace_pci_nvme_dif_check(prinfo, ns->lbasz + pil); in nvme_dif_check()
316 for (bufp = buf; bufp < end; bufp += ns->lbasz, mbuf += ns->lbaf.ms) { in nvme_dif_check()
331 g_autofree uint8_t *zeroes = g_malloc0(ns->lbasz); in nvme_dif_check()
333 if (memcmp(bufp, zeroes, ns->lbasz) == 0) { in nvme_dif_check()