Lines Matching refs:stateid_t

63 static const stateid_t one_stateid = {
67 static const stateid_t zero_stateid = {
70 static const stateid_t currentstateid = {
73 static const stateid_t close_stateid = {
79 #define ZERO_STATEID(stateid) (!memcmp((stateid), &zero_stateid, sizeof(stateid_t)))
80 #define ONE_STATEID(stateid) (!memcmp((stateid), &one_stateid, sizeof(stateid_t)))
81 #define CURRENT_STATEID(stateid) (!memcmp((stateid), &currentstateid, sizeof(stateid_t)))
82 #define CLOSE_STATEID(stateid) (!memcmp((stateid), &close_stateid, sizeof(stateid_t)))
981 * Create a unique stateid_t to represent each COPY.
1219 nfs4_inc_and_copy_stateid(stateid_t *dst, struct nfs4_stid *stid)
1221 stateid_t *src = &stid->sc_stateid;
2450 find_stateid_locked(struct nfs4_client *cl, stateid_t *t)
2461 find_stateid_by_type(struct nfs4_client *cl, stateid_t *t, char typemask)
2607 static void nfs4_show_stateid(struct seq_file *s, stateid_t *stid)
5115 static struct nfs4_delegation *find_deleg_stateid(struct nfs4_client *cl, stateid_t *s)
6328 check_special_stateids(struct net *net, svc_fh *current_fh, stateid_t *stateid, int flags)
6344 static __be32 check_stateid_generation(stateid_t *in, stateid_t *ref, bool has_session)
6372 static __be32 nfsd4_stid_check_stateid_generation(stateid_t *in, struct nfs4_stid *s, bool has_session)
6392 static __be32 nfsd4_validate_stateid(struct nfs4_client *cl, stateid_t *stateid)
6432 stateid_t *stateid, unsigned char typemask,
6549 __be32 manage_cpntf_state(struct nfsd_net *nn, stateid_t *st,
6581 static __be32 find_cpntf_state(struct nfsd_net *nn, stateid_t *st,
6636 stateid_t *stateid, int flags, struct nfsd_file **nfp,
6716 nfsd4_free_lock_stateid(stateid_t *stateid, struct nfs4_stid *s)
6749 stateid_t *stateid = &free_stateid->fr_stateid;
6800 static __be32 nfs4_seqid_op_checks(struct nfsd4_compound_state *cstate, stateid_t *stateid, u32 seqid, struct nfs4_ol_stateid *stp)
6835 stateid_t *stateid, char typemask,
6861 stateid_t *stateid, struct nfs4_ol_stateid **stpp, struct nfsd_net *nn)
7075 stateid_t *stateid = &dr->dr_stateid;
8292 get_stateid(struct nfsd4_compound_state *cstate, stateid_t *stateid)
8296 memcpy(stateid, &cstate->current_stateid, sizeof(stateid_t));
8300 put_stateid(struct nfsd4_compound_state *cstate, stateid_t *stateid)
8303 memcpy(&cstate->current_stateid, stateid, sizeof(stateid_t));