| /linux/drivers/scsi/snic/ |
| H A D | snic_ctl.c | 186 snic->shost->sg_tablesize = max_sgs; in snic_io_exch_ver_cmpl_handler() 188 snic->shost->sg_tablesize); in snic_io_exch_ver_cmpl_handler() 189 } else if (max_sgs > snic->shost->sg_tablesize) { in snic_io_exch_ver_cmpl_handler() 193 snic->shost->sg_tablesize); in snic_io_exch_ver_cmpl_handler()
|
| /linux/drivers/infiniband/ulp/iser/ |
| H A D | iscsi_iser.c | 627 shost->sg_tablesize = iser_conn->scsi_sg_tablesize; in iscsi_iser_session_create() 643 shost->sg_prot_tablesize = shost->sg_tablesize; in iscsi_iser_session_create() 663 max_fr_sectors = (shost->sg_tablesize * PAGE_SIZE) >> 9; in iscsi_iser_session_create() 667 iser_conn, shost->sg_tablesize, in iscsi_iser_session_create() 960 .sg_tablesize = ISCSI_ISER_DEF_SG_TABLESIZE,
|
| H A D | iser_verbs.c | 492 unsigned short sg_tablesize, sup_sg_tablesize; in iser_calc_scsi_params() local 512 sg_tablesize = DIV_ROUND_UP(max_sectors * SECTOR_SIZE, SZ_4K); in iser_calc_scsi_params() 515 iser_conn->scsi_sg_tablesize = min(sg_tablesize, sup_sg_tablesize); in iser_calc_scsi_params()
|
| /linux/drivers/scsi/aacraid/ |
| H A D | comminit.c | 523 dev->sg_tablesize = host->sg_tablesize = (dev->max_fib_size in aac_init_adapter() 608 host->sg_tablesize = status[2] >> 16; in aac_init_adapter() 609 dev->sg_tablesize = status[2] & 0xFFFF; in aac_init_adapter()
|
| H A D | linit.c | 1502 .sg_tablesize = 16, 1722 (shost->sg_tablesize > 34)) { in aac_probe_one() 1723 shost->sg_tablesize = 34; in aac_probe_one() 1724 shost->max_sectors = (shost->sg_tablesize * 8) + 112; in aac_probe_one() 1728 (shost->sg_tablesize > 17)) { in aac_probe_one() 1729 shost->sg_tablesize = 17; in aac_probe_one() 1730 shost->max_sectors = (shost->sg_tablesize * 8) + 112; in aac_probe_one()
|
| H A D | commsup.c | 1585 if ((quirks & AAC_QUIRK_34SG) && (host->sg_tablesize > 34)) { in _aac_reset_adapter() 1586 host->sg_tablesize = 34; in _aac_reset_adapter() 1587 host->max_sectors = (host->sg_tablesize * 8) + 112; in _aac_reset_adapter() 1589 if ((quirks & AAC_QUIRK_17SG) && (host->sg_tablesize > 17)) { in _aac_reset_adapter() 1590 host->sg_tablesize = 17; in _aac_reset_adapter() 1591 host->max_sectors = (host->sg_tablesize * 8) + 112; in _aac_reset_adapter()
|
| /linux/drivers/scsi/ |
| H A D | xen-scsifront.c | 491 if (data_grants > info->host->sg_tablesize) { in map_data_for_request() 786 .sg_tablesize = VSCSIIF_SG_TABLESIZE, 929 host->max_sectors = (host->sg_tablesize - 1) * PAGE_SIZE / 512; in scsifront_probe() 1145 else if (info->pause && nr_segs < host->sg_tablesize) in scsifront_read_backend_params() 1148 host->sg_tablesize, nr_segs); in scsifront_read_backend_params() 1150 host->sg_tablesize = nr_segs; in scsifront_read_backend_params()
|
| H A D | mac53c94.c | 402 .sg_tablesize = SG_ALL, 466 host->sg_tablesize + 2); in mac53c94_probe() 475 memset(state->dma_cmds, 0, (host->sg_tablesize + 1) in mac53c94_probe()
|
| H A D | dmx3191d.c | 52 .sg_tablesize = SG_ALL,
|
| H A D | mvme147.c | 83 .sg_tablesize = SG_ALL,
|
| H A D | qlogicfas.c | 199 .sg_tablesize = SG_ALL,
|
| /linux/drivers/scsi/esas2r/ |
| H A D | esas2r_main.c | 247 .sg_tablesize = SG_CHUNK_SIZE, 268 int sg_tablesize = SG_CHUNK_SIZE; variable 269 module_param(sg_tablesize, int, 0); 270 MODULE_PARM_DESC(sg_tablesize, 411 host->sg_tablesize = sg_tablesize; in esas2r_probe() 560 if (sg_tablesize < 32) { in esas2r_init() 564 sg_tablesize = 32; in esas2r_init()
|
| /linux/drivers/usb/storage/ |
| H A D | uas-detect.h | 140 if (udev->bus->sg_tablesize == 0) { in uas_use_uas_driver()
|
| H A D | usb.c | 1011 if (usb_dev->bus->sg_tablesize) { in usb_stor_sg_tablesize() 1012 return usb_dev->bus->sg_tablesize; in usb_stor_sg_tablesize() 1044 host->sg_tablesize = usb_stor_sg_tablesize(intf); in usb_stor_probe1()
|
| /linux/drivers/scsi/arm/ |
| H A D | oak.c | 112 .sg_tablesize = SG_ALL,
|
| H A D | arxescsi.c | 253 .sg_tablesize = SG_ALL,
|
| /linux/drivers/ata/ |
| H A D | pata_sc1200.c | 197 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
|
| H A D | pata_cs5530.c | 151 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
|
| H A D | sata_nv.c | 383 .sg_tablesize = NV_ADMA_SGTBL_TOTAL_LEN, 394 .sg_tablesize = LIBATA_MAX_PRD, 674 unsigned short sg_tablesize; in nv_adma_sdev_configure() local 698 sg_tablesize = LIBATA_MAX_PRD - 1; in nv_adma_sdev_configure() 706 sg_tablesize = NV_ADMA_SGTBL_TOTAL_LEN; in nv_adma_sdev_configure() 747 lim->max_segments = sg_tablesize; in nv_adma_sdev_configure() 751 segment_boundary, sg_tablesize); in nv_adma_sdev_configure()
|
| H A D | pata_cs5520.c | 99 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
|
| /linux/drivers/infiniband/ulp/srp/ |
| H A D | ib_srp.h | 227 unsigned int sg_tablesize; member
|
| /linux/drivers/scsi/mpt3sas/ |
| H A D | mpt3sas_base.c | 6297 unsigned short sg_tablesize; in _base_allocate_memory_pools() local 6310 sg_tablesize = max_sgl_entries; in _base_allocate_memory_pools() 6313 sg_tablesize = MPT2SAS_SG_DEPTH; in _base_allocate_memory_pools() 6315 sg_tablesize = MPT3SAS_SG_DEPTH; in _base_allocate_memory_pools() 6320 sg_tablesize = min_t(unsigned short, sg_tablesize, in _base_allocate_memory_pools() 6324 ioc->shost->sg_tablesize = MPT_MIN_PHYS_SEGMENTS; in _base_allocate_memory_pools() 6326 if (sg_tablesize < MPT_MIN_PHYS_SEGMENTS) in _base_allocate_memory_pools() 6327 sg_tablesize = MPT_MIN_PHYS_SEGMENTS; in _base_allocate_memory_pools() 6328 else if (sg_tablesize > MPT_MAX_PHYS_SEGMENTS) { in _base_allocate_memory_pools() 6329 sg_tablesize = min_t(unsigned short, sg_tablesize, in _base_allocate_memory_pools() [all …]
|
| /linux/drivers/scsi/pcmcia/ |
| H A D | qlogic_stub.c | 77 .sg_tablesize = SG_ALL,
|
| /linux/drivers/s390/scsi/ |
| H A D | zfcp_scsi.c | 438 .sg_tablesize = (((QDIO_MAX_ELEMENTS_PER_BUFFER - 1) 842 shost->sg_tablesize = adapter->qdio->max_sbale_per_req / 2; in zfcp_scsi_set_prot() 843 shost->max_sectors = shost->sg_tablesize * 8; in zfcp_scsi_set_prot()
|
| /linux/drivers/message/fusion/ |
| H A D | mptspi.c | 844 .sg_tablesize = MPT_SCSI_SG_DEPTH, 1482 if (numSGE < sh->sg_tablesize) { in mptspi_probe() 1486 ioc->name, numSGE, sh->sg_tablesize)); in mptspi_probe() 1487 sh->sg_tablesize = numSGE; in mptspi_probe()
|