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

/freebsd-10.2-release/lib/libprocstat/
H A Dcommon_kvm.c53 #include <nfsclient/nfsnode.h>
136 struct nfsnode nfsnode; local
139 if (!kvm_read_all(kd, (unsigned long)VTONFS(vp), &nfsnode,
140 sizeof(nfsnode))) {
141 warnx("can't read nfsnode at %p",
145 vn->vn_fsid = nfsnode.n_vattr.va_fsid;
146 vn->vn_fileid = nfsnode.n_vattr.va_fileid;
147 vn->vn_size = nfsnode.n_size;
148 mode = (mode_t)nfsnode
[all...]
H A Dlibprocstat.c75 #include <nfsclient/nfsnode.h>
/freebsd-10.2-release/sys/fs/nfsclient/
H A Dnfsnode.h32 * $FreeBSD: releng/10.2/sys/fs/nfsclient/nfsnode.h 260107 2013-12-30 21:17:20Z rmacklem $
41 * Silly rename structure that hangs off the nfsnode until the name
81 * The nfsnode is the nfs equivalent to ufs's inode. Any similarity
83 * There is a unique nfsnode allocated for each active file,
85 * An nfsnode is 'named' by its file handle. (nget/nfs_node.c)
93 struct nfsnode { struct
163 * Convert between nfsnode pointers and vnode pointers
165 #define VTONFS(vp) ((struct nfsnode *)(vp)->v_data)
183 int ncl_nget(struct mount *, u_int8_t *, int, struct nfsnode **, int);
184 nfsuint64 *ncl_getcookie(struct nfsnode *, off_
[all...]
H A Dnfs.h86 void ncl_nodelock(struct nfsnode *);
87 void ncl_nodeunlock(struct nfsnode *);
H A Dnfs_clnode.c56 #include <fs/nfsclient/nfsnode.h>
75 newnfsnode_zone = uma_zcreate("NCLNODE", sizeof(struct nfsnode), NULL,
89 * Look up a vnode/nfsnode by file handle.
92 * nfsnode structure is returned.
95 ncl_nget(struct mount *mntp, u_int8_t *fhp, int fhsize, struct nfsnode **npp,
99 struct nfsnode *np;
204 struct nfsnode *np;
255 * Reclaim an nfsnode so that it can be used for other purposes.
261 struct nfsnode *np = VTONFS(vp);
324 struct nfsnode *n
[all...]
H A Dnfs_clsubs.c70 #include <fs/nfsclient/nfsnode.h>
122 ncl_dircookie_lock(struct nfsnode *np)
132 ncl_dircookie_unlock(struct nfsnode *np)
193 struct nfsnode *np;
284 ncl_getcookie(struct nfsnode *np, off_t off, int add)
341 struct nfsnode *np = VTONFS(vp);
400 ncl_nhinit(); /* Init the nfsnode table */
H A Dnfs_clvnops.c71 #include <fs/nfsclient/nfsnode.h>
144 struct ucred *, struct thread *, struct nfsnode **);
280 * np->n_mtx : Protects the fields in the nfsnode.
298 struct nfsnode *np = VTONFS(vp);
351 struct nfsnode *np = VTONFS(vp);
513 struct nfsnode *np = VTONFS(vp);
674 struct nfsnode *np = VTONFS(vp);
819 struct nfsnode *np = VTONFS(vp);
892 struct nfsnode *np = VTONFS(vp);
1007 struct nfsnode *n
[all...]
H A Dnfs_clbio.c61 #include <fs/nfsclient/nfsnode.h>
97 struct nfsnode *np;
256 struct nfsnode *np;
364 struct nfsnode *np = VTONFS(vp);
429 struct nfsnode *np = VTONFS(vp);
870 struct nfsnode *np = VTONFS(vp);
1034 * nfsnode after we have locked the buffer to prevent
1319 struct nfsnode *np = VTONFS(vp);
1559 struct nfsnode *np = VTONFS(bp->b_vp);
1591 struct nfsnode *n
[all...]
H A Dnfs_clport.c94 struct nfsnode *np = VTONFS(vp);
103 * Look up a vnode/nfsnode by file handle.
106 * nfsnode structure is returned.
108 * that structure up, either by hanging off the nfsnode or FREEing it.
112 struct componentname *cnp, struct thread *td, struct nfsnode **npp,
115 struct nfsnode *np, *dnp;
294 struct thread *td, struct nfsnode **npp)
348 * Load the attribute cache (that lives in the nfsnode entry) with
361 struct nfsnode *np;
646 struct nfsnode *n
[all...]
H A Dnfs_clnfsiod.c70 #include <fs/nfsclient/nfsnode.h>
H A Dnfs_clstate.c482 struct nfsnode *np;
936 struct nfsnode *np;
1131 struct nfsnode *np;
1239 struct nfsnode *np;
1280 struct nfsnode *np;
3152 struct nfsnode *np;
3730 struct nfsnode *np;
3786 struct nfsnode *np;
3939 struct nfsnode *np;
4048 struct nfsnode *n
[all...]
H A Dnfs_clvfsops.c72 #include <fs/nfsclient/nfsnode.h>
281 struct nfsnode *np;
1241 struct nfsnode *np;
1411 * A reference count is needed on the nfsnode representing the
1414 * the nfsnode gets flushed out of the cache. Ufs does not have
1587 struct nfsnode *np;
1747 struct nfsnode *np = VTONFS(vp);
H A Dnfs_clrpcops.c256 struct nfsnode *np = VTONFS(vp);
1181 struct nfsnode *np;
1282 struct nfsnode *np = VTONFS(vp);
1339 struct nfsnode *np = VTONFS(vp);
1492 struct nfsnode *np = VTONFS(vp);
1569 struct nfsnode *np = VTONFS(vp);
1951 struct nfsnode *np;
2192 struct nfsnode *np;
2271 struct nfsnode *np;
2682 struct nfsnode *dn
[all...]
H A Dnfs_clcomsubs.c403 nfscl_getcookie(struct nfsnode *np, off_t off, int add)
/freebsd-10.2-release/sys/nfsclient/
H A Dnfsnode.h32 * @(#)nfsnode.h 8.9 (Berkeley) 5/14/95
33 * $FreeBSD: releng/10.2/sys/nfsclient/nfsnode.h 235332 2012-05-12 12:02:51Z rmacklem $
45 * Silly rename structure that hangs off the nfsnode until the name
86 * The nfsnode is the nfs equivalent to ufs's inode. Any similarity
88 * There is a unique nfsnode allocated for each active file,
90 * An nfsnode is 'named' by its file handle. (nget/nfs_node.c)
98 struct nfsnode { struct
160 * Convert between nfsnode pointers and vnode pointers
162 #define VTONFS(vp) ((struct nfsnode *)(vp)->v_data)
201 int nfs_nget(struct mount *, nfsfh_t *, int, struct nfsnode **, in
[all...]
H A Dnfs_node.c58 #include <nfsclient/nfsnode.h>
72 nfsnode_zone = uma_zcreate("NFSNODE", sizeof(struct nfsnode), NULL,
91 struct nfsnode *np;
99 * Look up a vnode/nfsnode by file handle.
102 * nfsnode structure is returned.
105 nfs_nget(struct mount *mntp, nfsfh_t *fhp, int fhsize, struct nfsnode **npp, int flags)
108 struct nfsnode *np;
202 struct nfsnode *np;
231 * Reclaim an nfsnode so that it can be used for other purposes.
237 struct nfsnode *n
[all...]
H A Dnfs_subs.c72 #include <nfsclient/nfsnode.h>
153 LIST_HEAD(nfsnodehashhead, nfsnode);
338 nfs_nhinit(); /* Init the nfsnode table */
380 nfs_dircookie_lock(struct nfsnode *np)
390 nfs_dircookie_unlock(struct nfsnode *np)
445 * Load the attribute cache (that lives in the nfsnode entry) with
457 struct nfsnode *np = NULL;
674 struct nfsnode *np;
766 struct nfsnode *np;
786 nfs_getcookie(struct nfsnode *n
[all...]
H A Dnfs_vnops.c72 #include <nfsclient/nfsnode.h>
140 struct ucred *, struct thread *, struct nfsnode **);
271 * np->n_mtx : Protects the fields in the nfsnode.
294 struct nfsnode *np = VTONFS(vp);
354 struct nfsnode *np = VTONFS(vp);
506 struct nfsnode *np = VTONFS(vp);
619 struct nfsnode *np = VTONFS(vp);
689 struct nfsnode *np = VTONFS(vp);
755 struct nfsnode *np = VTONFS(vp);
868 struct nfsnode *n
[all...]
H A Dnfs_bio.c63 #include <nfsclient/nfsnode.h>
91 struct nfsnode *np;
250 struct nfsnode *np;
359 struct nfsnode *np = VTONFS(vp);
425 struct nfsnode *np = VTONFS(vp);
861 struct nfsnode *np = VTONFS(vp);
1027 * nfsnode after we have locked the buffer to prevent
1268 struct nfsnode *np = VTONFS(vp);
1498 struct nfsnode *np = VTONFS(bp->b_vp);
1522 struct nfsnode *n
[all...]
H A Dnfs_nfsiod.c72 #include <nfsclient/nfsnode.h>
H A Dnfs_vfsops.c77 #include <nfsclient/nfsnode.h>
278 struct nfsnode *np;
1238 struct nfsnode *np;
1322 * A reference count is needed on the nfsnode representing the
1325 * the nfsnode gets flushed out of the cache. Ufs does not have
1415 struct nfsnode *np;
1563 struct nfsnode *np = VTONFS(vp);
H A Dnfs_krpc.c69 #include <nfsclient/nfsnode.h>
/freebsd-10.2-release/sys/fs/nfs/
H A Dnfs_var.h53 struct nfsnode;
303 nfsuint64 *nfscl_getcookie(struct nfsnode *, off_t off, int);
574 struct componentname *, NFSPROC_T *, struct nfsnode **, void *, int);
584 struct nfsnode **);
H A Dnfsport.h477 #include <fs/nfsclient/nfsnode.h>
/freebsd-10.2-release/sys/nfs/
H A Dnfs_lock.c60 #include <nfsclient/nfsnode.h>

Completed in 123 milliseconds