Lines Matching refs:stateid_t

54 static const stateid_t one_stateid = {
58 static const stateid_t zero_stateid = {
61 static const stateid_t currentstateid = {
67 #define ZERO_STATEID(stateid) (!memcmp((stateid), &zero_stateid, sizeof(stateid_t)))
68 #define ONE_STATEID(stateid) (!memcmp((stateid), &one_stateid, sizeof(stateid_t)))
69 #define CURRENT_STATEID(stateid) (!memcmp((stateid), &currentstateid, sizeof(stateid_t)))
263 stateid_t *s = &stid->sc_stateid; in init_stid()
1181 static struct nfs4_stid *find_stateid(struct nfs4_client *cl, stateid_t *t) in find_stateid()
1186 static struct nfs4_stid *find_stateid_by_type(struct nfs4_client *cl, stateid_t *t, char typemask) in find_stateid_by_type()
2675 static struct nfs4_delegation *find_deleg_stateid(struct nfs4_client *cl, stateid_t *s) in find_deleg_stateid()
3057 memcpy(&open->op_stateid, &stp->st_stid.sc_stateid, sizeof(stateid_t)); in nfsd4_process_open2()
3265 STALE_STATEID(stateid_t *stateid) in STALE_STATEID()
3307 check_special_stateids(svc_fh *current_fh, stateid_t *stateid, int flags) in check_special_stateids()
3334 static bool stateid_generation_after(stateid_t *a, stateid_t *b) in stateid_generation_after()
3339 static int check_stateid_generation(stateid_t *in, stateid_t *ref, bool has_session) in check_stateid_generation()
3367 __be32 nfs4_validate_stateid(struct nfs4_client *cl, stateid_t *stateid) in nfs4_validate_stateid()
3391 static __be32 nfsd4_lookup_stateid(stateid_t *stateid, unsigned char typemask, struct nfs4_stid **s) in nfsd4_lookup_stateid()
3414 stateid_t *stateid, int flags, struct file **filpp) in nfs4_preprocess_stateid_op()
3514 stateid_t *stateid = &free_stateid->fr_stateid; in nfsd4_free_stateid()
3552 static __be32 nfs4_seqid_op_checks(struct nfsd4_compound_state *cstate, stateid_t *stateid, u32 seq… in nfs4_seqid_op_checks()
3578 stateid_t *stateid, char typemask, in nfs4_preprocess_seqid_op()
3597 …cess_confirmed_seqid_op(struct nfsd4_compound_state *cstate, u32 seqid, stateid_t *stateid, struct… in nfs4_preprocess_confirmed_seqid_op()
3641 memcpy(&oc->oc_resp_stateid, &stp->st_stid.sc_stateid, sizeof(stateid_t)); in nfsd4_open_confirm()
3727 memcpy(&od->od_stateid, &stp->st_stid.sc_stateid, sizeof(stateid_t)); in nfsd4_open_downgrade()
3786 memcpy(&close->cl_stateid, &stp->st_stid.sc_stateid, sizeof(stateid_t)); in nfsd4_close()
3809 stateid_t *stateid = &dr->dr_stateid; in nfsd4_delegreturn()
4192 sizeof(stateid_t)); in nfsd4_lock()
4354 memcpy(&locku->lu_stateid, &stp->st_stid.sc_stateid, sizeof(stateid_t)); in nfsd4_locku()
4799 get_stateid(struct nfsd4_compound_state *cstate, stateid_t *stateid) in get_stateid()
4802 memcpy(stateid, &cstate->current_stateid, sizeof(stateid_t)); in get_stateid()
4806 put_stateid(struct nfsd4_compound_state *cstate, stateid_t *stateid) in put_stateid()
4809 memcpy(&cstate->current_stateid, stateid, sizeof(stateid_t)); in put_stateid()