• Home
  • Raw
  • Download

Lines Matching refs:xdr

844 xs_stream_record_marker(struct xdr_buf *xdr)  in xs_stream_record_marker()  argument
846 if (!xdr->len) in xs_stream_record_marker()
848 return cpu_to_be32(RPC_LAST_STREAM_FRAGMENT | (u32)xdr->len); in xs_stream_record_marker()
867 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_local_send_request() local
868 rpc_fraghdr rm = xs_stream_record_marker(xdr); in xs_local_send_request()
889 status = xprt_sock_sendmsg(transport->sock, &msg, xdr, in xs_local_send_request()
892 __func__, xdr->len - transport->xmit.offset, status); in xs_local_send_request()
937 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_udp_send_request() local
956 status = xdr_alloc_bvec(xdr, rpc_task_gfp_mask()); in xs_udp_send_request()
960 status = xprt_sock_sendmsg(transport->sock, &msg, xdr, 0, 0, &sent); in xs_udp_send_request()
963 xdr->len, status); in xs_udp_send_request()
1023 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_tcp_send_request() local
1024 rpc_fraghdr rm = xs_stream_record_marker(xdr); in xs_tcp_send_request()
1060 status = xprt_sock_sendmsg(transport->sock, &msg, xdr, in xs_tcp_send_request()
1064 xdr->len - transport->xmit.offset, status); in xs_tcp_send_request()
2577 struct xdr_buf *xdr = &req->rq_snd_buf; in bc_sendto() local
2584 (u32)xdr->len); in bc_sendto()
2589 err = xdr_alloc_bvec(xdr, rpc_task_gfp_mask()); in bc_sendto()
2592 err = xprt_sock_sendmsg(transport->sock, &msg, xdr, 0, marker, &sent); in bc_sendto()
2593 xdr_free_bvec(xdr); in bc_sendto()
2594 if (err < 0 || sent != (xdr->len + sizeof(marker))) in bc_sendto()