Lines Matching refs:stateid_t
56 static const stateid_t one_stateid = {
60 static const stateid_t zero_stateid = {
63 static const stateid_t currentstateid = {
69 #define ZERO_STATEID(stateid) (!memcmp((stateid), &zero_stateid, sizeof(stateid_t)))
70 #define ONE_STATEID(stateid) (!memcmp((stateid), &one_stateid, sizeof(stateid_t)))
71 #define CURRENT_STATEID(stateid) (!memcmp((stateid), ¤tstateid, sizeof(stateid_t)))
750 nfs4_inc_and_copy_stateid(stateid_t *dst, struct nfs4_stid *stid) in nfs4_inc_and_copy_stateid()
752 stateid_t *src = &stid->sc_stateid; in nfs4_inc_and_copy_stateid()
1998 find_stateid_locked(struct nfs4_client *cl, stateid_t *t) in find_stateid_locked()
2009 find_stateid_by_type(struct nfs4_client *cl, stateid_t *t, char typemask) in find_stateid_by_type()
3845 static struct nfs4_delegation *find_deleg_stateid(struct nfs4_client *cl, stateid_t *s) in find_deleg_stateid()
4594 check_special_stateids(struct net *net, svc_fh *current_fh, stateid_t *stateid, int flags) in check_special_stateids()
4621 static bool stateid_generation_after(stateid_t *a, stateid_t *b) in stateid_generation_after()
4626 static __be32 check_stateid_generation(stateid_t *in, stateid_t *ref, bool has_session) in check_stateid_generation()
4662 static __be32 nfsd4_validate_stateid(struct nfs4_client *cl, stateid_t *stateid) in nfsd4_validate_stateid()
4710 stateid_t *stateid, unsigned char typemask, in nfsd4_lookup_stateid()
4800 struct nfsd4_compound_state *cstate, stateid_t *stateid, in nfs4_preprocess_stateid_op()
4879 stateid_t *stateid = &free_stateid->fr_stateid; in nfsd4_free_stateid()
4936 static __be32 nfs4_seqid_op_checks(struct nfsd4_compound_state *cstate, stateid_t *stateid, u32 seq… in nfs4_seqid_op_checks()
4967 stateid_t *stateid, char typemask, in nfs4_preprocess_seqid_op()
4994 stateid_t *stateid, struct nfs4_ol_stateid **stpp, struct nfsd_net *nn) in nfs4_preprocess_confirmed_seqid_op()
5187 stateid_t *stateid = &dr->dr_stateid; in nfsd4_delegreturn()
6823 get_stateid(struct nfsd4_compound_state *cstate, stateid_t *stateid) in get_stateid()
6826 memcpy(stateid, &cstate->current_stateid, sizeof(stateid_t)); in get_stateid()
6830 put_stateid(struct nfsd4_compound_state *cstate, stateid_t *stateid) in put_stateid()
6833 memcpy(&cstate->current_stateid, stateid, sizeof(stateid_t)); in put_stateid()