Searched refs:stid (Results 1 – 5 of 5) 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 | 84 static void nfs4_free_ol_stateid(struct nfs4_stid *stid); 845 struct nfs4_stid *stid; in nfs4_alloc_stid() local 848 stid = kmem_cache_zalloc(slab, GFP_KERNEL); in nfs4_alloc_stid() 849 if (!stid) in nfs4_alloc_stid() 855 new_id = idr_alloc_cyclic(&cl->cl_stateids, stid, 1, 0, GFP_NOWAIT); in nfs4_alloc_stid() 861 stid->sc_free = sc_free; in nfs4_alloc_stid() 862 stid->sc_client = cl; in nfs4_alloc_stid() 863 stid->sc_stateid.si_opaque.so_id = new_id; in nfs4_alloc_stid() 864 stid->sc_stateid.si_opaque.so_clid = cl->cl_clientid; in nfs4_alloc_stid() 866 refcount_set(&stid->sc_count, 1); in nfs4_alloc_stid() [all …]
|
D | state.h | 60 stateid_t stid; member 653 void nfs4_inc_and_copy_stateid(stateid_t *dst, struct nfs4_stid *stid);
|
D | trace.h | 972 const struct nfs4_stid *stid 974 TP_ARGS(stid), 983 const stateid_t *stp = &stid->sc_stateid; 984 const struct nfs4_client *clp = stid->sc_client;
|
D | nfs4proc.c | 1684 memcpy(©->cp_res.cb_stateid, ©->cp_stateid.stid, in nfsd4_copy() 1720 if (memcmp(©->cp_stateid.stid, stateid, NFS4_STATEID_SIZE)) in find_async_copy() 1757 struct nfs4_stid *stid; in nfsd4_copy_notify() local 1763 &stid); in nfsd4_copy_notify() 1771 cps = nfs4_alloc_init_cpntf_state(nn, stid); in nfsd4_copy_notify() 1774 memcpy(&cn->cpn_cnr_stateid, &cps->cp_stateid.stid, sizeof(stateid_t)); in nfsd4_copy_notify() 1775 memcpy(&cps->cp_p_stateid, &stid->sc_stateid, sizeof(stateid_t)); in nfsd4_copy_notify() 1790 nfs4_put_stid(stid); in nfsd4_copy_notify()
|