Home
last modified time | relevance | path

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

123

/linux-6.12.1/net/sunrpc/auth_gss/
Dgss_krb5_internal.h42 struct xdr_buf *buf, struct page **pages);
44 struct xdr_buf *buf, u32 *headskip, u32 *tailskip);
45 u32 (*get_mic)(struct krb5_ctx *kctx, struct xdr_buf *text,
47 u32 (*verify_mic)(struct krb5_ctx *kctx, struct xdr_buf *message_buffer,
50 struct xdr_buf *buf, struct page **pages);
52 struct xdr_buf *buf, unsigned int *slack,
87 u32 gss_krb5_get_mic_v2(struct krb5_ctx *ctx, struct xdr_buf *text,
90 u32 gss_krb5_verify_mic_v2(struct krb5_ctx *ctx, struct xdr_buf *message_buffer,
94 struct xdr_buf *buf, struct page **pages);
97 struct xdr_buf *buf, unsigned int *slack,
[all …]
Dgss_krb5_wrap.c55 static void rotate_buf_a_little(struct xdr_buf *buf, unsigned int shift) in rotate_buf_a_little()
72 static void _rotate_left(struct xdr_buf *buf, unsigned int shift) in _rotate_left()
85 static void rotate_left(u32 base, struct xdr_buf *buf, unsigned int shift) in rotate_left()
87 struct xdr_buf subbuf; in rotate_left()
95 struct xdr_buf *buf, struct page **pages) in gss_krb5_wrap_v2()
143 struct xdr_buf *buf, unsigned int *slack, in gss_krb5_unwrap_v2()
Dgss_krb5_crypto.c212 struct xdr_buf *body, int body_offset, u8 *cksumkey, in make_checksum()
315 const struct xdr_buf *body, int body_offset, in gss_krb5_checksum()
372 struct xdr_buf *outbuf;
384 struct xdr_buf *outbuf = desc->outbuf; in encryptor()
446 gss_encrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, in gss_encrypt_xdr_buf()
529 gss_decrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, in gss_decrypt_xdr_buf()
572 xdr_extend_head(struct xdr_buf *buf, unsigned int base, unsigned int shiftlen) in xdr_extend_head()
592 gss_krb5_cts_crypt(struct crypto_sync_skcipher *cipher, struct xdr_buf *buf, in gss_krb5_cts_crypt()
677 u32 offset, struct xdr_buf *buf, struct page **pages, in krb5_cbc_cts_encrypt()
742 u32 offset, struct xdr_buf *buf) in krb5_cbc_cts_decrypt()
[all …]
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()
Dgss_krb5_mech.c523 static u32 gss_krb5_get_mic(struct gss_ctx *gctx, struct xdr_buf *text, in gss_krb5_get_mic()
545 struct xdr_buf *message_buffer, in gss_krb5_verify_mic()
566 struct xdr_buf *buf, struct page **pages) in gss_krb5_wrap()
588 int len, struct xdr_buf *buf) in gss_krb5_unwrap()
/linux-6.12.1/include/linux/sunrpc/
Dxdr.h56 struct xdr_buf { struct
74 xdr_buf_init(struct xdr_buf *buf, void *start, size_t len) in xdr_buf_init() argument
136 void xdr_inline_pages(struct xdr_buf *, unsigned int,
138 void xdr_terminate_string(const struct xdr_buf *, const u32);
139 size_t xdr_buf_pagecount(const struct xdr_buf *buf);
140 int xdr_alloc_bvec(struct xdr_buf *buf, gfp_t gfp);
141 void xdr_free_bvec(struct xdr_buf *buf);
143 const struct xdr_buf *xdr);
193 extern void xdr_buf_from_iov(const struct kvec *, struct xdr_buf *);
194 extern int xdr_buf_subsegment(const struct xdr_buf *, struct xdr_buf *, unsigned int, unsigned int);
[all …]
Dgss_api.h56 struct xdr_buf *message,
60 struct xdr_buf *message,
65 struct xdr_buf *outbuf,
71 struct xdr_buf *inbuf);
118 struct xdr_buf *message,
122 struct xdr_buf *message,
127 struct xdr_buf *outbuf,
133 struct xdr_buf *buf);
Dsvc_rdma.h194 struct xdr_buf rc_saved_arg;
223 const struct xdr_buf *wi_xdr;
241 struct xdr_buf sc_hdrbuf;
279 const struct xdr_buf *xdr);
284 const struct xdr_buf *xdr);
301 const struct xdr_buf *xdr);
Dsvc.h190 struct xdr_buf rq_arg;
194 struct xdr_buf rq_res;
465 struct xdr_buf *payload);
500 struct xdr_buf *buf = &rqstp->rq_arg; in svcxdr_init_decode()
518 struct xdr_buf *buf = &rqstp->rq_res; in svcxdr_init_encode()
565 struct xdr_buf *buf = &rqstp->rq_res; in svcxdr_set_auth_slack()
Dsvc_rdma_pcl.h123 const struct xdr_buf *xdr,
124 int (*actor)(const struct xdr_buf *,
Dxprt.h59 struct xdr_buf rq_snd_buf; /* send buffer */
60 struct xdr_buf rq_rcv_buf; /* recv buffer */
91 struct xdr_buf rq_private_buf; /* The receive buffer
153 struct xdr_buf *buf);
/linux-6.12.1/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()
161 xdr_free_bvec(struct xdr_buf *buf) in xdr_free_bvec()
176 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()
490 static void xdr_buf_pages_zero(const struct xdr_buf *buf, unsigned int pgbase, in xdr_buf_pages_zero()
530 static unsigned int xdr_buf_pages_fill_sparse(const struct xdr_buf *buf, in xdr_buf_pages_fill_sparse()
558 static void xdr_buf_try_expand(struct xdr_buf *buf, unsigned int len) in xdr_buf_try_expand()
584 static void xdr_buf_tail_copy_right(const struct xdr_buf *buf, in xdr_buf_tail_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.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()
Dbackchannel_rqst.c42 struct xdr_buf *xbufp; in xprt_free_allocation()
53 static void xprt_bc_reinit_xdr_buf(struct xdr_buf *buf) in xprt_bc_reinit_xdr_buf()
64 static int xprt_alloc_xdr_buf(struct xdr_buf *buf, gfp_t gfp_flags) in xprt_alloc_xdr_buf()
/linux-6.12.1/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.c129 struct xdr_buf *xdr = &rqst->rq_snd_buf; in rpcrdma_args_inline()
172 const struct xdr_buf *buf = &rqst->rq_rcv_buf; in rpcrdma_nonpayload_inline()
184 rpcrdma_alloc_sparse_pages(struct xdr_buf *buf) in rpcrdma_alloc_sparse_pages()
228 rpcrdma_convert_iovs(struct rpcrdma_xprt *r_xprt, struct xdr_buf *xdrbuf, in rpcrdma_convert_iovs()
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()
714 struct xdr_buf *xdr) in rpcrdma_prepare_noch_pullup()
728 struct xdr_buf *xdr) in rpcrdma_prepare_noch_mapped()
[all …]
Dxprt_rdma.h206 struct xdr_buf rr_hdrbuf;
321 struct xdr_buf rl_hdrbuf;
564 struct xdr_buf *xdr,
574 static inline void rpcrdma_set_xdrlen(struct xdr_buf *xdr, size_t len) in rpcrdma_set_xdrlen()
Dsvc_rdma_rw.c438 const struct xdr_buf *xdr = info->wi_xdr; in svc_rdma_pagelist_to_sg()
556 const struct xdr_buf *xdr, in svc_rdma_pages_write()
577 static int svc_rdma_xb_write(const struct xdr_buf *xdr, void *data) in svc_rdma_xb_write()
606 const struct xdr_buf *xdr) in svc_rdma_send_write_chunk()
610 struct xdr_buf payload; in svc_rdma_send_write_chunk()
648 const struct xdr_buf *xdr) in svc_rdma_send_write_list()
682 const struct xdr_buf *xdr) in svc_rdma_prepare_reply_chunk()
Dsvc_rdma_sendto.c621 static int svc_rdma_xb_dma_map(const struct xdr_buf *xdr, void *data) in svc_rdma_xb_dma_map()
667 static int svc_rdma_xb_count_sges(const struct xdr_buf *xdr, in svc_rdma_xb_count_sges()
706 const struct xdr_buf *xdr) in svc_rdma_pull_up_needed()
733 static int svc_rdma_xb_linearize(const struct xdr_buf *xdr, in svc_rdma_xb_linearize()
787 const struct xdr_buf *xdr) in svc_rdma_pull_up_reply_msg()
822 const struct xdr_buf *xdr) in svc_rdma_map_reply_msg()
Dsvc_rdma_recvfrom.c400 struct xdr_buf *arg = &rqstp->rq_arg; in svc_rdma_build_arg_xdr()
662 static int svc_rdma_xdr_decode_req(struct xdr_buf *rq_arg, in svc_rdma_xdr_decode_req()
782 struct xdr_buf *buf = &rqstp->rq_arg; in svc_rdma_read_complete_one()
818 struct xdr_buf *buf = &rqstp->rq_arg; in svc_rdma_read_complete_multiple()
837 struct xdr_buf *buf = &rqstp->rq_arg; in svc_rdma_read_complete_pzrc()
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()
/linux-6.12.1/include/linux/
Dnfsacl.h36 nfsacl_encode(struct xdr_buf *buf, unsigned int base, struct inode *inode,
39 nfsacl_decode(struct xdr_buf *buf, unsigned int base, unsigned int *aclcnt,
/linux-6.12.1/drivers/block/
Dps3vram.c78 u8 *xdr_buf; member
457 memcpy(buf, priv->xdr_buf + cached, avail); in ps3vram_read()
498 memcpy(priv->xdr_buf + cached, buf, avail); in ps3vram_write()
627 priv->xdr_buf = (void *)__get_free_pages(GFP_KERNEL, in ps3vram_probe()
629 if (priv->xdr_buf == NULL) { in ps3vram_probe()
636 priv->fifo_base = (u32 *) (priv->xdr_buf + FIFO_OFFSET); in ps3vram_probe()
683 xdr_lpar = ps3_mm_phys_to_lpar(__pa(priv->xdr_buf)); in ps3vram_probe()
777 free_pages((unsigned long) priv->xdr_buf, get_order(XDR_BUF_SIZE)); in ps3vram_probe()
796 ps3_mm_phys_to_lpar(__pa(priv->xdr_buf)), in ps3vram_remove()
801 free_pages((unsigned long) priv->xdr_buf, get_order(XDR_BUF_SIZE)); in ps3vram_remove()
/linux-6.12.1/fs/nfsd/
Dxdr.h36 struct xdr_buf payload;
116 struct xdr_buf dirlist;

123