Lines Matching refs:scsi_sg_count
636 qc->n_elem = scsi_sg_count(cmd); in ata_scsi_qc_new()
1720 ata_sg_init(qc, scsi_sglist(cmd), scsi_sg_count(cmd)); in ata_scsi_translate()
1791 sg_copy_to_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in ata_scsi_rbuf_get()
1812 sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in ata_scsi_rbuf_put()
2582 sg_copy_to_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), buf, 4); in atapi_fixup_inquiry()
2587 sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), buf, 4); in atapi_fixup_inquiry()
3155 r = sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), buf, len); in ata_format_dsm_trim_descr()
3223 if (!scsi_sg_count(scmd)) in ata_scsi_write_same_xlat()
3361 sg_miter_start(&miter, scsi_sglist(scmd), scsi_sg_count(scmd), in ata_scsi_report_zones_complete()
3741 if (!scsi_sg_count(scmd) || scsi_sglist(scmd)->length < len) in ata_scsi_mode_select_xlat()
3748 if (!sg_copy_to_buffer(scsi_sglist(scmd), scsi_sg_count(scmd), in ata_scsi_mode_select_xlat()