sg_tablesize 385 drivers/ata/ahci.h .sg_tablesize = AHCI_MAX_SG, \ sg_tablesize 222 drivers/ata/pata_arasan_cf.c .sg_tablesize = SG_NONE, sg_tablesize 255 drivers/ata/pata_atiixp.c .sg_tablesize = LIBATA_DUMB_MAX_PRD, sg_tablesize 98 drivers/ata/pata_cs5520.c .sg_tablesize = LIBATA_DUMB_MAX_PRD, sg_tablesize 151 drivers/ata/pata_cs5530.c .sg_tablesize = LIBATA_DUMB_MAX_PRD, sg_tablesize 879 drivers/ata/pata_ep93xx.c .sg_tablesize = 32, sg_tablesize 298 drivers/ata/pata_icside.c .sg_tablesize = SG_MAX_SEGMENTS, sg_tablesize 916 drivers/ata/pata_macio.c .sg_tablesize = MAX_DCMDS, sg_tablesize 197 drivers/ata/pata_sc1200.c .sg_tablesize = LIBATA_DUMB_MAX_PRD, sg_tablesize 257 drivers/ata/pata_serverworks.c .sg_tablesize = LIBATA_DUMB_MAX_PRD, sg_tablesize 128 drivers/ata/pdc_adma.c .sg_tablesize = LIBATA_MAX_PRD, sg_tablesize 1158 drivers/ata/sata_dwc_460ex.c .sg_tablesize = LIBATA_MAX_PRD, sg_tablesize 1401 drivers/ata/sata_fsl.c .sg_tablesize = SATA_FSL_MAX_PRD_USABLE, sg_tablesize 247 drivers/ata/sata_inic162x.c .sg_tablesize = LIBATA_MAX_PRD, /* maybe it can be larger? */ sg_tablesize 664 drivers/ata/sata_mv.c .sg_tablesize = MV_MAX_SG_CT / 2, sg_tablesize 671 drivers/ata/sata_mv.c .sg_tablesize = MV_MAX_SG_CT / 2, sg_tablesize 380 drivers/ata/sata_nv.c .sg_tablesize = NV_ADMA_SGTBL_TOTAL_LEN, sg_tablesize 388 drivers/ata/sata_nv.c .sg_tablesize = LIBATA_MAX_PRD, sg_tablesize 664 drivers/ata/sata_nv.c unsigned short sg_tablesize; sg_tablesize 688 drivers/ata/sata_nv.c sg_tablesize = LIBATA_MAX_PRD - 1; sg_tablesize 696 drivers/ata/sata_nv.c sg_tablesize = NV_ADMA_SGTBL_TOTAL_LEN; sg_tablesize 737 drivers/ata/sata_nv.c blk_queue_max_segments(sdev->request_queue, sg_tablesize); sg_tablesize 741 drivers/ata/sata_nv.c segment_boundary, sg_tablesize); sg_tablesize 164 drivers/ata/sata_promise.c .sg_tablesize = PDC_MAX_PRD, sg_tablesize 113 drivers/ata/sata_qstor.c .sg_tablesize = QS_MAX_PRD, sg_tablesize 643 drivers/ata/sata_rcar.c .sg_tablesize = ATA_MAX_PRD, sg_tablesize 165 drivers/ata/sata_sil.c .sg_tablesize = ATA_MAX_PRD sg_tablesize 379 drivers/ata/sata_sil24.c .sg_tablesize = SIL24_MAX_SGE, sg_tablesize 230 drivers/ata/sata_sx4.c .sg_tablesize = LIBATA_MAX_PRD, sg_tablesize 1595 drivers/firewire/sbp2.c .sg_tablesize = SG_ALL, sg_tablesize 633 drivers/infiniband/ulp/iser/iscsi_iser.c shost->sg_tablesize = iser_conn->scsi_sg_tablesize; sg_tablesize 649 drivers/infiniband/ulp/iser/iscsi_iser.c shost->sg_prot_tablesize = shost->sg_tablesize; sg_tablesize 669 drivers/infiniband/ulp/iser/iscsi_iser.c max_fr_sectors = (shost->sg_tablesize * PAGE_SIZE) >> 9; sg_tablesize 673 drivers/infiniband/ulp/iser/iscsi_iser.c iser_conn, shost->sg_tablesize, sg_tablesize 969 drivers/infiniband/ulp/iser/iscsi_iser.c .sg_tablesize = ISCSI_ISER_DEF_SG_TABLESIZE, sg_tablesize 652 drivers/infiniband/ulp/iser/iser_verbs.c unsigned short sg_tablesize, sup_sg_tablesize; sg_tablesize 673 drivers/infiniband/ulp/iser/iser_verbs.c sg_tablesize = DIV_ROUND_UP(max_sectors * 512, SIZE_4K); sg_tablesize 682 drivers/infiniband/ulp/iser/iser_verbs.c iser_conn->scsi_sg_tablesize = min(sg_tablesize, sup_sg_tablesize); sg_tablesize 3261 drivers/infiniband/ulp/srp/ib_srp.c .sg_tablesize = SRP_DEF_SG_TABLESIZE, sg_tablesize 3720 drivers/infiniband/ulp/srp/ib_srp.c target->sg_tablesize = token; sg_tablesize 3807 drivers/infiniband/ulp/srp/ib_srp.c target->sg_tablesize = indirect_sg_entries ? : cmd_sg_entries; sg_tablesize 3847 drivers/infiniband/ulp/srp/ib_srp.c target->cmd_sg_cnt < target->sg_tablesize) { sg_tablesize 3849 drivers/infiniband/ulp/srp/ib_srp.c target->sg_tablesize = target->cmd_sg_cnt; sg_tablesize 3877 drivers/infiniband/ulp/srp/ib_srp.c (target->sg_tablesize + sg_tablesize 3886 drivers/infiniband/ulp/srp/ib_srp.c target_host->sg_tablesize = target->sg_tablesize; sg_tablesize 3889 drivers/infiniband/ulp/srp/ib_srp.c target->indirect_size = target->sg_tablesize * sg_tablesize 227 drivers/infiniband/ulp/srp/ib_srp.h unsigned int sg_tablesize; sg_tablesize 129 drivers/message/fusion/mptfc.c .sg_tablesize = MPT_SCSI_SG_DEPTH, sg_tablesize 1278 drivers/message/fusion/mptfc.c if (numSGE < sh->sg_tablesize) { sg_tablesize 1282 drivers/message/fusion/mptfc.c ioc->name, numSGE, sh->sg_tablesize)); sg_tablesize 1283 drivers/message/fusion/mptfc.c sh->sg_tablesize = numSGE; sg_tablesize 1992 drivers/message/fusion/mptsas.c .sg_tablesize = MPT_SCSI_SG_DEPTH, sg_tablesize 5239 drivers/message/fusion/mptsas.c if (numSGE < sh->sg_tablesize) { sg_tablesize 5243 drivers/message/fusion/mptsas.c ioc->name, numSGE, sh->sg_tablesize)); sg_tablesize 5244 drivers/message/fusion/mptsas.c sh->sg_tablesize = numSGE; sg_tablesize 843 drivers/message/fusion/mptspi.c .sg_tablesize = MPT_SCSI_SG_DEPTH, sg_tablesize 1480 drivers/message/fusion/mptspi.c if (numSGE < sh->sg_tablesize) { sg_tablesize 1484 drivers/message/fusion/mptspi.c ioc->name, numSGE, sh->sg_tablesize)); sg_tablesize 1485 drivers/message/fusion/mptspi.c sh->sg_tablesize = numSGE; sg_tablesize 242 drivers/net/wireless/mediatek/mt76/usb.c return (!disable_usb_sg && udev->bus->sg_tablesize > 0 && sg_tablesize 433 drivers/s390/scsi/zfcp_qdio.c adapter->scsi_host->sg_tablesize = qdio->max_sbale_per_req; sg_tablesize 438 drivers/s390/scsi/zfcp_scsi.c .sg_tablesize = (((QDIO_MAX_ELEMENTS_PER_BUFFER - 1) sg_tablesize 820 drivers/s390/scsi/zfcp_scsi.c shost->sg_tablesize = adapter->qdio->max_sbale_per_req / 2; sg_tablesize 821 drivers/s390/scsi/zfcp_scsi.c shost->max_sectors = shost->sg_tablesize * 8; sg_tablesize 1998 drivers/scsi/3w-9xxx.c .sg_tablesize = TW_APACHE_MAX_SGL_LENGTH, sg_tablesize 1551 drivers/scsi/3w-sas.c .sg_tablesize = TW_LIBERATOR_MAX_SGL_LENGTH, sg_tablesize 2247 drivers/scsi/3w-xxxx.c .sg_tablesize = TW_MAX_SGL_LENGTH, sg_tablesize 307 drivers/scsi/53c700.c tpnt->sg_tablesize = NCR_700_SG_SEGMENTS; sg_tablesize 2300 drivers/scsi/BusLogic.c host->sg_tablesize = adapter->drvr_sglimit; sg_tablesize 418 drivers/scsi/NCR5380.c instance->sg_tablesize, instance->this_id, sg_tablesize 1080 drivers/scsi/a100u2w.c .sg_tablesize = SG_ALL, sg_tablesize 1158 drivers/scsi/a100u2w.c shost->sg_tablesize = TOTAL_SG_ENTRY; sg_tablesize 162 drivers/scsi/a2091.c .sg_tablesize = SG_ALL, sg_tablesize 177 drivers/scsi/a3000.c .sg_tablesize = SG_ALL, sg_tablesize 1231 drivers/scsi/aacraid/aachba.c dev->scsi_host_ptr->sg_tablesize); sg_tablesize 1362 drivers/scsi/aacraid/aachba.c dev->scsi_host_ptr->sg_tablesize); sg_tablesize 1638 drivers/scsi/aacraid/aachba.c dev->scsi_host_ptr->sg_tablesize, (u64)fib->hw_sgl_pa); sg_tablesize 2257 drivers/scsi/aacraid/aachba.c dev->scsi_host_ptr->sg_tablesize = (dev->max_fib_size - sg_tablesize 2267 drivers/scsi/aacraid/aachba.c dev->scsi_host_ptr->sg_tablesize = sg_tablesize 2289 drivers/scsi/aacraid/aachba.c (dev->scsi_host_ptr->sg_tablesize * 8) + 112; sg_tablesize 2293 drivers/scsi/aacraid/aachba.c dev->scsi_host_ptr->sg_tablesize > HBA_MAX_SG_SEPARATE) sg_tablesize 2294 drivers/scsi/aacraid/aachba.c dev->scsi_host_ptr->sg_tablesize = dev->sg_tablesize = sg_tablesize 1537 drivers/scsi/aacraid/aacraid.h unsigned int sg_tablesize; sg_tablesize 525 drivers/scsi/aacraid/comminit.c dev->sg_tablesize = host->sg_tablesize = (dev->max_fib_size sg_tablesize 606 drivers/scsi/aacraid/comminit.c host->sg_tablesize = status[2] >> 16; sg_tablesize 607 drivers/scsi/aacraid/comminit.c dev->sg_tablesize = status[2] & 0xFFFF; sg_tablesize 1587 drivers/scsi/aacraid/commsup.c if ((quirks & AAC_QUIRK_34SG) && (host->sg_tablesize > 34)) { sg_tablesize 1588 drivers/scsi/aacraid/commsup.c host->sg_tablesize = 34; sg_tablesize 1589 drivers/scsi/aacraid/commsup.c host->max_sectors = (host->sg_tablesize * 8) + 112; sg_tablesize 1591 drivers/scsi/aacraid/commsup.c if ((quirks & AAC_QUIRK_17SG) && (host->sg_tablesize > 17)) { sg_tablesize 1592 drivers/scsi/aacraid/commsup.c host->sg_tablesize = 17; sg_tablesize 1593 drivers/scsi/aacraid/commsup.c host->max_sectors = (host->sg_tablesize * 8) + 112; sg_tablesize 1526 drivers/scsi/aacraid/linit.c .sg_tablesize = 16, sg_tablesize 1729 drivers/scsi/aacraid/linit.c (shost->sg_tablesize > 34)) { sg_tablesize 1730 drivers/scsi/aacraid/linit.c shost->sg_tablesize = 34; sg_tablesize 1731 drivers/scsi/aacraid/linit.c shost->max_sectors = (shost->sg_tablesize * 8) + 112; sg_tablesize 1735 drivers/scsi/aacraid/linit.c (shost->sg_tablesize > 17)) { sg_tablesize 1736 drivers/scsi/aacraid/linit.c shost->sg_tablesize = 17; sg_tablesize 1737 drivers/scsi/aacraid/linit.c shost->max_sectors = (shost->sg_tablesize * 8) + 112; sg_tablesize 2425 drivers/scsi/advansys.c s->cmd_per_lun, s->sg_tablesize, s->unchecked_isa_dma); sg_tablesize 3188 drivers/scsi/advansys.c shost->sg_tablesize, shost->cmd_per_lun); sg_tablesize 7566 drivers/scsi/advansys.c if (use_sg > scp->device->host->sg_tablesize) { sg_tablesize 7569 drivers/scsi/advansys.c scp->device->host->sg_tablesize); sg_tablesize 7820 drivers/scsi/advansys.c scp->device->host->sg_tablesize); sg_tablesize 11213 drivers/scsi/advansys.c shost->sg_tablesize = sg_tablesize 11217 drivers/scsi/advansys.c shost->sg_tablesize = ADV_MAX_SG_LIST; sg_tablesize 11226 drivers/scsi/advansys.c if (shost->sg_tablesize > SG_ALL) { sg_tablesize 11227 drivers/scsi/advansys.c shost->sg_tablesize = SG_ALL; sg_tablesize 11230 drivers/scsi/advansys.c ASC_DBG(1, "sg_tablesize: %d\n", shost->sg_tablesize); sg_tablesize 2911 drivers/scsi/aha152x.c .sg_tablesize = SG_ALL, sg_tablesize 1013 drivers/scsi/aha1542.c .sg_tablesize = 16, sg_tablesize 547 drivers/scsi/aha1740.c .sg_tablesize = AHA1740_SCATTER, sg_tablesize 1240 drivers/scsi/aic7xxx/aic79xx_osm.c host->sg_tablesize = AHD_NSEG; sg_tablesize 1246 drivers/scsi/aic7xxx/aic79xx_osm.c host->sg_tablesize = AHD_NSEG; sg_tablesize 1109 drivers/scsi/aic7xxx/aic7xxx_osm.c host->sg_tablesize = AHC_NSEG; sg_tablesize 51 drivers/scsi/aic94xx/aic94xx_init.c .sg_tablesize = SG_ALL, sg_tablesize 160 drivers/scsi/arcmsr/arcmsr_hba.c .sg_tablesize = ARCMSR_DEFAULT_SG_ENTRIES, sg_tablesize 719 drivers/scsi/arcmsr/arcmsr_hba.c acb->host->sg_tablesize = max_sg_entrys; sg_tablesize 1744 drivers/scsi/arcmsr/arcmsr_hba.c if (unlikely(nseg > acb->host->sg_tablesize || nseg < 0)) sg_tablesize 2888 drivers/scsi/arm/acornscsi.c .sg_tablesize = SG_ALL, sg_tablesize 248 drivers/scsi/arm/arxescsi.c .sg_tablesize = SG_ALL, sg_tablesize 223 drivers/scsi/arm/cumana_1.c .sg_tablesize = SG_ALL, sg_tablesize 365 drivers/scsi/arm/cumana_2.c .sg_tablesize = SG_MAX_SEGMENTS, sg_tablesize 484 drivers/scsi/arm/eesox.c .sg_tablesize = SG_MAX_SEGMENTS, sg_tablesize 112 drivers/scsi/arm/oak.c .sg_tablesize = SG_ALL, sg_tablesize 291 drivers/scsi/arm/powertec.c .sg_tablesize = SG_MAX_SEGMENTS, sg_tablesize 742 drivers/scsi/atari_scsi.c atari_scsi_template.sg_tablesize = SG_ALL; sg_tablesize 745 drivers/scsi/atari_scsi.c atari_scsi_template.sg_tablesize = 1; sg_tablesize 756 drivers/scsi/atari_scsi.c atari_scsi_template.sg_tablesize = setup_sg_tablesize; sg_tablesize 1683 drivers/scsi/atp870u.c .sg_tablesize = ATP870U_SCATTER /*SG_ALL*/ /*SG_NONE*/, sg_tablesize 396 drivers/scsi/be2iscsi/be_main.c .sg_tablesize = BEISCSI_SGLIST_ELEMENTS, sg_tablesize 740 drivers/scsi/bfa/bfad_im.c sht->sg_tablesize = bfad->cfg_data.io_max_sge; sg_tablesize 810 drivers/scsi/bfa/bfad_im.c .sg_tablesize = BFAD_IO_MAX_SGE, sg_tablesize 832 drivers/scsi/bfa/bfad_im.c .sg_tablesize = BFAD_IO_MAX_SGE, sg_tablesize 2971 drivers/scsi/bnx2fc/bnx2fc_fcoe.c .sg_tablesize = BNX2FC_MAX_BDS_PER_CMD, sg_tablesize 2266 drivers/scsi/bnx2i/bnx2i_iscsi.c .sg_tablesize = ISCSI_MAX_BDS_PER_CMD, sg_tablesize 2278 drivers/scsi/csiostor/csio_scsi.c .sg_tablesize = CSIO_SCSI_MAX_SGE, sg_tablesize 2297 drivers/scsi/csiostor/csio_scsi.c .sg_tablesize = CSIO_SCSI_MAX_SGE, sg_tablesize 90 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c .sg_tablesize = SG_ALL, sg_tablesize 108 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c .sg_tablesize = SG_ALL, sg_tablesize 3179 drivers/scsi/cxlflash/main.c .sg_tablesize = 1, /* No scatter gather support */ sg_tablesize 4630 drivers/scsi/dc395x.c .sg_tablesize = DC395x_MAX_SG_TABLESIZE, sg_tablesize 52 drivers/scsi/dmx3191d.c .sg_tablesize = SG_ALL, sg_tablesize 567 drivers/scsi/dpt_i2o.c host->can_queue, (int) pHba->reply_fifo_size , host->sg_tablesize); sg_tablesize 1710 drivers/scsi/dpt_i2o.c sg_list = kcalloc(pHba->sg_tablesize, sizeof(*sg_list), GFP_KERNEL); sg_tablesize 1719 drivers/scsi/dpt_i2o.c if (sg_count > pHba->sg_tablesize){ sg_tablesize 2336 drivers/scsi/dpt_i2o.c host->sg_tablesize = pHba->sg_tablesize; sg_tablesize 2958 drivers/scsi/dpt_i2o.c pHba->sg_tablesize sg_tablesize 2963 drivers/scsi/dpt_i2o.c pHba->sg_tablesize sg_tablesize 2968 drivers/scsi/dpt_i2o.c if (pHba->sg_tablesize > SG_LIST_ELEMENTS) { sg_tablesize 2969 drivers/scsi/dpt_i2o.c pHba->sg_tablesize = SG_LIST_ELEMENTS; sg_tablesize 227 drivers/scsi/dpti.h u32 sg_tablesize; // Scatter/Gather List Size. sg_tablesize 87 drivers/scsi/esas2r/esas2r.h extern int sg_tablesize; sg_tablesize 248 drivers/scsi/esas2r/esas2r_main.c .sg_tablesize = SG_CHUNK_SIZE, sg_tablesize 272 drivers/scsi/esas2r/esas2r_main.c int sg_tablesize = SG_CHUNK_SIZE; sg_tablesize 273 drivers/scsi/esas2r/esas2r_main.c module_param(sg_tablesize, int, 0); sg_tablesize 274 drivers/scsi/esas2r/esas2r_main.c MODULE_PARM_DESC(sg_tablesize, sg_tablesize 416 drivers/scsi/esas2r/esas2r_main.c host->sg_tablesize = sg_tablesize; sg_tablesize 565 drivers/scsi/esas2r/esas2r_main.c if (sg_tablesize < 32) { sg_tablesize 569 drivers/scsi/esas2r/esas2r_main.c sg_tablesize = 32; sg_tablesize 2685 drivers/scsi/esp_scsi.c .sg_tablesize = SG_ALL, sg_tablesize 277 drivers/scsi/fcoe/fcoe.c .sg_tablesize = SG_ALL, sg_tablesize 500 drivers/scsi/fdomain.c .sg_tablesize = 64, sg_tablesize 123 drivers/scsi/fnic/fnic_main.c .sg_tablesize = FNIC_MAX_SG_DESC_CNT, sg_tablesize 702 drivers/scsi/g_NCR5380.c .sg_tablesize = SG_ALL, sg_tablesize 4084 drivers/scsi/gdth.c .sg_tablesize = GDTH_MAXSG, sg_tablesize 186 drivers/scsi/gvp11.c .sg_tablesize = SG_ALL, sg_tablesize 1767 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c .sg_tablesize = HISI_SAS_SGE_PAGE_CNT, sg_tablesize 3541 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c .sg_tablesize = HISI_SAS_SGE_PAGE_CNT, sg_tablesize 3062 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c .sg_tablesize = HISI_SAS_SGE_PAGE_CNT, sg_tablesize 416 drivers/scsi/hosts.c shost->sg_tablesize = sht->sg_tablesize; sg_tablesize 5807 drivers/scsi/hpsa.c sh->sg_tablesize = h->maxsgentries; sg_tablesize 1397 drivers/scsi/hptiop.c host->sg_tablesize = le32_to_cpu(iop_config.max_sg_count); sg_tablesize 3092 drivers/scsi/ibmvscsi/ibmvfc.c .sg_tablesize = SG_ALL, sg_tablesize 1393 drivers/scsi/ibmvscsi/ibmvscsi.c hostdata->host->sg_tablesize = MAX_INDIRECT_BUFS; sg_tablesize 2080 drivers/scsi/ibmvscsi/ibmvscsi.c .sg_tablesize = SG_ALL, sg_tablesize 1114 drivers/scsi/imm.c .sg_tablesize = SG_ALL, sg_tablesize 2805 drivers/scsi/initio.c .sg_tablesize = SG_ALL, sg_tablesize 2900 drivers/scsi/initio.c shost->sg_tablesize = TOTAL_SG_ENTRY; sg_tablesize 6744 drivers/scsi/ipr.c .sg_tablesize = IPR_MAX_SGLIST, sg_tablesize 366 drivers/scsi/ips.c .sg_tablesize = IPS_MAX_SG, sg_tablesize 6677 drivers/scsi/ips.c sh->sg_tablesize = sh->hostt->sg_tablesize; sg_tablesize 164 drivers/scsi/isci/init.c .sg_tablesize = SG_ALL, sg_tablesize 977 drivers/scsi/iscsi_tcp.c .sg_tablesize = 4096, sg_tablesize 4320 drivers/scsi/lpfc/lpfc_init.c shost->sg_tablesize = LPFC_MAX_SG_TABLESIZE; sg_tablesize 4322 drivers/scsi/lpfc/lpfc_init.c shost->sg_tablesize = phba->cfg_scsi_seg_cnt; sg_tablesize 6278 drivers/scsi/lpfc/lpfc_init.c lpfc_vport_template.sg_tablesize = phba->cfg_sg_seg_cnt; sg_tablesize 6279 drivers/scsi/lpfc/lpfc_init.c lpfc_template_no_hr.sg_tablesize = phba->cfg_sg_seg_cnt; sg_tablesize 6280 drivers/scsi/lpfc/lpfc_init.c lpfc_template.sg_tablesize = phba->cfg_sg_seg_cnt; sg_tablesize 6792 drivers/scsi/lpfc/lpfc_init.c lpfc_vport_template.sg_tablesize = phba->cfg_scsi_seg_cnt; sg_tablesize 6793 drivers/scsi/lpfc/lpfc_init.c lpfc_template.sg_tablesize = phba->cfg_scsi_seg_cnt; sg_tablesize 6794 drivers/scsi/lpfc/lpfc_init.c lpfc_template_no_hr.sg_tablesize = phba->cfg_scsi_seg_cnt; sg_tablesize 6017 drivers/scsi/lpfc/lpfc_scsi.c .sg_tablesize = 1, sg_tablesize 6041 drivers/scsi/lpfc/lpfc_scsi.c .sg_tablesize = LPFC_DEFAULT_SG_SEG_CNT, sg_tablesize 6067 drivers/scsi/lpfc/lpfc_scsi.c .sg_tablesize = LPFC_DEFAULT_SG_SEG_CNT, sg_tablesize 6091 drivers/scsi/lpfc/lpfc_scsi.c .sg_tablesize = LPFC_DEFAULT_SG_SEG_CNT, sg_tablesize 406 drivers/scsi/mac53c94.c .sg_tablesize = SG_ALL, sg_tablesize 468 drivers/scsi/mac53c94.c dma_cmd_space = kmalloc_array(host->sg_tablesize + 2, sg_tablesize 478 drivers/scsi/mac53c94.c memset(state->dma_cmds, 0, (host->sg_tablesize + 1) sg_tablesize 434 drivers/scsi/mac_scsi.c .sg_tablesize = 1, sg_tablesize 468 drivers/scsi/mac_scsi.c mac_scsi_template.sg_tablesize = setup_sg_tablesize; sg_tablesize 302 drivers/scsi/megaraid.c adapter->host->sg_tablesize = adapter->sglen; sg_tablesize 4144 drivers/scsi/megaraid.c .sg_tablesize = MAX_SGLIST, sg_tablesize 634 drivers/scsi/megaraid/megaraid_mbox.c host->sg_tablesize = adapter->sglen; sg_tablesize 6748 drivers/scsi/megaraid/megaraid_sas_base.c host->sg_tablesize = instance->max_num_sge; sg_tablesize 1840 drivers/scsi/mesh.c .sg_tablesize = SG_ALL, sg_tablesize 1914 drivers/scsi/mesh.c ms->dma_cmd_size = (mesh_host->sg_tablesize + 2) * sizeof(struct dbdma_cmd); sg_tablesize 4838 drivers/scsi/mpt3sas/mpt3sas_base.c unsigned short sg_tablesize; sg_tablesize 4851 drivers/scsi/mpt3sas/mpt3sas_base.c sg_tablesize = max_sgl_entries; sg_tablesize 4854 drivers/scsi/mpt3sas/mpt3sas_base.c sg_tablesize = MPT2SAS_SG_DEPTH; sg_tablesize 4856 drivers/scsi/mpt3sas/mpt3sas_base.c sg_tablesize = MPT3SAS_SG_DEPTH; sg_tablesize 4861 drivers/scsi/mpt3sas/mpt3sas_base.c sg_tablesize = min_t(unsigned short, sg_tablesize, sg_tablesize 4865 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->shost->sg_tablesize = MPT_MIN_PHYS_SEGMENTS; sg_tablesize 4867 drivers/scsi/mpt3sas/mpt3sas_base.c if (sg_tablesize < MPT_MIN_PHYS_SEGMENTS) sg_tablesize 4868 drivers/scsi/mpt3sas/mpt3sas_base.c sg_tablesize = MPT_MIN_PHYS_SEGMENTS; sg_tablesize 4869 drivers/scsi/mpt3sas/mpt3sas_base.c else if (sg_tablesize > MPT_MAX_PHYS_SEGMENTS) { sg_tablesize 4870 drivers/scsi/mpt3sas/mpt3sas_base.c sg_tablesize = min_t(unsigned short, sg_tablesize, sg_tablesize 4873 drivers/scsi/mpt3sas/mpt3sas_base.c sg_tablesize, MPT_MAX_PHYS_SEGMENTS); sg_tablesize 4875 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->shost->sg_tablesize = sg_tablesize; sg_tablesize 4946 drivers/scsi/mpt3sas/mpt3sas_base.c chains_needed_per_io = ((ioc->shost->sg_tablesize - sg_tablesize 4951 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->shost->sg_tablesize = min_t(u16, sg_tablesize 4953 drivers/scsi/mpt3sas/mpt3sas_base.c * chains_needed_per_io), ioc->shost->sg_tablesize); sg_tablesize 4987 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->shost->sg_tablesize, sg_tablesize 5171 drivers/scsi/mpt3sas/mpt3sas_base.c (ioc->shost->sg_tablesize * NVME_PRP_SIZE) - 1; sg_tablesize 5388 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->shost->sg_tablesize); sg_tablesize 10279 drivers/scsi/mpt3sas/mpt3sas_scsih.c .sg_tablesize = MPT2SAS_SG_DEPTH, sg_tablesize 10317 drivers/scsi/mpt3sas/mpt3sas_scsih.c .sg_tablesize = MPT3SAS_SG_DEPTH, sg_tablesize 79 drivers/scsi/mvme147.c .sg_tablesize = SG_ALL, sg_tablesize 44 drivers/scsi/mvsas/mv_init.c .sg_tablesize = SG_ALL, sg_tablesize 474 drivers/scsi/mvsas/mv_init.c shost->sg_tablesize = min_t(u16, SG_ALL, MVS_MAX_SG); sg_tablesize 2399 drivers/scsi/mvumi.c host->sg_tablesize = mhba->max_sge > max_sg ? max_sg : mhba->max_sge; sg_tablesize 95 drivers/scsi/myrb.c elem_size = cb->host->sg_tablesize * elem_align; sg_tablesize 1120 drivers/scsi/myrb.c shost->sg_tablesize = enquiry2->max_sge; sg_tablesize 1121 drivers/scsi/myrb.c if (shost->sg_tablesize > MYRB_SCATTER_GATHER_LIMIT) sg_tablesize 1122 drivers/scsi/myrb.c shost->sg_tablesize = MYRB_SCATTER_GATHER_LIMIT; sg_tablesize 1171 drivers/scsi/myrb.c cb->host->can_queue, cb->host->sg_tablesize, sg_tablesize 649 drivers/scsi/myrs.c shost->sg_tablesize = info->max_sge; sg_tablesize 650 drivers/scsi/myrs.c if (shost->sg_tablesize > MYRS_SG_LIMIT) sg_tablesize 651 drivers/scsi/myrs.c shost->sg_tablesize = MYRS_SG_LIMIT; sg_tablesize 665 drivers/scsi/myrs.c shost->can_queue, shost->sg_tablesize, MYRS_SG_LIMIT); sg_tablesize 2182 drivers/scsi/myrs.c elem_size = shost->sg_tablesize * elem_align; sg_tablesize 8306 drivers/scsi/ncr53c8xx.c tpnt->sg_tablesize = SCSI_NCR_SG_TABLESIZE; sg_tablesize 264 drivers/scsi/nsp32.c .sg_tablesize = NSP32_SG_SIZE, sg_tablesize 1452 drivers/scsi/nsp32.c seq_printf(m, "sg_tablesize: %d\n", host->sg_tablesize); sg_tablesize 88 drivers/scsi/pcmcia/nsp_cs.c .sg_tablesize = SG_ALL, sg_tablesize 1384 drivers/scsi/pcmcia/nsp_cs.c seq_printf(m, "sg_tablesize: %d\n", host->sg_tablesize); sg_tablesize 74 drivers/scsi/pcmcia/qlogic_stub.c .sg_tablesize = SG_ALL, sg_tablesize 673 drivers/scsi/pcmcia/sym53c500_cs.c .sg_tablesize = 32, sg_tablesize 85 drivers/scsi/pm8001/pm8001_init.c .sg_tablesize = SG_ALL, sg_tablesize 4131 drivers/scsi/pmcraid.c .sg_tablesize = PMCRAID_MAX_IOADLS, sg_tablesize 981 drivers/scsi/ppa.c .sg_tablesize = SG_ALL, sg_tablesize 337 drivers/scsi/ps3rom.c .sg_tablesize = SG_ALL, sg_tablesize 928 drivers/scsi/qedf/qedf_main.c .sg_tablesize = QEDF_MAX_BDS_PER_CMD, sg_tablesize 1782 drivers/scsi/qedf/qedf_main.c vn_port->host->sg_tablesize = QEDF_MAX_BDS_PER_CMD; sg_tablesize 57 drivers/scsi/qedi/qedi_iscsi.c .sg_tablesize = QEDI_ISCSI_MAX_BDS_PER_CMD, sg_tablesize 4144 drivers/scsi/qla1280.c .sg_tablesize = SG_ALL, sg_tablesize 3117 drivers/scsi/qla2xxx/qla_os.c host->sg_tablesize = 32; sg_tablesize 3120 drivers/scsi/qla2xxx/qla_os.c host->sg_tablesize = QLA_SG_ALL; sg_tablesize 3278 drivers/scsi/qla2xxx/qla_os.c base_vha->mgmt_svr_loop_id, host->sg_tablesize); sg_tablesize 3388 drivers/scsi/qla2xxx/qla_os.c host->sg_tablesize = (ha->mr.extended_io_enabled) ? sg_tablesize 7154 drivers/scsi/qla2xxx/qla_os.c .sg_tablesize = SG_ALL, sg_tablesize 6411 drivers/scsi/qla2xxx/qla_target.c tgt->sg_tablesize = QLA_TGT_MAX_SG_24XX(base_vha->req->length - 3); sg_tablesize 786 drivers/scsi/qla2xxx/qla_target.h int sg_tablesize; sg_tablesize 208 drivers/scsi/qla4xxx/ql4_os.c .sg_tablesize = SG_ALL, sg_tablesize 195 drivers/scsi/qlogicfas.c .sg_tablesize = SG_ALL, sg_tablesize 974 drivers/scsi/qlogicpti.c host->sg_tablesize = QLOGICPTI_MAX_SG(num_free); sg_tablesize 1300 drivers/scsi/qlogicpti.c .sg_tablesize = QLOGICPTI_MAX_SG(QLOGICPTI_REQ_QUEUE_LEN), sg_tablesize 5769 drivers/scsi/scsi_debug.c .sg_tablesize = SG_MAX_SEGMENTS, sg_tablesize 1575 drivers/scsi/scsi_lib.c return min_t(unsigned int, shost->sg_tablesize, SCSI_INLINE_SG_CNT) * sg_tablesize 1789 drivers/scsi/scsi_lib.c blk_queue_max_segments(q, min_t(unsigned short, shost->sg_tablesize, sg_tablesize 1796 drivers/scsi/scsi_lib.c BUG_ON(shost->sg_prot_tablesize < shost->sg_tablesize); sg_tablesize 374 drivers/scsi/scsi_sysfs.c shost_rd_attr(sg_tablesize, "%hu\n"); sg_tablesize 161 drivers/scsi/sg.c int sg_tablesize; /* adapter's max scatter-gather table size */ sg_tablesize 348 drivers/scsi/sg.c sdp->sg_tablesize = queue_max_segments(q); sg_tablesize 1023 drivers/scsi/sg.c return put_user(sdp->sg_tablesize, ip); sg_tablesize 1483 drivers/scsi/sg.c sdp->sg_tablesize = queue_max_segments(q); sg_tablesize 1875 drivers/scsi/sg.c int sg_tablesize = sfp->parentdp->sg_tablesize; sg_tablesize 1891 drivers/scsi/sg.c mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); sg_tablesize 2609 drivers/scsi/sg.c sdp->sg_tablesize, sdp->exclude, sdp->open_cnt); sg_tablesize 209 drivers/scsi/sgiwd93.c .sg_tablesize = SG_ALL, sg_tablesize 1098 drivers/scsi/smartpqi/smartpqi.h unsigned short sg_tablesize; sg_tablesize 4715 drivers/scsi/smartpqi/smartpqi_init.c ctrl_info->sg_tablesize = max_sg_entries; sg_tablesize 6517 drivers/scsi/smartpqi/smartpqi_init.c shost->sg_tablesize = ctrl_info->sg_tablesize; sg_tablesize 204 drivers/scsi/snic/snic_ctl.c snic->shost->sg_tablesize = max_sgs; sg_tablesize 206 drivers/scsi/snic/snic_ctl.c snic->shost->sg_tablesize); sg_tablesize 207 drivers/scsi/snic/snic_ctl.c } else if (max_sgs > snic->shost->sg_tablesize) { sg_tablesize 211 drivers/scsi/snic/snic_ctl.c snic->shost->sg_tablesize); sg_tablesize 130 drivers/scsi/snic/snic_main.c .sg_tablesize = SNIC_MAX_SG_DESC_CNT, sg_tablesize 442 drivers/scsi/stex.c dst->max_sg_count = cpu_to_le16(hba->host->sg_tablesize); sg_tablesize 474 drivers/scsi/stex.c dst->max_sg_count = cpu_to_le16(hba->host->sg_tablesize); sg_tablesize 1781 drivers/scsi/stex.c host->sg_tablesize = 38; sg_tablesize 1783 drivers/scsi/stex.c host->sg_tablesize = 32; sg_tablesize 1836 drivers/scsi/storvsc_drv.c host->sg_tablesize = (stor_device->max_transfer_bytes >> PAGE_SHIFT); sg_tablesize 504 drivers/scsi/sun3_scsi.c .sg_tablesize = 1, sg_tablesize 527 drivers/scsi/sun3_scsi.c sun3_scsi_template.sg_tablesize = setup_sg_tablesize; sg_tablesize 1356 drivers/scsi/sym53c8xx_2/sym_glue.c shost->sg_tablesize = SYM_CONF_MAX_SG; sg_tablesize 7070 drivers/scsi/ufs/ufshcd.c .sg_tablesize = SG_ALL, sg_tablesize 552 drivers/scsi/virtio_scsi.c BUG_ON(scsi_sg_count(sc) > shost->sg_tablesize); sg_tablesize 858 drivers/scsi/virtio_scsi.c shost->sg_tablesize = sg_elems; sg_tablesize 1009 drivers/scsi/vmw_pvscsi.c .sg_tablesize = PVSCSI_MAX_NUM_SG_ENTRIES_PER_SEGMENT, sg_tablesize 892 drivers/scsi/wd719x.c .sg_tablesize = WD719X_SG, sg_tablesize 413 drivers/scsi/xen-scsifront.c if (data_grants > info->host->sg_tablesize) { sg_tablesize 698 drivers/scsi/xen-scsifront.c .sg_tablesize = VSCSIIF_SG_TABLESIZE, sg_tablesize 855 drivers/scsi/xen-scsifront.c host->max_sectors = (host->sg_tablesize - 1) * PAGE_SIZE / 512; sg_tablesize 1070 drivers/scsi/xen-scsifront.c else if (info->pause && nr_segs < host->sg_tablesize) sg_tablesize 1073 drivers/scsi/xen-scsifront.c host->sg_tablesize, nr_segs); sg_tablesize 1075 drivers/scsi/xen-scsifront.c host->sg_tablesize = nr_segs; sg_tablesize 224 drivers/staging/rts5208/rtsx.c .sg_tablesize = SG_ALL, sg_tablesize 644 drivers/staging/unisys/visorhba/visorhba_main.c .sg_tablesize = 64, sg_tablesize 1071 drivers/staging/unisys/visorhba/visorhba_main.c scsihost->sg_tablesize = sg_tablesize 1073 drivers/staging/unisys/visorhba/visorhba_main.c if (scsihost->sg_tablesize > MAX_PHYS_INFO) sg_tablesize 1074 drivers/staging/unisys/visorhba/visorhba_main.c scsihost->sg_tablesize = MAX_PHYS_INFO; sg_tablesize 801 drivers/staging/wusbcore/host/hwa-hc.c usb_hcd->self.sg_tablesize = ~0; sg_tablesize 241 drivers/staging/wusbcore/host/whci/hcd.c usb_hcd->self.sg_tablesize = 2048; /* somewhat arbitrary */ sg_tablesize 310 drivers/target/loopback/tcm_loop.c .sg_tablesize = 256, sg_tablesize 1608 drivers/usb/core/devio.c if (num_sgs == 1 || num_sgs > ps->dev->bus->sg_tablesize) sg_tablesize 2340 drivers/usb/core/devio.c if (ps->dev->bus->sg_tablesize) sg_tablesize 385 drivers/usb/core/message.c if (dev->bus->sg_tablesize > 0) { sg_tablesize 5220 drivers/usb/dwc2/hcd.c hcd->self.sg_tablesize = 0; sg_tablesize 2496 drivers/usb/gadget/udc/dummy_hcd.c hcd->self.sg_tablesize = ~0; sg_tablesize 563 drivers/usb/host/ehci-hcd.c hcd->self.sg_tablesize = ~0; sg_tablesize 5004 drivers/usb/host/fotg210-hcd.c hcd->self.sg_tablesize = ~0; sg_tablesize 1493 drivers/usb/host/max3421-hcd.c hcd->self.sg_tablesize = 0; sg_tablesize 461 drivers/usb/host/ohci-hcd.c hcd->self.sg_tablesize = ~0; sg_tablesize 585 drivers/usb/host/uhci-hcd.c hcd->self.sg_tablesize = ~0; sg_tablesize 5128 drivers/usb/host/xhci.c hcd->self.sg_tablesize = ~0; sg_tablesize 628 drivers/usb/image/microtek.c .sg_tablesize = SG_ALL, sg_tablesize 627 drivers/usb/storage/scsiglue.c .sg_tablesize = SG_MAX_SEGMENTS, sg_tablesize 127 drivers/usb/storage/uas-detect.h if (udev->bus->sg_tablesize == 0) { sg_tablesize 461 drivers/usb/storage/uas.c urb->num_sgs = udev->bus->sg_tablesize ? sdb->table.nents : 0; sg_tablesize 900 drivers/usb/storage/uas.c .sg_tablesize = SG_NONE, sg_tablesize 1001 drivers/usb/storage/uas.c shost->sg_tablesize = udev->bus->sg_tablesize; sg_tablesize 926 drivers/usb/storage/usb.c if (usb_dev->bus->sg_tablesize) { sg_tablesize 927 drivers/usb/storage/usb.c return usb_dev->bus->sg_tablesize; sg_tablesize 959 drivers/usb/storage/usb.c host->sg_tablesize = usb_stor_sg_tablesize(intf); sg_tablesize 497 drivers/usb/usbip/stub_rx.c if (!udev->bus->sg_tablesize) { sg_tablesize 1153 drivers/usb/usbip/vhci_hcd.c hcd->self.sg_tablesize = 32; sg_tablesize 1829 include/linux/libata.h .sg_tablesize = LIBATA_MAX_PRD, \ sg_tablesize 1895 include/linux/libata.h .sg_tablesize = LIBATA_MAX_PRD, \ sg_tablesize 442 include/linux/usb.h unsigned sg_tablesize; /* 0 or largest number of sg list entries */ sg_tablesize 365 include/scsi/scsi_host.h unsigned short sg_tablesize; sg_tablesize 599 include/scsi/scsi_host.h short unsigned int sg_tablesize;