Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A 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 …]
/openbmc/linux/include/linux/
H A Dscatterlist.h520 #define SG_CHUNK_SIZE 128 macro
527 #define SG_MAX_SEGMENTS SG_CHUNK_SIZE
/openbmc/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_rw.c65 ctxt = kmalloc_node(struct_size(ctxt, rw_first_sgl, SG_CHUNK_SIZE), in svc_rdma_get_rw_ctxt()
76 SG_CHUNK_SIZE)) in svc_rdma_get_rw_ctxt()
90 sg_free_table_chained(&ctxt->rw_sg_table, SG_CHUNK_SIZE); in __svc_rdma_put_rw_ctxt()
/openbmc/linux/include/scsi/
H A Dscsi_host.h24 #define SG_ALL SG_CHUNK_SIZE
/openbmc/linux/fs/smb/server/
H A Dtransport_rdma.c1322 sg_free_table_chained(&msg->sgt, SG_CHUNK_SIZE); in smb_direct_free_rdma_rw_msg()
1409 sizeof(struct scatterlist) * SG_CHUNK_SIZE, GFP_KERNEL); in smb_direct_rdma_xmit()
1424 msg->sg_list, SG_CHUNK_SIZE); in smb_direct_rdma_xmit()
1434 sg_free_table_chained(&msg->sgt, SG_CHUNK_SIZE); in smb_direct_rdma_xmit()
1448 sg_free_table_chained(&msg->sgt, SG_CHUNK_SIZE); in smb_direct_rdma_xmit()
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_main.c248 .sg_tablesize = SG_CHUNK_SIZE,
269 int sg_tablesize = SG_CHUNK_SIZE;
/openbmc/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.h109 #define MPT_MAX_PHYS_SEGMENTS SG_CHUNK_SIZE