#include <sys/param.h>
int
VOP_LOOKUP(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp);
int
VOP_CREATE(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct vattr *vap);
int
VOP_MKNOD(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct vattr *vap);
int
VOP_OPEN(struct vnode *vp, int mode, kauth_cred_t cred);
int
VOP_CLOSE(struct vnode *vp, int fflag, kauth_cred_t cred);
int
VOP_ACCESS(struct vnode *vp, int mode, kauth_cred_t cred);
int
VOP_GETATTR(struct vnode *vp, struct vattr *vap, kauth_cred_t cred);
int
VOP_SETATTR(struct vnode *vp, struct vattr *vap, kauth_cred_t cred);
int
VOP_READ(struct vnode *vp, struct uio *uio, int ioflag, kauth_cred_t cred);
int
VOP_WRITE(struct vnode *vp, struct uio *uio, int ioflag, kauth_cred_t cred);
int
VOP_IOCTL(struct vnode *vp, u_long command, void *data, int fflag, kauth_cred_t cred);
int
VOP_FCNTL(struct vnode *vp, u_int command, void *data, int fflag, kauth_cred_t cred);
int
VOP_POLL(struct vnode *vp, int events);
int
VOP_KQFILTER(struct vnode *vp, struct knote *kn);
int
VOP_REVOKE(struct vnode *vp, int flags);
int
VOP_MMAP(struct vnode *vp, vm_prot_t prot, kauth_cred_t cred);
int
VOP_FSYNC(struct vnode *vp, kauth_cred_t cred, int flags, off_t offlo, off_t offhi);
int
VOP_SEEK(struct vnode *vp, off_t oldoff, off_t newoff, kauth_cred_t cred);
int
VOP_REMOVE(struct vnode *vp, struct vnode *vp, struct componentname *cnp);
int
VOP_LINK(struct vnode *dvp, struct vnode *vp, struct componentname *cnp);
int
VOP_RENAME(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp, struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp);
int
VOP_MKDIR(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct vattr *vap);
int
VOP_RMDIR(struct vnode *dvp, struct vnode *vp, struct componentname *cnp);
int
VOP_SYMLINK(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct vattr *vap, char *target);
int
VOP_READDIR(struct vnode *vp, struct uio *uio, kauth_cred_t cred, int *eofflag, off_t **cookies, int *ncookies);
int
VOP_READLINK(struct vnode *vp, struct uio *uio, kauth_cred_t cred);
int
VOP_ABORTOP(struct vnode *dvp, struct componentname *cnp);
int
VOP_INACTIVE(struct vnode *vp);
int
VOP_RECLAIM(struct vnode *vp);
int
VOP_LOCK(struct vnode *vp, int flags);
int
VOP_UNLOCK(struct vnode *vp);
int
VOP_ISLOCKED(struct vnode *vp);
int
VOP_BMAP(struct vnode *vp, daddr_t bn, struct vnode **vpp, daddr_t *bnp, int *runp);
int
VOP_PRINT(struct vnode *vp);
int
VOP_PATHCONF(struct vnode *vp, int name, register_t *retval);
int
VOP_ADVLOCK(struct vnode *vp, void *id, int op, struct flock *fl, int flags);
int
VOP_LEASE(struct vnode *vp, kauth_cred_t cred, int flag);
int
VOP_WHITEOUT(struct vnode *dvp, struct componentname *cnp, int flags);
int
VOP_GETPAGES(struct vnode *vp, voff_t offset, struct vm_page **m, int *count, int centeridx, vm_prot_t access_type, int advice, int flags);
int
VOP_PUTPAGES(struct vnode *vp, voff_t offlo, voff_t offhi, int flags);
int
VOP_STRATEGY(struct vnode *vp, struct buf *bp);
int
VOP_BWRITE(struct buf *bp);
int
VOP_GETEXTATTR(struct vnode *vp, int attrnamespace, const char *name, struct uio *uio, size_t *size, kauth_cred_t cred);
int
VOP_SETEXTATTR(struct vnode *vp, int attrnamespace, const char *name, struct uio *uio, kauth_cred_t cred);
int
VOP_LISTEXTATTR(struct vnode *vp, int attrnamespace, struct uio *uio, size_t *size, kauth_cred_t cred);
int
VOP_DELETEEXTATTR(struct vnode *vp, int attrnamespace, const char *name, kauth_cred_t cred);
Not all header files are required for each function.