Lines Matching refs:dsg
1098 struct scatterlist *dsg, *psg = cmd->t_prot_sg; in sbc_dif_generate() local
1103 for_each_sg(cmd->t_data_sg, dsg, cmd->t_data_nents, i) { in sbc_dif_generate()
1104 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_generate()
1107 for (j = 0; j < dsg->length; j += dev->dev_attrib.block_size) { in sbc_dif_generate()
1219 struct scatterlist *dsg, *psg = cmd->t_prot_sg; in sbc_dif_verify_write() local
1225 for_each_sg(cmd->t_data_sg, dsg, cmd->t_data_nents, i) { in sbc_dif_verify_write()
1226 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_verify_write()
1229 for (j = 0; j < dsg->length; j += dev->dev_attrib.block_size) { in sbc_dif_verify_write()
1274 struct scatterlist *dsg, *psg = sg; in __sbc_dif_verify_read() local
1280 for_each_sg(cmd->t_data_sg, dsg, cmd->t_data_nents, i) { in __sbc_dif_verify_read()
1281 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in __sbc_dif_verify_read()
1284 for (j = 0; j < dsg->length; j += dev->dev_attrib.block_size) { in __sbc_dif_verify_read()