Home
last modified time | relevance | path

Searched refs:stid (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/fs/nfsd/
Dnfs4layouts.c155 nfsd4_free_layout_stateid(struct nfs4_stid *stid) in nfsd4_free_layout_stateid() argument
157 struct nfs4_layout_stateid *ls = layoutstateid(stid); in nfsd4_free_layout_stateid()
270 struct nfs4_stid *stid; in nfsd4_preprocess_layout_stateid() local
277 status = nfsd4_lookup_stateid(cstate, stateid, typemask, &stid, in nfsd4_preprocess_layout_stateid()
283 &stid->sc_file->fi_fhandle)) { in nfsd4_preprocess_layout_stateid()
288 if (stid->sc_type != NFS4_LAYOUT_STID) { in nfsd4_preprocess_layout_stateid()
289 ls = nfsd4_alloc_layout_stateid(cstate, stid, layout_type); in nfsd4_preprocess_layout_stateid()
290 nfs4_put_stid(stid); in nfsd4_preprocess_layout_stateid()
297 ls = container_of(stid, struct nfs4_layout_stateid, ls_stid); in nfsd4_preprocess_layout_stateid()
301 if (nfsd4_stateid_generation_after(stateid, &stid->sc_stateid)) in nfsd4_preprocess_layout_stateid()
[all …]
Dnfs4state.c79 static void nfs4_free_ol_stateid(struct nfs4_stid *stid);
682 struct nfs4_stid *stid; in nfs4_alloc_stid() local
685 stid = kmem_cache_zalloc(slab, GFP_KERNEL); in nfs4_alloc_stid()
686 if (!stid) in nfs4_alloc_stid()
691 new_id = idr_alloc_cyclic(&cl->cl_stateids, stid, 0, 0, GFP_NOWAIT); in nfs4_alloc_stid()
697 stid->sc_free = sc_free; in nfs4_alloc_stid()
698 stid->sc_client = cl; in nfs4_alloc_stid()
699 stid->sc_stateid.si_opaque.so_id = new_id; in nfs4_alloc_stid()
700 stid->sc_stateid.si_opaque.so_clid = cl->cl_clientid; in nfs4_alloc_stid()
702 refcount_set(&stid->sc_count, 1); in nfs4_alloc_stid()
[all …]
Dstate.h614 void nfs4_inc_and_copy_stateid(stateid_t *dst, struct nfs4_stid *stid);