Home
last modified time | relevance | path

Searched defs:xdr (Results 1 – 21 of 21) 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 …]
Dsvcauth_gss.c705 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_gss_verify_header() local
863 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_gss_unwrap_integ() local
946 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_gss_unwrap_priv() local
1024 struct xdr_stream *xdr = &rqstp->rq_res_stream; in svcauth_gss_proc_init_verf() local
1060 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in gss_read_proxy_verf() local
1137 svcxdr_encode_gss_init_res(struct xdr_stream *xdr, in svcxdr_encode_gss_init_res()
1167 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_gss_legacy_init() local
1387 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_gss_proc_init() local
1577 svcauth_gss_decode_credbody(struct xdr_stream *xdr, in svcauth_gss_decode_credbody()
1797 struct xdr_stream *xdr = &rqstp->rq_res_stream; in svcauth_gss_wrap_integ() local
Dauth_gss.c1535 static int gss_marshal(struct rpc_task *task, struct xdr_stream *xdr) in gss_marshal()
1682 gss_validate(struct rpc_task *task, struct xdr_stream *xdr) in gss_validate()
1741 struct rpc_task *task, struct xdr_stream *xdr) in gss_wrap_req_integ()
1834 struct rpc_task *task, struct xdr_stream *xdr) in gss_wrap_req_priv()
1909 static int gss_wrap_req(struct rpc_task *task, struct xdr_stream *xdr) in gss_wrap_req()
1986 struct xdr_stream *xdr) in gss_unwrap_resp_integ()
2058 struct xdr_stream *xdr) in gss_unwrap_resp_priv()
2147 gss_unwrap_resp(struct rpc_task *task, struct xdr_stream *xdr) in gss_unwrap_resp()
/net/sunrpc/
Dxdr.c176 const struct xdr_buf *xdr) in xdr_buf_to_bvec()
227 xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, in xdr_inline_pages()
919 unsigned int xdr_stream_pos(const struct xdr_stream *xdr) in xdr_stream_pos()
925 static void xdr_stream_set_pos(struct xdr_stream *xdr, unsigned int pos) in xdr_stream_set_pos()
932 static void xdr_stream_page_set_pos(struct xdr_stream *xdr, unsigned int pos) in xdr_stream_page_set_pos()
941 unsigned int xdr_page_pos(const struct xdr_stream *xdr) in xdr_page_pos()
964 void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, in xdr_init_encode()
999 void xdr_init_encode_pages(struct xdr_stream *xdr, struct xdr_buf *buf, in xdr_init_encode_pages()
1026 void __xdr_commit_encode(struct xdr_stream *xdr) in __xdr_commit_encode()
1043 static noinline __be32 *xdr_get_next_encode_buffer(struct xdr_stream *xdr, in xdr_get_next_encode_buffer()
[all …]
Dauth_tls.c19 static void tls_encode_probe(struct rpc_rqst *rqstp, struct xdr_stream *xdr, in tls_encode_probe()
24 static int tls_decode_probe(struct rpc_rqst *rqstp, struct xdr_stream *xdr, in tls_decode_probe()
99 static int tls_marshal(struct rpc_task *task, struct xdr_stream *xdr) in tls_marshal()
121 static int tls_validate(struct rpc_task *task, struct xdr_stream *xdr) in tls_validate()
Dsocklib.c90 xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct xdr_skb_reader *desc, xdr_… in xdr_partial_copy_from_skb()
170 int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb) in csum_partial_copy_to_xdr()
222 struct xdr_buf *xdr, size_t base) in xprt_send_pagedata()
265 struct xdr_buf *xdr, unsigned int base, in xprt_sock_sendmsg()
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.c724 int rpcauth_marshcred(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_marshcred()
739 int rpcauth_wrap_req_encode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req_encode()
757 int rpcauth_wrap_req(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req()
779 rpcauth_checkverf(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_checkverf()
794 rpcauth_unwrap_resp_decode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp_decode()
810 rpcauth_unwrap_resp(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp()
Dauth_unix.c111 unx_marshal(struct rpc_task *task, struct xdr_stream *xdr) in unx_marshal()
173 unx_validate(struct rpc_task *task, struct xdr_stream *xdr) in unx_validate()
Drpcb_clnt.c832 static void rpcb_enc_mapping(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_enc_mapping()
845 static int rpcb_dec_getport(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_getport()
866 static int rpcb_dec_set(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_set()
882 static void encode_rpcb_string(struct xdr_stream *xdr, const char *string, in encode_rpcb_string()
897 static void rpcb_enc_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_enc_getaddr()
912 static int rpcb_dec_getaddr(struct rpc_rqst *req, struct xdr_stream *xdr, in rpcb_dec_getaddr()
Dclnt.c1932 struct xdr_stream xdr; in rpc_xdr_encode() local
2569 struct xdr_stream xdr; in call_decode() local
2634 rpc_encode_header(struct rpc_task *task, struct xdr_stream *xdr) in rpc_encode_header()
2663 rpc_decode_header(struct rpc_task *task, struct xdr_stream *xdr) in rpc_decode_header()
2795 static void rpcproc_encode_null(struct rpc_rqst *rqstp, struct xdr_stream *xdr, in rpcproc_encode_null()
2800 static int rpcproc_decode_null(struct rpc_rqst *rqstp, struct xdr_stream *xdr, in rpcproc_decode_null()
Dsvcauth_unix.c756 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_null_accept() local
833 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_tls_accept() local
918 struct xdr_stream *xdr = &rqstp->rq_arg_stream; in svcauth_unix_accept() local
Dxprtsock.c900 xs_stream_record_marker(struct xdr_buf *xdr) in xs_stream_record_marker()
923 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_local_send_request() local
993 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_udp_send_request() local
1079 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_tcp_send_request() local
2942 struct xdr_buf *xdr = &req->rq_snd_buf; in bc_sendto() local
Dsvcsock.c690 struct xdr_buf *xdr = &rqstp->rq_res; in svc_udp_sendto() local
1268 struct xdr_buf *xdr = &rqstp->rq_res; in svc_tcp_sendto() local
Dsvc.c1295 struct xdr_stream *xdr = &rqstp->rq_res_stream; in svc_process_common() local
/net/sunrpc/xprtrdma/
Drpc_rdma.c129 struct xdr_buf *xdr = &rqst->rq_snd_buf; in rpcrdma_args_inline() local
267 encode_rdma_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr) in encode_rdma_segment()
280 encode_read_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr, in encode_read_segment()
338 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_read_list() local
395 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_write_list() local
473 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_reply_chunk() local
597 struct xdr_buf *xdr) in rpcrdma_prepare_pagelist()
637 struct xdr_buf *xdr, in rpcrdma_prepare_tail_iov()
664 struct xdr_buf *xdr) in rpcrdma_pullup_tail_iov()
678 struct xdr_buf *xdr) in rpcrdma_pullup_pagelist()
[all …]
Dsvc_rdma_sendto.c581 static int svc_rdma_xb_dma_map(const struct xdr_buf *xdr, void *data) in svc_rdma_xb_dma_map()
627 static int svc_rdma_xb_count_sges(const struct xdr_buf *xdr, in svc_rdma_xb_count_sges()
666 const struct xdr_buf *xdr) in svc_rdma_pull_up_needed()
693 static int svc_rdma_xb_linearize(const struct xdr_buf *xdr, in svc_rdma_xb_linearize()
747 const struct xdr_buf *xdr) in svc_rdma_pull_up_reply_msg()
780 const struct xdr_buf *xdr) in svc_rdma_map_reply_msg()
Dsvc_rdma_pcl.c232 static int pcl_process_region(const struct xdr_buf *xdr, in pcl_process_region()
266 const struct xdr_buf *xdr, in pcl_process_nonpayloads()
Dsvc_rdma_rw.c439 const struct xdr_buf *xdr = info->wi_xdr; in svc_rdma_pagelist_to_sg() local
557 const struct xdr_buf *xdr, in svc_rdma_pages_write()
578 static int svc_rdma_xb_write(const struct xdr_buf *xdr, void *data) in svc_rdma_xb_write()
620 const struct xdr_buf *xdr) in svc_rdma_send_write_chunk()
661 const struct xdr_buf *xdr) in svc_rdma_send_reply_chunk()
Dxprt_rdma.h573 static inline void rpcrdma_set_xdrlen(struct xdr_buf *xdr, size_t len) in rpcrdma_set_xdrlen()
/net/rxrpc/
Dkey.c54 const __be32 *xdr, unsigned int toklen) in rxrpc_preparse_xdr_rxkad()
138 const __be32 *xdr = prep->data, *token, *p; in rxrpc_preparse_xdr() local
567 __be32 *xdr, *oldxdr; in rxrpc_read() local