Home
last modified time | relevance | path

Searched refs:XDR_QUADLEN (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/fs/nfsd/
Dxdr4cb.h36 XDR_QUADLEN(NFS4_OPAQUE_LIMIT) + \
42 XDR_QUADLEN(NFS4_VERIFIER_SIZE))
Dblocklayoutxdr.c48 len = 4 + 4 + 8 + 4 + (XDR_QUADLEN(b->simple.sig_len) << 2); in nfsd4_block_encode_volume()
59 len = 4 + 4 + 4 + 4 + (XDR_QUADLEN(b->scsi.designator_len) << 2) + 8; in nfsd4_block_encode_volume()
139 p += XDR_QUADLEN(sizeof(struct nfsd4_deviceid)); in nfsd4_block_decode_layoutupdate()
Dnfs4proc.c2469 #define op_encode_stateid_maxsz (XDR_QUADLEN(NFS4_STATEID_SIZE))
2470 #define op_encode_verifier_maxsz (XDR_QUADLEN(NFS4_VERIFIER_SIZE))
2478 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
2588 return (op_encode_hdr_size + 2 + XDR_QUADLEN(rlen)) * sizeof(__be32); in nfsd4_read_rsize()
2602 return (op_encode_hdr_size + 2 + seg_len + XDR_QUADLEN(rlen)) * sizeof(__be32); in nfsd4_read_plus_rsize()
2613 XDR_QUADLEN(rlen)) * sizeof(__be32); in nfsd4_readdir_rsize()
2637 + XDR_QUADLEN(NFS4_MAX_SESSIONID_LEN) + 5) * sizeof(__be32); in nfsd4_sequence_rsize()
2654 (4 + XDR_QUADLEN(GSS_OID_MAX_LEN))) * sizeof(__be32); in nfsd4_secinfo_rsize()
2659 return (op_encode_hdr_size + 2 + XDR_QUADLEN(NFS4_VERIFIER_SIZE)) * in nfsd4_setclientid_rsize()
2675 XDR_QUADLEN(NFS4_OPAQUE_LIMIT) + 1 +\ in nfsd4_exchange_id_rsize()
[all …]
Dnfs4xdr.c116 p += XDR_QUADLEN(nbytes); \
126 p += XDR_QUADLEN(nbytes); \
130 p += XDR_QUADLEN(nbytes); \
137 argp->p += XDR_QUADLEN(nbytes); \
150 argp->end = argp->p + XDR_QUADLEN(argp->pagelen); in next_decode_page()
180 argp->p += XDR_QUADLEN(nbytes); in read_buf()
206 argp->p += XDR_QUADLEN(nbytes - avail); in read_buf()
284 len = XDR_QUADLEN(buflen) << 2; in svcxdr_construct_vector()
295 argp->p += XDR_QUADLEN(len); in svcxdr_construct_vector()
419 len += XDR_QUADLEN(dummy32) << 2; in nfsd4_decode_fattr()
[all …]
Dnfs3xdr.c60 return p + XDR_QUADLEN(size); in decode_fh()
74 if (size) p[XDR_QUADLEN(size)-1]=0; in encode_fh()
76 return p + XDR_QUADLEN(size); in encode_fh()
437 if (dlen < XDR_QUADLEN(len)*4) in nfs3svc_decode_writeargs()
508 if (dlen < XDR_QUADLEN(args->tlen) << 2) in nfs3svc_decode_symlinkargs()
957 slen = XDR_QUADLEN(namlen); in encode_entry()
Dnfsxdr.c307 if (dlen < XDR_QUADLEN(len)*4) in nfssvc_decode_writeargs()
397 xdrlen = XDR_QUADLEN(args->tlen); in nfssvc_decode_symlinkargs()
572 slen = XDR_QUADLEN(namlen); in nfssvc_encode_entry()
Dnfs4callback.c298 p += XDR_QUADLEN(length); in decode_cb_compound4res()
407 p += XDR_QUADLEN(NFS4_MAX_SESSIONID_LEN); in decode_cb_sequence4resok()
/kernel/linux/linux-5.10/net/sunrpc/
Dauth_unix.c189 auth->au_verfsize = XDR_QUADLEN(size) + 2; in unx_validate()
190 auth->au_rslack = XDR_QUADLEN(size) + 2; in unx_validate()
191 auth->au_ralign = XDR_QUADLEN(size) + 2; in unx_validate()
Dxdr.c31 unsigned int quadlen = XDR_QUADLEN(obj->len); in xdr_encode_netobj()
36 return p + XDR_QUADLEN(obj->len); in xdr_encode_netobj()
49 return p + XDR_QUADLEN(len); in xdr_decode_netobj()
70 unsigned int quadlen = XDR_QUADLEN(nbytes); in xdr_encode_opaque_fixed()
116 return p + XDR_QUADLEN(len); in xdr_decode_string_inplace()
635 return (unsigned int)(XDR_QUADLEN(xdr->buf->len) - xdr->nwords) << 2; in xdr_stream_pos()
1057 xdr->nwords = XDR_QUADLEN(buf->len); in xdr_init_decode()
1093 unsigned int nwords = XDR_QUADLEN(nbytes); in __xdr_inline_decode()
1188 xdr->nwords = XDR_QUADLEN(buf->len - cur); in xdr_realign_pages()
1195 unsigned int nwords = XDR_QUADLEN(len); in xdr_align_pages()
[all …]
Drpcb_clnt.c90 #define RPCB_netid_sz (1 + XDR_QUADLEN(RPCBIND_MAXNETIDLEN))
91 #define RPCB_addr_sz (1 + XDR_QUADLEN(RPCBIND_MAXUADDRLEN))
92 #define RPCB_ownerstring_sz (1 + XDR_QUADLEN(RPCB_MAXOWNERLEN))
/kernel/linux/linux-5.10/fs/lockd/
Dxdr4.c62 p+=XDR_QUADLEN(len); in nlm4_decode_cookie()
79 p+=XDR_QUADLEN(c->len); in nlm4_encode_cookie()
94 return p + XDR_QUADLEN(f->size); in nlm4_decode_fh()
324 p += XDR_QUADLEN(SM_PRIV_SIZE); in nlm4svc_decode_reboot()
Dxdr.c62 p+=XDR_QUADLEN(len); in nlm_decode_cookie()
79 p+=XDR_QUADLEN(c->len); in nlm_encode_cookie()
96 return p + XDR_QUADLEN(NFS2_FHSIZE); in nlm_decode_fh()
327 p += XDR_QUADLEN(SM_PRIV_SIZE); in nlmsvc_decode_reboot()
Dmon.c528 #define SM_my_name_sz (1+XDR_QUADLEN(SM_MAXSTRLEN))
530 #define SM_mon_name_sz (1+XDR_QUADLEN(SM_MAXSTRLEN))
532 #define SM_priv_sz (XDR_QUADLEN(SM_PRIV_SIZE))
Dsvcproc.c544 #define Ck (1+XDR_QUADLEN(NLM_MAXCOOKIELEN)) /* cookie */
Dsvc4proc.c502 #define Ck (1+XDR_QUADLEN(NLM_MAXCOOKIELEN)) /* cookie */
/kernel/linux/linux-5.10/fs/nfs/
Dnfs42xdr.c14 XDR_QUADLEN(NFS4_STATEID_SIZE) + \
17 XDR_QUADLEN(NFS4_VERIFIER_SIZE))
22 XDR_QUADLEN(NFS4_STATEID_SIZE) + \
23 XDR_QUADLEN(NFS4_STATEID_SIZE) + \
27 1 + XDR_QUADLEN(NFS4_OPAQUE_LIMIT))
33 XDR_QUADLEN(NFS4_STATEID_SIZE))
36 XDR_QUADLEN(NFS4_STATEID_SIZE) + \
38 1 + XDR_QUADLEN(NFS4_OPAQUE_LIMIT))
41 XDR_QUADLEN(NFS4_STATEID_SIZE) + \
44 1 + XDR_QUADLEN(NFS4_OPAQUE_LIMIT))
[all …]
Dexport.c40 int len = EMBED_FH_OFF + XDR_QUADLEN(fh_size); in nfs_encode_fh()
74 int len = EMBED_FH_OFF + XDR_QUADLEN(fh_size); in nfs_fh_to_dentry()
Dmount_clnt.c30 #define encode_dirpath_sz (1 + XDR_QUADLEN(MNTPATHLEN))
32 #define MNT_fhandle_sz XDR_QUADLEN(NFS2_FHSIZE)
33 #define MNT_fhandlev3_sz XDR_QUADLEN(NFS3_FHSIZE)
Dnfs4xdr.c89 #define decode_lockowner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
94 #define encode_stateid_maxsz (XDR_QUADLEN(NFS4_STATEID_SIZE))
95 #define decode_stateid_maxsz (XDR_QUADLEN(NFS4_STATEID_SIZE))
96 #define encode_verifier_maxsz (XDR_QUADLEN(NFS4_VERIFIER_SIZE))
97 #define decode_verifier_maxsz (XDR_QUADLEN(NFS4_VERIFIER_SIZE))
111 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
112 #define nfs4_group_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
115 #define nfs4_label_maxsz (4 + 4 + 1 + XDR_QUADLEN(NFS4_MAXLABELLEN))
151 XDR_QUADLEN(NFS4_VERIFIER_SIZE) + \
153 1 + XDR_QUADLEN(NFS4_OPAQUE_LIMIT) + \
[all …]
Dnfs3xdr.c87 XDR_QUADLEN(NFS_ACL_INLINE_BUFSIZE))
89 XDR_QUADLEN(NFS_ACL_INLINE_BUFSIZE)+1)
276 return p + XDR_QUADLEN(NFS3_COOKIEVERFSIZE); in xdr_encode_cookieverf3()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c352 *slack = XDR_QUADLEN(saved_len - buf->len); in gss_unwrap_kerberos_v1()
555 *align = XDR_QUADLEN(GSS_KRB5_TOK_HDR_LEN + headskip); in gss_unwrap_kerberos_v2()
556 *slack = *align + XDR_QUADLEN(ec + GSS_KRB5_TOK_HDR_LEN + tailskip); in gss_unwrap_kerberos_v2()
Dsvcauth_gss.c795 p += XDR_QUADLEN(mic.len); in gss_write_verf()
1694 p += XDR_QUADLEN(verf_len); in svcauth_gss_prepare_to_wrap()
1746 resv->iov_len += XDR_QUADLEN(mic.len) << 2; in svcauth_gss_wrap_resp_integ()
1748 resbuf->len += XDR_QUADLEN(mic.len) << 2; in svcauth_gss_wrap_resp_integ()
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dauth.h33 #define UNX_CALLSLACK (21 + XDR_QUADLEN(UNX_MAXNODENAME))
Dxdr.h25 #define XDR_QUADLEN(l) (((l) + 3) >> 2) macro
161 return p + XDR_QUADLEN(len); in xdr_decode_opaque_fixed()
/kernel/linux/linux-5.10/fs/nfs/blocklayout/
Ddev.c94 (XDR_QUADLEN(b->simple.sigs[i].sig_len) << 2); in nfs4_block_decode_volume()

12