Searched refs:SG_CHUNK_SIZE (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/lib/ |
| D | sg_pool.c | 18 #if (SG_CHUNK_SIZE < 32) 19 #error SG_CHUNK_SIZE is too small (must be 32 or greater) 24 #if (SG_CHUNK_SIZE > 32) 26 #if (SG_CHUNK_SIZE > 64) 28 #if (SG_CHUNK_SIZE > 128) 30 #if (SG_CHUNK_SIZE > 256) 31 #error SG_CHUNK_SIZE is too large (256 MAX) 36 SP(SG_CHUNK_SIZE) 44 BUG_ON(nents > SG_CHUNK_SIZE); in sg_pool_index() 93 __sg_free_table(table, SG_CHUNK_SIZE, nents_first_chunk, sg_pool_free); in sg_free_table_chained() [all …]
|
| /Linux-v5.4/include/linux/ |
| D | scatterlist.h | 322 #define SG_CHUNK_SIZE 128 macro 329 #define SG_MAX_SEGMENTS SG_CHUNK_SIZE
|
| /Linux-v5.4/drivers/nvme/target/ |
| D | loop.c | 80 sg_free_table_chained(&iod->sg_table, SG_CHUNK_SIZE); in nvme_loop_complete_rq() 160 iod->sg_table.sgl, SG_CHUNK_SIZE)) { in nvme_loop_queue_rq() 346 SG_CHUNK_SIZE * sizeof(struct scatterlist); in nvme_loop_configure_admin_queue() 520 SG_CHUNK_SIZE * sizeof(struct scatterlist); in nvme_loop_create_io_queues()
|
| /Linux-v5.4/net/sunrpc/xprtrdma/ |
| D | svc_rdma_rw.c | 67 ctxt = kmalloc(struct_size(ctxt, rw_first_sgl, SG_CHUNK_SIZE), in svc_rdma_get_rw_ctxt() 77 SG_CHUNK_SIZE)) { in svc_rdma_get_rw_ctxt() 88 sg_free_table_chained(&ctxt->rw_sg_table, SG_CHUNK_SIZE); in svc_rdma_put_rw_ctxt()
|
| /Linux-v5.4/include/scsi/ |
| D | scsi_host.h | 39 #define SG_ALL SG_CHUNK_SIZE
|
| /Linux-v5.4/drivers/nvme/host/ |
| D | rdma.c | 734 SG_CHUNK_SIZE * sizeof(struct scatterlist); in nvme_rdma_alloc_tagset() 748 SG_CHUNK_SIZE * sizeof(struct scatterlist); in nvme_rdma_alloc_tagset() 1165 sg_free_table_chained(&req->sg_table, SG_CHUNK_SIZE); in nvme_rdma_unmap_data() 1281 SG_CHUNK_SIZE); in nvme_rdma_map_data() 1319 sg_free_table_chained(&req->sg_table, SG_CHUNK_SIZE); in nvme_rdma_map_data()
|
| D | fc.c | 98 struct scatterlist sgl[SG_CHUNK_SIZE]; 2144 SG_CHUNK_SIZE); in nvme_fc_map_data() 2153 sg_free_table_chained(&freq->sg_table, SG_CHUNK_SIZE); in nvme_fc_map_data() 2178 sg_free_table_chained(&freq->sg_table, SG_CHUNK_SIZE); in nvme_fc_unmap_data()
|
| /Linux-v5.4/drivers/scsi/esas2r/ |
| D | esas2r_main.c | 248 .sg_tablesize = SG_CHUNK_SIZE, 272 int sg_tablesize = SG_CHUNK_SIZE;
|
| /Linux-v5.4/drivers/scsi/mpt3sas/ |
| D | mpt3sas_base.h | 96 #define MPT_MAX_PHYS_SEGMENTS SG_CHUNK_SIZE
|