/linux-6.1.9/fs/nfs/ |
D | nfs42xdr.c | 261 static void encode_fallocate(struct xdr_stream *xdr, in encode_fallocate() argument 264 encode_nfs4_stateid(xdr, &args->falloc_stateid); in encode_fallocate() 265 encode_uint64(xdr, args->falloc_offset); in encode_fallocate() 266 encode_uint64(xdr, args->falloc_length); in encode_fallocate() 269 static void encode_allocate(struct xdr_stream *xdr, in encode_allocate() argument 273 encode_op_hdr(xdr, OP_ALLOCATE, decode_allocate_maxsz, hdr); in encode_allocate() 274 encode_fallocate(xdr, args); in encode_allocate() 277 static void encode_nl4_server(struct xdr_stream *xdr, in encode_nl4_server() argument 280 encode_uint32(xdr, ns->nl4_type); in encode_nl4_server() 284 encode_string(xdr, ns->u.nl4_str_sz, ns->u.nl4_str); in encode_nl4_server() [all …]
|
D | nfs4xdr.c | 71 static void encode_layoutget(struct xdr_stream *xdr, 74 static int decode_layoutget(struct xdr_stream *xdr, struct rpc_rqst *req, 964 static __be32 *reserve_space(struct xdr_stream *xdr, size_t nbytes) in reserve_space() argument 966 __be32 *p = xdr_reserve_space(xdr, nbytes); in reserve_space() 971 static void encode_opaque_fixed(struct xdr_stream *xdr, const void *buf, size_t len) in encode_opaque_fixed() argument 973 WARN_ON_ONCE(xdr_stream_encode_opaque_fixed(xdr, buf, len) < 0); in encode_opaque_fixed() 976 static void encode_string(struct xdr_stream *xdr, unsigned int len, const char *str) in encode_string() argument 978 WARN_ON_ONCE(xdr_stream_encode_opaque(xdr, str, len) < 0); in encode_string() 981 static void encode_uint32(struct xdr_stream *xdr, u32 n) in encode_uint32() argument 983 WARN_ON_ONCE(xdr_stream_encode_u32(xdr, n) < 0); in encode_uint32() [all …]
|
D | nfs3xdr.c | 135 static void encode_uint32(struct xdr_stream *xdr, u32 value) in encode_uint32() argument 137 __be32 *p = xdr_reserve_space(xdr, 4); in encode_uint32() 141 static int decode_uint32(struct xdr_stream *xdr, u32 *value) in decode_uint32() argument 145 p = xdr_inline_decode(xdr, 4); in decode_uint32() 152 static int decode_uint64(struct xdr_stream *xdr, u64 *value) in decode_uint64() argument 156 p = xdr_inline_decode(xdr, 8); in decode_uint64() 173 static int decode_fileid3(struct xdr_stream *xdr, u64 *fileid) in decode_fileid3() argument 175 return decode_uint64(xdr, fileid); in decode_fileid3() 183 static void encode_filename3(struct xdr_stream *xdr, in encode_filename3() argument 189 p = xdr_reserve_space(xdr, 4 + length); in encode_filename3() [all …]
|
D | nfs2xdr.c | 97 static int decode_nfsdata(struct xdr_stream *xdr, struct nfs_pgio_res *result) in decode_nfsdata() argument 102 p = xdr_inline_decode(xdr, 4); in decode_nfsdata() 106 recvd = xdr_read_pages(xdr, count); in decode_nfsdata() 142 static int decode_stat(struct xdr_stream *xdr, enum nfs_stat *status) in decode_stat() argument 146 p = xdr_inline_decode(xdr, 4); in decode_stat() 155 trace_nfs_xdr_status(xdr, (int)*status); in decode_stat() 185 static void encode_fhandle(struct xdr_stream *xdr, const struct nfs_fh *fh) in encode_fhandle() argument 189 p = xdr_reserve_space(xdr, NFS2_FHSIZE); in encode_fhandle() 193 static int decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fhandle() argument 197 p = xdr_inline_decode(xdr, NFS2_FHSIZE); in decode_fhandle() [all …]
|
D | callback_xdr.c | 70 static bool nfs4_encode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs4_encode_void() argument 75 static __be32 decode_string(struct xdr_stream *xdr, unsigned int *len, in decode_string() argument 80 err = xdr_stream_decode_opaque_inline(xdr, (void **)str, maxlen); in decode_string() 87 static __be32 decode_fh(struct xdr_stream *xdr, struct nfs_fh *fh) in decode_fh() argument 91 p = xdr_inline_decode(xdr, 4); in decode_fh() 97 p = xdr_inline_decode(xdr, fh->size); in decode_fh() 105 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap() argument 110 p = xdr_inline_decode(xdr, 4); in decode_bitmap() 114 p = xdr_inline_decode(xdr, attrlen << 2); in decode_bitmap() 124 static __be32 decode_stateid(struct xdr_stream *xdr, nfs4_stateid *stateid) in decode_stateid() argument [all …]
|
/linux-6.1.9/fs/nfsd/ |
D | nfs3xdr.c | 58 svcxdr_decode_nfstime3(struct xdr_stream *xdr, struct timespec64 *timep) in svcxdr_decode_nfstime3() argument 62 p = xdr_inline_decode(xdr, XDR_UNIT * 2); in svcxdr_decode_nfstime3() 81 svcxdr_decode_nfs_fh3(struct xdr_stream *xdr, struct svc_fh *fhp) in svcxdr_decode_nfs_fh3() argument 86 if (xdr_stream_decode_u32(xdr, &size) < 0) in svcxdr_decode_nfs_fh3() 90 p = xdr_inline_decode(xdr, size); in svcxdr_decode_nfs_fh3() 110 svcxdr_encode_nfsstat3(struct xdr_stream *xdr, __be32 status) in svcxdr_encode_nfsstat3() argument 114 p = xdr_reserve_space(xdr, sizeof(status)); in svcxdr_encode_nfsstat3() 123 svcxdr_encode_nfs_fh3(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_nfs_fh3() argument 128 p = xdr_reserve_space(xdr, XDR_UNIT + size); in svcxdr_encode_nfs_fh3() 140 svcxdr_encode_post_op_fh3(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_post_op_fh3() argument [all …]
|
D | nfsxdr.c | 37 svcxdr_encode_stat(struct xdr_stream *xdr, __be32 status) in svcxdr_encode_stat() argument 41 p = xdr_reserve_space(xdr, sizeof(status)); in svcxdr_encode_stat() 59 svcxdr_decode_fhandle(struct xdr_stream *xdr, struct svc_fh *fhp) in svcxdr_decode_fhandle() argument 63 p = xdr_inline_decode(xdr, NFS_FHSIZE); in svcxdr_decode_fhandle() 74 svcxdr_encode_fhandle(struct xdr_stream *xdr, const struct svc_fh *fhp) in svcxdr_encode_fhandle() argument 78 p = xdr_reserve_space(xdr, NFS_FHSIZE); in svcxdr_encode_fhandle() 98 svcxdr_decode_filename(struct xdr_stream *xdr, char **name, unsigned int *len) in svcxdr_decode_filename() argument 104 if (xdr_stream_decode_u32(xdr, &size) < 0) in svcxdr_decode_filename() 108 p = xdr_inline_decode(xdr, size); in svcxdr_decode_filename() 122 svcxdr_decode_diropargs(struct xdr_stream *xdr, struct svc_fh *fhp, in svcxdr_decode_diropargs() argument [all …]
|
D | nfs4xdr.c | 161 if (p != argp->xdr->scratch.iov_base) in svcxdr_savemem() 184 if (xdr_stream_decode_u32(argp->xdr, &len) < 0) in nfsd4_decode_ignored_string() 188 if (!xdr_inline_decode(argp->xdr, len)) in nfsd4_decode_ignored_string() 200 if (xdr_stream_decode_u32(argp->xdr, &len) < 0) in nfsd4_decode_opaque() 204 p = xdr_inline_decode(argp->xdr, len); in nfsd4_decode_opaque() 220 if (xdr_stream_decode_u32(argp->xdr, lenp) < 0) in nfsd4_decode_component4() 222 p = xdr_inline_decode(argp->xdr, *lenp); in nfsd4_decode_component4() 240 p = xdr_inline_decode(argp->xdr, XDR_UNIT * 3); in nfsd4_decode_nfstime4() 255 p = xdr_inline_decode(argp->xdr, NFS4_VERIFIER_SIZE); in nfsd4_decode_verifier4() 284 status = xdr_stream_decode_uint32_array(argp->xdr, bmval, bmlen); in nfsd4_decode_bitmap4() [all …]
|
D | xdr3.h | 178 struct xdr_stream xdr; member 268 bool nfs3svc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 269 bool nfs3svc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 270 bool nfs3svc_decode_diropargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 271 bool nfs3svc_decode_accessargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 272 bool nfs3svc_decode_readargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 273 bool nfs3svc_decode_writeargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 274 bool nfs3svc_decode_createargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 275 bool nfs3svc_decode_mkdirargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 276 bool nfs3svc_decode_mknodargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); [all …]
|
D | xdr.h | 115 struct xdr_stream xdr; member 144 bool nfssvc_decode_fhandleargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 145 bool nfssvc_decode_sattrargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 146 bool nfssvc_decode_diropargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 147 bool nfssvc_decode_readargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 148 bool nfssvc_decode_writeargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 149 bool nfssvc_decode_createargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 150 bool nfssvc_decode_renameargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 151 bool nfssvc_decode_linkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 152 bool nfssvc_decode_symlinkargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); [all …]
|
D | nfs4callback.c | 104 static void encode_nfs_cb_opnum4(struct xdr_stream *xdr, enum nfs_cb_opnum4 op) in encode_nfs_cb_opnum4() argument 108 p = xdr_reserve_space(xdr, 4); in encode_nfs_cb_opnum4() 117 static void encode_nfs_fh4(struct xdr_stream *xdr, const struct knfsd_fh *fh) in encode_nfs_fh4() argument 123 p = xdr_reserve_space(xdr, 4 + length); in encode_nfs_fh4() 135 static void encode_stateid4(struct xdr_stream *xdr, const stateid_t *sid) in encode_stateid4() argument 139 p = xdr_reserve_space(xdr, NFS4_STATEID_SIZE); in encode_stateid4() 149 static void encode_sessionid4(struct xdr_stream *xdr, in encode_sessionid4() argument 154 p = xdr_reserve_space(xdr, NFS4_MAX_SESSIONID_LEN); in encode_sessionid4() 219 static int decode_cb_op_status(struct xdr_stream *xdr, in decode_cb_op_status() argument 225 p = xdr_inline_decode(xdr, 4 + 4); in decode_cb_op_status() [all …]
|
D | nfs3acl.c | 131 nfs3svc_decode_getaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_getaclargs() argument 135 if (!svcxdr_decode_nfs_fh3(xdr, &args->fh)) in nfs3svc_decode_getaclargs() 137 if (xdr_stream_decode_u32(xdr, &args->mask) < 0) in nfs3svc_decode_getaclargs() 144 nfs3svc_decode_setaclargs(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_decode_setaclargs() argument 148 if (!svcxdr_decode_nfs_fh3(xdr, &argp->fh)) in nfs3svc_decode_setaclargs() 150 if (xdr_stream_decode_u32(xdr, &argp->mask) < 0) in nfs3svc_decode_setaclargs() 154 if (!nfs_stream_decode_acl(xdr, NULL, (argp->mask & NFS_ACL) ? in nfs3svc_decode_setaclargs() 157 if (!nfs_stream_decode_acl(xdr, NULL, (argp->mask & NFS_DFACL) ? in nfs3svc_decode_setaclargs() 170 nfs3svc_encode_getaclres(struct svc_rqst *rqstp, struct xdr_stream *xdr) in nfs3svc_encode_getaclres() argument 176 if (!svcxdr_encode_nfsstat3(xdr, resp->status)) in nfs3svc_encode_getaclres() [all …]
|
/linux-6.1.9/fs/lockd/ |
D | xdr.c | 51 svcxdr_decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in svcxdr_decode_fhandle() argument 56 if (xdr_stream_decode_u32(xdr, &len) < 0) in svcxdr_decode_fhandle() 61 p = xdr_inline_decode(xdr, len); in svcxdr_decode_fhandle() 72 svcxdr_decode_lock(struct xdr_stream *xdr, struct nlm_lock *lock) in svcxdr_decode_lock() argument 77 if (!svcxdr_decode_string(xdr, &lock->caller, &lock->len)) in svcxdr_decode_lock() 79 if (!svcxdr_decode_fhandle(xdr, &lock->fh)) in svcxdr_decode_lock() 81 if (!svcxdr_decode_owner(xdr, &lock->oh)) in svcxdr_decode_lock() 83 if (xdr_stream_decode_u32(xdr, &lock->svid) < 0) in svcxdr_decode_lock() 85 if (xdr_stream_decode_u32(xdr, &start) < 0) in svcxdr_decode_lock() 87 if (xdr_stream_decode_u32(xdr, &len) < 0) in svcxdr_decode_lock() [all …]
|
D | xdr4.c | 42 svcxdr_decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) in svcxdr_decode_fhandle() argument 47 if (xdr_stream_decode_u32(xdr, &len) < 0) in svcxdr_decode_fhandle() 52 p = xdr_inline_decode(xdr, len); in svcxdr_decode_fhandle() 63 svcxdr_decode_lock(struct xdr_stream *xdr, struct nlm_lock *lock) in svcxdr_decode_lock() argument 67 if (!svcxdr_decode_string(xdr, &lock->caller, &lock->len)) in svcxdr_decode_lock() 69 if (!svcxdr_decode_fhandle(xdr, &lock->fh)) in svcxdr_decode_lock() 71 if (!svcxdr_decode_owner(xdr, &lock->oh)) in svcxdr_decode_lock() 73 if (xdr_stream_decode_u32(xdr, &lock->svid) < 0) in svcxdr_decode_lock() 75 if (xdr_stream_decode_u64(xdr, &lock->lock_start) < 0) in svcxdr_decode_lock() 77 if (xdr_stream_decode_u64(xdr, &lock->lock_len) < 0) in svcxdr_decode_lock() [all …]
|
D | clntxdr.c | 86 static void encode_bool(struct xdr_stream *xdr, const int value) in encode_bool() argument 90 p = xdr_reserve_space(xdr, 4); in encode_bool() 94 static void encode_int32(struct xdr_stream *xdr, const s32 value) in encode_int32() argument 98 p = xdr_reserve_space(xdr, 4); in encode_int32() 105 static void encode_netobj(struct xdr_stream *xdr, in encode_netobj() argument 110 p = xdr_reserve_space(xdr, 4 + length); in encode_netobj() 114 static int decode_netobj(struct xdr_stream *xdr, in decode_netobj() argument 119 ret = xdr_stream_decode_opaque_inline(xdr, (void *)&obj->data, in decode_netobj() 130 static void encode_cookie(struct xdr_stream *xdr, in encode_cookie() argument 133 encode_netobj(xdr, (u8 *)&cookie->data, cookie->len); in encode_cookie() [all …]
|
D | clnt4xdr.c | 89 static void encode_bool(struct xdr_stream *xdr, const int value) in encode_bool() argument 93 p = xdr_reserve_space(xdr, 4); in encode_bool() 97 static void encode_int32(struct xdr_stream *xdr, const s32 value) in encode_int32() argument 101 p = xdr_reserve_space(xdr, 4); in encode_int32() 108 static void encode_netobj(struct xdr_stream *xdr, in encode_netobj() argument 113 p = xdr_reserve_space(xdr, 4 + length); in encode_netobj() 117 static int decode_netobj(struct xdr_stream *xdr, in decode_netobj() argument 122 ret = xdr_stream_decode_opaque_inline(xdr, (void *)&obj->data, in decode_netobj() 133 static void encode_cookie(struct xdr_stream *xdr, in encode_cookie() argument 136 encode_netobj(xdr, (u8 *)&cookie->data, cookie->len); in encode_cookie() [all …]
|
D | svcxdr.h | 22 svcxdr_decode_stats(struct xdr_stream *xdr, __be32 *status) in svcxdr_decode_stats() argument 26 p = xdr_inline_decode(xdr, XDR_UNIT); in svcxdr_decode_stats() 35 svcxdr_encode_stats(struct xdr_stream *xdr, __be32 status) in svcxdr_encode_stats() argument 39 p = xdr_reserve_space(xdr, XDR_UNIT); in svcxdr_encode_stats() 48 svcxdr_decode_string(struct xdr_stream *xdr, char **data, unsigned int *data_len) in svcxdr_decode_string() argument 53 if (xdr_stream_decode_u32(xdr, &len) < 0) in svcxdr_decode_string() 57 p = xdr_inline_decode(xdr, len); in svcxdr_decode_string() 73 svcxdr_decode_cookie(struct xdr_stream *xdr, struct nlm_cookie *cookie) in svcxdr_decode_cookie() argument 78 if (xdr_stream_decode_u32(xdr, &len) < 0) in svcxdr_decode_cookie() 85 p = xdr_inline_decode(xdr, len); in svcxdr_decode_cookie() [all …]
|
/linux-6.1.9/net/sunrpc/auth_gss/ |
D | gss_rpc_xdr.c | 11 static int gssx_enc_bool(struct xdr_stream *xdr, int v) in gssx_enc_bool() argument 15 p = xdr_reserve_space(xdr, 4); in gssx_enc_bool() 22 static int gssx_dec_bool(struct xdr_stream *xdr, u32 *v) in gssx_dec_bool() argument 26 p = xdr_inline_decode(xdr, 4); in gssx_dec_bool() 33 static int gssx_enc_buffer(struct xdr_stream *xdr, in gssx_enc_buffer() argument 38 p = xdr_reserve_space(xdr, sizeof(u32) + buf->len); in gssx_enc_buffer() 45 static int gssx_enc_in_token(struct xdr_stream *xdr, in gssx_enc_in_token() argument 50 p = xdr_reserve_space(xdr, 4); in gssx_enc_in_token() 56 xdr_write_pages(xdr, in->pages, in->page_base, in->page_len); in gssx_enc_in_token() 62 static int gssx_dec_buffer(struct xdr_stream *xdr, in gssx_dec_buffer() argument [all …]
|
/linux-6.1.9/net/sunrpc/ |
D | xdr.c | 178 xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, in xdr_inline_pages() argument 181 struct kvec *head = xdr->head; in xdr_inline_pages() 182 struct kvec *tail = xdr->tail; in xdr_inline_pages() 188 xdr->pages = pages; in xdr_inline_pages() 189 xdr->page_base = base; in xdr_inline_pages() 190 xdr->page_len = len; in xdr_inline_pages() 194 xdr->buflen += len; in xdr_inline_pages() 877 unsigned int xdr_stream_pos(const struct xdr_stream *xdr) in xdr_stream_pos() argument 879 return (unsigned int)(XDR_QUADLEN(xdr->buf->len) - xdr->nwords) << 2; in xdr_stream_pos() 883 static void xdr_stream_set_pos(struct xdr_stream *xdr, unsigned int pos) in xdr_stream_set_pos() argument [all …]
|
D | socklib.c | 90 xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct xdr_skb_reader *desc, xdr_… in xdr_partial_copy_from_skb() argument 92 struct page **ppage = xdr->pages; in xdr_partial_copy_from_skb() 93 unsigned int len, pglen = xdr->page_len; in xdr_partial_copy_from_skb() 97 len = xdr->head[0].iov_len; in xdr_partial_copy_from_skb() 100 ret = copy_actor(desc, (char *)xdr->head[0].iov_base + base, len); in xdr_partial_copy_from_skb() 114 if (base || xdr->page_base) { in xdr_partial_copy_from_skb() 116 base += xdr->page_base; in xdr_partial_copy_from_skb() 125 if ((xdr->flags & XDRBUF_SPARSE_PAGES) && *ppage == NULL) { in xdr_partial_copy_from_skb() 155 len = xdr->tail[0].iov_len; in xdr_partial_copy_from_skb() 157 copied += copy_actor(desc, (char *)xdr->tail[0].iov_base + base, len - base); in xdr_partial_copy_from_skb() [all …]
|
/linux-6.1.9/include/linux/sunrpc/ |
D | xdr.h | 236 typedef void (*kxdreproc_t)(struct rpc_rqst *rqstp, struct xdr_stream *xdr, 238 typedef int (*kxdrdproc_t)(struct rpc_rqst *rqstp, struct xdr_stream *xdr, 241 extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, 243 extern void xdr_init_encode_pages(struct xdr_stream *xdr, struct xdr_buf *buf, 245 extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes); 246 extern int xdr_reserve_space_vec(struct xdr_stream *xdr, struct kvec *vec, 248 extern void __xdr_commit_encode(struct xdr_stream *xdr); 249 extern void xdr_truncate_encode(struct xdr_stream *xdr, size_t len); 250 extern int xdr_restrict_buflen(struct xdr_stream *xdr, int newbuflen); 251 extern void xdr_write_pages(struct xdr_stream *xdr, struct page **pages, [all …]
|
/linux-6.1.9/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 129 struct xdr_buf *xdr = &rqst->rq_snd_buf; in rpcrdma_args_inline() local 133 if (xdr->len > ep->re_max_inline_send) in rpcrdma_args_inline() 136 if (xdr->page_len) { in rpcrdma_args_inline() 137 remaining = xdr->page_len; in rpcrdma_args_inline() 138 offset = offset_in_page(xdr->page_base); in rpcrdma_args_inline() 267 encode_rdma_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr) in encode_rdma_segment() argument 271 p = xdr_reserve_space(xdr, 4 * sizeof(*p)); in encode_rdma_segment() 280 encode_read_segment(struct xdr_stream *xdr, struct rpcrdma_mr *mr, in encode_read_segment() argument 285 p = xdr_reserve_space(xdr, 6 * sizeof(*p)); in encode_read_segment() 338 struct xdr_stream *xdr = &req->rl_stream; in rpcrdma_encode_read_list() local [all …]
|
/linux-6.1.9/include/linux/lockd/ |
D | xdr4.h | 25 bool nlm4svc_decode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr); 26 bool nlm4svc_decode_testargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 27 bool nlm4svc_decode_lockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 28 bool nlm4svc_decode_cancargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 29 bool nlm4svc_decode_unlockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 30 bool nlm4svc_decode_res(struct svc_rqst *rqstp, struct xdr_stream *xdr); 31 bool nlm4svc_decode_reboot(struct svc_rqst *rqstp, struct xdr_stream *xdr); 32 bool nlm4svc_decode_shareargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 33 bool nlm4svc_decode_notify(struct svc_rqst *rqstp, struct xdr_stream *xdr); 35 bool nlm4svc_encode_testres(struct svc_rqst *rqstp, struct xdr_stream *xdr); [all …]
|
D | xdr.h | 101 bool nlmsvc_decode_void(struct svc_rqst *rqstp, struct xdr_stream *xdr); 102 bool nlmsvc_decode_testargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 103 bool nlmsvc_decode_lockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 104 bool nlmsvc_decode_cancargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 105 bool nlmsvc_decode_unlockargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 106 bool nlmsvc_decode_res(struct svc_rqst *rqstp, struct xdr_stream *xdr); 107 bool nlmsvc_decode_reboot(struct svc_rqst *rqstp, struct xdr_stream *xdr); 108 bool nlmsvc_decode_shareargs(struct svc_rqst *rqstp, struct xdr_stream *xdr); 109 bool nlmsvc_decode_notify(struct svc_rqst *rqstp, struct xdr_stream *xdr); 111 bool nlmsvc_encode_testres(struct svc_rqst *rqstp, struct xdr_stream *xdr); [all …]
|
/linux-6.1.9/net/rxrpc/ |
D | key.c | 54 const __be32 *xdr, unsigned int toklen) in rxrpc_preparse_xdr_rxkad() argument 62 ntohl(xdr[0]), ntohl(xdr[1]), ntohl(xdr[2]), ntohl(xdr[3]), in rxrpc_preparse_xdr_rxkad() 67 tktlen = ntohl(xdr[7]); in rxrpc_preparse_xdr_rxkad() 90 token->kad->vice_id = ntohl(xdr[0]); in rxrpc_preparse_xdr_rxkad() 91 token->kad->kvno = ntohl(xdr[1]); in rxrpc_preparse_xdr_rxkad() 92 token->kad->start = ntohl(xdr[4]); in rxrpc_preparse_xdr_rxkad() 93 token->kad->expiry = ntohl(xdr[5]); in rxrpc_preparse_xdr_rxkad() 94 token->kad->primary_flag = ntohl(xdr[6]); in rxrpc_preparse_xdr_rxkad() 95 memcpy(&token->kad->session_key, &xdr[2], 8); in rxrpc_preparse_xdr_rxkad() 96 memcpy(&token->kad->ticket, &xdr[8], tktlen); in rxrpc_preparse_xdr_rxkad() [all …]
|