Searched refs:stid (Results 1 – 3 of 3) sorted by relevance
/fs/nfsd/ |
D | nfs4layouts.c | 155 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 …]
|
D | nfs4state.c | 81 static void nfs4_free_ol_stateid(struct nfs4_stid *stid); 702 struct nfs4_stid *stid; in nfs4_alloc_stid() local 705 stid = kmem_cache_zalloc(slab, GFP_KERNEL); in nfs4_alloc_stid() 706 if (!stid) in nfs4_alloc_stid() 712 new_id = idr_alloc_cyclic(&cl->cl_stateids, stid, 1, 0, GFP_NOWAIT); in nfs4_alloc_stid() 718 stid->sc_free = sc_free; in nfs4_alloc_stid() 719 stid->sc_client = cl; in nfs4_alloc_stid() 720 stid->sc_stateid.si_opaque.so_id = new_id; in nfs4_alloc_stid() 721 stid->sc_stateid.si_opaque.so_clid = cl->cl_clientid; in nfs4_alloc_stid() 723 refcount_set(&stid->sc_count, 1); in nfs4_alloc_stid() [all …]
|
D | state.h | 630 void nfs4_inc_and_copy_stateid(stateid_t *dst, struct nfs4_stid *stid);
|