1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NFSD4_CURRENT_STATE_H
3 #define _NFSD4_CURRENT_STATE_H
8 extern void clear_current_stateid(struct nfsd4_compound_state *cstate);
10 * functions to set current state id
12 extern void nfsd4_set_opendowngradestateid(struct nfsd4_compound_state *,
14 extern void nfsd4_set_openstateid(struct nfsd4_compound_state *,
16 extern void nfsd4_set_lockstateid(struct nfsd4_compound_state *,
18 extern void nfsd4_set_closestateid(struct nfsd4_compound_state *,
22 * functions to consume current state id
24 extern void nfsd4_get_opendowngradestateid(struct nfsd4_compound_state *,
26 extern void nfsd4_get_delegreturnstateid(struct nfsd4_compound_state *,
28 extern void nfsd4_get_freestateid(struct nfsd4_compound_state *,
30 extern void nfsd4_get_setattrstateid(struct nfsd4_compound_state *,
32 extern void nfsd4_get_closestateid(struct nfsd4_compound_state *,
34 extern void nfsd4_get_lockustateid(struct nfsd4_compound_state *,
36 extern void nfsd4_get_readstateid(struct nfsd4_compound_state *,
38 extern void nfsd4_get_writestateid(struct nfsd4_compound_state *,
41 #endif /* _NFSD4_CURRENT_STATE_H */