Searched refs:segcount (Results 1 – 3 of 3) sorted by relevance
| /linux/net/sunrpc/xprtrdma/ |
| A D | svc_rdma_pcl.c | 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() 213 chunk = pcl_alloc_chunk(segcount, 0); in pcl_alloc_write() [all …]
|
| A D | rpc_rdma.c | 404 __be32 *segcount; in rpcrdma_encode_write_list() local 418 segcount = xdr_reserve_space(xdr, sizeof(*segcount)); in rpcrdma_encode_write_list() 419 if (unlikely(!segcount)) in rpcrdma_encode_write_list() 452 *segcount = cpu_to_be32(nchunks); in rpcrdma_encode_write_list() 481 __be32 *segcount; in rpcrdma_encode_reply_chunk() local 496 segcount = xdr_reserve_space(xdr, sizeof(*segcount)); in rpcrdma_encode_reply_chunk() 497 if (unlikely(!segcount)) in rpcrdma_encode_reply_chunk() 518 *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 …]
|
| A D | svc_rdma_recvfrom.c | 480 u32 segcount; in xdr_check_write_chunk() local 483 if (xdr_stream_decode_u32(&rctxt->rc_stream, &segcount)) in xdr_check_write_chunk() 488 segcount * rpcrdma_segment_maxsz * sizeof(*p)); in xdr_check_write_chunk()
|
Completed in 8 milliseconds