Home
last modified time | relevance | path

Searched defs:xdr (Results 1 – 16 of 16) sorted by relevance

/net/sunrpc/auth_gss/
Dgss_rpc_xdr.c11 static int gssx_enc_bool(struct xdr_stream *xdr, int v) in gssx_enc_bool()
22 static int gssx_dec_bool(struct xdr_stream *xdr, u32 *v) in gssx_dec_bool()
33 static int gssx_enc_buffer(struct xdr_stream *xdr, in gssx_enc_buffer()
45 static int gssx_enc_in_token(struct xdr_stream *xdr, in gssx_enc_in_token()
62 static int gssx_dec_buffer(struct xdr_stream *xdr, in gssx_dec_buffer()
95 static int gssx_enc_option(struct xdr_stream *xdr, in gssx_enc_option()
107 static int gssx_dec_option(struct xdr_stream *xdr, in gssx_dec_option()
119 static int dummy_enc_opt_array(struct xdr_stream *xdr, in dummy_enc_opt_array()
135 static int dummy_dec_opt_array(struct xdr_stream *xdr, in dummy_dec_opt_array()
156 static int get_host_u32(struct xdr_stream *xdr, u32 *res) in get_host_u32()
[all …]
Dauth_gss.c1525 static int gss_marshal(struct rpc_task *task, struct xdr_stream *xdr) in gss_marshal()
1671 gss_validate(struct rpc_task *task, struct xdr_stream *xdr) in gss_validate()
1728 struct rpc_task *task, struct xdr_stream *xdr) in gss_wrap_req_integ()
1820 struct rpc_task *task, struct xdr_stream *xdr) in gss_wrap_req_priv()
1893 static int gss_wrap_req(struct rpc_task *task, struct xdr_stream *xdr) in gss_wrap_req()
1940 struct xdr_stream *xdr) in gss_unwrap_resp_integ()
1988 struct xdr_stream *xdr) in gss_unwrap_resp_priv()
2080 gss_unwrap_resp(struct rpc_task *task, struct xdr_stream *xdr) in gss_unwrap_resp()
/net/sunrpc/xprtrdma/
Drpc_rdma.c138 struct xdr_buf *xdr = &rqst->rq_snd_buf; in rpcrdma_args_inline() local
283 encode_item_present(struct xdr_stream *xdr) in encode_item_present()
296 encode_item_not_present(struct xdr_stream *xdr) in encode_item_not_present()
317 encode_rdma_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr) in encode_rdma_segment()
330 encode_read_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr, in encode_read_segment()
390 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_read_list() local
445 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_write_list() local
508 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_reply_chunk() local
615 struct xdr_buf *xdr, in rpcrdma_prepare_msg_sges()
748 struct xdr_buf *xdr, enum rpcrdma_chunktype rtype) in rpcrdma_prepare_send_sges()
[all …]
Dsvc_rdma_sendto.c541 struct xdr_buf *xdr, in svc_rdma_pull_up_needed()
578 struct xdr_buf *xdr, __be32 *wr_lst) in svc_rdma_pull_up_reply_msg()
642 struct xdr_buf *xdr, __be32 *wr_lst) in svc_rdma_map_reply_msg()
825 struct xdr_buf *xdr = &rqstp->rq_res; in svc_rdma_sendto() local
Dsvc_rdma_rw.c372 struct xdr_buf *xdr = info->wi_xdr; in svc_rdma_pagelist_to_sg() local
491 struct xdr_buf *xdr) in svc_rdma_send_xdr_pagelist()
513 struct xdr_buf *xdr) in svc_rdma_send_write_chunk()
556 bool writelist, struct xdr_buf *xdr) in svc_rdma_send_reply_chunk()
Dxprt_rdma.h585 static inline void rpcrdma_set_xdrlen(struct xdr_buf *xdr, size_t len) in rpcrdma_set_xdrlen()
/net/sunrpc/
Dxdr.c177 xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, in xdr_inline_pages()
502 unsigned int xdr_stream_pos(const struct xdr_stream *xdr) in xdr_stream_pos()
522 void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, in xdr_init_encode()
562 inline void xdr_commit_encode(struct xdr_stream *xdr) in xdr_commit_encode()
576 static __be32 *xdr_get_next_encode_buffer(struct xdr_stream *xdr, in xdr_get_next_encode_buffer()
629 __be32 * xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes) in xdr_reserve_space()
670 void xdr_truncate_encode(struct xdr_stream *xdr, size_t len) in xdr_truncate_encode()
732 int xdr_restrict_buflen(struct xdr_stream *xdr, int newbuflen) in xdr_restrict_buflen()
757 void xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base, in xdr_write_pages()
784 static void xdr_set_iov(struct xdr_stream *xdr, struct kvec *iov, in xdr_set_iov()
[all …]
Dsocklib.c74 xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct xdr_skb_reader *desc, xdr_… in xdr_partial_copy_from_skb()
154 int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb) in csum_partial_copy_to_xdr()
Dauth_null.c63 nul_marshal(struct rpc_task *task, struct xdr_stream *xdr) in nul_marshal()
90 nul_validate(struct rpc_task *task, struct xdr_stream *xdr) in nul_validate()
Dauth.c772 int rpcauth_marshcred(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_marshcred()
787 int rpcauth_wrap_req_encode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req_encode()
805 int rpcauth_wrap_req(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req()
822 rpcauth_checkverf(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_checkverf()
837 rpcauth_unwrap_resp_decode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp_decode()
853 rpcauth_unwrap_resp(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp()
Dauth_unix.c103 unx_marshal(struct rpc_task *task, struct xdr_stream *xdr) in unx_marshal()
165 unx_validate(struct rpc_task *task, struct xdr_stream *xdr) in unx_validate()
Drpcb_clnt.c861 static void rpcb_enc_mapping(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_enc_mapping()
879 static int rpcb_dec_getport(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_getport()
902 static int rpcb_dec_set(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_set()
923 static void encode_rpcb_string(struct xdr_stream *xdr, const char *string, in encode_rpcb_string()
938 static void rpcb_enc_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_enc_getaddr()
959 static int rpcb_dec_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_getaddr()
Dclnt.c1856 struct xdr_stream xdr; in rpc_xdr_encode() local
2484 struct xdr_stream xdr; in call_decode() local
2552 rpc_encode_header(struct rpc_task *task, struct xdr_stream *xdr) in rpc_encode_header()
2581 rpc_decode_header(struct rpc_task *task, struct xdr_stream *xdr) in rpc_decode_header()
2704 static void rpcproc_encode_null(struct rpc_rqst *rqstp, struct xdr_stream *xdr, in rpcproc_encode_null()
2709 static int rpcproc_decode_null(struct rpc_rqst *rqstp, struct xdr_stream *xdr, in rpcproc_decode_null()
Dxprtsock.c765 static int xs_send_pagedata(struct socket *sock, struct msghdr *msg, struct xdr_buf *xdr, size_t ba… in xs_send_pagedata()
813 …sendpages(struct socket *sock, struct sockaddr *addr, int addrlen, struct xdr_buf *xdr, unsigned i… in xs_sendpages()
936 xs_stream_record_marker(struct xdr_buf *xdr) in xs_stream_record_marker()
959 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_local_send_request() local
1027 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_udp_send_request() local
1106 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_tcp_send_request() local
Dsvcsock.c180 int svc_send_common(struct socket *sock, struct xdr_buf *xdr, in svc_send_common()
239 static int svc_sendto(struct svc_rqst *rqstp, struct xdr_buf *xdr) in svc_sendto()
/net/rxrpc/
Dkey.c90 const __be32 *xdr, unsigned int toklen) in rxrpc_preparse_xdr_rxkad()
219 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_principal() local
295 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_tagged_data() local
342 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_tagged_array() local
391 const __be32 *xdr = *_xdr; in rxrpc_krb5_decode_ticket() local
431 const __be32 *xdr, unsigned int toklen) in rxrpc_preparse_xdr_rxk5()
559 const __be32 *xdr = prep->data, *token; in rxrpc_preparse_xdr() local
1050 __be32 __user *xdr, *oldxdr; in rxrpc_read() local