Searched refs:sdb (Results 1 - 16 of 16) sorted by relevance

/drivers/fmc/
H A Dfmc-dump.c14 #include <linux/fmc-sdb.h>
68 if (!fmc->sdb)
92 pr_info("FMC: poor dump of sdb first level:\n");
94 len = fmc->sdb->len * sizeof(union sdb_record);
95 line = (void *)fmc->sdb->record;
H A DMakefile6 fmc-y += fmc-sdb.o
H A Dfmc-sdb.c13 #include <linux/sdb.h>
15 #include <linux/fmc-sdb.h>
94 if (fmc->sdb)
99 fmc->sdb = ret;
123 __fmc_sdb_free(fmc->sdb);
124 fmc->sdb = NULL;
129 /* This helper calls reprogram and inizialized sdb as well */
247 if (!fmc->sdb)
249 __fmc_show_sdb_tree(fmc, fmc->sdb);
/drivers/usb/storage/
H A Duas.c364 struct scsi_data_buffer *sdb = NULL; local
370 sdb = scsi_in(cmnd);
374 sdb = scsi_out(cmnd);
378 if (sdb == NULL) {
396 sdb->resid = sdb->length;
398 sdb->resid = sdb->length - urb->actual_length;
421 struct scsi_data_buffer *sdb = (dir == DMA_FROM_DEVICE) local
428 usb_fill_bulk_urb(urb, udev, pipe, NULL, sdb
[all...]
H A Disd200.c467 srb->sdb.table.sgl = buff ? &info->sg : NULL;
468 srb->sdb.length = bufflen;
469 srb->sdb.table.nents = buff ? 1 : 0;
474 srb->sdb.length = bufflen;
/drivers/scsi/
H A Dscsi_lib.c594 static void scsi_free_sgtable(struct scsi_data_buffer *sdb, bool mq) argument
596 if (mq && sdb->table.nents <= SCSI_MAX_SG_SEGMENTS)
598 __sg_free_table(&sdb->table, SCSI_MAX_SG_SEGMENTS, mq, scsi_sg_free);
601 static int scsi_alloc_sgtable(struct scsi_data_buffer *sdb, int nents, argument
611 sdb->table.nents = nents;
612 sg_init_table(sdb->table.sgl, sdb->table.nents);
615 first_chunk = sdb->table.sgl;
618 ret = __sg_alloc_table(&sdb->table, nents, SCSI_MAX_SG_SEGMENTS,
621 scsi_free_sgtable(sdb, m
1075 scsi_init_sgtable(struct request *req, struct scsi_data_buffer *sdb, gfp_t gfp_mask) argument
[all...]
H A Dscsi_error.c918 ses->sdb = scmd->sdb;
928 memset(&scmd->sdb, 0, sizeof(scmd->sdb));
933 scmd->sdb.length = min_t(unsigned, SCSI_SENSE_BUFFERSIZE,
936 scmd->sdb.length);
937 scmd->sdb.table.sgl = &ses->sense_sgl;
939 scmd->sdb.table.nents = 1;
941 scmd->cmnd[4] = scmd->sdb.length;
981 scmd->sdb
[all...]
H A Dscsi_debug.c554 struct scsi_data_buffer *sdb = scsi_in(scp); local
556 if (!sdb->length)
561 act_len = sg_copy_from_buffer(sdb->table.sgl, sdb->table.nents,
563 sdb->resid = scsi_bufflen(scp) - act_len;
1844 struct scsi_data_buffer *sdb; local
1850 sdb = scsi_out(scmd);
1854 sdb = scsi_in(scmd);
1859 if (!sdb->length)
1868 ret = func(sdb
2473 struct scsi_data_buffer *sdb = scsi_in(scp); local
[all...]
H A Discsi_tcp.c515 struct scsi_data_buffer *sdb = scsi_out(task->sc); local
517 err = iscsi_sw_tcp_send_data_prep(conn, sdb->table.sgl,
518 sdb->table.nents, offset,
H A Dlibiscsi_tcp.c690 struct scsi_data_buffer *sdb = scsi_in(task->sc); local
710 sdb->table.sgl,
711 sdb->table.nents,
H A Dsr.c461 SCpnt->sdb.length = size;
488 SCpnt->sdb.length = this_count * s_size;
H A Dsd.c891 memset(&cmd->sdb, 0, sizeof(cmd->sdb));
1120 SCpnt->sdb.length = this_count * sdp->sector_size;
/drivers/target/loopback/
H A Dtcm_loop.c201 struct scsi_data_buffer *sdb = scsi_in(sc); local
203 sgl_bidi = sdb->table.sgl;
204 sgl_bidi_count = sdb->table.nents;
/drivers/scsi/cxgbi/
H A Dlibcxgbi.c2171 struct scsi_data_buffer *sdb = scsi_out(task->sc); local
2178 sdb->table.sgl, sdb->table.nents,
2182 sdb->table.nents, tdata->offset, sdb->length);
2189 sdb->table.nents, tdata->offset, tdata->count);
/drivers/pinctrl/
H A Dpinctrl-tegra20.c2133 MUX_PG(sdb, UARTA, PWM, SDIO3, SPI2, 0x20, 15, 0x8c, 10, -1, -1),
/drivers/scsi/ufs/
H A Dufshcd.c1133 cpu_to_be32(lrbp->cmd->sdb.length);

Completed in 652 milliseconds