HomeSort by: relevance | last modified time | path
    Searched refs:nfsnode (Results 1 - 25 of 36) sorted by relevancy

1 2

  /src/sys/nfs/
Makefile 5 INCS= krpc.h nfs.h nfsdiskless.h nfsm_subs.h nfsmount.h nfsnode.h \
nfs_var.h 60 struct nfsnode;
89 int nfs_nget1(struct mount *, nfsfh_t *, int, struct nfsnode **, int);
112 struct lwp *, struct nfsnode **);
175 int nfs_request(struct nfsnode *, struct mbuf *, int, struct lwp *,
248 struct mbuf *nfsm_reqh(struct nfsnode *, u_long, int, char **);
262 void nfs_putdircache(struct nfsnode *, struct nfsdircache *);
274 int nfs_check_wccdata(struct nfsnode *, const struct timespec *,
289 time_t nfs_attrtimeo(struct nfsmount *, struct nfsnode *);
nfs_node.c 59 #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 *np = VTONFS(vp)
    [all...]
nfs_clntsubs.c 106 #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)
nfsnode.h 1 /* $NetBSD: nfsnode.h,v 1.77 2024/12/07 02:05:55 riastradh Exp $ */
34 * @(#)nfsnode.h 8.9 (Berkeley) 5/14/95
63 * Each offset is hashed into a per-nfsnode hashtable. An entry
91 * The nfsnode is the nfs equivalent to ufs's inode. Any similarity
93 * There is a unique nfsnode allocated for each active file,
95 * An nfsnode is 'named' by its file handle. (nget/nfs_node.c)
122 struct nfsnode { struct
201 * Convert between nfsnode pointers and vnode pointers
203 #define VTONFS(vp) ((struct nfsnode *)(vp)->v_data)
210 * Silly rename structure that hangs off the nfsnode until the nam
    [all...]
nfs_subs.c 108 #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 *np, struct nfsdircache *ndp
    [all...]
nfs_vnops.c 87 #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 *np = VTONFS(vp)
    [all...]
nfs_bio.c 65 #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);
nfs_vfsops.c 70 #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;
nfsm_subs.h 161 { struct nfsnode *ttnp; nfsfh_t *ttfhp; int ttfhsize; \
268 struct nfsnode *nfsp = VTONFS(v); \
nfs_kq.c 51 #include <nfs/nfsnode.h>
nfs_srvsubs.c 97 #include <nfs/nfsnode.h>
  /src/sys/fs/nfs/client/
nfsnode.h 1 /* $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 *)(vp)->v_data
    [all...]
nfs.h 106 void ncl_nodelock(struct nfsnode *);
107 void ncl_nodeunlock(struct nfsnode *);
nfs_clnode.c 56 #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 *np = VTONFS(vp)
    [all...]
nfs_clsubs.c 70 #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 */
nfs_clvnops.c 75 #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 *np = VTONFS(vp)
    [all...]
nfs_clbio.c 52 #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 *np
    [all...]
nfs_clport.c 114 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 *np = VTONFS(vp)
    [all...]
nfs_clnfsiod.c 72 #include <fs/nfs/client/nfsnode.h>
nfs_clstate.c 484 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 *np
    [all...]
  /src/usr.bin/fstat/
fstat.c 72 #include <nfs/nfsnode.h>
831 struct nfsnode nfsnode; local in function:nfs_filestat
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;
  /src/usr.sbin/pstat/
pstat.c 68 #include <nfs/nfsnode.h>
578 struct nfsnode nfsnode, *np = &nfsnode; local in function:nfs_print
585 KGETRET(VTONFS(vp), &nfsnode, sizeof(nfsnode), "vnode's nfsnode");
  /src/sys/fs/nfs/common/
nfs_var.h 55 struct nfsnode;
307 nfsuint64 *nfscl_getcookie(struct nfsnode *, off_t off, int);
578 struct componentname *, NFSPROC_T *, struct nfsnode **, void *, int);
588 struct nfsnode **);
nfs_lock.c 62 #include <fs/nfs/client/nfsnode.h>

Completed in 35 milliseconds

1 2