/linux-4.4.14/drivers/scsi/aacraid/ |
D | comminit.c | 436 dev->sg_tablesize = host->sg_tablesize = (dev->max_fib_size in aac_init_adapter() 510 host->sg_tablesize = status[2] >> 16; in aac_init_adapter() 511 dev->sg_tablesize = status[2] & 0xFFFF; in aac_init_adapter() 529 dev->sg_tablesize = host->sg_tablesize in aac_init_adapter() 537 host->sg_tablesize = 65; in aac_init_adapter() 538 dev->sg_tablesize = 81; in aac_init_adapter() 543 host->sg_tablesize = 129; in aac_init_adapter() 544 dev->sg_tablesize = 166; in aac_init_adapter() 549 host->sg_tablesize = 257; in aac_init_adapter() 550 dev->sg_tablesize = 337; in aac_init_adapter()
|
D | linit.c | 1061 .sg_tablesize = 16, 1239 (shost->sg_tablesize > 34)) { in aac_probe_one() 1240 shost->sg_tablesize = 34; in aac_probe_one() 1241 shost->max_sectors = (shost->sg_tablesize * 8) + 112; in aac_probe_one() 1245 (shost->sg_tablesize > 17)) { in aac_probe_one() 1246 shost->sg_tablesize = 17; in aac_probe_one() 1247 shost->max_sectors = (shost->sg_tablesize * 8) + 112; in aac_probe_one()
|
D | commsup.c | 1399 if ((quirks & AAC_QUIRK_34SG) && (host->sg_tablesize > 34)) { in _aac_reset_adapter() 1400 host->sg_tablesize = 34; in _aac_reset_adapter() 1401 host->max_sectors = (host->sg_tablesize * 8) + 112; in _aac_reset_adapter() 1403 if ((quirks & AAC_QUIRK_17SG) && (host->sg_tablesize > 17)) { in _aac_reset_adapter() 1404 host->sg_tablesize = 17; in _aac_reset_adapter() 1405 host->max_sectors = (host->sg_tablesize * 8) + 112; in _aac_reset_adapter()
|
D | aachba.c | 1166 dev->scsi_host_ptr->sg_tablesize); in aac_read_raw_io() 1295 dev->scsi_host_ptr->sg_tablesize); in aac_write_raw_io() 1741 dev->scsi_host_ptr->sg_tablesize = (dev->max_fib_size - in aac_get_adapter_info() 1751 dev->scsi_host_ptr->sg_tablesize = in aac_get_adapter_info() 1773 (dev->scsi_host_ptr->sg_tablesize * 8) + 112; in aac_get_adapter_info()
|
D | aacraid.h | 1111 unsigned sg_tablesize; member
|
/linux-4.4.14/drivers/scsi/snic/ |
D | snic_ctl.c | 206 snic->shost->sg_tablesize = max_sgs; in snic_io_exch_ver_cmpl_handler() 208 snic->shost->sg_tablesize); in snic_io_exch_ver_cmpl_handler() 209 } else if (max_sgs > snic->shost->sg_tablesize) { in snic_io_exch_ver_cmpl_handler() 213 snic->shost->sg_tablesize); in snic_io_exch_ver_cmpl_handler()
|
D | snic_main.c | 124 .sg_tablesize = SNIC_MAX_SG_DESC_CNT,
|
/linux-4.4.14/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.c | 634 shost->sg_tablesize = iser_conn->scsi_sg_tablesize; in iscsi_iser_session_create() 658 shost->sg_tablesize = min_t(unsigned short, shost->sg_tablesize, in iscsi_iser_session_create() 661 1024, (shost->sg_tablesize * PAGE_SIZE) >> 9); in iscsi_iser_session_create() 982 .sg_tablesize = ISCSI_ISER_DEF_SG_TABLESIZE,
|
D | iser_verbs.c | 755 unsigned short sg_tablesize, sup_sg_tablesize; in iser_calc_scsi_params() local 757 sg_tablesize = DIV_ROUND_UP(max_sectors * 512, SIZE_4K); in iser_calc_scsi_params() 761 if (sg_tablesize > sup_sg_tablesize) { in iser_calc_scsi_params() 762 sg_tablesize = sup_sg_tablesize; in iser_calc_scsi_params() 763 iser_conn->scsi_max_sectors = sg_tablesize * SIZE_4K / 512; in iser_calc_scsi_params() 768 iser_conn->scsi_sg_tablesize = sg_tablesize; in iser_calc_scsi_params()
|
/linux-4.4.14/drivers/scsi/ |
D | xen-scsifront.c | 390 if (data_grants > info->host->sg_tablesize) { in map_data_for_request() 708 .sg_tablesize = VSCSIIF_SG_TABLESIZE, 866 host->max_sectors = (host->sg_tablesize - 1) * PAGE_SIZE / 512; in scsifront_probe() 1078 else if (info->pause && nr_segs < host->sg_tablesize) in scsifront_read_backend_params() 1081 host->sg_tablesize, nr_segs); in scsifront_read_backend_params() 1083 host->sg_tablesize = nr_segs; in scsifront_read_backend_params()
|
D | mac_scsi.c | 378 .sg_tablesize = SG_ALL, 411 mac_scsi_template.sg_tablesize = setup_sg_tablesize; in mac_scsi_probe()
|
D | dmx3191d.c | 67 .sg_tablesize = SG_ALL,
|
D | atari_scsi.c | 861 atari_scsi_template.sg_tablesize = SG_ALL; in atari_scsi_probe() 865 atari_scsi_template.sg_tablesize = SG_NONE; in atari_scsi_probe() 876 atari_scsi_template.sg_tablesize = setup_sg_tablesize; in atari_scsi_probe()
|
D | mac53c94.c | 405 .sg_tablesize = SG_ALL, 468 dma_cmd_space = kmalloc((host->sg_tablesize + 2) * in mac53c94_probe() 477 memset(state->dma_cmds, 0, (host->sg_tablesize + 1) in mac53c94_probe()
|
D | eata.c | 1273 shost->sg_tablesize = (ushort) info.scatt_size; in port_detect() 1305 if (shost->sg_tablesize > MAX_SGLIST || shost->sg_tablesize < 2) { in port_detect() 1307 ha->board_name, shost->sg_tablesize); in port_detect() 1308 shost->sg_tablesize = MAX_SGLIST; in port_detect() 1325 if (info.large_sg && shost->sg_tablesize == MAX_SGLIST) in port_detect() 1326 shost->sg_tablesize = MAX_LARGE_SGLIST; in port_detect() 1346 size_t sz = shost->sg_tablesize *sizeof(struct sg_list); in port_detect() 1387 shost->sg_tablesize, shost->can_queue); in port_detect()
|
D | mvme147.c | 150 .sg_tablesize = SG_ALL,
|
D | ultrastor.c | 525 tpnt->sg_tablesize = ULTRASTOR_14F_MAX_SG; in ultrastor_14f_detect() 609 tpnt->sg_tablesize = ULTRASTOR_24F_MAX_SG; in ultrastor_24f_detect() 641 tpnt->sg_tablesize); in ultrastor_24f_detect() 1205 .sg_tablesize = ULTRASTOR_14F_MAX_SG,
|
D | qlogicfas.c | 195 .sg_tablesize = SG_ALL,
|
D | hosts.c | 434 shost->sg_tablesize = sht->sg_tablesize; in scsi_host_alloc()
|
D | sun3_scsi.c | 513 .sg_tablesize = SG_NONE, 534 sun3_scsi_template.sg_tablesize = setup_sg_tablesize; in sun3_scsi_probe()
|
D | dpt_i2o.c | 569 host->can_queue, (int) pHba->reply_fifo_size , host->sg_tablesize); in adpt_show_info() 1713 void *sg_list[pHba->sg_tablesize]; in adpt_i2o_passthru() 1757 memset(sg_list,0, sizeof(sg_list[0])*pHba->sg_tablesize); in adpt_i2o_passthru() 1762 if (sg_count > pHba->sg_tablesize){ in adpt_i2o_passthru() 2365 host->sg_tablesize = pHba->sg_tablesize; in adpt_scsi_host_alloc() 2994 pHba->sg_tablesize in adpt_i2o_status_get() 2999 pHba->sg_tablesize in adpt_i2o_status_get() 3004 if (pHba->sg_tablesize > SG_LIST_ELEMENTS) { in adpt_i2o_status_get() 3005 pHba->sg_tablesize = SG_LIST_ELEMENTS; in adpt_i2o_status_get()
|
D | a2091.c | 178 .sg_tablesize = SG_ALL,
|
D | sg.c | 177 int sg_tablesize; /* adapter's max scatter-gather table size */ member 338 sdp->sg_tablesize = queue_max_segments(q); in sg_open() 968 return put_user(sdp->sg_tablesize, ip); in sg_ioctl() 1445 sdp->sg_tablesize = queue_max_segments(q); in sg_alloc() 1828 int sg_tablesize = sfp->parentdp->sg_tablesize; in sg_build_indirect() local 1843 mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); in sg_build_indirect() 2694 sdp->sg_tablesize, sdp->exclude, sdp->open_cnt); in sg_proc_seq_show_debug()
|
D | a3000.c | 193 .sg_tablesize = SG_ALL,
|
D | t128.c | 408 .sg_tablesize = SG_ALL,
|
D | u14-34f.c | 904 sh[j]->sg_tablesize = MAX_SGLIST; in port_detect() 932 if (have_old_firmware) sh[j]->sg_tablesize = MAX_SAFE_SGLIST; in port_detect() 968 sh[j]->sg_tablesize = MAX_SAFE_SGLIST; in port_detect() 983 sh[j]->sg_tablesize * sizeof(struct sg_list), in port_detect() 1006 sh[j]->irq, dma_name, sh[j]->sg_tablesize, sh[j]->can_queue); in port_detect()
|
D | sgiwd93.c | 224 .sg_tablesize = SG_ALL,
|
D | dtc.c | 455 .sg_tablesize = SG_ALL,
|
D | pas16.c | 584 .sg_tablesize = SG_ALL,
|
D | dpti.h | 231 u32 sg_tablesize; // Scatter/Gather List Size. member
|
D | gvp11.c | 203 .sg_tablesize = SG_ALL,
|
D | stex.c | 420 dst->max_sg_count = cpu_to_le16(hba->host->sg_tablesize); in stex_map_sg() 452 dst->max_sg_count = cpu_to_le16(hba->host->sg_tablesize); in stex_ss_map_sg() 1617 host->sg_tablesize = 38; in stex_probe() 1619 host->sg_tablesize = 32; in stex_probe()
|
D | ps3rom.c | 349 .sg_tablesize = SG_ALL,
|
D | eata_pio.c | 766 sh->sg_tablesize = SG_ALL; in register_pio_HBA() 942 HBA_ptr->sg_tablesize, HBA_ptr->cmd_per_lun); in eata_pio_detect()
|
D | a100u2w.c | 1080 .sg_tablesize = SG_ALL, 1157 shost->sg_tablesize = TOTAL_SG_ENTRY; in inia100_probe_one()
|
D | g_NCR5380.c | 710 .sg_tablesize = SG_ALL,
|
D | scsi_lib.c | 1936 shost->sg_tablesize, SCSI_MAX_SG_SEGMENTS) * in scsi_mq_prep_fn() 2108 blk_queue_max_segments(q, min_t(unsigned short, shost->sg_tablesize, in __scsi_init_queue() 2115 BUG_ON(shost->sg_prot_tablesize < shost->sg_tablesize); in __scsi_init_queue() 2190 tbl_size = shost->sg_tablesize; in scsi_mq_setup_tags()
|
D | wd7000.c | 1508 sh->sg_tablesize = 1; in wd7000_detect() 1652 .sg_tablesize = WD7000_SG,
|
D | virtio_scsi.c | 538 BUG_ON(scsi_sg_count(sc) > shost->sg_tablesize); in virtscsi_queuecommand() 980 shost->sg_tablesize = sg_elems; in virtscsi_probe()
|
D | aha1740.c | 546 .sg_tablesize = AHA1740_SCATTER,
|
D | qlogicpti.c | 963 host->sg_tablesize = QLOGICPTI_MAX_SG(num_free); in update_can_queue() 1289 .sg_tablesize = QLOGICPTI_MAX_SG(QLOGICPTI_REQ_QUEUE_LEN),
|
D | NCR53c406a.c | 1066 .sg_tablesize = 32 /*SG_ALL*/ /*SG_NONE*/,
|
D | sym53c416.c | 840 .sg_tablesize = 32,
|
D | advansys.c | 2429 s->cmd_per_lun, s->sg_tablesize, s->unchecked_isa_dma); in asc_prt_scsi_host() 3192 shost->sg_tablesize, shost->cmd_per_lun); in asc_prt_driver_conf() 7573 if (use_sg > scp->device->host->sg_tablesize) { in asc_build_req() 7576 scp->device->host->sg_tablesize); in asc_build_req() 7827 scp->device->host->sg_tablesize); in adv_build_req() 11225 shost->sg_tablesize = in advansys_board_found() 11229 shost->sg_tablesize = ADV_MAX_SG_LIST; in advansys_board_found() 11238 if (shost->sg_tablesize > SG_ALL) { in advansys_board_found() 11239 shost->sg_tablesize = SG_ALL; in advansys_board_found() 11242 ASC_DBG(1, "sg_tablesize: %d\n", shost->sg_tablesize); in advansys_board_found()
|
D | ppa.c | 976 .sg_tablesize = SG_ALL,
|
D | imm.c | 1111 .sg_tablesize = SG_ALL,
|
D | iscsi_tcp.c | 957 .sg_tablesize = 4096,
|
D | aha1542.c | 952 .sg_tablesize = 16,
|
D | wd719x.c | 884 .sg_tablesize = WD719X_SG,
|
D | fdomain.c | 1766 .sg_tablesize = 64,
|
D | mesh.c | 1839 .sg_tablesize = SG_ALL, 1913 ms->dma_cmd_size = (mesh_host->sg_tablesize + 2) * sizeof(struct dbdma_cmd); in mesh_probe()
|
D | storvsc_drv.c | 1636 host->sg_tablesize = (stor_device->max_transfer_bytes >> PAGE_SHIFT); in storvsc_probe()
|
D | nsp32.c | 275 .sg_tablesize = NSP32_SG_SIZE, 1464 seq_printf(m, "sg_tablesize: %d\n", host->sg_tablesize); in nsp32_show_info()
|
D | scsi_sysfs.c | 340 shost_rd_attr(sg_tablesize, "%hu\n");
|
D | initio.c | 2835 .sg_tablesize = SG_ALL, 2931 shost->sg_tablesize = TOTAL_SG_ENTRY; in initio_probe_one()
|
D | vmw_pvscsi.c | 971 .sg_tablesize = PVSCSI_MAX_NUM_SG_ENTRIES_PER_SEGMENT,
|
D | megaraid.c | 307 adapter->host->sg_tablesize = adapter->sglen; in mega_query_adapter() 4179 .sg_tablesize = MAX_SGLIST,
|
D | 3w-sas.c | 1554 .sg_tablesize = TW_LIBERATOR_MAX_SGL_LENGTH,
|
D | ips.c | 370 .sg_tablesize = IPS_MAX_SG, 6730 sh->sg_tablesize = sh->hostt->sg_tablesize; in ips_register_scsi()
|
D | in2000.c | 2298 .sg_tablesize = IN2000_SG,
|
D | NCR5380.c | 643 instance->sg_tablesize, instance->this_id, in prepare_info()
|
D | 3w-xxxx.c | 2234 .sg_tablesize = TW_MAX_SGL_LENGTH,
|
D | atari_NCR5380.c | 638 instance->sg_tablesize, instance->this_id, in prepare_info()
|
D | hptiop.c | 1405 host->sg_tablesize = le32_to_cpu(iop_config.max_sg_count); in hptiop_probe()
|
D | 53c700.c | 321 tpnt->sg_tablesize = NCR_700_SG_SEGMENTS; in NCR_700_detect()
|
D | 3w-9xxx.c | 1994 .sg_tablesize = TW_APACHE_MAX_SGL_LENGTH,
|
D | esp_scsi.c | 2693 .sg_tablesize = SG_ALL,
|
D | aha152x.c | 2924 .sg_tablesize = SG_ALL,
|
D | mvumi.c | 2449 host->sg_tablesize = mhba->max_sge > max_sg ? max_sg : mhba->max_sge; in mvumi_io_attach()
|
D | BusLogic.c | 2305 host->sg_tablesize = adapter->drvr_sglimit; in blogic_inithoststruct()
|
D | qla1280.c | 4219 .sg_tablesize = SG_ALL,
|
D | atp870u.c | 3160 .sg_tablesize = ATP870U_SCATTER /*SG_ALL*/ /*SG_NONE*/,
|
D | dc395x.c | 4739 .sg_tablesize = DC395x_MAX_SG_TABLESIZE,
|
D | pmcraid.c | 4251 .sg_tablesize = PMCRAID_MAX_IOADLS,
|
D | scsi_debug.c | 5308 .sg_tablesize = SCSI_MAX_SG_CHAIN_SEGMENTS,
|
D | ncr53c8xx.c | 8314 tpnt->sg_tablesize = SCSI_NCR_SG_TABLESIZE;
|
D | gdth.c | 4682 .sg_tablesize = GDTH_MAXSG,
|
D | osst.c | 5886 i = SDp->host->sg_tablesize; in osst_probe()
|
D | hpsa.c | 5279 sh->sg_tablesize = h->maxsgentries; in hpsa_scsi_host_alloc()
|
D | ipr.c | 6506 .sg_tablesize = IPR_MAX_SGLIST,
|
/linux-4.4.14/include/scsi/ |
D | scsi_host.h | 366 unsigned short sg_tablesize; member 621 short unsigned int sg_tablesize; member
|
/linux-4.4.14/drivers/scsi/esas2r/ |
D | esas2r_main.c | 249 .sg_tablesize = SCSI_MAX_SG_SEGMENTS, 274 int sg_tablesize = SCSI_MAX_SG_SEGMENTS; variable 275 module_param(sg_tablesize, int, 0); 276 MODULE_PARM_DESC(sg_tablesize, 418 host->sg_tablesize = sg_tablesize; in esas2r_probe() 595 if (sg_tablesize < 32) { in esas2r_init() 599 sg_tablesize = 32; in esas2r_init()
|
D | esas2r.h | 87 extern int sg_tablesize;
|
/linux-4.4.14/drivers/usb/storage/ |
D | uas-detect.h | 121 if (udev->bus->sg_tablesize == 0) { in uas_use_uas_driver()
|
D | usb.c | 922 if (usb_dev->bus->sg_tablesize) { in usb_stor_sg_tablesize() 923 return usb_dev->bus->sg_tablesize; in usb_stor_sg_tablesize() 955 host->sg_tablesize = usb_stor_sg_tablesize(intf); in usb_stor_probe1()
|
D | uas.c | 417 urb->num_sgs = udev->bus->sg_tablesize ? sdb->table.nents : 0; in uas_alloc_data_urb() 828 .sg_tablesize = SG_NONE, 928 shost->sg_tablesize = udev->bus->sg_tablesize; in uas_probe()
|
D | scsiglue.c | 566 .sg_tablesize = SCSI_MAX_SG_CHAIN_SEGMENTS,
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 208 unsigned int sg_tablesize; member
|
D | ib_srp.c | 2799 .sg_tablesize = SRP_DEF_SG_TABLESIZE, 3138 target->sg_tablesize = token; in srp_parse_options() 3218 target->sg_tablesize = indirect_sg_entries ? : cmd_sg_entries; in srp_create_target() 3248 target->cmd_sg_cnt < target->sg_tablesize) { in srp_create_target() 3250 target->sg_tablesize = target->cmd_sg_cnt; in srp_create_target() 3253 target_host->sg_tablesize = target->sg_tablesize; in srp_create_target() 3254 target->indirect_size = target->sg_tablesize * in srp_create_target()
|
/linux-4.4.14/drivers/staging/unisys/visorhba/ |
D | visorhba_main.c | 602 .sg_tablesize = 64, 1116 scsihost->sg_tablesize = in visorhba_probe() 1118 if (scsihost->sg_tablesize > MAX_PHYS_INFO) in visorhba_probe() 1119 scsihost->sg_tablesize = MAX_PHYS_INFO; in visorhba_probe()
|
/linux-4.4.14/drivers/scsi/arm/ |
D | oak.c | 114 .sg_tablesize = SG_ALL,
|
D | arxescsi.c | 247 .sg_tablesize = SG_ALL,
|
D | cumana_1.c | 210 .sg_tablesize = SG_ALL,
|
D | powertec.c | 294 .sg_tablesize = SCSI_MAX_SG_CHAIN_SEGMENTS,
|
D | cumana_2.c | 368 .sg_tablesize = SCSI_MAX_SG_CHAIN_SEGMENTS,
|
D | eesox.c | 487 .sg_tablesize = SCSI_MAX_SG_CHAIN_SEGMENTS,
|
D | acornscsi.c | 2889 .sg_tablesize = SG_ALL,
|
/linux-4.4.14/drivers/ata/ |
D | pata_sc1200.c | 210 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
|
D | pata_cs5530.c | 163 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
|
D | pata_cs5520.c | 107 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
|
D | pata_atiixp.c | 254 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
|
D | ahci.h | 369 .sg_tablesize = AHCI_MAX_SG, \
|
D | sata_nv.c | 396 .sg_tablesize = NV_ADMA_SGTBL_TOTAL_LEN, 404 .sg_tablesize = LIBATA_MAX_PRD, 681 unsigned short sg_tablesize; in nv_adma_slave_config() local 705 sg_tablesize = LIBATA_MAX_PRD - 1; in nv_adma_slave_config() 713 sg_tablesize = NV_ADMA_SGTBL_TOTAL_LEN; in nv_adma_slave_config() 772 blk_queue_max_segments(sdev->request_queue, sg_tablesize); in nv_adma_slave_config() 776 segment_boundary, sg_tablesize); in nv_adma_slave_config()
|
D | pata_serverworks.c | 256 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
|
D | pata_icside.c | 297 .sg_tablesize = SCSI_MAX_SG_CHAIN_SEGMENTS,
|
D | sata_qstor.c | 129 .sg_tablesize = QS_MAX_PRD,
|
D | sata_sil.c | 181 .sg_tablesize = ATA_MAX_PRD
|
D | pdc_adma.c | 144 .sg_tablesize = LIBATA_MAX_PRD,
|
D | sata_inic162x.c | 248 .sg_tablesize = LIBATA_MAX_PRD, /* maybe it can be larger? */
|
D | pata_ep93xx.c | 878 .sg_tablesize = 32,
|
D | sata_rcar.c | 644 .sg_tablesize = ATA_MAX_PRD,
|
D | pata_arasan_cf.c | 222 .sg_tablesize = SG_NONE,
|
D | pata_macio.c | 913 .sg_tablesize = MAX_DCMDS,
|
D | sata_sil24.c | 389 .sg_tablesize = SIL24_MAX_SGE,
|
D | sata_promise.c | 180 .sg_tablesize = PDC_MAX_PRD,
|
D | sata_dwc_460ex.c | 1149 .sg_tablesize = LIBATA_MAX_PRD,
|
D | pata_bf54x.c | 1412 .sg_tablesize = BFIN_MAX_SG_SEGMENTS,
|
D | sata_sx4.c | 246 .sg_tablesize = LIBATA_MAX_PRD,
|
D | sata_fsl.c | 1413 .sg_tablesize = SATA_FSL_MAX_PRD_USABLE,
|
D | sata_mv.c | 677 .sg_tablesize = MV_MAX_SG_CT / 2, 684 .sg_tablesize = MV_MAX_SG_CT / 2,
|
/linux-4.4.14/drivers/s390/scsi/ |
D | zfcp_scsi.c | 293 .sg_tablesize = (((QDIO_MAX_ELEMENTS_PER_BUFFER - 1) 657 shost->sg_tablesize = adapter->qdio->max_sbale_per_req / 2; in zfcp_scsi_set_prot() 658 shost->max_sectors = shost->sg_tablesize * 8; in zfcp_scsi_set_prot()
|
D | zfcp_qdio.c | 433 adapter->scsi_host->sg_tablesize = qdio->max_sbale_per_req; in zfcp_qdio_open()
|
/linux-4.4.14/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 3153 unsigned short sg_tablesize; in _base_allocate_memory_pools() local 3166 sg_tablesize = max_sgl_entries; in _base_allocate_memory_pools() 3169 sg_tablesize = MPT2SAS_SG_DEPTH; in _base_allocate_memory_pools() 3171 sg_tablesize = MPT3SAS_SG_DEPTH; in _base_allocate_memory_pools() 3174 if (sg_tablesize < MPT_MIN_PHYS_SEGMENTS) in _base_allocate_memory_pools() 3175 sg_tablesize = MPT_MIN_PHYS_SEGMENTS; in _base_allocate_memory_pools() 3176 else if (sg_tablesize > MPT_MAX_PHYS_SEGMENTS) { in _base_allocate_memory_pools() 3177 sg_tablesize = min_t(unsigned short, sg_tablesize, in _base_allocate_memory_pools() 3182 sg_tablesize, MPT_MAX_PHYS_SEGMENTS); in _base_allocate_memory_pools() 3184 ioc->shost->sg_tablesize = sg_tablesize; in _base_allocate_memory_pools() [all …]
|
D | mpt3sas_scsih.c | 8333 .sg_tablesize = MPT2SAS_SG_DEPTH, 8371 .sg_tablesize = MPT3SAS_SG_DEPTH,
|
/linux-4.4.14/drivers/scsi/pcmcia/ |
D | qlogic_stub.c | 74 .sg_tablesize = SG_ALL,
|
D | sym53c500_cs.c | 682 .sg_tablesize = 32,
|
D | nsp_cs.c | 88 .sg_tablesize = SG_ALL, 1383 seq_printf(m, "sg_tablesize: %d\n", host->sg_tablesize); in nsp_show_info()
|
/linux-4.4.14/drivers/message/fusion/ |
D | mptfc.c | 129 .sg_tablesize = MPT_SCSI_SG_DEPTH, 1286 if (numSGE < sh->sg_tablesize) { in mptfc_probe() 1290 ioc->name, numSGE, sh->sg_tablesize)); in mptfc_probe() 1291 sh->sg_tablesize = numSGE; in mptfc_probe()
|
D | mptspi.c | 848 .sg_tablesize = MPT_SCSI_SG_DEPTH, 1486 if (numSGE < sh->sg_tablesize) { in mptspi_probe() 1490 ioc->name, numSGE, sh->sg_tablesize)); in mptspi_probe() 1491 sh->sg_tablesize = numSGE; in mptspi_probe()
|
D | mptsas.c | 1992 .sg_tablesize = MPT_SCSI_SG_DEPTH, 5244 if (numSGE < sh->sg_tablesize) { in mptsas_probe() 5248 ioc->name, numSGE, sh->sg_tablesize)); in mptsas_probe() 5249 sh->sg_tablesize = numSGE; in mptsas_probe()
|
/linux-4.4.14/arch/ia64/hp/sim/ |
D | simscsi.c | 346 .sg_tablesize = SG_ALL,
|
/linux-4.4.14/drivers/usb/host/whci/ |
D | hcd.c | 252 usb_hcd->self.sg_tablesize = 2048; /* somewhat arbitrary */ in whc_probe()
|
/linux-4.4.14/Documentation/scsi/ |
D | scsi-parameters.txt | 55 <can_queue>,<cmd_per_lun>,<sg_tablesize>,<hostid>,<use_tags>
|
D | scsi_mid_low_api.txt | 1206 sg_tablesize - maximum scatter gather elements allowed by host.
|
D | ChangeLog.1992-1997 | 897 * eata.c: Set sg_tablesize correctly for DPT PM2012 boards.
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfad_im.c | 728 sht->sg_tablesize = bfad->cfg_data.io_max_sge; in bfad_scsi_host_alloc() 797 .sg_tablesize = BFAD_IO_MAX_SGE, 819 .sg_tablesize = BFAD_IO_MAX_SGE,
|
/linux-4.4.14/drivers/scsi/mvsas/ |
D | mv_init.c | 60 .sg_tablesize = SG_ALL, 505 shost->sg_tablesize = min_t(u16, SG_ALL, MVS_MAX_SG); in mvs_post_sas_ha_init()
|
/linux-4.4.14/drivers/usb/image/ |
D | microtek.c | 635 .sg_tablesize = SG_ALL,
|
/linux-4.4.14/Documentation/ABI/stable/ |
D | sysfs-driver-ib_srp | 52 * sg_tablesize, a number in the range 1..2048 specifying the
|
/linux-4.4.14/drivers/scsi/isci/ |
D | init.c | 164 .sg_tablesize = SG_ALL,
|
/linux-4.4.14/drivers/usb/host/ |
D | uhci-hcd.c | 573 hcd->self.sg_tablesize = ~0; in uhci_start()
|
D | hwa-hc.c | 815 usb_hcd->self.sg_tablesize = ~0; in hwahc_probe()
|
D | ehci-hcd.c | 567 hcd->self.sg_tablesize = ~0; in ehci_init()
|
D | ohci-hcd.c | 447 hcd->self.sg_tablesize = ~0; in ohci_init()
|
D | max3421-hcd.c | 1495 hcd->self.sg_tablesize = 0; in max3421_reset()
|
D | xhci.c | 4858 hcd->self.sg_tablesize = ~0; in xhci_gen_setup()
|
D | fotg210-hcd.c | 5039 hcd->self.sg_tablesize = ~0; in hcd_fotg210_init()
|
/linux-4.4.14/include/linux/ |
D | libata.h | 1809 .sg_tablesize = LIBATA_MAX_PRD, \ 1877 .sg_tablesize = LIBATA_MAX_PRD, \
|
D | usb.h | 370 unsigned sg_tablesize; /* 0 or largest number of sg list entries */ member
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_target.h | 839 int datasegs_per_cmd, datasegs_per_cont, sg_tablesize; member
|
D | qla_os.c | 264 .sg_tablesize = SG_ALL, 2602 host->sg_tablesize = 32; in qla2x00_probe_one() 2605 host->sg_tablesize = QLA_SG_ALL; in qla2x00_probe_one() 2735 base_vha->mgmt_svr_loop_id, host->sg_tablesize); in qla2x00_probe_one() 2831 host->sg_tablesize = (ha->mr.extended_io_enabled) ? in qla2x00_probe_one()
|
D | qla_target.c | 5796 tgt->sg_tablesize = QLA_TGT_MAX_SG_24XX(base_vha->req->length - 3); in qlt_add_target()
|
/linux-4.4.14/drivers/staging/rts5208/ |
D | rtsx.c | 241 .sg_tablesize = SG_ALL,
|
/linux-4.4.14/drivers/target/loopback/ |
D | tcm_loop.c | 373 .sg_tablesize = 256,
|
/linux-4.4.14/drivers/scsi/ibmvscsi/ |
D | ibmvscsi.c | 1407 hostdata->host->sg_tablesize = MAX_INDIRECT_BUFS; in adapter_info_rsp() 2144 .sg_tablesize = SG_ALL,
|
D | ibmvfc.c | 3094 .sg_tablesize = SG_ALL,
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
D | aic94xx_init.c | 69 .sg_tablesize = SG_ALL,
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_scsi.c | 2281 .sg_tablesize = CSIO_SCSI_MAX_SGE, 2300 .sg_tablesize = CSIO_SCSI_MAX_SGE,
|
/linux-4.4.14/drivers/scsi/fnic/ |
D | fnic_main.c | 118 .sg_tablesize = FNIC_MAX_SG_DESC_CNT,
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic79xx_osm.c | 1241 host->sg_tablesize = AHD_NSEG; in ahd_linux_register_host() 1247 host->sg_tablesize = AHD_NSEG; in ahd_linux_register_host()
|
D | aic7xxx_osm.c | 1111 host->sg_tablesize = AHC_NSEG; in ahc_linux_register_host()
|
/linux-4.4.14/drivers/usb/core/ |
D | devio.c | 1376 if (num_sgs == 1 || num_sgs > ps->dev->bus->sg_tablesize) in proc_do_submiturb() 2053 if (ps->dev->bus->sg_tablesize) in proc_get_capabilities()
|
D | message.c | 377 if (dev->bus->sg_tablesize > 0) { in usb_sg_init()
|
/linux-4.4.14/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 135 .sg_tablesize = ARCMSR_DEFAULT_SG_ENTRIES, 523 acb->host->sg_tablesize = max_sg_entrys; in arcmsr_alloc_ccb_pool() 1353 if (unlikely(nseg > acb->host->sg_tablesize || nseg < 0)) in arcmsr_build_ccb()
|
/linux-4.4.14/drivers/firewire/ |
D | sbp2.c | 1612 .sg_tablesize = SG_ALL,
|
/linux-4.4.14/drivers/scsi/pm8001/ |
D | pm8001_init.c | 85 .sg_tablesize = SG_ALL,
|
/linux-4.4.14/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 90 .sg_tablesize = SG_ALL,
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_scsi.c | 5910 .sg_tablesize = LPFC_DEFAULT_SG_SEG_CNT, 5935 .sg_tablesize = LPFC_DEFAULT_SG_SEG_CNT, 5959 .sg_tablesize = LPFC_DEFAULT_SG_SEG_CNT,
|
D | lpfc_init.c | 3318 shost->sg_tablesize = phba->cfg_sg_seg_cnt; in lpfc_create_port() 5009 lpfc_vport_template.sg_tablesize = phba->cfg_sg_seg_cnt; in lpfc_sli_driver_resource_setup() 5010 lpfc_template_s3.sg_tablesize = phba->cfg_sg_seg_cnt; in lpfc_sli_driver_resource_setup() 5243 lpfc_vport_template.sg_tablesize = phba->cfg_sg_seg_cnt; in lpfc_sli4_driver_resource_setup() 5244 lpfc_template.sg_tablesize = phba->cfg_sg_seg_cnt; in lpfc_sli4_driver_resource_setup()
|
/linux-4.4.14/drivers/block/ |
D | cciss_scsi.c | 857 sh->sg_tablesize = h->maxsgentries; in cciss_scsi_detect()
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 1371 shost->sg_tablesize = SYM_CONF_MAX_SG; in sym_attach()
|
/linux-4.4.14/drivers/scsi/bnx2i/ |
D | bnx2i_iscsi.c | 2272 .sg_tablesize = ISCSI_MAX_BDS_PER_CMD,
|
/linux-4.4.14/drivers/scsi/fcoe/ |
D | fcoe.c | 288 .sg_tablesize = SG_ALL,
|
/linux-4.4.14/drivers/scsi/cxlflash/ |
D | main.c | 2266 .sg_tablesize = SG_NONE, /* No scatter gather support */
|
/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 98 .sg_tablesize = SG_ALL,
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 2868 .sg_tablesize = BNX2FC_MAX_BDS_PER_CMD,
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 2466 hcd->self.sg_tablesize = ~0; in dummy_setup()
|
/linux-4.4.14/drivers/usb/dwc2/ |
D | hcd.c | 3136 hcd->self.sg_tablesize = 0; in dwc2_hcd_init()
|
/linux-4.4.14/drivers/scsi/megaraid/ |
D | megaraid_mbox.c | 650 host->sg_tablesize = adapter->sglen; in megaraid_io_attach()
|
D | megaraid_sas_base.c | 5228 host->sg_tablesize = instance->max_num_sge; in megasas_io_attach()
|
/linux-4.4.14/drivers/scsi/ufs/ |
D | ufshcd.c | 4348 .sg_tablesize = SG_ALL,
|
/linux-4.4.14/drivers/scsi/be2iscsi/ |
D | be_main.c | 565 .sg_tablesize = BEISCSI_SGLIST_ELEMENTS,
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 209 .sg_tablesize = SG_ALL,
|