Lines Matching refs:p

417 static bool xdr_count_read_segments(struct svc_rdma_recv_ctxt *rctxt, __be32 *p)  in xdr_count_read_segments()  argument
421 while (xdr_item_is_present(p)) { in xdr_count_read_segments()
425 p = xdr_inline_decode(&rctxt->rc_stream, in xdr_count_read_segments()
426 rpcrdma_readseg_maxsz * sizeof(*p)); in xdr_count_read_segments()
427 if (!p) in xdr_count_read_segments()
430 xdr_decode_read_segment(p, &position, &handle, in xdr_count_read_segments()
440 p = xdr_inline_decode(&rctxt->rc_stream, sizeof(*p)); in xdr_count_read_segments()
441 if (!p) in xdr_count_read_segments()
461 __be32 *p; in xdr_check_read_list() local
463 p = xdr_inline_decode(&rctxt->rc_stream, sizeof(*p)); in xdr_check_read_list()
464 if (!p) in xdr_check_read_list()
466 if (!xdr_count_read_segments(rctxt, p)) in xdr_check_read_list()
468 if (!pcl_alloc_call(rctxt, p)) in xdr_check_read_list()
470 return pcl_alloc_read(rctxt, p); in xdr_check_read_list()
476 __be32 *p; in xdr_check_write_chunk() local
482 p = xdr_inline_decode(&rctxt->rc_stream, in xdr_check_write_chunk()
483 segcount * rpcrdma_segment_maxsz * sizeof(*p)); in xdr_check_write_chunk()
484 return p != NULL; in xdr_check_write_chunk()
502 static bool xdr_count_write_chunks(struct svc_rdma_recv_ctxt *rctxt, __be32 *p) in xdr_count_write_chunks() argument
505 while (xdr_item_is_present(p)) { in xdr_count_write_chunks()
509 p = xdr_inline_decode(&rctxt->rc_stream, sizeof(*p)); in xdr_count_write_chunks()
510 if (!p) in xdr_count_write_chunks()
533 __be32 *p; in xdr_check_write_list() local
535 p = xdr_inline_decode(&rctxt->rc_stream, sizeof(*p)); in xdr_check_write_list()
536 if (!p) in xdr_check_write_list()
538 if (!xdr_count_write_chunks(rctxt, p)) in xdr_check_write_list()
540 if (!pcl_alloc_write(rctxt, &rctxt->rc_write_pcl, p)) in xdr_check_write_list()
561 __be32 *p; in xdr_check_reply_chunk() local
563 p = xdr_inline_decode(&rctxt->rc_stream, sizeof(*p)); in xdr_check_reply_chunk()
564 if (!p) in xdr_check_reply_chunk()
567 if (!xdr_item_is_present(p)) in xdr_check_reply_chunk()
573 return pcl_alloc_write(rctxt, &rctxt->rc_reply_pcl, p); in xdr_check_reply_chunk()
650 __be32 *p, *rdma_argp; in svc_rdma_xdr_decode_req() local
656 p = xdr_inline_decode(&rctxt->rc_stream, in svc_rdma_xdr_decode_req()
657 rpcrdma_fixed_maxsz * sizeof(*p)); in svc_rdma_xdr_decode_req()
658 if (unlikely(!p)) in svc_rdma_xdr_decode_req()
660 p++; in svc_rdma_xdr_decode_req()
661 if (*p != rpcrdma_version) in svc_rdma_xdr_decode_req()
663 p += 2; in svc_rdma_xdr_decode_req()
664 rctxt->rc_msgtype = *p; in svc_rdma_xdr_decode_req()
685 rq_arg->head[0].iov_base = rctxt->rc_stream.p; in svc_rdma_xdr_decode_req()
733 __be32 *p = rctxt->rc_recv_buf; in svc_rdma_is_reverse_direction_reply() local
751 if (*(p + 8) == cpu_to_be32(RPC_CALL)) in svc_rdma_is_reverse_direction_reply()