Home
last modified time | relevance | path

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

/linux/drivers/target/
H A Dtarget_core_sbc.c1326 int dsg_off = 0; in sbc_dif_verify() local
1339 if (dsg_off >= dsg->length) { in sbc_dif_verify()
1340 dsg_off -= dsg->length; in sbc_dif_verify()
1358 dsg_off += block_size; in sbc_dif_verify()
1362 avail = min(block_size, dsg->length - dsg_off); in sbc_dif_verify()
1363 crc = crc_t10dif(daddr + dsg_off, avail); in sbc_dif_verify()
1372 dsg_off = block_size - avail; in sbc_dif_verify()
1373 crc = crc_t10dif_update(crc, daddr, dsg_off); in sbc_dif_verify()
1375 dsg_off += block_size; in sbc_dif_verify()