Lines Matching refs:SCSI_MAX_SG_SEGMENTS
46 #if (SCSI_MAX_SG_SEGMENTS < 32)
47 #error SCSI_MAX_SG_SEGMENTS is too small (must be 32 or greater)
52 #if (SCSI_MAX_SG_SEGMENTS > 32)
54 #if (SCSI_MAX_SG_SEGMENTS > 64)
56 #if (SCSI_MAX_SG_SEGMENTS > 128)
58 #if (SCSI_MAX_SG_SEGMENTS > 256)
59 #error SCSI_MAX_SG_SEGMENTS is too large (256 MAX)
64 SP(SCSI_MAX_SG_SEGMENTS)
580 BUG_ON(nents > SCSI_MAX_SG_SEGMENTS);
613 ret = __sg_alloc_table(&sdb->table, nents, SCSI_MAX_SG_SEGMENTS,
616 __sg_free_table(&sdb->table, SCSI_MAX_SG_SEGMENTS,
624 __sg_free_table(&sdb->table, SCSI_MAX_SG_SEGMENTS, scsi_sg_free);