| /OK3568_Linux_fs/kernel/drivers/scsi/snic/ |
| H A D | snic_ctl.c | 203 snic->shost->sg_tablesize = max_sgs; in snic_io_exch_ver_cmpl_handler() 205 snic->shost->sg_tablesize); in snic_io_exch_ver_cmpl_handler() 206 } else if (max_sgs > snic->shost->sg_tablesize) { in snic_io_exch_ver_cmpl_handler() 210 snic->shost->sg_tablesize); in snic_io_exch_ver_cmpl_handler()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/ulp/iser/ |
| H A D | iscsi_iser.c | 634 shost->sg_tablesize = iser_conn->scsi_sg_tablesize; in iscsi_iser_session_create() 650 shost->sg_prot_tablesize = shost->sg_tablesize; in iscsi_iser_session_create() 670 max_fr_sectors = (shost->sg_tablesize * PAGE_SIZE) >> 9; in iscsi_iser_session_create() 674 iser_conn, shost->sg_tablesize, in iscsi_iser_session_create() 970 .sg_tablesize = ISCSI_ISER_DEF_SG_TABLESIZE,
|
| H A D | iser_verbs.c | 514 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()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | xen-scsifront.c | 412 if (data_grants > info->host->sg_tablesize) { in map_data_for_request() 697 .sg_tablesize = VSCSIIF_SG_TABLESIZE, 854 host->max_sectors = (host->sg_tablesize - 1) * PAGE_SIZE / 512; in scsifront_probe() 1069 else if (info->pause && nr_segs < host->sg_tablesize) in scsifront_read_backend_params() 1072 host->sg_tablesize, nr_segs); in scsifront_read_backend_params() 1074 host->sg_tablesize = nr_segs; in scsifront_read_backend_params()
|
| H A D | atari_scsi.c | 742 atari_scsi_template.sg_tablesize = SG_ALL; in atari_scsi_probe() 745 atari_scsi_template.sg_tablesize = 1; in atari_scsi_probe() 756 atari_scsi_template.sg_tablesize = setup_sg_tablesize; in atari_scsi_probe()
|
| H A D | mac53c94.c | 406 .sg_tablesize = SG_ALL, 468 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()
|
| H A D | mac_scsi.c | 434 .sg_tablesize = 1, 468 mac_scsi_template.sg_tablesize = setup_sg_tablesize; in mac_scsi_probe()
|
| H A D | dmx3191d.c | 52 .sg_tablesize = SG_ALL,
|
| H A D | mvme147.c | 78 .sg_tablesize = SG_ALL,
|
| H A D | sun3_scsi.c | 504 .sg_tablesize = 1, 527 sun3_scsi_template.sg_tablesize = setup_sg_tablesize; in sun3_scsi_probe()
|
| H A D | qlogicfas.c | 195 .sg_tablesize = SG_ALL,
|
| H A D | hosts.c | 427 shost->sg_tablesize = sht->sg_tablesize; in scsi_host_alloc()
|
| H A D | dpt_i2o.c | 564 host->can_queue, (int) pHba->reply_fifo_size , host->sg_tablesize); in adpt_show_info() 1706 sg_list = kcalloc(pHba->sg_tablesize, sizeof(*sg_list), GFP_KERNEL); in adpt_i2o_passthru() 1715 if (sg_count > pHba->sg_tablesize){ in adpt_i2o_passthru() 2332 host->sg_tablesize = pHba->sg_tablesize; in adpt_scsi_host_alloc() 2933 pHba->sg_tablesize in adpt_i2o_status_get() 2938 pHba->sg_tablesize in adpt_i2o_status_get() 2943 if (pHba->sg_tablesize > SG_LIST_ELEMENTS) { in adpt_i2o_status_get() 2944 pHba->sg_tablesize = SG_LIST_ELEMENTS; in adpt_i2o_status_get()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/aacraid/ |
| H A D | comminit.c | 524 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()
|
| H A D | linit.c | 1497 .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()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/esas2r/ |
| H A D | esas2r_main.c | 248 .sg_tablesize = SG_CHUNK_SIZE, 272 int sg_tablesize = SG_CHUNK_SIZE; variable 273 module_param(sg_tablesize, int, 0); 274 MODULE_PARM_DESC(sg_tablesize, 416 host->sg_tablesize = sg_tablesize; in esas2r_probe() 565 if (sg_tablesize < 32) { in esas2r_init() 569 sg_tablesize = 32; in esas2r_init()
|
| /OK3568_Linux_fs/kernel/include/scsi/ |
| H A D | scsi_host.h | 363 unsigned short sg_tablesize; member 604 short unsigned int sg_tablesize; member
|
| /OK3568_Linux_fs/kernel/drivers/staging/unisys/visorhba/ |
| H A D | visorhba_main.c | 644 .sg_tablesize = 64, 1071 scsihost->sg_tablesize = in visorhba_probe() 1073 if (scsihost->sg_tablesize > MAX_PHYS_INFO) in visorhba_probe() 1074 scsihost->sg_tablesize = MAX_PHYS_INFO; in visorhba_probe()
|
| /OK3568_Linux_fs/kernel/drivers/usb/storage/ |
| H A D | uas-detect.h | 127 if (udev->bus->sg_tablesize == 0) { in uas_use_uas_driver()
|
| H A D | usb.c | 929 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()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/mpt3sas/ |
| H A D | mpt3sas_base.c | 5140 unsigned short sg_tablesize; in _base_allocate_memory_pools() local 5154 sg_tablesize = max_sgl_entries; in _base_allocate_memory_pools() 5157 sg_tablesize = MPT2SAS_SG_DEPTH; in _base_allocate_memory_pools() 5159 sg_tablesize = MPT3SAS_SG_DEPTH; in _base_allocate_memory_pools() 5164 sg_tablesize = min_t(unsigned short, sg_tablesize, in _base_allocate_memory_pools() 5168 ioc->shost->sg_tablesize = MPT_MIN_PHYS_SEGMENTS; in _base_allocate_memory_pools() 5170 if (sg_tablesize < MPT_MIN_PHYS_SEGMENTS) in _base_allocate_memory_pools() 5171 sg_tablesize = MPT_MIN_PHYS_SEGMENTS; in _base_allocate_memory_pools() 5172 else if (sg_tablesize > MPT_MAX_PHYS_SEGMENTS) { in _base_allocate_memory_pools() 5173 sg_tablesize = min_t(unsigned short, sg_tablesize, in _base_allocate_memory_pools() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/arm/ |
| H A D | oak.c | 112 .sg_tablesize = SG_ALL,
|
| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A D | pata_sc1200.c | 197 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
|
| H A D | sata_nv.c | 380 .sg_tablesize = NV_ADMA_SGTBL_TOTAL_LEN, 388 .sg_tablesize = LIBATA_MAX_PRD, 664 unsigned short sg_tablesize; in nv_adma_slave_config() local 688 sg_tablesize = LIBATA_MAX_PRD - 1; in nv_adma_slave_config() 696 sg_tablesize = NV_ADMA_SGTBL_TOTAL_LEN; in nv_adma_slave_config() 737 blk_queue_max_segments(sdev->request_queue, sg_tablesize); in nv_adma_slave_config() 741 segment_boundary, sg_tablesize); in nv_adma_slave_config()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/ulp/srp/ |
| H A D | ib_srp.h | 218 unsigned int sg_tablesize; member
|