Linux Audio

Check our new training course

Loading...
v3.5.6
 
 1#ifndef _NFSD4_CURRENT_STATE_H
 2#define _NFSD4_CURRENT_STATE_H
 3
 4#include "state.h"
 5#include "xdr4.h"
 6
 7extern void clear_current_stateid(struct nfsd4_compound_state *cstate);
 8/*
 9 * functions to set current state id
10 */
11extern void nfsd4_set_opendowngradestateid(struct nfsd4_compound_state *cstate, struct nfsd4_open_downgrade *);
12extern void nfsd4_set_openstateid(struct nfsd4_compound_state *, struct nfsd4_open *);
13extern void nfsd4_set_lockstateid(struct nfsd4_compound_state *, struct nfsd4_lock *);
14extern void nfsd4_set_closestateid(struct nfsd4_compound_state *, struct nfsd4_close *);
 
 
 
 
15
16/*
17 * functions to consume current state id
18 */
19extern void nfsd4_get_opendowngradestateid(struct nfsd4_compound_state *cstate, struct nfsd4_open_downgrade *);
20extern void nfsd4_get_delegreturnstateid(struct nfsd4_compound_state *, struct nfsd4_delegreturn *);
21extern void nfsd4_get_freestateid(struct nfsd4_compound_state *, struct nfsd4_free_stateid *);
22extern void nfsd4_get_setattrstateid(struct nfsd4_compound_state *, struct nfsd4_setattr *);
23extern void nfsd4_get_closestateid(struct nfsd4_compound_state *, struct nfsd4_close *);
24extern void nfsd4_get_lockustateid(struct nfsd4_compound_state *, struct nfsd4_locku *);
25extern void nfsd4_get_readstateid(struct nfsd4_compound_state *, struct nfsd4_read *);
26extern void nfsd4_get_writestateid(struct nfsd4_compound_state *, struct nfsd4_write *);
 
 
 
 
 
 
 
 
27
28#endif   /* _NFSD4_CURRENT_STATE_H */
v4.17
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _NFSD4_CURRENT_STATE_H
 3#define _NFSD4_CURRENT_STATE_H
 4
 5#include "state.h"
 6#include "xdr4.h"
 7
 8extern void clear_current_stateid(struct nfsd4_compound_state *cstate);
 9/*
10 * functions to set current state id
11 */
12extern void nfsd4_set_opendowngradestateid(struct nfsd4_compound_state *,
13		union nfsd4_op_u *);
14extern void nfsd4_set_openstateid(struct nfsd4_compound_state *,
15		union nfsd4_op_u *);
16extern void nfsd4_set_lockstateid(struct nfsd4_compound_state *,
17		union nfsd4_op_u *);
18extern void nfsd4_set_closestateid(struct nfsd4_compound_state *,
19		union nfsd4_op_u *);
20
21/*
22 * functions to consume current state id
23 */
24extern void nfsd4_get_opendowngradestateid(struct nfsd4_compound_state *,
25		union nfsd4_op_u *);
26extern void nfsd4_get_delegreturnstateid(struct nfsd4_compound_state *,
27		union nfsd4_op_u *);
28extern void nfsd4_get_freestateid(struct nfsd4_compound_state *,
29		union nfsd4_op_u *);
30extern void nfsd4_get_setattrstateid(struct nfsd4_compound_state *,
31		union nfsd4_op_u *);
32extern void nfsd4_get_closestateid(struct nfsd4_compound_state *,
33		union nfsd4_op_u *);
34extern void nfsd4_get_lockustateid(struct nfsd4_compound_state *,
35		union nfsd4_op_u *);
36extern void nfsd4_get_readstateid(struct nfsd4_compound_state *,
37		union nfsd4_op_u *);
38extern void nfsd4_get_writestateid(struct nfsd4_compound_state *,
39		union nfsd4_op_u *);
40
41#endif   /* _NFSD4_CURRENT_STATE_H */