Home
last modified time | relevance | path

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

1234567

/drivers/scsi/snic/
Dsnic_ctl.c186 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()
/drivers/infiniband/ulp/iser/
Discsi_iser.c631 shost->sg_tablesize = iser_conn->scsi_sg_tablesize; in iscsi_iser_session_create()
647 shost->sg_prot_tablesize = shost->sg_tablesize; in iscsi_iser_session_create()
667 max_fr_sectors = (shost->sg_tablesize * PAGE_SIZE) >> 9; in iscsi_iser_session_create()
671 iser_conn, shost->sg_tablesize, in iscsi_iser_session_create()
964 .sg_tablesize = ISCSI_ISER_DEF_SG_TABLESIZE,
Diser_verbs.c492 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()
/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.c1500 .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()
/drivers/scsi/
Dxen-scsifront.c491 if (data_grants > info->host->sg_tablesize) { in map_data_for_request()
785 .sg_tablesize = VSCSIIF_SG_TABLESIZE,
928 host->max_sectors = (host->sg_tablesize - 1) * PAGE_SIZE / 512; in scsifront_probe()
1144 else if (info->pause && nr_segs < host->sg_tablesize) in scsifront_read_backend_params()
1147 host->sg_tablesize, nr_segs); in scsifront_read_backend_params()
1149 host->sg_tablesize = nr_segs; in scsifront_read_backend_params()
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()
Dmac53c94.c402 .sg_tablesize = SG_ALL,
465 dma_cmd_space = kmalloc_array(host->sg_tablesize + 2, in mac53c94_probe()
476 memset(state->dma_cmds, 0, (host->sg_tablesize + 1) in mac53c94_probe()
Dmac_scsi.c435 .sg_tablesize = 1,
469 mac_scsi_template.sg_tablesize = setup_sg_tablesize; in mac_scsi_probe()
Ddmx3191d.c52 .sg_tablesize = SG_ALL,
Dmvme147.c83 .sg_tablesize = SG_ALL,
Dsun3_scsi.c505 .sg_tablesize = 1,
528 sun3_scsi_template.sg_tablesize = setup_sg_tablesize; in sun3_scsi_probe()
Dqlogicfas.c199 .sg_tablesize = SG_ALL,
Dhosts.c440 shost->sg_tablesize = sht->sg_tablesize; in scsi_host_alloc()
Dsg.c166 int sg_tablesize; /* adapter's max scatter-gather table size */ member
350 sdp->sg_tablesize = queue_max_segments(q); in sg_open()
1024 return put_user(sdp->sg_tablesize, ip); in sg_ioctl_common()
1478 sdp->sg_tablesize = queue_max_segments(q); in sg_alloc()
1876 int sg_tablesize = sfp->parentdp->sg_tablesize; in sg_build_indirect() local
1891 mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); in sg_build_indirect()
2622 sdp->sg_tablesize, sdp->exclude, sdp->open_cnt); in sg_proc_seq_show_debug()
/drivers/scsi/esas2r/
Desas2r_main.c248 .sg_tablesize = SG_CHUNK_SIZE,
269 int sg_tablesize = SG_CHUNK_SIZE; variable
270 module_param(sg_tablesize, int, 0);
271 MODULE_PARM_DESC(sg_tablesize,
412 host->sg_tablesize = sg_tablesize; in esas2r_probe()
561 if (sg_tablesize < 32) { in esas2r_init()
565 sg_tablesize = 32; in esas2r_init()
/drivers/usb/storage/
Duas-detect.h140 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()
/drivers/ata/
Dpata_sc1200.c197 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
Dsata_nv.c381 .sg_tablesize = NV_ADMA_SGTBL_TOTAL_LEN,
392 .sg_tablesize = LIBATA_MAX_PRD,
671 unsigned short sg_tablesize; in nv_adma_slave_config() local
695 sg_tablesize = LIBATA_MAX_PRD - 1; in nv_adma_slave_config()
703 sg_tablesize = NV_ADMA_SGTBL_TOTAL_LEN; in nv_adma_slave_config()
744 blk_queue_max_segments(sdev->request_queue, sg_tablesize); in nv_adma_slave_config()
748 segment_boundary, sg_tablesize); in nv_adma_slave_config()
Dpata_cs5530.c151 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
/drivers/scsi/arm/
Doak.c112 .sg_tablesize = SG_ALL,
/drivers/infiniband/ulp/srp/
Dib_srp.h227 unsigned int sg_tablesize; member
/drivers/scsi/mpt3sas/
Dmpt3sas_base.c6292 unsigned short sg_tablesize; in _base_allocate_memory_pools() local
6305 sg_tablesize = max_sgl_entries; in _base_allocate_memory_pools()
6308 sg_tablesize = MPT2SAS_SG_DEPTH; in _base_allocate_memory_pools()
6310 sg_tablesize = MPT3SAS_SG_DEPTH; in _base_allocate_memory_pools()
6315 sg_tablesize = min_t(unsigned short, sg_tablesize, in _base_allocate_memory_pools()
6319 ioc->shost->sg_tablesize = MPT_MIN_PHYS_SEGMENTS; in _base_allocate_memory_pools()
6321 if (sg_tablesize < MPT_MIN_PHYS_SEGMENTS) in _base_allocate_memory_pools()
6322 sg_tablesize = MPT_MIN_PHYS_SEGMENTS; in _base_allocate_memory_pools()
6323 else if (sg_tablesize > MPT_MAX_PHYS_SEGMENTS) { in _base_allocate_memory_pools()
6324 sg_tablesize = min_t(unsigned short, sg_tablesize, in _base_allocate_memory_pools()
[all …]
/drivers/s390/scsi/
Dzfcp_scsi.c438 .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()

1234567