Home
last modified time | relevance | path

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

/linux/include/scsi/
H A Dscsi_cmnd.h107 struct scsi_data_buffer *prot_sdb; member
318 return cmd->prot_sdb ? cmd->prot_sdb->table.nents : 0; in scsi_prot_sg_count()
323 return cmd->prot_sdb ? cmd->prot_sdb->table.sgl : NULL; in scsi_prot_sglist()
328 return cmd->prot_sdb; in scsi_prot()
/linux/drivers/scsi/
H A Dscsi_lib.c599 sg_free_table_chained(&cmd->prot_sdb->table, in scsi_free_sgtables()
1186 struct scsi_data_buffer *prot_sdb = cmd->prot_sdb; in scsi_alloc_sgtables() local
1188 if (WARN_ON_ONCE(!prot_sdb)) { in scsi_alloc_sgtables()
1198 if (sg_alloc_table_chained(&prot_sdb->table, in scsi_alloc_sgtables()
1200 prot_sdb->table.sgl, in scsi_alloc_sgtables()
1206 count = blk_rq_map_integrity_sg(rq, prot_sdb->table.sgl); in scsi_alloc_sgtables()
1207 cmd->prot_sdb = prot_sdb; in scsi_alloc_sgtables()
1208 cmd->prot_sdb->table.nents = count; in scsi_alloc_sgtables()
1706 memset(cmd->prot_sdb, 0, sizeof(struct scsi_data_buffer)); in scsi_prepare_cmd()
1708 cmd->prot_sdb->table.sgl = in scsi_prepare_cmd()
[all …]