Lines Matching refs:sdb
1634 struct scsi_data_buffer *sdb = &scp->sdb; in fill_from_dev_buffer() local
1636 if (!sdb->length) in fill_from_dev_buffer()
1641 act_len = sg_copy_from_buffer(sdb->table.sgl, sdb->table.nents, in fill_from_dev_buffer()
1657 struct scsi_data_buffer *sdb = &scp->sdb; in p_fill_from_dev_buffer() local
1660 if (sdb->length <= off_dst) in p_fill_from_dev_buffer()
1665 act_len = sg_pcopy_from_buffer(sdb->table.sgl, sdb->table.nents, in p_fill_from_dev_buffer()
4243 struct scsi_data_buffer *sdb = &scp->sdb; in do_device_access() local
4261 if (!sdb->length || !sip) in do_device_access()
4278 ret = sg_copy_buffer(sdb->table.sgl, sdb->table.nents, in do_device_access()
4297 struct scsi_data_buffer *sdb = &scp->sdb; in do_dout_fetch() local
4299 if (!sdb->length) in do_dout_fetch()
4303 return sg_copy_buffer(sdb->table.sgl, sdb->table.nents, doutp, in do_dout_fetch()
4469 struct scsi_data_buffer *sdb = &scp->sdb; in resp_read_tape() local
4520 sg_zero_buffer(sdb->table.sgl, sdb->table.nents, in resp_read_tape()
4522 sg_copy_buffer(sdb->table.sgl, sdb->table.nents, in resp_read_tape()
4868 struct scsi_data_buffer *sdb = &scp->sdb; in resp_write_tape() local
4898 sg_copy_buffer(sdb->table.sgl, sdb->table.nents, in resp_write_tape()