Lines Matching refs:stateid_t

59 static const stateid_t one_stateid = {
63 static const stateid_t zero_stateid = {
66 static const stateid_t currentstateid = {
69 static const stateid_t close_stateid = {
75 #define ZERO_STATEID(stateid) (!memcmp((stateid), &zero_stateid, sizeof(stateid_t)))
76 #define ONE_STATEID(stateid) (!memcmp((stateid), &one_stateid, sizeof(stateid_t)))
77 #define CURRENT_STATEID(stateid) (!memcmp((stateid), &currentstateid, sizeof(stateid_t)))
78 #define CLOSE_STATEID(stateid) (!memcmp((stateid), &close_stateid, sizeof(stateid_t)))
768 * Create a unique stateid_t to represent each COPY.
1000 nfs4_inc_and_copy_stateid(stateid_t *dst, struct nfs4_stid *stid)
1002 stateid_t *src = &stid->sc_stateid;
2318 find_stateid_locked(struct nfs4_client *cl, stateid_t *t)
2329 find_stateid_by_type(struct nfs4_client *cl, stateid_t *t, char typemask)
2457 static void nfs4_show_stateid(struct seq_file *s, stateid_t *stid)
4790 static struct nfs4_delegation *find_deleg_stateid(struct nfs4_client *cl, stateid_t *s)
5577 check_special_stateids(struct net *net, svc_fh *current_fh, stateid_t *stateid, int flags)
5603 static __be32 check_stateid_generation(stateid_t *in, stateid_t *ref, bool has_session)
5631 static __be32 nfsd4_stid_check_stateid_generation(stateid_t *in, struct nfs4_stid *s, bool has_session)
5651 static __be32 nfsd4_validate_stateid(struct nfs4_client *cl, stateid_t *stateid)
5691 stateid_t *stateid, unsigned char typemask,
5804 __be32 manage_cpntf_state(struct nfsd_net *nn, stateid_t *st,
5836 static __be32 find_cpntf_state(struct nfsd_net *nn, stateid_t *st,
5874 stateid_t *stateid, int flags, struct nfsd_file **nfp,
5954 nfsd4_free_lock_stateid(stateid_t *stateid, struct nfs4_stid *s)
5987 stateid_t *stateid = &free_stateid->fr_stateid;
6038 static __be32 nfs4_seqid_op_checks(struct nfsd4_compound_state *cstate, stateid_t *stateid, u32 seqid, struct nfs4_ol_stateid *stp)
6063 stateid_t *stateid, char typemask,
6089 stateid_t *stateid, struct nfs4_ol_stateid **stpp, struct nfsd_net *nn)
6303 stateid_t *stateid = &dr->dr_stateid;
7477 get_stateid(struct nfsd4_compound_state *cstate, stateid_t *stateid)
7481 memcpy(stateid, &cstate->current_stateid, sizeof(stateid_t));
7485 put_stateid(struct nfsd4_compound_state *cstate, stateid_t *stateid)
7488 memcpy(&cstate->current_stateid, stateid, sizeof(stateid_t));