Home
last modified time | relevance | path

Searched refs:sg_tablesize (Results 1 – 25 of 176) sorted by relevance

12345678

/Linux-v5.15/drivers/scsi/snic/
Dsnic_ctl.c200 snic->shost->sg_tablesize = max_sgs; in snic_io_exch_ver_cmpl_handler()
202 snic->shost->sg_tablesize); in snic_io_exch_ver_cmpl_handler()
203 } else if (max_sgs > snic->shost->sg_tablesize) { in snic_io_exch_ver_cmpl_handler()
207 snic->shost->sg_tablesize); in snic_io_exch_ver_cmpl_handler()
/Linux-v5.15/drivers/infiniband/ulp/iser/
Discsi_iser.c648 shost->sg_tablesize = iser_conn->scsi_sg_tablesize; in iscsi_iser_session_create()
664 shost->sg_prot_tablesize = shost->sg_tablesize; in iscsi_iser_session_create()
684 max_fr_sectors = (shost->sg_tablesize * PAGE_SIZE) >> 9; in iscsi_iser_session_create()
688 iser_conn, shost->sg_tablesize, in iscsi_iser_session_create()
984 .sg_tablesize = ISCSI_ISER_DEF_SG_TABLESIZE,
Diser_verbs.c514 unsigned short sg_tablesize, sup_sg_tablesize; in iser_calc_scsi_params() local
534 sg_tablesize = DIV_ROUND_UP(max_sectors * SECTOR_SIZE, SZ_4K); in iser_calc_scsi_params()
537 iser_conn->scsi_sg_tablesize = min(sg_tablesize, sup_sg_tablesize); in iser_calc_scsi_params()
/Linux-v5.15/drivers/scsi/aacraid/
Dcomminit.c524 dev->sg_tablesize = host->sg_tablesize = (dev->max_fib_size in aac_init_adapter()
610 host->sg_tablesize = status[2] >> 16; in aac_init_adapter()
611 dev->sg_tablesize = status[2] & 0xFFFF; in aac_init_adapter()
Dlinit.c1497 .sg_tablesize = 16,
1718 (shost->sg_tablesize > 34)) { in aac_probe_one()
1719 shost->sg_tablesize = 34; in aac_probe_one()
1720 shost->max_sectors = (shost->sg_tablesize * 8) + 112; in aac_probe_one()
1724 (shost->sg_tablesize > 17)) { in aac_probe_one()
1725 shost->sg_tablesize = 17; in aac_probe_one()
1726 shost->max_sectors = (shost->sg_tablesize * 8) + 112; in aac_probe_one()
/Linux-v5.15/drivers/scsi/
Datari_scsi.c738 atari_scsi_template.sg_tablesize = SG_ALL; in atari_scsi_probe()
741 atari_scsi_template.sg_tablesize = 1; in atari_scsi_probe()
752 atari_scsi_template.sg_tablesize = setup_sg_tablesize; in atari_scsi_probe()
Dxen-scsifront.c419 if (data_grants > info->host->sg_tablesize) { in map_data_for_request()
704 .sg_tablesize = VSCSIIF_SG_TABLESIZE,
861 host->max_sectors = (host->sg_tablesize - 1) * PAGE_SIZE / 512; in scsifront_probe()
1076 else if (info->pause && nr_segs < host->sg_tablesize) in scsifront_read_backend_params()
1079 host->sg_tablesize, nr_segs); in scsifront_read_backend_params()
1081 host->sg_tablesize = nr_segs; in scsifront_read_backend_params()
Ddmx3191d.c52 .sg_tablesize = SG_ALL,
Dmac53c94.c405 .sg_tablesize = SG_ALL,
467 dma_cmd_space = kmalloc_array(host->sg_tablesize + 2, in mac53c94_probe()
478 memset(state->dma_cmds, 0, (host->sg_tablesize + 1) in mac53c94_probe()
Dmvme147.c78 .sg_tablesize = SG_ALL,
Dmac_scsi.c434 .sg_tablesize = 1,
468 mac_scsi_template.sg_tablesize = setup_sg_tablesize; in mac_scsi_probe()
Dqlogicfas.c195 .sg_tablesize = SG_ALL,
Dhosts.c423 shost->sg_tablesize = sht->sg_tablesize; in scsi_host_alloc()
Dsun3_scsi.c505 .sg_tablesize = 1,
528 sun3_scsi_template.sg_tablesize = setup_sg_tablesize; in sun3_scsi_probe()
/Linux-v5.15/include/scsi/
Dscsi_host.h387 unsigned short sg_tablesize; member
614 short unsigned int sg_tablesize; member
/Linux-v5.15/drivers/scsi/esas2r/
Desas2r_main.c248 .sg_tablesize = SG_CHUNK_SIZE,
271 int sg_tablesize = SG_CHUNK_SIZE; variable
272 module_param(sg_tablesize, int, 0);
273 MODULE_PARM_DESC(sg_tablesize,
414 host->sg_tablesize = sg_tablesize; in esas2r_probe()
563 if (sg_tablesize < 32) { in esas2r_init()
567 sg_tablesize = 32; in esas2r_init()
/Linux-v5.15/drivers/staging/unisys/visorhba/
Dvisorhba_main.c590 .sg_tablesize = 64,
997 scsihost->sg_tablesize = in visorhba_probe()
999 if (scsihost->sg_tablesize > MAX_PHYS_INFO) in visorhba_probe()
1000 scsihost->sg_tablesize = MAX_PHYS_INFO; in visorhba_probe()
/Linux-v5.15/drivers/usb/storage/
Duas-detect.h127 if (udev->bus->sg_tablesize == 0) { in uas_use_uas_driver()
Dusb.c929 if (usb_dev->bus->sg_tablesize) { in usb_stor_sg_tablesize()
930 return usb_dev->bus->sg_tablesize; in usb_stor_sg_tablesize()
962 host->sg_tablesize = usb_stor_sg_tablesize(intf); in usb_stor_probe1()
/Linux-v5.15/drivers/scsi/arm/
Doak.c112 .sg_tablesize = SG_ALL,
/Linux-v5.15/drivers/ata/
Dpata_sc1200.c197 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
Dpata_cs5530.c151 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
/Linux-v5.15/drivers/infiniband/ulp/srp/
Dib_srp.h217 unsigned int sg_tablesize; member
/Linux-v5.15/drivers/scsi/mpt3sas/
Dmpt3sas_base.c6112 unsigned short sg_tablesize; in _base_allocate_memory_pools() local
6125 sg_tablesize = max_sgl_entries; in _base_allocate_memory_pools()
6128 sg_tablesize = MPT2SAS_SG_DEPTH; in _base_allocate_memory_pools()
6130 sg_tablesize = MPT3SAS_SG_DEPTH; in _base_allocate_memory_pools()
6135 sg_tablesize = min_t(unsigned short, sg_tablesize, in _base_allocate_memory_pools()
6139 ioc->shost->sg_tablesize = MPT_MIN_PHYS_SEGMENTS; in _base_allocate_memory_pools()
6141 if (sg_tablesize < MPT_MIN_PHYS_SEGMENTS) in _base_allocate_memory_pools()
6142 sg_tablesize = MPT_MIN_PHYS_SEGMENTS; in _base_allocate_memory_pools()
6143 else if (sg_tablesize > MPT_MAX_PHYS_SEGMENTS) { in _base_allocate_memory_pools()
6144 sg_tablesize = min_t(unsigned short, sg_tablesize, in _base_allocate_memory_pools()
[all …]
/Linux-v5.15/drivers/scsi/pcmcia/
Dqlogic_stub.c74 .sg_tablesize = SG_ALL,

12345678