Searched refs:prot_sdb (Results 1 – 2 of 2) sorted by relevance
108 struct scsi_data_buffer *prot_sdb; member317 return cmd->prot_sdb ? cmd->prot_sdb->table.nents : 0; in scsi_prot_sg_count()322 return cmd->prot_sdb ? cmd->prot_sdb->table.sgl : NULL; in scsi_prot_sglist()327 return cmd->prot_sdb; in scsi_prot()
619 sg_free_table_chained(&cmd->prot_sdb->table, true); in scsi_mq_free_sgtables()653 sg_free_table_chained(&cmd->prot_sdb->table, false); in scsi_release_buffers()1180 struct scsi_data_buffer *prot_sdb = cmd->prot_sdb; in scsi_init_io() local1183 if (prot_sdb == NULL) { in scsi_init_io()1196 if (sg_alloc_table_chained(&prot_sdb->table, ivecs, in scsi_init_io()1197 prot_sdb->table.sgl)) { in scsi_init_io()1203 prot_sdb->table.sgl); in scsi_init_io()1207 cmd->prot_sdb = prot_sdb; in scsi_init_io()1208 cmd->prot_sdb->table.nents = count; in scsi_init_io()1279 void *prot = cmd->prot_sdb; in scsi_init_command()[all …]