Lines Matching refs:sdb
1155 struct scsi_data_buffer *sdb = &scp->sdb; in fill_from_dev_buffer() local
1157 if (!sdb->length) in fill_from_dev_buffer()
1162 act_len = sg_copy_from_buffer(sdb->table.sgl, sdb->table.nents, in fill_from_dev_buffer()
1178 struct scsi_data_buffer *sdb = &scp->sdb; in p_fill_from_dev_buffer() local
1181 if (sdb->length <= off_dst) in p_fill_from_dev_buffer()
1186 act_len = sg_pcopy_from_buffer(sdb->table.sgl, sdb->table.nents, in p_fill_from_dev_buffer()
2909 struct scsi_data_buffer *sdb = &scp->sdb; in do_device_access() local
2919 if (!sdb->length || !sip) in do_device_access()
2929 ret = sg_copy_buffer(sdb->table.sgl, sdb->table.nents, in do_device_access()
2936 ret += sg_copy_buffer(sdb->table.sgl, sdb->table.nents, in do_device_access()
2948 struct scsi_data_buffer *sdb = &scp->sdb; in do_dout_fetch() local
2950 if (!sdb->length) in do_dout_fetch()
2954 return sg_copy_buffer(sdb->table.sgl, sdb->table.nents, doutp, in do_dout_fetch()