Lines Matching refs:SG_CHUNK_SIZE
17 #if (SG_CHUNK_SIZE < 32)
18 #error SG_CHUNK_SIZE is too small (must be 32 or greater)
23 #if (SG_CHUNK_SIZE > 32)
25 #if (SG_CHUNK_SIZE > 64)
27 #if (SG_CHUNK_SIZE > 128)
29 #if (SG_CHUNK_SIZE > 256)
30 #error SG_CHUNK_SIZE is too large (256 MAX)
35 SP(SG_CHUNK_SIZE)
43 BUG_ON(nents > SG_CHUNK_SIZE); in sg_pool_index()
81 if (first_chunk && table->orig_nents <= SG_CHUNK_SIZE) in sg_free_table_chained()
83 __sg_free_table(table, SG_CHUNK_SIZE, first_chunk, sg_pool_free); in sg_free_table_chained()
106 if (nents <= SG_CHUNK_SIZE) { in sg_alloc_table_chained()
113 ret = __sg_alloc_table(table, nents, SG_CHUNK_SIZE, in sg_alloc_table_chained()