Searched refs:nfsnode (Results 1 - 25 of 36) sorted by relevance

12

/netbsd-current/sys/nfs/
H A DMakefile5 INCS= krpc.h nfs.h nfsdiskless.h nfsm_subs.h nfsmount.h nfsnode.h \
H A Dnfs_var.h57 struct nfsnode;
86 int nfs_nget1(struct mount *, nfsfh_t *, int, struct nfsnode **, int);
109 struct lwp *, struct nfsnode **);
172 int nfs_request(struct nfsnode *, struct mbuf *, int, struct lwp *,
245 struct mbuf *nfsm_reqh(struct nfsnode *, u_long, int, char **);
259 void nfs_putdircache(struct nfsnode *, struct nfsdircache *);
271 int nfs_check_wccdata(struct nfsnode *, const struct timespec *,
286 time_t nfs_attrtimeo(struct nfsmount *, struct nfsnode *);
H A Dnfs_node.c59 #include <nfs/nfsnode.h>
86 pool_init(&nfs_node_pool, sizeof(struct nfsnode), 0, 0, 0, "nfsnodepl",
118 struct nfsnode *np;
120 /* Aloocate and initialize the nfsnode. */
154 * Look up a vnode/nfsnode by file handle.
157 * nfsnode structure is returned.
160 nfs_nget1(struct mount *mntp, nfsfh_t *fhp, int fhsize, struct nfsnode **npp,
185 struct nfsnode *np;
216 * Reclaim an nfsnode so that it can be used for other purposes.
225 struct nfsnode *n
[all...]
H A Dnfs_clntsubs.c106 #include <nfs/nfsnode.h>
127 * Load the attribute cache (that lives in the nfsnode entry) with
160 struct nfsnode *np;
319 struct nfsnode *np = VTONFS(vp);
357 struct nfsnode *np = VTONFS(vp);
383 nfs_check_wccdata(struct nfsnode *np, const struct timespec *ctime,
532 nfs_attrtimeo(struct nfsmount *nmp, struct nfsnode *np)
H A Dnfsnode.h1 /* $NetBSD: nfsnode.h,v 1.76 2021/10/21 13:21:55 andvar Exp $ */
34 * @(#)nfsnode.h 8.9 (Berkeley) 5/14/95
59 * Each offset is hashed into a per-nfsnode hashtable. An entry
88 * The nfsnode is the nfs equivalent to ufs's inode. Any similarity
90 * There is a unique nfsnode allocated for each active file,
92 * An nfsnode is 'named' by its file handle. (nget/nfs_node.c)
119 struct nfsnode { struct
198 * Convert between nfsnode pointers and vnode pointers
200 #define VTONFS(vp) ((struct nfsnode *)(vp)->v_data)
207 * Silly rename structure that hangs off the nfsnode unti
[all...]
H A Dnfs_subs.c108 #include <nfs/nfsnode.h>
580 nfsm_reqh(struct nfsnode *np, u_long procid, int hsiz, char **bposp)
1112 * - a cache is maintained per VDIR nfsnode.
1166 struct nfsnode *np = VTONFS(vp);
1187 struct nfsnode *np = VTONFS(vp);
1205 static void nfs_unlinkdircache(struct nfsnode *np, struct nfsdircache *);
1206 static void nfs_putdircache_unlocked(struct nfsnode *,
1210 nfs_unlinkdircache(struct nfsnode *np, struct nfsdircache *ndp)
1227 nfs_putdircache(struct nfsnode *np, struct nfsdircache *ndp)
1244 nfs_putdircache_unlocked(struct nfsnode *n
[all...]
H A Dnfs_vnops.c87 #include <nfs/nfsnode.h>
231 struct nfsnode *dnp = VTONFS(dvp);
237 struct nfsnode *np = VTONFS(vp);
257 struct nfsnode *np = VTONFS(vp);
291 struct nfsnode *np = VTONFS(vp);
417 struct nfsnode *np = VTONFS(vp);
484 struct nfsnode *np = VTONFS(vp);
520 struct nfsnode *np = VTONFS(vp);
572 struct nfsnode *np = VTONFS(vp);
672 struct nfsnode *n
[all...]
H A Dnfs_bio.c65 #include <nfs/nfsnode.h>
84 struct nfsnode *np = VTONFS(vp);
451 struct nfsnode *np = VTONFS(vp);
610 struct nfsnode *np = VTONFS(vp);
685 struct nfsnode *np = VTONFS(vp);
861 struct nfsnode *np = VTONFS(vp);
941 struct nfsnode *np = VTONFS(vp);
1248 struct nfsnode *np = VTONFS(vp);
H A Dnfs_vfsops.c70 #include <nfs/nfsnode.h>
178 struct nfsnode *np;
259 struct nfsnode *np = VTONFS(vp);
686 struct nfsnode *np;
796 * A reference count is needed on the nfsnode representing the
799 * the nfsnode gets flushed out of the cache. Ufs does not have
856 * We need to decrement the ref. count on the nfsnode representing
1059 struct nfsnode *np;
1098 struct nfsnode *np;
H A Dnfsm_subs.h162 { struct nfsnode *ttnp; nfsfh_t *ttfhp; int ttfhsize; \
269 struct nfsnode *nfsp = VTONFS(v); \
H A Dnfs_kq.c51 #include <nfs/nfsnode.h>
H A Dnfs_srvsubs.c97 #include <nfs/nfsnode.h>
/netbsd-current/sys/fs/nfs/client/
H A Dnfsnode.h1 /* $NetBSD: nfsnode.h,v 1.3 2016/12/13 22:17:33 pgoyette Exp $ */
33 * FreeBSD: head/sys/fs/nfsclient/nfsnode.h 303715 2016-08-03 15:58:20Z kib
34 * $NetBSD: nfsnode.h,v 1.3 2016/12/13 22:17:33 pgoyette Exp $
41 * Silly rename structure that hangs off the nfsnode until the name
80 * The nfsnode is the nfs equivalent to ufs's inode. Any similarity
82 * There is a unique nfsnode allocated for each active file,
84 * An nfsnode is 'named' by its file handle. (nget/nfs_node.c)
92 struct nfsnode { struct
162 * Convert between nfsnode pointers and vnode pointers
164 #define VTONFS(vp) ((struct nfsnode *)(v
[all...]
H A Dnfs_clnode.c56 #include <fs/nfs/client/nfsnode.h>
77 newnfsnode_zone = uma_zcreate("NCLNODE", sizeof(struct nfsnode), NULL,
91 * Look up a vnode/nfsnode by file handle.
94 * nfsnode structure is returned.
97 ncl_nget(struct mount *mntp, u_int8_t *fhp, int fhsize, struct nfsnode **npp,
101 struct nfsnode *np;
206 struct nfsnode *np;
234 struct nfsnode *np;
272 * Reclaim an nfsnode so that it can be used for other purposes.
278 struct nfsnode *n
[all...]
H A Dnfs.h106 void ncl_nodelock(struct nfsnode *);
107 void ncl_nodeunlock(struct nfsnode *);
H A Dnfs_clsubs.c70 #include <fs/nfs/client/nfsnode.h>
122 ncl_dircookie_lock(struct nfsnode *np)
132 ncl_dircookie_unlock(struct nfsnode *np)
181 struct nfsnode *np;
263 ncl_getcookie(struct nfsnode *np, off_t off, int add)
320 struct nfsnode *np = VTONFS(vp);
379 ncl_nhinit(); /* Init the nfsnode table */
H A Dnfs_clvnops.c75 #include <fs/nfs/client/nfsnode.h>
147 struct ucred *, struct thread *, struct nfsnode **);
274 * np->n_mtx : Protects the fields in the nfsnode.
292 struct nfsnode *np = VTONFS(vp);
345 struct nfsnode *np = VTONFS(vp);
507 struct nfsnode *np = VTONFS(vp);
668 struct nfsnode *np = VTONFS(vp);
813 struct nfsnode *np = VTONFS(vp);
886 struct nfsnode *np = VTONFS(vp);
1001 struct nfsnode *n
[all...]
H A Dnfs_clbio.c52 #include <fs/nfs/client/nfsnode.h>
88 struct nfsnode *np;
233 struct nfsnode *np;
341 struct nfsnode *np = VTONFS(vp);
406 struct nfsnode *np = VTONFS(vp);
847 struct nfsnode *np = VTONFS(vp);
1011 * nfsnode after we have locked the buffer to prevent
1296 struct nfsnode *np = VTONFS(vp);
1536 struct nfsnode *np = VTONFS(bp->b_vp);
1568 struct nfsnode *n
[all...]
H A Dnfs_clport.c114 struct nfsnode *np = VTONFS(vp);
123 * Look up a vnode/nfsnode by file handle.
126 * nfsnode structure is returned.
128 * that structure up, either by hanging off the nfsnode or FREEing it.
132 struct componentname *cnp, struct thread *td, struct nfsnode **npp,
135 struct nfsnode *np, *dnp;
314 struct thread *td, struct nfsnode **npp)
402 * Load the attribute cache (that lives in the nfsnode entry) with
415 struct nfsnode *np;
732 struct nfsnode *n
[all...]
H A Dnfs_clnfsiod.c72 #include <fs/nfs/client/nfsnode.h>
H A Dnfs_clstate.c484 struct nfsnode *np;
938 struct nfsnode *np;
1133 struct nfsnode *np;
1241 struct nfsnode *np;
1282 struct nfsnode *np;
3154 struct nfsnode *np;
3732 struct nfsnode *np;
3788 struct nfsnode *np;
3941 struct nfsnode *np;
4050 struct nfsnode *n
[all...]
/netbsd-current/usr.bin/fstat/
H A Dfstat.c72 #include <nfs/nfsnode.h>
831 struct nfsnode nfsnode; local
834 if (!KVM_READ(VTONFS(vp), &nfsnode, sizeof (nfsnode))) {
835 dprintf("can't read nfsnode at %p for pid %d", VTONFS(vp),
839 if (!KVM_READ(nfsnode.n_vattr, &va, sizeof(va))) {
841 nfsnode.n_vattr, Pid);
846 fsp->size = nfsnode.n_size;
/netbsd-current/usr.sbin/pstat/
H A Dpstat.c68 #include <nfs/nfsnode.h>
578 struct nfsnode nfsnode, *np = &nfsnode; local
585 KGETRET(VTONFS(vp), &nfsnode, sizeof(nfsnode), "vnode's nfsnode"); local
/netbsd-current/sys/fs/nfs/common/
H A Dnfs_var.h55 struct nfsnode;
307 nfsuint64 *nfscl_getcookie(struct nfsnode *, off_t off, int);
578 struct componentname *, NFSPROC_T *, struct nfsnode **, void *, int);
588 struct nfsnode **);
H A Dnfs_lock.c62 #include <fs/nfs/client/nfsnode.h>

Completed in 393 milliseconds

12