| /Linux-v5.4/drivers/scsi/snic/ | 
| D | snic_ctl.c | 204 		snic->shost->sg_tablesize = max_sgs;  in snic_io_exch_ver_cmpl_handler() 206 			       snic->shost->sg_tablesize);  in snic_io_exch_ver_cmpl_handler() 207 	} else if (max_sgs > snic->shost->sg_tablesize) {  in snic_io_exch_ver_cmpl_handler() 211 			       snic->shost->sg_tablesize);  in snic_io_exch_ver_cmpl_handler()
  | 
| /Linux-v5.4/drivers/scsi/aacraid/ | 
| D | comminit.c | 525 	dev->sg_tablesize = host->sg_tablesize = (dev->max_fib_size  in aac_init_adapter() 606 		host->sg_tablesize = status[2] >> 16;  in aac_init_adapter() 607 		dev->sg_tablesize = status[2] & 0xFFFF;  in aac_init_adapter()
  | 
| D | linit.c | 1526 	.sg_tablesize			= 16, 1729 			(shost->sg_tablesize > 34)) {  in aac_probe_one() 1730 		shost->sg_tablesize = 34;  in aac_probe_one() 1731 		shost->max_sectors = (shost->sg_tablesize * 8) + 112;  in aac_probe_one() 1735 			(shost->sg_tablesize > 17)) {  in aac_probe_one() 1736 		shost->sg_tablesize = 17;  in aac_probe_one() 1737 		shost->max_sectors = (shost->sg_tablesize * 8) + 112;  in aac_probe_one()
  | 
| /Linux-v5.4/drivers/scsi/ | 
| D | xen-scsifront.c | 413 		if (data_grants > info->host->sg_tablesize) {  in map_data_for_request() 698 	.sg_tablesize		= VSCSIIF_SG_TABLESIZE, 855 	host->max_sectors = (host->sg_tablesize - 1) * PAGE_SIZE / 512;  in scsifront_probe() 1070 	else if (info->pause && nr_segs < host->sg_tablesize)  in scsifront_read_backend_params() 1073 			 host->sg_tablesize, nr_segs);  in scsifront_read_backend_params() 1075 	host->sg_tablesize = nr_segs;  in scsifront_read_backend_params()
  | 
| D | atari_scsi.c | 742 		atari_scsi_template.sg_tablesize = SG_ALL;  in atari_scsi_probe() 745 		atari_scsi_template.sg_tablesize = SG_NONE;  in atari_scsi_probe() 756 		atari_scsi_template.sg_tablesize = setup_sg_tablesize;  in atari_scsi_probe()
  | 
| D | dmx3191d.c | 52 	.sg_tablesize		= SG_ALL,
  | 
| D | mvme147.c | 79 	.sg_tablesize		= SG_ALL,
  | 
| 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()
  | 
| D | mac_scsi.c | 434 	.sg_tablesize		= 1, 468 		mac_scsi_template.sg_tablesize = setup_sg_tablesize;  in mac_scsi_probe()
  | 
| D | qlogicfas.c | 195 	.sg_tablesize		= SG_ALL,
  | 
| D | hosts.c | 416 	shost->sg_tablesize = sht->sg_tablesize;  in scsi_host_alloc()
  | 
| D | sun3_scsi.c | 504 	.sg_tablesize		= SG_NONE, 527 		sun3_scsi_template.sg_tablesize = setup_sg_tablesize;  in sun3_scsi_probe()
  | 
| /Linux-v5.4/include/scsi/ | 
| D | scsi_host.h | 365 	unsigned short sg_tablesize;  member 599 	short unsigned int sg_tablesize;  member
  | 
| /Linux-v5.4/drivers/infiniband/ulp/iser/ | 
| D | iscsi_iser.c | 633 		shost->sg_tablesize = iser_conn->scsi_sg_tablesize;  in iscsi_iser_session_create() 668 	max_fr_sectors = (shost->sg_tablesize * PAGE_SIZE) >> 9;  in iscsi_iser_session_create() 672 		 iser_conn, shost->sg_tablesize,  in iscsi_iser_session_create() 968 	.sg_tablesize           = ISCSI_ISER_DEF_SG_TABLESIZE,
  | 
| /Linux-v5.4/drivers/scsi/esas2r/ | 
| 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()
  | 
| /Linux-v5.4/drivers/usb/storage/ | 
| D | uas-detect.h | 127 	if (udev->bus->sg_tablesize == 0) {  in uas_use_uas_driver()
  | 
| D | usb.c | 926 	if (usb_dev->bus->sg_tablesize) {  in usb_stor_sg_tablesize() 927 		return usb_dev->bus->sg_tablesize;  in usb_stor_sg_tablesize() 959 	host->sg_tablesize = usb_stor_sg_tablesize(intf);  in usb_stor_probe1()
  | 
| D | uas.c | 433 	urb->num_sgs = udev->bus->sg_tablesize ? sdb->table.nents : 0;  in uas_alloc_data_urb() 862 	.sg_tablesize = SG_NONE, 963 	shost->sg_tablesize = udev->bus->sg_tablesize;  in uas_probe()
  | 
| /Linux-v5.4/drivers/staging/unisys/visorhba/ | 
| 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()
  | 
| /Linux-v5.4/drivers/scsi/arm/ | 
| D | oak.c | 112 	.sg_tablesize		= SG_ALL,
  | 
| /Linux-v5.4/drivers/ata/ | 
| D | pata_sc1200.c | 197 	.sg_tablesize	= LIBATA_DUMB_MAX_PRD,
  | 
| D | pata_cs5530.c | 151 	.sg_tablesize	= LIBATA_DUMB_MAX_PRD,
  | 
| /Linux-v5.4/drivers/infiniband/ulp/srp/ | 
| D | ib_srp.h | 227 	unsigned int		sg_tablesize;  member
  | 
| /Linux-v5.4/drivers/scsi/mpt3sas/ | 
| D | mpt3sas_base.c | 4838 	unsigned short sg_tablesize;  in _base_allocate_memory_pools()  local 4851 		sg_tablesize = max_sgl_entries;  in _base_allocate_memory_pools() 4854 			sg_tablesize = MPT2SAS_SG_DEPTH;  in _base_allocate_memory_pools() 4856 			sg_tablesize = MPT3SAS_SG_DEPTH;  in _base_allocate_memory_pools() 4861 		sg_tablesize = min_t(unsigned short, sg_tablesize,  in _base_allocate_memory_pools() 4865 		ioc->shost->sg_tablesize = MPT_MIN_PHYS_SEGMENTS;  in _base_allocate_memory_pools() 4867 		if (sg_tablesize < MPT_MIN_PHYS_SEGMENTS)  in _base_allocate_memory_pools() 4868 			sg_tablesize = MPT_MIN_PHYS_SEGMENTS;  in _base_allocate_memory_pools() 4869 		else if (sg_tablesize > MPT_MAX_PHYS_SEGMENTS) {  in _base_allocate_memory_pools() 4870 			sg_tablesize = min_t(unsigned short, sg_tablesize,  in _base_allocate_memory_pools() [all …] 
 | 
| /Linux-v5.4/drivers/s390/scsi/ | 
| D | zfcp_scsi.c | 438 	.sg_tablesize		 = (((QDIO_MAX_ELEMENTS_PER_BUFFER - 1) 820 		shost->sg_tablesize = adapter->qdio->max_sbale_per_req / 2;  in zfcp_scsi_set_prot() 821 		shost->max_sectors = shost->sg_tablesize * 8;  in zfcp_scsi_set_prot()
  |