Searched refs:SCSI_MAX_SG_SEGMENTS (Results 1 - 7 of 7) sorted by relevance
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_lib.c | 52 #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 D | scsi.h | 28 #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 D | scsi_host.h | 40 #define SG_ALL SCSI_MAX_SG_SEGMENTS
|
/linux-4.1.27/drivers/scsi/esas2r/ |
H A D | esas2r_main.c | 249 .sg_tablesize = SCSI_MAX_SG_SEGMENTS, 275 int sg_tablesize = SCSI_MAX_SG_SEGMENTS;
|
/linux-4.1.27/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_base.h | 83 #define MPT3SAS_MAX_PHYS_SEGMENTS SCSI_MAX_SG_SEGMENTS
|
H A D | mpt3sas_base.c | 2693 " defined SCSI_MAX_SG_SEGMENTS(%u)\n", ioc->name, _base_allocate_memory_pools()
|
/linux-4.1.27/drivers/scsi/mpt2sas/ |
H A D | mpt2sas_base.c | 2519 " SCSI_MAX_SG_SEGMENTS(%u)\n", ioc->name, _base_allocate_memory_pools()
|
Completed in 231 milliseconds