Home
last modified time | relevance | path

Searched refs:nsegs (Results 1 – 4 of 4) sorted by relevance

/net/sunrpc/xprtrdma/
Drpc_rdma.c364 int nsegs, bool writing, in rpcrdma_mr_prepare() argument
377 return frwr_map(r_xprt, seg, nsegs, writing, req->rl_slot.rq_xid, *mr); in rpcrdma_mr_prepare()
410 int nsegs; in rpcrdma_encode_read_list() local
419 nsegs = rpcrdma_convert_iovs(r_xprt, &rqst->rq_snd_buf, pos, in rpcrdma_encode_read_list()
421 if (nsegs < 0) in rpcrdma_encode_read_list()
422 return nsegs; in rpcrdma_encode_read_list()
425 seg = rpcrdma_mr_prepare(r_xprt, req, seg, nsegs, false, &mr); in rpcrdma_encode_read_list()
432 trace_xprtrdma_chunk_read(rqst->rq_task, pos, mr, nsegs); in rpcrdma_encode_read_list()
434 nsegs -= mr->mr_nents; in rpcrdma_encode_read_list()
435 } while (nsegs); in rpcrdma_encode_read_list()
[all …]
Dsvc_rdma_sendto.c332 unsigned int nsegs; in svc_rdma_reply_hdr_len() local
342 nsegs = be32_to_cpup(p++); in svc_rdma_reply_hdr_len()
343 p += nsegs * rpcrdma_segment_maxsz; in svc_rdma_reply_hdr_len()
348 nsegs = be32_to_cpup(p++); in svc_rdma_reply_hdr_len()
349 p += nsegs * rpcrdma_segment_maxsz; in svc_rdma_reply_hdr_len()
364 unsigned int i, nsegs; in xdr_encode_write_chunk() local
371 nsegs = be32_to_cpup(src); in xdr_encode_write_chunk()
374 for (i = nsegs; i; i--) { in xdr_encode_write_chunk()
396 return nsegs; in xdr_encode_write_chunk()
410 unsigned int nsegs; in svc_rdma_xdr_encode_write_list() local
[all …]
Dfrwr_ops.c324 int nsegs, bool writing, __be32 xid, in frwr_map() argument
333 if (nsegs > ia->ri_max_frwr_depth) in frwr_map()
334 nsegs = ia->ri_max_frwr_depth; in frwr_map()
335 for (i = 0; i < nsegs;) { in frwr_map()
349 if ((i < nsegs && offset_in_page(seg->mr_offset)) || in frwr_map()
Dxprt_rdma.h556 int nsegs, bool writing, __be32 xid,