Home
last modified time | relevance | path

Searched refs:maxsegs (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
H A Drpc_rdma.c66 static unsigned int rpcrdma_max_call_header_size(unsigned int maxsegs) in rpcrdma_max_call_header_size() argument
74 size += maxsegs * rpcrdma_readchunk_maxsz * sizeof(__be32); in rpcrdma_max_call_header_size()
89 static unsigned int rpcrdma_max_reply_header_size(unsigned int maxsegs) in rpcrdma_max_reply_header_size() argument
98 size += maxsegs * rpcrdma_segment_maxsz * sizeof(__be32); in rpcrdma_max_reply_header_size()
114 unsigned int maxsegs = ep->re_max_rdma_segs; in rpcrdma_set_max_header_sizes() local
117 ep->re_inline_send - rpcrdma_max_call_header_size(maxsegs); in rpcrdma_set_max_header_sizes()
119 ep->re_inline_recv - rpcrdma_max_reply_header_size(maxsegs); in rpcrdma_set_max_header_sizes()
/kernel/linux/linux-6.6/net/sunrpc/xprtrdma/
H A Drpc_rdma.c62 static unsigned int rpcrdma_max_call_header_size(unsigned int maxsegs) in rpcrdma_max_call_header_size() argument
70 size += maxsegs * rpcrdma_readchunk_maxsz * sizeof(__be32); in rpcrdma_max_call_header_size()
85 static unsigned int rpcrdma_max_reply_header_size(unsigned int maxsegs) in rpcrdma_max_reply_header_size() argument
94 size += maxsegs * rpcrdma_segment_maxsz * sizeof(__be32); in rpcrdma_max_reply_header_size()
110 unsigned int maxsegs = ep->re_max_rdma_segs; in rpcrdma_set_max_header_sizes() local
113 ep->re_inline_send - rpcrdma_max_call_header_size(maxsegs); in rpcrdma_set_max_header_sizes()
115 ep->re_inline_recv - rpcrdma_max_reply_header_size(maxsegs); in rpcrdma_set_max_header_sizes()

Completed in 5 milliseconds