Lines Matching refs:sc
1646 struct scsi_cmnd *sc = io_req->sc_cmd; in bnx2fc_map_sg() local
1661 sg_count = dma_map_sg(&hba->pcidev->dev, scsi_sglist(sc), in bnx2fc_map_sg()
1662 scsi_sg_count(sc), sc->sc_data_direction); in bnx2fc_map_sg()
1663 scsi_for_each_sg(sc, sg, sg_count, i) { in bnx2fc_map_sg()
1680 if (byte_count != scsi_bufflen(sc)) in bnx2fc_map_sg()
1682 "task_id = 0x%x\n", byte_count, scsi_bufflen(sc), in bnx2fc_map_sg()
1689 struct scsi_cmnd *sc = io_req->sc_cmd; in bnx2fc_build_bd_list_from_sg() local
1693 if (scsi_sg_count(sc)) { in bnx2fc_build_bd_list_from_sg()
1709 struct scsi_cmnd *sc = io_req->sc_cmd; in bnx2fc_unmap_sg_list() local
1717 if (io_req->bd_tbl->bd_valid && sc && scsi_sg_count(sc)) { in bnx2fc_unmap_sg_list()
1718 dma_unmap_sg(&hba->pcidev->dev, scsi_sglist(sc), in bnx2fc_unmap_sg_list()
1719 scsi_sg_count(sc), sc->sc_data_direction); in bnx2fc_unmap_sg_list()