Lines Matching refs:sdb
1637 struct scsi_data_buffer *sdb = &scp->sdb; in fill_from_dev_buffer() local
1639 if (!sdb->length) in fill_from_dev_buffer()
1644 act_len = sg_copy_from_buffer(sdb->table.sgl, sdb->table.nents, in fill_from_dev_buffer()
1660 struct scsi_data_buffer *sdb = &scp->sdb; in p_fill_from_dev_buffer() local
1663 if (sdb->length <= off_dst) in p_fill_from_dev_buffer()
1668 act_len = sg_pcopy_from_buffer(sdb->table.sgl, sdb->table.nents, in p_fill_from_dev_buffer()
4246 struct scsi_data_buffer *sdb = &scp->sdb; in do_device_access() local
4264 if (!sdb->length || !sip) in do_device_access()
4281 ret = sg_copy_buffer(sdb->table.sgl, sdb->table.nents, in do_device_access()
4300 struct scsi_data_buffer *sdb = &scp->sdb; in do_dout_fetch() local
4302 if (!sdb->length) in do_dout_fetch()
4306 return sg_copy_buffer(sdb->table.sgl, sdb->table.nents, doutp, in do_dout_fetch()
4472 struct scsi_data_buffer *sdb = &scp->sdb; in resp_read_tape() local
4523 sg_zero_buffer(sdb->table.sgl, sdb->table.nents, in resp_read_tape()
4525 sg_copy_buffer(sdb->table.sgl, sdb->table.nents, in resp_read_tape()
4871 struct scsi_data_buffer *sdb = &scp->sdb; in resp_write_tape() local
4901 sg_copy_buffer(sdb->table.sgl, sdb->table.nents, in resp_write_tape()