Searched refs:prot_sdb (Results 1 – 2 of 2) sorted by relevance
103 struct scsi_data_buffer *prot_sdb; member322 return cmd->prot_sdb ? cmd->prot_sdb->table.nents : 0; in scsi_prot_sg_count()327 return cmd->prot_sdb ? cmd->prot_sdb->table.sgl : NULL; in scsi_prot_sglist()332 return cmd->prot_sdb; in scsi_prot()
497 sg_free_table_chained(&cmd->prot_sdb->table, in scsi_free_sgtables()1036 struct scsi_data_buffer *prot_sdb = cmd->prot_sdb; in scsi_alloc_sgtables() local1039 if (WARN_ON_ONCE(!prot_sdb)) { in scsi_alloc_sgtables()1051 if (sg_alloc_table_chained(&prot_sdb->table, ivecs, in scsi_alloc_sgtables()1052 prot_sdb->table.sgl, in scsi_alloc_sgtables()1059 prot_sdb->table.sgl); in scsi_alloc_sgtables()1063 cmd->prot_sdb = prot_sdb; in scsi_alloc_sgtables()1064 cmd->prot_sdb->table.nents = count; in scsi_alloc_sgtables()1116 void *prot = cmd->prot_sdb; in scsi_init_command()1144 cmd->prot_sdb = prot; in scsi_init_command()[all …]