Lines Matching refs:prot_sdb
493 sg_free_table_chained(&cmd->prot_sdb->table, in scsi_free_sgtables()
1074 struct scsi_data_buffer *prot_sdb = cmd->prot_sdb; in scsi_alloc_sgtables() local
1077 if (WARN_ON_ONCE(!prot_sdb)) { in scsi_alloc_sgtables()
1089 if (sg_alloc_table_chained(&prot_sdb->table, ivecs, in scsi_alloc_sgtables()
1090 prot_sdb->table.sgl, in scsi_alloc_sgtables()
1097 prot_sdb->table.sgl); in scsi_alloc_sgtables()
1101 cmd->prot_sdb = prot_sdb; in scsi_alloc_sgtables()
1102 cmd->prot_sdb->table.nents = count; in scsi_alloc_sgtables()
1581 memset(cmd->prot_sdb, 0, sizeof(struct scsi_data_buffer)); in scsi_prepare_cmd()
1583 cmd->prot_sdb->table.sgl = in scsi_prepare_cmd()
1584 (struct scatterlist *)(cmd->prot_sdb + 1); in scsi_prepare_cmd()
1822 cmd->prot_sdb = (void *)sg + scsi_mq_inline_sgl_size(shost); in scsi_mq_init_request()