Searched refs:SCSI_MAX_SG_SEGMENTS (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Dscsi_lib.c52 #if (SCSI_MAX_SG_SEGMENTS < 32)
53 #error SCSI_MAX_SG_SEGMENTS is too small (must be 32 or greater)
58 #if (SCSI_MAX_SG_SEGMENTS > 32)
60 #if (SCSI_MAX_SG_SEGMENTS > 64)
62 #if (SCSI_MAX_SG_SEGMENTS > 128)
64 #if (SCSI_MAX_SG_SEGMENTS > 256)
65 #error SCSI_MAX_SG_SEGMENTS is too large (256 MAX)
70 SP(SCSI_MAX_SG_SEGMENTS)
558 BUG_ON(nents > SCSI_MAX_SG_SEGMENTS); scsi_sgtable_index()
586 if (mq && sdb->table.orig_nents <= SCSI_MAX_SG_SEGMENTS) scsi_free_sgtable()
588 __sg_free_table(&sdb->table, SCSI_MAX_SG_SEGMENTS, mq, scsi_sg_free); scsi_free_sgtable()
599 if (nents <= SCSI_MAX_SG_SEGMENTS) { scsi_alloc_sgtable()
607 ret = __sg_alloc_table(&sdb->table, nents, SCSI_MAX_SG_SEGMENTS, scsi_alloc_sgtable()
1936 shost->sg_tablesize, SCSI_MAX_SG_SEGMENTS) * scsi_mq_prep_fn()
2191 if (tbl_size > SCSI_MAX_SG_SEGMENTS) scsi_mq_setup_tags()
2192 tbl_size = SCSI_MAX_SG_SEGMENTS; scsi_mq_setup_tags()
/linux-4.1.27/include/scsi/
H A Dscsi.h28 #define SCSI_MAX_SG_SEGMENTS 128 macro
31 * Like SCSI_MAX_SG_SEGMENTS, but for archs that have sg chaining. This limit
37 #define SCSI_MAX_SG_CHAIN_SEGMENTS SCSI_MAX_SG_SEGMENTS
H A Dscsi_host.h40 #define SG_ALL SCSI_MAX_SG_SEGMENTS
/linux-4.1.27/drivers/scsi/esas2r/
H A Desas2r_main.c249 .sg_tablesize = SCSI_MAX_SG_SEGMENTS,
275 int sg_tablesize = SCSI_MAX_SG_SEGMENTS;
/linux-4.1.27/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.h83 #define MPT3SAS_MAX_PHYS_SEGMENTS SCSI_MAX_SG_SEGMENTS
H A Dmpt3sas_base.c2693 " defined SCSI_MAX_SG_SEGMENTS(%u)\n", ioc->name, _base_allocate_memory_pools()
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_base.c2519 " SCSI_MAX_SG_SEGMENTS(%u)\n", ioc->name, _base_allocate_memory_pools()

Completed in 231 milliseconds