Searched refs:segcount (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_pcl.c | 28 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 in pcl_alloc_write() [all...] |
H A D | rpc_rdma.c | 400 __be32 *segcount; in rpcrdma_encode_write_list() local 414 segcount = xdr_reserve_space(xdr, sizeof(*segcount)); in rpcrdma_encode_write_list() 415 if (unlikely(!segcount)) in rpcrdma_encode_write_list() 448 *segcount = cpu_to_be32(nchunks); in rpcrdma_encode_write_list() 477 __be32 *segcount; in rpcrdma_encode_reply_chunk() local 492 segcount = xdr_reserve_space(xdr, sizeof(*segcount)); in rpcrdma_encode_reply_chunk() 493 if (unlikely(!segcount)) in rpcrdma_encode_reply_chunk() 514 *segcount in rpcrdma_encode_reply_chunk() 1185 u32 segcount, seglength; decode_write_chunk() local [all...] |
H A D | svc_rdma_recvfrom.c | 475 u32 segcount; in xdr_check_write_chunk() local 478 if (xdr_stream_decode_u32(&rctxt->rc_stream, &segcount)) in xdr_check_write_chunk() 481 /* A bogus segcount causes this buffer overflow check to fail. */ in xdr_check_write_chunk() 483 segcount * rpcrdma_segment_maxsz * sizeof(*p)); in xdr_check_write_chunk()
|
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_recvfrom.c | 458 u32 i, segcount, total; in xdr_check_write_chunk() local 464 segcount = be32_to_cpup(p); in xdr_check_write_chunk() 467 for (i = 0; i < segcount; i++) { in xdr_check_write_chunk() 563 u32 i, segcount; in svc_rdma_get_inv_rkey() local 586 segcount = be32_to_cpup(p++); in svc_rdma_get_inv_rkey() 587 for (i = 0; i < segcount; i++) { in svc_rdma_get_inv_rkey() 598 segcount = be32_to_cpup(p++); in svc_rdma_get_inv_rkey() 599 for (i = 0; i < segcount; i++) { in svc_rdma_get_inv_rkey()
|
H A D | rpc_rdma.c | 428 __be32 *segcount; in rpcrdma_encode_write_list() local 442 segcount = xdr_reserve_space(xdr, sizeof(*segcount)); in rpcrdma_encode_write_list() 443 if (unlikely(!segcount)) in rpcrdma_encode_write_list() 464 *segcount = cpu_to_be32(nchunks); in rpcrdma_encode_write_list() 493 __be32 *segcount; in rpcrdma_encode_reply_chunk() local 508 segcount = xdr_reserve_space(xdr, sizeof(*segcount)); in rpcrdma_encode_reply_chunk() 509 if (unlikely(!segcount)) in rpcrdma_encode_reply_chunk() 530 *segcount in rpcrdma_encode_reply_chunk() 1205 u32 segcount, seglength; decode_write_chunk() local [all...] |
Completed in 6 milliseconds