Lines Matching refs:sdb
487 if (cmd->sdb.table.nents) in scsi_free_sgtables()
488 sg_free_table_chained(&cmd->sdb.table, in scsi_free_sgtables()
1040 if (unlikely(sg_alloc_table_chained(&cmd->sdb.table, nr_segs, in scsi_alloc_sgtables()
1041 cmd->sdb.table.sgl, SCSI_INLINE_SG_CNT))) in scsi_alloc_sgtables()
1048 count = __blk_rq_map_sg(rq->q, rq, cmd->sdb.table.sgl, &last_sg); in scsi_alloc_sgtables()
1068 BUG_ON(count > cmd->sdb.table.nents); in scsi_alloc_sgtables()
1069 cmd->sdb.table.nents = count; in scsi_alloc_sgtables()
1070 cmd->sdb.length = blk_rq_payload_bytes(rq); in scsi_alloc_sgtables()
1188 memset(&cmd->sdb, 0, sizeof(cmd->sdb)); in scsi_setup_scsi_cmnd()
1557 memset(&cmd->sdb, 0, sizeof(cmd->sdb)); in scsi_prepare_cmd()
1581 cmd->sdb.table.sgl = sg; in scsi_prepare_cmd()