Home
last modified time | relevance | path

Searched refs:xdr_buf (Results 1 – 24 of 24) sorted by relevance

/net/sunrpc/
Dxdr.c126 void xdr_terminate_string(const struct xdr_buf *buf, const u32 len) in xdr_terminate_string()
136 size_t xdr_buf_pagecount(const struct xdr_buf *buf) in xdr_buf_pagecount()
144 xdr_alloc_bvec(struct xdr_buf *buf, gfp_t gfp) in xdr_alloc_bvec()
162 xdr_free_bvec(struct xdr_buf *buf) in xdr_free_bvec()
178 xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, in xdr_inline_pages()
441 static void xdr_buf_pages_zero(const struct xdr_buf *buf, unsigned int pgbase, in xdr_buf_pages_zero()
481 static unsigned int xdr_buf_pages_fill_sparse(const struct xdr_buf *buf, in xdr_buf_pages_fill_sparse()
509 static void xdr_buf_try_expand(struct xdr_buf *buf, unsigned int len) in xdr_buf_try_expand()
535 static void xdr_buf_tail_copy_right(const struct xdr_buf *buf, in xdr_buf_tail_copy_right()
549 static void xdr_buf_pages_copy_right(const struct xdr_buf *buf, in xdr_buf_pages_copy_right()
[all …]
Dsocklib.h10 int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb);
12 struct xdr_buf *xdr, unsigned int base,
Dsocklib.c89 xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct xdr_skb_reader *desc, xdr_… in xdr_partial_copy_from_skb()
169 int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb) in csum_partial_copy_to_xdr()
221 struct xdr_buf *xdr, size_t base) in xprt_send_pagedata()
270 struct xdr_buf *xdr, unsigned int base, in xprt_sock_sendmsg()
Dbackchannel_rqst.c56 struct xdr_buf *xbufp; in xprt_free_allocation()
67 static void xprt_bc_reinit_xdr_buf(struct xdr_buf *buf) in xprt_bc_reinit_xdr_buf()
78 static int xprt_alloc_xdr_buf(struct xdr_buf *buf, gfp_t gfp_flags) in xprt_alloc_xdr_buf()
Dxprtsock.c333 xs_alloc_sparse_pages(struct xdr_buf *buf, size_t want, gfp_t gfp) in xs_alloc_sparse_pages()
409 struct xdr_buf *buf, size_t count, size_t seek, size_t *read) in xs_read_xdr_buf()
475 xs_read_header(struct sock_xprt *transport, struct xdr_buf *buf) in xs_read_header()
504 struct xdr_buf *buf = &req->rq_private_buf; in xs_read_stream_request()
849 xs_stream_record_marker(struct xdr_buf *xdr) in xs_stream_record_marker()
872 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_local_send_request()
943 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_udp_send_request()
1026 struct xdr_buf *xdr = &req->rq_snd_buf; in xs_tcp_send_request()
2574 struct xdr_buf *xdr = &req->rq_snd_buf; in bc_sendto()
Dsvcsock.c547 struct xdr_buf *xdr = &rqstp->rq_res; in svc_udp_sendto()
918 memcpy(&req->rq_private_buf, &req->rq_rcv_buf, sizeof(struct xdr_buf)); in receive_cb_reply()
1073 static int svc_tcp_sendmsg(struct socket *sock, struct xdr_buf *xdr, in svc_tcp_sendmsg()
1153 struct xdr_buf *xdr = &rqstp->rq_res; in svc_tcp_sendto()
Dsvc_xprt.c675 struct xdr_buf *arg = &rqstp->rq_arg; in svc_alloc_arg()
928 struct xdr_buf *xb; in svc_send()
Dsvc.c1688 struct xdr_buf *payload) in svc_fill_write_vector()
Dxprt.c1975 struct xdr_buf *xbufp = &req->rq_snd_buf; in xprt_init_bc_request()
/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c49 gss_krb5_add_padding(struct xdr_buf *buf, int offset, int blocksize) in gss_krb5_add_padding()
66 gss_krb5_remove_padding(struct xdr_buf *buf, int blocksize) in gss_krb5_remove_padding()
159 struct xdr_buf *buf, struct page **pages) in gss_wrap_kerberos_v1()
248 struct xdr_buf *buf, unsigned int *slack, in gss_unwrap_kerberos_v1()
370 static void rotate_buf_a_little(struct xdr_buf *buf, unsigned int shift) in rotate_buf_a_little()
387 static void _rotate_left(struct xdr_buf *buf, unsigned int shift) in _rotate_left()
400 static void rotate_left(u32 base, struct xdr_buf *buf, unsigned int shift) in rotate_left()
402 struct xdr_buf subbuf; in rotate_left()
410 struct xdr_buf *buf, struct page **pages) in gss_wrap_kerberos_v2()
461 struct xdr_buf *buf, unsigned int *slack, in gss_unwrap_kerberos_v2()
[all …]
Dgss_krb5_crypto.c148 struct xdr_buf *body, int body_offset, u8 *cksumkey, in make_checksum()
240 struct xdr_buf *body, int body_offset, u8 *cksumkey, in make_checksum_v2()
322 struct xdr_buf *outbuf;
334 struct xdr_buf *outbuf = desc->outbuf; in encryptor()
396 gss_encrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, in gss_encrypt_xdr_buf()
479 gss_decrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, in gss_decrypt_xdr_buf()
522 xdr_extend_head(struct xdr_buf *buf, unsigned int base, unsigned int shiftlen) in xdr_extend_head()
543 gss_krb5_cts_crypt(struct crypto_sync_skcipher *cipher, struct xdr_buf *buf, in gss_krb5_cts_crypt()
600 struct xdr_buf *buf, struct page **pages) in gss_krb5_aes_encrypt()
721 struct xdr_buf *buf, u32 *headskip, u32 *tailskip) in gss_krb5_aes_decrypt()
[all …]
Dgss_krb5_unseal.c75 struct xdr_buf *message_buffer, struct xdr_netobj *read_token) in gss_verify_mic_v1()
147 struct xdr_buf *message_buffer, struct xdr_netobj *read_token) in gss_verify_mic_v2()
211 struct xdr_buf *message_buffer, in gss_verify_mic_kerberos()
Dgss_krb5_seal.c127 gss_get_mic_v1(struct krb5_ctx *ctx, struct xdr_buf *text, in gss_get_mic_v1()
166 gss_get_mic_v2(struct krb5_ctx *ctx, struct xdr_buf *text, in gss_get_mic_v2()
207 gss_get_mic_kerberos(struct gss_ctx *gss_ctx, struct xdr_buf *text, in gss_get_mic_kerberos()
Dgss_mech_switch.c371 struct xdr_buf *message, in gss_get_mic()
384 struct xdr_buf *message, in gss_verify_mic()
410 struct xdr_buf *buf, in gss_wrap()
421 struct xdr_buf *buf) in gss_unwrap()
Dsvcauth_gss.c719 struct xdr_buf rpchdr; in gss_verify_header()
775 struct xdr_buf verf_data; in gss_write_verf()
870 read_u32_from_xdr_buf(struct xdr_buf *buf, int base, u32 *obj) in read_u32_from_xdr_buf()
888 unwrap_integ_data(struct svc_rqst *rqstp, struct xdr_buf *buf, u32 seq, struct gss_ctx *ctx) in unwrap_integ_data()
893 struct xdr_buf integ_buf; in unwrap_integ_data()
952 total_buf_len(struct xdr_buf *buf) in total_buf_len()
958 fix_priv_head(struct xdr_buf *buf, int pad) in fix_priv_head()
969 unwrap_priv_data(struct svc_rqst *rqstp, struct xdr_buf *buf, u32 seq, struct gss_ctx *ctx) in unwrap_priv_data()
1690 svcauth_gss_prepare_to_wrap(struct xdr_buf *resbuf, struct gss_svc_data *gsd) in svcauth_gss_prepare_to_wrap()
1721 struct xdr_buf *resbuf = &rqstp->rq_res; in svcauth_gss_wrap_resp_integ()
[all …]
Dauth_gss.c1526 struct xdr_buf verf_buf; in gss_marshal()
1668 struct xdr_buf verf_buf; in gss_validate()
1724 struct xdr_buf integ_buf, *snd_buf = &rqstp->rq_snd_buf; in gss_wrap_req_integ()
1778 struct xdr_buf *snd_buf = &rqstp->rq_snd_buf; in alloc_enc_pages()
1817 struct xdr_buf *snd_buf = &rqstp->rq_snd_buf; in gss_wrap_req_priv()
1966 struct xdr_buf gss_data, *rcv_buf = &rqstp->rq_rcv_buf; in gss_unwrap_resp_integ()
2038 struct xdr_buf *rcv_buf = &rqstp->rq_rcv_buf; in gss_unwrap_resp_priv()
/net/sunrpc/xprtrdma/
Dsvc_rdma_pcl.c232 static int pcl_process_region(const struct xdr_buf *xdr, in pcl_process_region()
234 int (*actor)(const struct xdr_buf *, void *), in pcl_process_region() argument
237 struct xdr_buf subbuf; in pcl_process_region()
266 const struct xdr_buf *xdr, in pcl_process_nonpayloads()
267 int (*actor)(const struct xdr_buf *, void *), in pcl_process_nonpayloads() argument
Drpc_rdma.c133 struct xdr_buf *xdr = &rqst->rq_snd_buf; in rpcrdma_args_inline()
176 const struct xdr_buf *buf = &rqst->rq_rcv_buf; in rpcrdma_nonpayload_inline()
188 rpcrdma_alloc_sparse_pages(struct xdr_buf *buf) in rpcrdma_alloc_sparse_pages()
232 rpcrdma_convert_iovs(struct rpcrdma_xprt *r_xprt, struct xdr_buf *xdrbuf, in rpcrdma_convert_iovs()
596 struct xdr_buf *xdr) in rpcrdma_prepare_pagelist()
636 struct xdr_buf *xdr, in rpcrdma_prepare_tail_iov()
663 struct xdr_buf *xdr) in rpcrdma_pullup_tail_iov()
677 struct xdr_buf *xdr) in rpcrdma_pullup_pagelist()
713 struct xdr_buf *xdr) in rpcrdma_prepare_noch_pullup()
727 struct xdr_buf *xdr) in rpcrdma_prepare_noch_mapped()
[all …]
Dsvc_rdma_rw.c223 const struct xdr_buf *wi_xdr;
413 const struct xdr_buf *xdr = info->wi_xdr; in svc_rdma_pagelist_to_sg()
531 const struct xdr_buf *xdr, in svc_rdma_pages_write()
552 static int svc_rdma_xb_write(const struct xdr_buf *xdr, void *data) in svc_rdma_xb_write()
594 const struct xdr_buf *xdr) in svc_rdma_send_write_chunk()
635 const struct xdr_buf *xdr) in svc_rdma_send_reply_chunk()
832 struct xdr_buf *buf = &info->ri_rqst->rq_arg; in svc_rdma_read_multiple_chunks()
896 struct xdr_buf *buf = &info->ri_rqst->rq_arg; in svc_rdma_read_data_item()
1052 struct xdr_buf *buf = &info->ri_rqst->rq_arg; in svc_rdma_read_special()
Dsvc_rdma_sendto.c568 static int svc_rdma_xb_dma_map(const struct xdr_buf *xdr, void *data) in svc_rdma_xb_dma_map()
614 static int svc_rdma_xb_count_sges(const struct xdr_buf *xdr, in svc_rdma_xb_count_sges()
653 const struct xdr_buf *xdr) in svc_rdma_pull_up_needed()
680 static int svc_rdma_xb_linearize(const struct xdr_buf *xdr, in svc_rdma_xb_linearize()
734 const struct xdr_buf *xdr) in svc_rdma_pull_up_reply_msg()
767 const struct xdr_buf *xdr) in svc_rdma_map_reply_msg()
1014 struct xdr_buf subbuf; in svc_rdma_result_payload()
Dxprt_rdma.h198 struct xdr_buf rr_hdrbuf;
313 struct xdr_buf rl_hdrbuf;
555 struct xdr_buf *xdr,
565 static inline void rpcrdma_set_xdrlen(struct xdr_buf *xdr, size_t len) in rpcrdma_set_xdrlen()
Dsvc_rdma_backchannel.c25 struct xdr_buf *rcvbuf = &rqstp->rq_arg; in svc_rdma_handle_bc_reply()
37 memcpy(&req->rq_private_buf, &req->rq_rcv_buf, sizeof(struct xdr_buf)); in svc_rdma_handle_bc_reply()
Dsvc_rdma_recvfrom.c384 struct xdr_buf *arg = &rqstp->rq_arg; in svc_rdma_build_arg_xdr()
646 static int svc_rdma_xdr_decode_req(struct xdr_buf *rq_arg, in svc_rdma_xdr_decode_req()
Dbackchannel.c230 struct xdr_buf *buf; in rpcrdma_bc_receive_call()