Home
last modified time | relevance | path

Searched refs:nfsstate (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/fs/nfs/
H A Dnfsrvstate.h43 LIST_HEAD(nfsstatehead, nfsstate);
206 struct nfsstate { struct
207 LIST_ENTRY(nfsstate) ls_hash; /* Hash list entry */
208 LIST_ENTRY(nfsstate) ls_list; /* List of opens/delegs */
209 LIST_ENTRY(nfsstate) ls_file; /* Opens/Delegs for a file */
219 struct nfsstate *openowner; /* Open only */ argument
258 struct nfsstate *lo_stp;
295 LIST_HEAD(, nfsstate) lf_open; /* Open list */
296 LIST_HEAD(, nfsstate) lf_deleg; /* Delegation list */
H A Dnfs_var.h61 struct nfsstate;
108 int nfsrv_lockctrl(vnode_t, struct nfsstate **,
112 struct nfsstate **, nfsquad_t, nfsv4stateid_t *, nfsv4stateid_t *,
114 int nfsrv_opencheck(nfsquad_t, nfsv4stateid_t *, struct nfsstate *,
116 int nfsrv_openupdate(vnode_t, struct nfsstate *, nfsquad_t,
120 int nfsrv_releaselckown(struct nfsstate *, nfsquad_t, NFSPROC_T *);
722 nfsv4stateid_t *, struct nfsstate *, int *, struct nfsvattr *, int32_t *,
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c145 static void nfsrv_freeopenowner(struct nfsstate *stp, int cansleep,
147 static void nfsrv_freeopen(struct nfsstate *stp, vnode_t vp, int cansleep,
149 static void nfsrv_freelockowner(struct nfsstate *stp, vnode_t vp, int cansleep,
151 static void nfsrv_freeallnfslocks(struct nfsstate *stp, vnode_t vp,
155 static void nfsrv_freedeleg(struct nfsstate *);
157 u_int32_t flags, struct nfsstate **stpp);
158 static void nfsrv_getowner(struct nfsstatehead *hp, struct nfsstate *new_stp,
159 struct nfsstate **stpp);
165 struct nfslock *insert_lop, struct nfsstate *stp, struct nfslockfile *lfp);
166 static void nfsrv_updatelock(struct nfsstate *stp, struct nfslock **new_lopp,
[all …]
H A Dnfs_nfsdserv.c762 struct nfsstate st, *stp = &st; in nfsrvd_read()
972 struct nfsstate st, *stp = &st; in nfsrvd_write()
2365 struct nfsstate *stp = NULL; in nfsrvd_lock()
2407 stp = malloc(sizeof (struct nfsstate) + i, in nfsrvd_lock()
2454 stp = malloc(sizeof (struct nfsstate), in nfsrvd_lock()
2593 struct nfsstate *stp = NULL; in nfsrvd_lockt()
2608 stp = malloc(sizeof (struct nfsstate) + i, in nfsrvd_lockt()
2708 struct nfsstate *stp; in nfsrvd_locku()
2717 stp = malloc(sizeof (struct nfsstate), in nfsrvd_locku()
2826 struct nfsstate *stp = NULL; in nfsrvd_open()
[all …]
H A Dnfs_nfsdport.c1879 nfsquad_t clientid, nfsv4stateid_t *stateidp, struct nfsstate *stp, in nfsvno_open()