Lines Matching refs:vnode

39  * vnode op calls for Sun NFS version 2 and 3
58 #include <sys/vnode.h>
119 static int nfs_flush(struct vnode *, int, int);
120 static int nfs_setattrrpc(struct vnode *, struct vattr *, struct ucred *);
139 static int nfs_lookitup(struct vnode *, const char *, int,
141 static int nfs_sillyrename(struct vnode *, struct vnode *,
197 static int nfs_mknodrpc(struct vnode *dvp, struct vnode **vpp,
199 static int nfs_removerpc(struct vnode *dvp, const char *name, int namelen,
201 static int nfs_renamerpc(struct vnode *fdvp, const char *fnameptr,
202 int fnamelen, struct vnode *tdvp,
205 static int nfs_renameit(struct vnode *sdvp, struct componentname *scnp,
284 nfs3_access_otw(struct vnode *vp, int wmode, struct thread *td,
342 * nfs access vnode op.
350 struct vnode *vp = ap->a_vp;
495 * nfs open vnode op
505 struct vnode *vp = ap->a_vp;
588 * nfs close vnode op
618 struct vnode *vp = ap->a_vp;
688 struct vnode *vp = ap->a_vp;
754 struct vnode *vp = ap->a_vp;
865 nfs_setattrrpc(struct vnode *vp, struct vattr *vap, struct ucred *cred)
926 struct vnode *dvp = ap->a_dvp;
927 struct vnode **vpp = ap->a_vpp;
932 struct vnode *newvp;
1215 struct vnode *vp = ap->a_vp;
1233 struct vnode *vp = ap->a_vp;
1245 nfs_readlinkrpc(struct vnode *vp, struct uio *uiop, struct ucred *cred)
1281 nfs_readrpc(struct vnode *vp, struct uio *uiop, struct ucred *cred)
1354 nfs_writerpc(struct vnode *vp, struct uio *uiop, struct ucred *cred,
1480 nfs_mknodrpc(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp,
1485 struct vnode *newvp = NULL;
1580 struct vnode *dvp = ap->a_dvp;
1586 struct vnode *newvp = NULL;
1703 * other processes using the vnode is renamed instead of removed and then
1714 struct vnode *vp = ap->a_vp;
1715 struct vnode *dvp = ap->a_dvp;
1768 * Make sure that the directory vnode is still valid.
1781 nfs_removerpc(struct vnode *dvp, const char *name, int namelen,
1817 struct vnode *fvp = ap->a_fvp;
1818 struct vnode *tvp = ap->a_tvp;
1819 struct vnode *fdvp = ap->a_fdvp;
1820 struct vnode *tdvp = ap->a_tdvp;
1904 nfs_renameit(struct vnode *sdvp, struct componentname *scnp,
1916 nfs_renamerpc(struct vnode *fdvp, const char *fnameptr, int fnamelen,
1917 struct vnode *tdvp, const char *tnameptr, int tnamelen, struct ucred *cred,
1964 struct vnode *vp = ap->a_vp;
1965 struct vnode *tdvp = ap->a_tdvp;
2019 struct vnode *dvp = ap->a_dvp;
2026 struct vnode *newvp = NULL;
2108 struct vnode *dvp = ap->a_dvp;
2114 struct vnode *newvp = NULL;
2180 struct vnode *vp = ap->a_vp;
2181 struct vnode *dvp = ap->a_dvp;
2225 struct vnode *vp = ap->a_vp;
2268 nfs_readdirrpc(struct vnode *vp, struct uio *uiop, struct ucred *cred)
2466 nfs_readdirplusrpc(struct vnode *vp, struct uio *uiop, struct ucred *cred)
2472 struct vnode *newvp;
2625 * be to do a trylock on the ".." vnode and skip
2743 * more like the "ufs" a remove of an active vnode is translated to a rename
2750 nfs_sillyrename(struct vnode *dvp, struct vnode *vp, struct componentname *cnp)
2806 * *npp != NULL --> update the file handle in the vnode
2809 nfs_lookitup(struct vnode *dvp, const char *name, int len, struct ucred *cred,
2812 struct vnode *newvp = NULL;
2884 nfs_commit(struct vnode *vp, u_quad_t offset, int cnt, struct ucred *cred,
2957 * fsync vnode op. Just call nfs_flush() with commit == 1.
2968 * Flush all the blocks associated with a vnode.
2970 * associated with the vnode.
2973 nfs_flush(struct vnode *vp, int waitfor, int commit)
3031 * Release the vnode interlock to avoid a lock
3283 struct vnode *vp = ap->a_vp;
3310 struct vnode *vp = ap->a_vp;
3334 struct vnode *vp = ap->a_vp;
3408 * nfs special file access vnode op.
3417 struct vnode *vp = ap->a_vp;
3493 struct vnode *vp = ap->a_vp;