1 #define NFS4_MAXTAGLEN 20
3 #define NFS4_enc_cb_null_sz 0
4 #define NFS4_dec_cb_null_sz 0
5 #define cb_compound_enc_hdr_sz 4
6 #define cb_compound_dec_hdr_sz (3 + (NFS4_MAXTAGLEN >> 2))
7 #define sessionid_sz (NFS4_MAX_SESSIONID_LEN >> 2)
8 #define cb_sequence_enc_sz (sessionid_sz + 4 + \
9 1 /* no referring calls list yet */)
10 #define cb_sequence_dec_sz (op_dec_sz + sessionid_sz + 4)
14 #define enc_nfs4_fh_sz (1 + (NFS4_FHSIZE >> 2))
15 #define enc_stateid_sz (NFS4_STATEID_SIZE >> 2)
16 #define NFS4_enc_cb_recall_sz (cb_compound_enc_hdr_sz + \
17 cb_sequence_enc_sz + \
18 1 + enc_stateid_sz + \
21 #define NFS4_dec_cb_recall_sz (cb_compound_dec_hdr_sz + \
22 cb_sequence_dec_sz + \
24 #define NFS4_enc_cb_layout_sz (cb_compound_enc_hdr_sz + \
25 cb_sequence_enc_sz + \
28 #define NFS4_dec_cb_layout_sz (cb_compound_dec_hdr_sz + \
29 cb_sequence_dec_sz + \
32 #define NFS4_enc_cb_notify_lock_sz (cb_compound_enc_hdr_sz + \
33 cb_sequence_enc_sz + \
35 XDR_QUADLEN(NFS4_OPAQUE_LIMIT) + \
37 #define NFS4_dec_cb_notify_lock_sz (cb_compound_dec_hdr_sz + \
38 cb_sequence_dec_sz + \