Home
last modified time | relevance | path

Searched refs:SG_CHUNK_SIZE (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/lib/
Dsg_pool.c18 #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/
Dscatterlist.h322 #define SG_CHUNK_SIZE 128 macro
329 #define SG_MAX_SEGMENTS SG_CHUNK_SIZE
/Linux-v5.4/drivers/nvme/target/
Dloop.c80 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/
Dsvc_rdma_rw.c67 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/
Dscsi_host.h39 #define SG_ALL SG_CHUNK_SIZE
/Linux-v5.4/drivers/nvme/host/
Drdma.c734 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()
Dfc.c98 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/
Desas2r_main.c248 .sg_tablesize = SG_CHUNK_SIZE,
272 int sg_tablesize = SG_CHUNK_SIZE;
/Linux-v5.4/drivers/scsi/mpt3sas/
Dmpt3sas_base.h96 #define MPT_MAX_PHYS_SEGMENTS SG_CHUNK_SIZE