Home
last modified time | relevance | path

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

12

/linux/fs/nfsd/
H A Dxdr4cb.h36 XDR_QUADLEN(NFS4_OPAQUE_LIMIT) + \
42 XDR_QUADLEN(NFS4_VERIFIER_SIZE))
H A Dblocklayoutxdr.c49 len = 4 + 4 + 8 + 4 + (XDR_QUADLEN(b->simple.sig_len) << 2); in nfsd4_block_encode_volume()
60 len = 4 + 4 + 4 + 4 + (XDR_QUADLEN(b->scsi.designator_len) << 2) + 8; in nfsd4_block_encode_volume()
149 p += XDR_QUADLEN(sizeof(struct nfsd4_deviceid)); in nfsd4_block_decode_layoutupdate()
H A Dnfs4proc.c2829 #define op_encode_stateid_maxsz (XDR_QUADLEN(NFS4_STATEID_SIZE))
2838 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
2994 XDR_QUADLEN(rlen)) * sizeof(__be32); in nfsd4_readdir_rsize()
3021 + XDR_QUADLEN(NFS4_MAX_SESSIONID_LEN) + 5) * sizeof(__be32); in nfsd4_sequence_rsize()
3041 (4 + XDR_QUADLEN(GSS_OID_MAX_LEN))) * sizeof(__be32); in nfsd4_secinfo_rsize()
3065 XDR_QUADLEN(NFS4_OPAQUE_LIMIT) + 1 +\ in nfsd4_exchange_id_rsize()
3067 XDR_QUADLEN(NFS4_OPAQUE_LIMIT) + 1 +\ in nfsd4_exchange_id_rsize()
3076 XDR_QUADLEN(NFS4_MAX_SESSIONID_LEN) + /* bctsr_sessid */\ in nfsd4_bind_conn_to_session_rsize()
3084 XDR_QUADLEN(NFS4_MAX_SESSIONID_LEN) + /* sessionid */\ in nfsd4_create_session_rsize()
3122 XDR_QUADLEN(NFS4_OPAQUE_LIMIT) /*nl4_loc + nl4_loc_sz */) in nfsd4_copy_notify_rsize()
[all …]
H A Dlocalio.c167 .vs_xdrsize = XDR_QUADLEN(UUID_SIZE),
H A Dnfs4callback.c299 p += XDR_QUADLEN(length); in decode_cb_compound4res()
450 p += XDR_QUADLEN(NFS4_MAX_SESSIONID_LEN); in decode_cb_sequence4resok()
/linux/net/sunrpc/
H A Dauth_unix.c197 auth->au_verfsize = XDR_QUADLEN(size) + 2; in unx_validate()
198 auth->au_rslack = XDR_QUADLEN(size) + 2; in unx_validate()
199 auth->au_ralign = XDR_QUADLEN(size) + 2; in unx_validate()
H A 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()
929 xdr->nwords = blen > pos ? XDR_QUADLEN(blen) - XDR_QUADLEN(pos) : 0; in xdr_stream_set_pos()
1246 xdr->nwords -= XDR_QUADLEN(nbytes); in xdr_truncate_decode()
1433 xdr->nwords = XDR_QUADLEN(buf->len); in xdr_init_decode()
1476 unsigned int nwords = XDR_QUADLEN(nbytes); in __xdr_inline_decode()
1559 unsigned int nwords = XDR_QUADLEN(len); in xdr_align_pages()
[all …]
H A Drpcb_clnt.c91 #define RPCB_netid_sz (1 + XDR_QUADLEN(RPCBIND_MAXNETIDLEN))
92 #define RPCB_addr_sz (1 + XDR_QUADLEN(RPCBIND_MAXUADDRLEN))
93 #define RPCB_ownerstring_sz (1 + XDR_QUADLEN(RPCB_MAXOWNERLEN))
/linux/fs/nfs/
H A Dnfs42xdr.c17 XDR_QUADLEN(NFS4_STATEID_SIZE) + \
20 XDR_QUADLEN(NFS4_VERIFIER_SIZE))
25 XDR_QUADLEN(NFS4_STATEID_SIZE) + \
26 XDR_QUADLEN(NFS4_STATEID_SIZE) + \
30 1 + XDR_QUADLEN(NFS4_OPAQUE_LIMIT))
36 XDR_QUADLEN(NFS4_STATEID_SIZE))
39 XDR_QUADLEN(NFS4_STATEID_SIZE) + \
41 1 + XDR_QUADLEN(NFS4_OPAQUE_LIMIT))
44 XDR_QUADLEN(NFS4_STATEID_SIZE) + \
47 1 + XDR_QUADLEN(NFS4_OPAQUE_LIMIT))
[all …]
H A Dexport.c40 int len = EMBED_FH_OFF + XDR_QUADLEN(fh_size); in nfs_encode_fh()
73 int len = EMBED_FH_OFF + XDR_QUADLEN(fh_size); in nfs_fh_to_dentry()
H A 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)
H A Dnfs4xdr.c159 XDR_QUADLEN(NFS4_VERIFIER_SIZE) + \
169 XDR_QUADLEN(NFS4_VERIFIER_SIZE) + \
171 1 + XDR_QUADLEN(RPCBIND_MAXUADDRLEN))
328 XDR_QUADLEN(NFS4_OPAQUE_LIMIT) + \
330 XDR_QUADLEN(IMPL_NAME_LIMIT) + \
347 XDR_QUADLEN(NFS4_OPAQUE_LIMIT) + \
349 XDR_QUADLEN(NFS4_OPAQUE_LIMIT) + \
397 XDR_QUADLEN(NFS4_DEVICEID4_SIZE) + \
433 XDR_QUADLEN(NFS4_OPAQUE_LIMIT))
439 XDR_QUADLEN(NFS4_STATEID_SIZE))
[all …]
H A Dnfs3xdr.c87 XDR_QUADLEN(NFS_ACL_INLINE_BUFSIZE))
89 XDR_QUADLEN(NFS_ACL_INLINE_BUFSIZE)+\
275 return p + XDR_QUADLEN(NFS3_COOKIEVERFSIZE); in xdr_encode_cookieverf3()
H A Dlocalio.c90 .p_arglen = XDR_QUADLEN(UUID_SIZE),
/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_wrap.c234 *align = XDR_QUADLEN(GSS_KRB5_TOK_HDR_LEN + headskip); in gss_krb5_unwrap_v2()
235 *slack = *align + XDR_QUADLEN(ec + GSS_KRB5_TOK_HDR_LEN + tailskip); in gss_krb5_unwrap_v2()
H A Dauth_gss.c1723 cred->cr_auth->au_verfsize = XDR_QUADLEN(len) + 2; in gss_validate()
2037 gss_update_rslack(task, cred, 2, 2 + 1 + XDR_QUADLEN(mic.len)); in gss_unwrap_resp_integ()
/linux/fs/lockd/
H A Dmon.c531 #define SM_my_name_sz (1+XDR_QUADLEN(SM_MAXSTRLEN))
533 #define SM_mon_name_sz (1+XDR_QUADLEN(SM_MAXSTRLEN))
535 #define SM_priv_sz (XDR_QUADLEN(SM_PRIV_SIZE))
H A Dsvc4proc.c514 #define Ck (1+XDR_QUADLEN(NLM_MAXCOOKIELEN)) /* cookie */
H A Dsvcproc.c548 #define Ck (1+XDR_QUADLEN(NLM_MAXCOOKIELEN)) /* cookie */
/linux/include/linux/sunrpc/
H A Dauth.h33 #define UNX_CALLSLACK (21 + XDR_QUADLEN(UNX_MAXNODENAME))
H A Dxdr.h32 #define XDR_QUADLEN(l) (((l) + 3) >> 2) macro
171 return p + XDR_QUADLEN(len); in xdr_decode_opaque_fixed()
H A Dsvc.h570 xdr->end -= XDR_QUADLEN(slack); in svcxdr_set_auth_slack()
/linux/fs/nfs/blocklayout/
H A Ddev.c154 (XDR_QUADLEN(b->simple.sigs[i].sig_len) << 2); in nfs4_block_decode_volume()
H A Dblocklayout.c614 p += XDR_QUADLEN(NFS4_DEVICEID4_SIZE); in bl_alloc_extent()
/linux/fs/nfs/filelayout/
H A Dfilelayout.c670 p += XDR_QUADLEN(NFS4_DEVICEID4_SIZE); in filelayout_decode_layout()

12