Home
last modified time | relevance | path

Searched refs:cstate (Results 1 – 8 of 8) sorted by relevance

/fs/nfsd/
Dnfs4proc.c110 check_attr_support(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in check_attr_support() argument
113 struct dentry *dentry = cstate->current_fh.fh_dentry; in check_attr_support()
114 struct svc_export *exp = cstate->current_fh.fh_export; in check_attr_support()
116 if (!nfsd_attrs_supported(cstate->minorversion, bmval)) in check_attr_support()
133 struct nfsd4_compound_state *cstate, struct nfsd4_open *open) in nfsd4_check_open_attributes() argument
140 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes()
143 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes()
230 static void nfsd4_set_open_owner_reply_cache(struct nfsd4_compound_state *cstate, struct nfsd4_open… in nfsd4_set_open_owner_reply_cache() argument
232 if (nfsd4_has_session(cstate)) in nfsd4_set_open_owner_reply_cache()
239 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open… in do_open_lookup() argument
[all …]
Dnfs4state.c1599 void nfsd4_bump_seqid(struct nfsd4_compound_state *cstate, __be32 nfserr) in nfsd4_bump_seqid() argument
1601 struct nfs4_stateowner *so = cstate->replay_owner; in nfsd4_bump_seqid()
1607 nfsd4_cstate_clear_replay(cstate); in nfsd4_bump_seqid()
2973 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_store_cache_entry()
2980 slot->sl_status = resp->cstate.status; in nfsd4_store_cache_entry()
2990 base = resp->cstate.data_offset; in nfsd4_store_cache_entry()
3010 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_enc_sequence_replay()
3041 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_replay_cache_entry()
3121 nfsd4_exchange_id(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_exchange_id() argument
3261 new->cl_minorversion = cstate->minorversion; in nfsd4_exchange_id()
[all …]
Dnfs4layouts.c212 nfsd4_alloc_layout_stateid(struct nfsd4_compound_state *cstate, in nfsd4_alloc_layout_stateid() argument
215 struct nfs4_client *clp = cstate->clp; in nfsd4_alloc_layout_stateid()
220 stp = nfs4_alloc_stid(cstate->clp, nfs4_layout_stateid_cache, in nfsd4_alloc_layout_stateid()
266 struct nfsd4_compound_state *cstate, stateid_t *stateid, in nfsd4_preprocess_layout_stateid() argument
277 status = nfsd4_lookup_stateid(cstate, stateid, typemask, &stid, in nfsd4_preprocess_layout_stateid()
282 if (!fh_match(&cstate->current_fh.fh_handle, in nfsd4_preprocess_layout_stateid()
289 ls = nfsd4_alloc_layout_stateid(cstate, stid, layout_type); in nfsd4_preprocess_layout_stateid()
490 struct nfsd4_compound_state *cstate, in nfsd4_return_file_layouts() argument
499 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lrp->lr_sid, in nfsd4_return_file_layouts()
533 struct nfsd4_compound_state *cstate, in nfsd4_return_client_layouts() argument
[all …]
Dpnfs.h55 struct nfsd4_compound_state *cstate, stateid_t *stateid,
60 struct nfsd4_compound_state *cstate,
63 struct nfsd4_compound_state *cstate,
Dxdr4.h710 struct nfsd4_compound_state cstate; member
730 return (resp->cstate.slot->sl_flags & NFSD4_SLOT_CACHETHIS) in nfsd4_cache_this()
794 extern void nfsd4_cstate_clear_replay(struct nfsd4_compound_state *cstate);
795 extern void nfsd4_cleanup_open_state(struct nfsd4_compound_state *cstate,
Dcurrent_stateid.h8 extern void clear_current_stateid(struct nfsd4_compound_state *cstate);
Dstate.h639 struct nfsd4_compound_state *cstate, struct svc_fh *fhp,
642 __be32 nfsd4_lookup_stateid(struct nfsd4_compound_state *cstate,
Dnfs4xdr.c2846 u32 minorversion = resp->cstate.minorversion; in nfsd4_encode_fattr()
4496 resp->cstate.data_offset = xdr->buf->len; /* DRC cache data pointer */ in nfsd4_encode_sequence()
5289 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_check_resp_size()
5293 if (!nfsd4_has_session(&resp->cstate)) in nfsd4_check_resp_size()
5306 struct nfs4_stateowner *so = resp->cstate.replay_owner; in nfsd4_encode_operation()
5343 if (op->status == nfserr_resource && nfsd4_has_session(&resp->cstate)) { in nfsd4_encode_operation()
5344 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_encode_operation()
5439 *p = resp->cstate.status; in nfs4svc_encode_compoundres()