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

/freebsd-12-stable/lib/libprocstat/
H A Dcommon_kvm.c57 #include <nfsclient/nfsnode.h>
145 struct nfsnode nfsnode; local
148 if (!kvm_read_all(kd, (unsigned long)VTONFS(vp), &nfsnode,
149 sizeof(nfsnode))) {
150 warnx("can't read nfsnode at %p",
154 vn->vn_fsid = nfsnode.n_vattr.va_fsid;
155 vn->vn_fileid = nfsnode.n_vattr.va_fileid;
156 vn->vn_size = nfsnode.n_size;
157 mode = (mode_t)nfsnode
[all...]
H A Dlibprocstat.c81 #include <nfsclient/nfsnode.h>
/freebsd-12-stable/sys/fs/nfsclient/
H A Dnfsnode.h43 * Silly rename structure that hangs off the nfsnode until the name
83 * The nfsnode is the nfs equivalent to ufs's inode. Any similarity
85 * There is a unique nfsnode allocated for each active file,
87 * An nfsnode is 'named' by its file handle. (nget/nfs_node.c)
95 struct nfsnode { struct
169 * Convert between nfsnode pointers and vnode pointers
171 #define VTONFS(vp) ((struct nfsnode *)(vp)->v_data)
189 int ncl_nget(struct mount *, u_int8_t *, int, struct nfsnode **, int);
190 nfsuint64 *ncl_getcookie(struct nfsnode *, off_t, int);
194 void ncl_dircookie_lock(struct nfsnode *);
[all...]
H A Dnfs.h105 void ncl_nodelock(struct nfsnode *);
106 void ncl_nodeunlock(struct nfsnode *);
H A Dnfs_clnode.c56 #include <fs/nfsclient/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;
212 struct nfsnode *np;
241 struct nfsnode *np;
281 * Reclaim an nfsnode so that it can be used for other purposes.
287 struct nfsnode *n
[all...]
H A Dnfs_clsubs.c70 #include <fs/nfsclient/nfsnode.h>
123 ncl_dircookie_lock(struct nfsnode *np)
132 ncl_dircookie_unlock(struct nfsnode *np)
143 struct nfsnode *np;
161 struct nfsnode *np;
184 struct nfsnode *np;
271 ncl_getcookie(struct nfsnode *np, off_t off, int add)
328 struct nfsnode *np = VTONFS(vp);
388 ncl_nhinit(); /* Init the nfsnode table */
H A Dnfs_clvnops.c72 #include <fs/nfsclient/nfsnode.h>
135 struct ucred *, struct thread *, struct nfsnode **);
263 * np->n_mtx : Protects the fields in the nfsnode.
279 struct nfsnode *np;
353 struct nfsnode *np = VTONFS(vp);
406 struct nfsnode *np = VTONFS(vp);
568 struct nfsnode *np = VTONFS(vp);
756 struct nfsnode *np = VTONFS(vp);
902 struct nfsnode *np = VTONFS(vp);
960 struct nfsnode *n
[all...]
H A Dnfs_clbio.c61 #include <fs/nfsclient/nfsnode.h>
99 struct nfsnode *np;
131 struct nfsnode *np;
278 struct nfsnode *np;
369 struct nfsnode *np = VTONFS(vp);
427 struct nfsnode *np = VTONFS(vp);
898 struct nfsnode *np = VTONFS(vp);
1065 * nfsnode after we have locked the buffer to prevent
1354 struct nfsnode *np = VTONFS(vp);
1588 struct nfsnode *n
[all...]
H A Dnfs_clport.c110 struct nfsnode *np = VTONFS(vp);
119 * Look up a vnode/nfsnode by file handle.
122 * nfsnode structure is returned.
124 * that structure up, either by hanging off the nfsnode or FREEing it.
128 struct componentname *cnp, struct thread *td, struct nfsnode **npp,
131 struct nfsnode *np, *dnp;
315 struct thread *td, struct nfsnode **npp)
425 * Load the attribute cache (that lives in the nfsnode entry) with
438 struct nfsnode *np;
595 * recorded in nfsnode v
[all...]
H A Dnfs_clstate.c510 struct nfsnode *np;
997 struct nfsnode *np;
1195 struct nfsnode *np;
1303 struct nfsnode *np;
1344 struct nfsnode *np;
3303 struct nfsnode *np;
3339 struct nfsnode *np;
3947 struct nfsnode *np;
4003 struct nfsnode *np;
4144 struct nfsnode *n
[all...]
H A Dnfs_clnfsiod.c71 #include <fs/nfsclient/nfsnode.h>
H A Dnfs_clcomsubs.c279 nfscl_getcookie(struct nfsnode *np, off_t off, int add)
H A Dnfs_clvfsops.c74 #include <fs/nfsclient/nfsnode.h>
291 struct nfsnode *np;
1384 struct nfsnode *np;
1553 * A reference count is needed on the nfsnode representing the
1556 * the nfsnode gets flushed out of the cache. Ufs does not have
1762 struct nfsnode *np;
1922 struct nfsnode *np = VTONFS(vp);
H A Dnfs_clrpcops.c337 struct nfsnode *np = VTONFS(vp);
1331 struct nfsnode *np;
1432 struct nfsnode *np = VTONFS(vp);
1489 struct nfsnode *np = VTONFS(vp);
1648 struct nfsnode *np = VTONFS(vp);
1725 struct nfsnode *np = VTONFS(vp);
2113 struct nfsnode *np;
2356 struct nfsnode *np;
2435 struct nfsnode *np;
2856 struct nfsnode *dn
[all...]
/freebsd-12-stable/sys/nfsclient/
H A Dnfsnode.h34 * @(#)nfsnode.h 8.9 (Berkeley) 5/14/95
47 * Silly rename structure that hangs off the nfsnode until the name
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)
100 struct nfsnode { struct
162 * Convert between nfsnode pointers and vnode pointers
164 #define VTONFS(vp) ((struct nfsnode *)(vp)->v_data)
203 int nfs_nget(struct mount *, nfsfh_t *, int, struct nfsnode **, int flags);
204 nfsuint64 *nfs_getcookie(struct nfsnode *, off_
[all...]
/freebsd-12-stable/sys/fs/nfs/
H A Dnfs_var.h55 struct nfsnode;
355 nfsuint64 *nfscl_getcookie(struct nfsnode *, off_t off, int);
622 struct componentname *, NFSPROC_T *, struct nfsnode **, void *, int);
632 struct nfsnode **);
H A Dnfsport.h546 #include <fs/nfsclient/nfsnode.h>
/freebsd-12-stable/sys/nfs/
H A Dnfs_lock.c62 #include <nfsclient/nfsnode.h>
/freebsd-12-stable/sys/fs/nfsserver/
H A Dnfs_nfsdport.c3847 struct nfsnode *np;
5623 struct nfsnode *np;

Completed in 280 milliseconds