Home
last modified time | relevance | path

Searched refs:segcount (Results 1 – 3 of 3) sorted by relevance

/net/sunrpc/xprtrdma/
Dsvc_rdma_pcl.c28 static struct svc_rdma_chunk *pcl_alloc_chunk(u32 segcount, u32 position) in pcl_alloc_chunk() argument
32 chunk = kmalloc(struct_size(chunk, ch_segments, segcount), GFP_KERNEL); in pcl_alloc_chunk()
105 unsigned int i, segcount = pcl->cl_count; in pcl_alloc_call() local
108 for (i = 0; i < segcount; i++) { in pcl_alloc_call()
120 chunk = pcl_alloc_chunk(segcount, position); in pcl_alloc_call()
159 unsigned int i, segcount = pcl->cl_count; in pcl_alloc_read() local
162 for (i = 0; i < segcount; i++) { in pcl_alloc_read()
175 chunk = pcl_alloc_chunk(segcount, position); in pcl_alloc_read()
207 u32 segcount; in pcl_alloc_write() local
211 segcount = be32_to_cpup(p++); in pcl_alloc_write()
[all …]
Drpc_rdma.c411 __be32 *segcount; in rpcrdma_encode_write_list() local
425 segcount = xdr_reserve_space(xdr, sizeof(*segcount)); in rpcrdma_encode_write_list()
426 if (unlikely(!segcount)) in rpcrdma_encode_write_list()
447 *segcount = cpu_to_be32(nchunks); in rpcrdma_encode_write_list()
476 __be32 *segcount; in rpcrdma_encode_reply_chunk() local
491 segcount = xdr_reserve_space(xdr, sizeof(*segcount)); in rpcrdma_encode_reply_chunk()
492 if (unlikely(!segcount)) in rpcrdma_encode_reply_chunk()
513 *segcount = cpu_to_be32(nchunks); in rpcrdma_encode_reply_chunk()
1184 u32 segcount, seglength; in decode_write_chunk() local
1192 segcount = be32_to_cpup(p); in decode_write_chunk()
[all …]
Dsvc_rdma_recvfrom.c474 u32 segcount; in xdr_check_write_chunk() local
477 if (xdr_stream_decode_u32(&rctxt->rc_stream, &segcount)) in xdr_check_write_chunk()
482 segcount * rpcrdma_segment_maxsz * sizeof(*p)); in xdr_check_write_chunk()