Home
last modified time | relevance | path

Searched refs:nfsnode (Results 1 – 12 of 12) sorted by relevance

/openbsd-src/sys/nfs/
H A Dnfs_node.c63 nfsnode_cmp(const struct nfsnode *a, const struct nfsnode *b) in nfsnode_cmp()
70 RBT_PROTOTYPE(nfs_nodetree, nfsnode, n_entry, nfsnode_cmp);
71 RBT_GENERATE(nfs_nodetree, nfsnode, n_entry, nfsnode_cmp);
85 nfs_nget(struct mount *mnt, nfsfh_t *fh, int fhsize, struct nfsnode **npp) in nfs_nget()
88 struct nfsnode *np, find, *np2; in nfs_nget()
159 struct nfsnode *np; in nfs_inactive()
212 struct nfsnode *np = VTONFS(vp); in nfs_reclaim()
H A Dnfsnode.h66 struct nfsnode { struct
67 RB_ENTRY(nfsnode) n_entry; /* filehandle/node tree. */
132 #define VTONFS(vp) ((struct nfsnode *)(vp)->v_data)
H A Dnfs_var.h41 struct nfsnode;
59 int nfs_nget(struct mount *, nfsfh_t *, int, struct nfsnode **);
171 int nfs_attrtimeo(struct nfsnode *);
H A Dnfs_vnops.c65 #include <nfs/nfsnode.h>
85 struct nfsnode **);
258 struct nfsnode *np; in nfs_cache_enter()
290 struct nfsnode *np = VTONFS(vp); in nfs_access()
420 struct nfsnode *np = VTONFS(vp); in nfs_open()
514 struct nfsnode *np = VTONFS(vp); in nfs_close()
559 struct nfsnode *np = VTONFS(vp); in nfs_getattr()
600 struct nfsnode *np = VTONFS(vp); in nfs_setattr()
798 * If not found, unlock the directory nfsnode and do the rpc
813 struct nfsnode *n in nfs_lookup()
[all...]
H A Dnfs_subs.c59 #include <nfs/nfsnode.h>
70 int nfs_attrtimeo(struct nfsnode *np);
912 pool_init(&nfs_node_pool, sizeof(struct nfsnode), 0, IPL_NONE, in nfs_vfs_init()
927 * Load the attribute cache (that lives in the nfsnode entry) with
940 struct nfsnode *np; in nfs_loadattrcache()
1003 * Discard unneeded vnode, but save its nfsnode. in nfs_loadattrcache()
1004 * Since the nfsnode does not have a lock, its in nfs_loadattrcache()
1101 nfs_attrtimeo(struct nfsnode *np) in nfs_attrtimeo()
1132 struct nfsnode *np = VTONFS(vp); in nfs_getattrcache()
1196 struct nfsnode *n in nfs_namei()
[all...]
H A Dnfsmount.h48 RBT_HEAD(nfs_nodetree, nfsnode)
H A Dnfs_debug.c75 struct nfsnode *np = v; in nfs_node_print()
H A Dnfs_bio.c51 #include <nfs/nfsnode.h>
68 struct nfsnode *np = VTONFS(vp); in nfs_bioread()
248 struct nfsnode *np = VTONFS(vp); in nfs_write()
450 struct nfsnode *np = VTONFS(vp); in nfs_vinvalbuf()
534 struct nfsnode *np; in nfs_doio()
H A Dnfs_kq.c101 struct nfsnode *np = VTONFS(ke->vp); in nfs_kqpoll()
225 struct nfsnode *np = VTONFS(vp); in filt_nfsread()
H A Dnfs_vfsops.c57 #include <nfs/nfsnode.h>
615 struct nfsnode *np; in mountnfs()
689 * A reference count is needed on the nfsnode representing the in mountnfs()
692 * the nfsnode gets flushed out of the cache. Ufs does not have in mountnfs()
/openbsd-src/lib/libkvm/
H A Dkvm_file2.c853 struct nfsnode nfsnode; in nfs_filestat() local
855 if (KREAD(kd, (u_long)VTONFS(vp), &nfsnode)) { in nfs_filestat()
860 kf->va_fsid = nfsnode.n_vattr.va_fsid; in nfs_filestat()
861 kf->va_fileid = nfsnode.n_vattr.va_fileid; in nfs_filestat()
862 kf->va_size = nfsnode.n_size; in nfs_filestat()
863 kf->va_rdev = nfsnode.n_vattr.va_rdev; in nfs_filestat()
864 kf->va_mode = (mode_t)nfsnode.n_vattr.va_mode | _kvm_getftype(vp->v_type); in nfs_filestat()
865 kf->va_nlink = nfsnode.n_vattr.va_nlink; in nfs_filestat()
/openbsd-src/usr.sbin/pstat/
H A Dpstat.c637 struct nfsnode nfsnode, *np = &nfsnode; in nfs_print() local
643 KGETRET(VTONFS(vp), &nfsnode, sizeof(nfsnode), "vnode's nfsnode"); in nfs_print()