Lines Matching refs:p
121 __be32 *p; in svc_rdma_reply_hdr_len() local
123 p = rdma_resp; in svc_rdma_reply_hdr_len()
126 p += rpcrdma_fixed_maxsz + 1; in svc_rdma_reply_hdr_len()
129 while (*p++ != xdr_zero) { in svc_rdma_reply_hdr_len()
130 nsegs = be32_to_cpup(p++); in svc_rdma_reply_hdr_len()
131 p += nsegs * rpcrdma_segment_maxsz; in svc_rdma_reply_hdr_len()
135 if (*p++ != xdr_zero) { in svc_rdma_reply_hdr_len()
136 nsegs = be32_to_cpup(p++); in svc_rdma_reply_hdr_len()
137 p += nsegs * rpcrdma_segment_maxsz; in svc_rdma_reply_hdr_len()
140 return (unsigned long)p - (unsigned long)rdma_resp; in svc_rdma_reply_hdr_len()
199 __be32 *p, *q; in svc_rdma_xdr_encode_write_list() local
202 p = rdma_resp + rpcrdma_fixed_maxsz + 1; in svc_rdma_xdr_encode_write_list()
206 nsegs = xdr_encode_write_chunk(p, q, consumed); in svc_rdma_xdr_encode_write_list()
208 p += 2 + nsegs * rpcrdma_segment_maxsz; in svc_rdma_xdr_encode_write_list()
213 *p++ = xdr_zero; in svc_rdma_xdr_encode_write_list()
216 *p = xdr_zero; in svc_rdma_xdr_encode_write_list()
229 __be32 *p; in svc_rdma_xdr_encode_reply_chunk() local
234 p = rdma_resp + rpcrdma_fixed_maxsz + 1; in svc_rdma_xdr_encode_reply_chunk()
237 while (*p++ != xdr_zero) in svc_rdma_xdr_encode_reply_chunk()
238 p += 1 + be32_to_cpup(p) * rpcrdma_segment_maxsz; in svc_rdma_xdr_encode_reply_chunk()
240 xdr_encode_write_chunk(p, rp_ch, consumed); in svc_rdma_xdr_encode_reply_chunk()
248 __be32 *p; in svc_rdma_get_write_arrays() local
250 p = rdma_argp + rpcrdma_fixed_maxsz; in svc_rdma_get_write_arrays()
253 while (*p++ != xdr_zero) in svc_rdma_get_write_arrays()
254 p += 5; in svc_rdma_get_write_arrays()
257 if (*p != xdr_zero) { in svc_rdma_get_write_arrays()
258 *write = p; in svc_rdma_get_write_arrays()
259 while (*p++ != xdr_zero) in svc_rdma_get_write_arrays()
260 p += 1 + be32_to_cpu(*p) * 4; in svc_rdma_get_write_arrays()
263 p++; in svc_rdma_get_write_arrays()
267 if (*p != xdr_zero) in svc_rdma_get_write_arrays()
268 *reply = p; in svc_rdma_get_write_arrays()
285 __be32 *p; in svc_rdma_get_inv_rkey() local
287 p = rdma_argp + rpcrdma_fixed_maxsz; in svc_rdma_get_inv_rkey()
288 if (*p != xdr_zero) in svc_rdma_get_inv_rkey()
289 p += 2; in svc_rdma_get_inv_rkey()
291 p = wr_lst + 2; in svc_rdma_get_inv_rkey()
293 p = rp_ch + 2; in svc_rdma_get_inv_rkey()
296 return be32_to_cpup(p); in svc_rdma_get_inv_rkey()
574 __be32 *p; in svc_rdma_send_error_msg() local
582 p = rdma_resp + 3; in svc_rdma_send_error_msg()
583 *p++ = rdma_error; in svc_rdma_send_error_msg()
584 *p = err_chunk; in svc_rdma_send_error_msg()
626 __be32 *p, *rdma_argp, *rdma_resp, *wr_lst, *rp_ch; in svc_rdma_sendto() local
652 p = rdma_resp; in svc_rdma_sendto()
653 *p++ = *rdma_argp; in svc_rdma_sendto()
654 *p++ = *(rdma_argp + 1); in svc_rdma_sendto()
655 *p++ = rdma->sc_fc_credits; in svc_rdma_sendto()
656 *p++ = rp_ch ? rdma_nomsg : rdma_msg; in svc_rdma_sendto()
659 *p++ = xdr_zero; in svc_rdma_sendto()
660 *p++ = xdr_zero; in svc_rdma_sendto()
661 *p = xdr_zero; in svc_rdma_sendto()