/drivers/fmc/ |
H A D | fmc-dump.c | 14 #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 D | Makefile | 6 fmc-y += fmc-sdb.o
|
H A D | fmc-sdb.c | 13 #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 D | uas.c | 364 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 D | isd200.c | 467 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 D | scsi_lib.c | 594 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 D | scsi_error.c | 918 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 D | scsi_debug.c | 554 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 D | iscsi_tcp.c | 515 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 D | libiscsi_tcp.c | 690 struct scsi_data_buffer *sdb = scsi_in(task->sc); local 710 sdb->table.sgl, 711 sdb->table.nents,
|
H A D | sr.c | 461 SCpnt->sdb.length = size; 488 SCpnt->sdb.length = this_count * s_size;
|
H A D | sd.c | 891 memset(&cmd->sdb, 0, sizeof(cmd->sdb)); 1120 SCpnt->sdb.length = this_count * sdp->sector_size;
|
/drivers/target/loopback/ |
H A D | tcm_loop.c | 201 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 D | libcxgbi.c | 2171 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 D | pinctrl-tegra20.c | 2133 MUX_PG(sdb, UARTA, PWM, SDIO3, SPI2, 0x20, 15, 0x8c, 10, -1, -1),
|
/drivers/scsi/ufs/ |
H A D | ufshcd.c | 1133 cpu_to_be32(lrbp->cmd->sdb.length);
|