Searched defs:sdb (Results 1 - 8 of 8) sorted by relevance

/drivers/scsi/
H A Dvirtio_scsi.c193 struct scsi_data_buffer *sdb)
195 struct sg_table *table = &sdb->table;
192 virtscsi_map_sgl(struct scatterlist *sg, unsigned int *p_idx, struct scsi_data_buffer *sdb) argument
H A Discsi_tcp.c507 struct scsi_data_buffer *sdb = scsi_out(task->sc); local
509 err = iscsi_sw_tcp_send_data_prep(conn, sdb->table.sgl,
510 sdb->table.nents, offset,
H A Dlibiscsi_tcp.c684 struct scsi_data_buffer *sdb = scsi_in(task->sc); local
704 sdb->table.sgl,
705 sdb->table.nents,
H A Dscsi_lib.c612 static int scsi_alloc_sgtable(struct scsi_data_buffer *sdb, int nents, argument
619 ret = __sg_alloc_table(&sdb->table, nents, SCSI_MAX_SG_SEGMENTS,
622 __sg_free_table(&sdb->table, SCSI_MAX_SG_SEGMENTS,
628 static void scsi_free_sgtable(struct scsi_data_buffer *sdb) argument
630 __sg_free_table(&sdb->table, SCSI_MAX_SG_SEGMENTS, scsi_sg_free);
636 if (cmd->sdb.table.nents)
637 scsi_free_sgtable(&cmd->sdb);
639 memset(&cmd->sdb, 0, sizeof(cmd->sdb));
970 static int scsi_init_sgtable(struct request *req, struct scsi_data_buffer *sdb, argument
[all...]
H A Dscsi_debug.c432 struct scsi_data_buffer *sdb = scsi_in(scp); local
434 if (!sdb->length)
439 act_len = sg_copy_from_buffer(sdb->table.sgl, sdb->table.nents,
441 if (sdb->resid)
442 sdb->resid -= act_len;
444 sdb->resid = scsi_bufflen(scp) - act_len;
2307 struct scsi_data_buffer *sdb = scsi_in(scp); local
2317 for_each_sg(sdb->table.sgl, sg, sdb
[all...]
/drivers/usb/storage/
H A Duas.c270 struct scsi_data_buffer *sdb = scsi_out(cmnd); local
275 sdb->resid = sdb->length - urb->actual_length;
285 struct scsi_data_buffer *sdb = scsi_in(cmnd); local
290 sdb->resid = sdb->length - urb->actual_length;
304 struct scsi_data_buffer *sdb; local
311 sdb = scsi_in(cmnd);
314 sdb = scsi_out(cmnd);
317 usb_fill_bulk_urb(urb, udev, pipe, NULL, sdb
[all...]
/drivers/target/loopback/
H A Dtcm_loop.c197 struct scsi_data_buffer *sdb = scsi_in(sc); local
199 sgl_bidi = sdb->table.sgl;
200 sgl_bidi_count = sdb->table.nents;
/drivers/scsi/cxgbi/
H A Dlibcxgbi.c1929 struct scsi_data_buffer *sdb = scsi_out(task->sc); local
1936 sdb->table.sgl, sdb->table.nents,
1940 sdb->table.nents, tdata->offset, sdb->length);
1947 sdb->table.nents, tdata->offset, tdata->count);

Completed in 173 milliseconds