update for new vnode_if.sh

This commit is contained in:
cgd 1997-07-07 20:19:54 +00:00
parent 6542ece8e1
commit c96fac46ea
2 changed files with 49 additions and 45 deletions

View File

@ -5,7 +5,7 @@
* Created from the file:
* NetBSD: vnode_if.src,v 1.11 1996/09/07 12:41:06 mycroft Exp
* by the script:
* NetBSD: vnode_if.sh,v 1.10 1997/01/22 06:51:59 mikel Exp
* NetBSD: vnode_if.sh,v 1.11 1997/07/07 20:17:36 cgd Exp
*/
/*

View File

@ -5,7 +5,7 @@
* Created from the file:
* NetBSD: vnode_if.src,v 1.11 1996/09/07 12:41:06 mycroft Exp
* by the script:
* NetBSD: vnode_if.sh,v 1.10 1997/01/22 06:51:59 mikel Exp
* NetBSD: vnode_if.sh,v 1.11 1997/07/07 20:17:36 cgd Exp
*/
/*
@ -55,7 +55,7 @@ struct vop_lookup_args {
};
extern struct vnodeop_desc vop_lookup_desc;
static __inline int VOP_LOOKUP __P((struct vnode *, struct vnode **,
struct componentname *));
struct componentname *)) __attribute__ ((unused));
static __inline int VOP_LOOKUP(dvp, vpp, cnp)
struct vnode *dvp;
struct vnode **vpp;
@ -78,7 +78,7 @@ struct vop_create_args {
};
extern struct vnodeop_desc vop_create_desc;
static __inline int VOP_CREATE __P((struct vnode *, struct vnode **,
struct componentname *, struct vattr *));
struct componentname *, struct vattr *)) __attribute__ ((unused));
static __inline int VOP_CREATE(dvp, vpp, cnp, vap)
struct vnode *dvp;
struct vnode **vpp;
@ -103,7 +103,7 @@ struct vop_mknod_args {
};
extern struct vnodeop_desc vop_mknod_desc;
static __inline int VOP_MKNOD __P((struct vnode *, struct vnode **,
struct componentname *, struct vattr *));
struct componentname *, struct vattr *)) __attribute__ ((unused));
static __inline int VOP_MKNOD(dvp, vpp, cnp, vap)
struct vnode *dvp;
struct vnode **vpp;
@ -128,7 +128,7 @@ struct vop_open_args {
};
extern struct vnodeop_desc vop_open_desc;
static __inline int VOP_OPEN __P((struct vnode *, int, struct ucred *,
struct proc *));
struct proc *)) __attribute__ ((unused));
static __inline int VOP_OPEN(vp, mode, cred, p)
struct vnode *vp;
int mode;
@ -153,7 +153,7 @@ struct vop_close_args {
};
extern struct vnodeop_desc vop_close_desc;
static __inline int VOP_CLOSE __P((struct vnode *, int, struct ucred *,
struct proc *));
struct proc *)) __attribute__ ((unused));
static __inline int VOP_CLOSE(vp, fflag, cred, p)
struct vnode *vp;
int fflag;
@ -178,7 +178,7 @@ struct vop_access_args {
};
extern struct vnodeop_desc vop_access_desc;
static __inline int VOP_ACCESS __P((struct vnode *, int, struct ucred *,
struct proc *));
struct proc *)) __attribute__ ((unused));
static __inline int VOP_ACCESS(vp, mode, cred, p)
struct vnode *vp;
int mode;
@ -203,7 +203,7 @@ struct vop_getattr_args {
};
extern struct vnodeop_desc vop_getattr_desc;
static __inline int VOP_GETATTR __P((struct vnode *, struct vattr *,
struct ucred *, struct proc *));
struct ucred *, struct proc *)) __attribute__ ((unused));
static __inline int VOP_GETATTR(vp, vap, cred, p)
struct vnode *vp;
struct vattr *vap;
@ -228,7 +228,7 @@ struct vop_setattr_args {
};
extern struct vnodeop_desc vop_setattr_desc;
static __inline int VOP_SETATTR __P((struct vnode *, struct vattr *,
struct ucred *, struct proc *));
struct ucred *, struct proc *)) __attribute__ ((unused));
static __inline int VOP_SETATTR(vp, vap, cred, p)
struct vnode *vp;
struct vattr *vap;
@ -253,7 +253,7 @@ struct vop_read_args {
};
extern struct vnodeop_desc vop_read_desc;
static __inline int VOP_READ __P((struct vnode *, struct uio *, int,
struct ucred *));
struct ucred *)) __attribute__ ((unused));
static __inline int VOP_READ(vp, uio, ioflag, cred)
struct vnode *vp;
struct uio *uio;
@ -278,7 +278,7 @@ struct vop_write_args {
};
extern struct vnodeop_desc vop_write_desc;
static __inline int VOP_WRITE __P((struct vnode *, struct uio *, int,
struct ucred *));
struct ucred *)) __attribute__ ((unused));
static __inline int VOP_WRITE(vp, uio, ioflag, cred)
struct vnode *vp;
struct uio *uio;
@ -305,7 +305,7 @@ struct vop_ioctl_args {
};
extern struct vnodeop_desc vop_ioctl_desc;
static __inline int VOP_IOCTL __P((struct vnode *, u_long, caddr_t, int,
struct ucred *, struct proc *));
struct ucred *, struct proc *)) __attribute__ ((unused));
static __inline int VOP_IOCTL(vp, command, data, fflag, cred, p)
struct vnode *vp;
u_long command;
@ -332,7 +332,8 @@ struct vop_poll_args {
struct proc *a_p;
};
extern struct vnodeop_desc vop_poll_desc;
static __inline int VOP_POLL __P((struct vnode *, int, struct proc *));
static __inline int VOP_POLL __P((struct vnode *, int,
struct proc *)) __attribute__ ((unused));
static __inline int VOP_POLL(vp, events, p)
struct vnode *vp;
int events;
@ -355,7 +356,7 @@ struct vop_mmap_args {
};
extern struct vnodeop_desc vop_mmap_desc;
static __inline int VOP_MMAP __P((struct vnode *, int, struct ucred *,
struct proc *));
struct proc *)) __attribute__ ((unused));
static __inline int VOP_MMAP(vp, fflags, cred, p)
struct vnode *vp;
int fflags;
@ -380,7 +381,7 @@ struct vop_fsync_args {
};
extern struct vnodeop_desc vop_fsync_desc;
static __inline int VOP_FSYNC __P((struct vnode *, struct ucred *, int,
struct proc *));
struct proc *)) __attribute__ ((unused));
static __inline int VOP_FSYNC(vp, cred, waitfor, p)
struct vnode *vp;
struct ucred *cred;
@ -405,7 +406,7 @@ struct vop_seek_args {
};
extern struct vnodeop_desc vop_seek_desc;
static __inline int VOP_SEEK __P((struct vnode *, off_t, off_t,
struct ucred *));
struct ucred *)) __attribute__ ((unused));
static __inline int VOP_SEEK(vp, oldoff, newoff, cred)
struct vnode *vp;
off_t oldoff;
@ -429,7 +430,7 @@ struct vop_remove_args {
};
extern struct vnodeop_desc vop_remove_desc;
static __inline int VOP_REMOVE __P((struct vnode *, struct vnode *,
struct componentname *));
struct componentname *)) __attribute__ ((unused));
static __inline int VOP_REMOVE(dvp, vp, cnp)
struct vnode *dvp;
struct vnode *vp;
@ -451,7 +452,7 @@ struct vop_link_args {
};
extern struct vnodeop_desc vop_link_desc;
static __inline int VOP_LINK __P((struct vnode *, struct vnode *,
struct componentname *));
struct componentname *)) __attribute__ ((unused));
static __inline int VOP_LINK(dvp, vp, cnp)
struct vnode *dvp;
struct vnode *vp;
@ -477,7 +478,7 @@ struct vop_rename_args {
extern struct vnodeop_desc vop_rename_desc;
static __inline int VOP_RENAME __P((struct vnode *, struct vnode *,
struct componentname *, struct vnode *, struct vnode *,
struct componentname *));
struct componentname *)) __attribute__ ((unused));
static __inline int VOP_RENAME(fdvp, fvp, fcnp, tdvp, tvp, tcnp)
struct vnode *fdvp;
struct vnode *fvp;
@ -506,7 +507,7 @@ struct vop_mkdir_args {
};
extern struct vnodeop_desc vop_mkdir_desc;
static __inline int VOP_MKDIR __P((struct vnode *, struct vnode **,
struct componentname *, struct vattr *));
struct componentname *, struct vattr *)) __attribute__ ((unused));
static __inline int VOP_MKDIR(dvp, vpp, cnp, vap)
struct vnode *dvp;
struct vnode **vpp;
@ -530,7 +531,7 @@ struct vop_rmdir_args {
};
extern struct vnodeop_desc vop_rmdir_desc;
static __inline int VOP_RMDIR __P((struct vnode *, struct vnode *,
struct componentname *));
struct componentname *)) __attribute__ ((unused));
static __inline int VOP_RMDIR(dvp, vp, cnp)
struct vnode *dvp;
struct vnode *vp;
@ -554,7 +555,7 @@ struct vop_symlink_args {
};
extern struct vnodeop_desc vop_symlink_desc;
static __inline int VOP_SYMLINK __P((struct vnode *, struct vnode **,
struct componentname *, struct vattr *, char *));
struct componentname *, struct vattr *, char *)) __attribute__ ((unused));
static __inline int VOP_SYMLINK(dvp, vpp, cnp, vap, target)
struct vnode *dvp;
struct vnode **vpp;
@ -583,7 +584,7 @@ struct vop_readdir_args {
};
extern struct vnodeop_desc vop_readdir_desc;
static __inline int VOP_READDIR __P((struct vnode *, struct uio *,
struct ucred *, int *, u_long *, int));
struct ucred *, int *, u_long *, int)) __attribute__ ((unused));
static __inline int VOP_READDIR(vp, uio, cred, eofflag, cookies, ncookies)
struct vnode *vp;
struct uio *uio;
@ -611,7 +612,7 @@ struct vop_readlink_args {
};
extern struct vnodeop_desc vop_readlink_desc;
static __inline int VOP_READLINK __P((struct vnode *, struct uio *,
struct ucred *));
struct ucred *)) __attribute__ ((unused));
static __inline int VOP_READLINK(vp, uio, cred)
struct vnode *vp;
struct uio *uio;
@ -631,7 +632,8 @@ struct vop_abortop_args {
struct componentname *a_cnp;
};
extern struct vnodeop_desc vop_abortop_desc;
static __inline int VOP_ABORTOP __P((struct vnode *, struct componentname *));
static __inline int VOP_ABORTOP __P((struct vnode *,
struct componentname *)) __attribute__ ((unused));
static __inline int VOP_ABORTOP(dvp, cnp)
struct vnode *dvp;
struct componentname *cnp;
@ -648,7 +650,7 @@ struct vop_inactive_args {
struct vnode *a_vp;
};
extern struct vnodeop_desc vop_inactive_desc;
static __inline int VOP_INACTIVE __P((struct vnode *));
static __inline int VOP_INACTIVE __P((struct vnode *)) __attribute__ ((unused));
static __inline int VOP_INACTIVE(vp)
struct vnode *vp;
{
@ -663,7 +665,7 @@ struct vop_reclaim_args {
struct vnode *a_vp;
};
extern struct vnodeop_desc vop_reclaim_desc;
static __inline int VOP_RECLAIM __P((struct vnode *));
static __inline int VOP_RECLAIM __P((struct vnode *)) __attribute__ ((unused));
static __inline int VOP_RECLAIM(vp)
struct vnode *vp;
{
@ -678,7 +680,7 @@ struct vop_lock_args {
struct vnode *a_vp;
};
extern struct vnodeop_desc vop_lock_desc;
static __inline int VOP_LOCK __P((struct vnode *));
static __inline int VOP_LOCK __P((struct vnode *)) __attribute__ ((unused));
static __inline int VOP_LOCK(vp)
struct vnode *vp;
{
@ -693,7 +695,7 @@ struct vop_unlock_args {
struct vnode *a_vp;
};
extern struct vnodeop_desc vop_unlock_desc;
static __inline int VOP_UNLOCK __P((struct vnode *));
static __inline int VOP_UNLOCK __P((struct vnode *)) __attribute__ ((unused));
static __inline int VOP_UNLOCK(vp)
struct vnode *vp;
{
@ -713,7 +715,7 @@ struct vop_bmap_args {
};
extern struct vnodeop_desc vop_bmap_desc;
static __inline int VOP_BMAP __P((struct vnode *, daddr_t, struct vnode **,
daddr_t *, int *));
daddr_t *, int *)) __attribute__ ((unused));
static __inline int VOP_BMAP(vp, bn, vpp, bnp, runp)
struct vnode *vp;
daddr_t bn;
@ -736,7 +738,7 @@ struct vop_print_args {
struct vnode *a_vp;
};
extern struct vnodeop_desc vop_print_desc;
static __inline int VOP_PRINT __P((struct vnode *));
static __inline int VOP_PRINT __P((struct vnode *)) __attribute__ ((unused));
static __inline int VOP_PRINT(vp)
struct vnode *vp;
{
@ -751,7 +753,7 @@ struct vop_islocked_args {
struct vnode *a_vp;
};
extern struct vnodeop_desc vop_islocked_desc;
static __inline int VOP_ISLOCKED __P((struct vnode *));
static __inline int VOP_ISLOCKED __P((struct vnode *)) __attribute__ ((unused));
static __inline int VOP_ISLOCKED(vp)
struct vnode *vp;
{
@ -768,7 +770,8 @@ struct vop_pathconf_args {
register_t *a_retval;
};
extern struct vnodeop_desc vop_pathconf_desc;
static __inline int VOP_PATHCONF __P((struct vnode *, int, register_t *));
static __inline int VOP_PATHCONF __P((struct vnode *, int,
register_t *)) __attribute__ ((unused));
static __inline int VOP_PATHCONF(vp, name, retval)
struct vnode *vp;
int name;
@ -792,7 +795,7 @@ struct vop_advlock_args {
};
extern struct vnodeop_desc vop_advlock_desc;
static __inline int VOP_ADVLOCK __P((struct vnode *, caddr_t, int,
struct flock *, int));
struct flock *, int)) __attribute__ ((unused));
static __inline int VOP_ADVLOCK(vp, id, op, fl, flags)
struct vnode *vp;
caddr_t id;
@ -819,7 +822,7 @@ struct vop_blkatoff_args {
};
extern struct vnodeop_desc vop_blkatoff_desc;
static __inline int VOP_BLKATOFF __P((struct vnode *, off_t, char **,
struct buf **));
struct buf **)) __attribute__ ((unused));
static __inline int VOP_BLKATOFF(vp, offset, res, bpp)
struct vnode *vp;
off_t offset;
@ -844,7 +847,7 @@ struct vop_valloc_args {
};
extern struct vnodeop_desc vop_valloc_desc;
static __inline int VOP_VALLOC __P((struct vnode *, int, struct ucred *,
struct vnode **));
struct vnode **)) __attribute__ ((unused));
static __inline int VOP_VALLOC(pvp, mode, cred, vpp)
struct vnode *pvp;
int mode;
@ -867,7 +870,7 @@ struct vop_reallocblks_args {
};
extern struct vnodeop_desc vop_reallocblks_desc;
static __inline int VOP_REALLOCBLKS __P((struct vnode *,
struct cluster_save *));
struct cluster_save *)) __attribute__ ((unused));
static __inline int VOP_REALLOCBLKS(vp, buflist)
struct vnode *vp;
struct cluster_save *buflist;
@ -886,7 +889,8 @@ struct vop_vfree_args {
int a_mode;
};
extern struct vnodeop_desc vop_vfree_desc;
static __inline int VOP_VFREE __P((struct vnode *, ino_t, int));
static __inline int VOP_VFREE __P((struct vnode *, ino_t,
int)) __attribute__ ((unused));
static __inline int VOP_VFREE(pvp, ino, mode)
struct vnode *pvp;
ino_t ino;
@ -910,7 +914,7 @@ struct vop_truncate_args {
};
extern struct vnodeop_desc vop_truncate_desc;
static __inline int VOP_TRUNCATE __P((struct vnode *, off_t, int,
struct ucred *, struct proc *));
struct ucred *, struct proc *)) __attribute__ ((unused));
static __inline int VOP_TRUNCATE(vp, length, flags, cred, p)
struct vnode *vp;
off_t length;
@ -937,7 +941,7 @@ struct vop_update_args {
};
extern struct vnodeop_desc vop_update_desc;
static __inline int VOP_UPDATE __P((struct vnode *, struct timespec *,
struct timespec *, int));
struct timespec *, int)) __attribute__ ((unused));
static __inline int VOP_UPDATE(vp, access, modify, waitfor)
struct vnode *vp;
struct timespec *access;
@ -962,7 +966,7 @@ struct vop_lease_args {
};
extern struct vnodeop_desc vop_lease_desc;
static __inline int VOP_LEASE __P((struct vnode *, struct proc *,
struct ucred *, int));
struct ucred *, int)) __attribute__ ((unused));
static __inline int VOP_LEASE(vp, p, cred, flag)
struct vnode *vp;
struct proc *p;
@ -986,7 +990,7 @@ struct vop_whiteout_args {
};
extern struct vnodeop_desc vop_whiteout_desc;
static __inline int VOP_WHITEOUT __P((struct vnode *,
struct componentname *, int));
struct componentname *, int)) __attribute__ ((unused));
static __inline int VOP_WHITEOUT(dvp, cnp, flags)
struct vnode *dvp;
struct componentname *cnp;
@ -1008,7 +1012,7 @@ struct vop_strategy_args {
struct buf *a_bp;
};
extern struct vnodeop_desc vop_strategy_desc;
static __inline int VOP_STRATEGY __P((struct buf *));
static __inline int VOP_STRATEGY __P((struct buf *)) __attribute__ ((unused));
static __inline int VOP_STRATEGY(bp)
struct buf *bp;
{
@ -1023,7 +1027,7 @@ struct vop_bwrite_args {
struct buf *a_bp;
};
extern struct vnodeop_desc vop_bwrite_desc;
static __inline int VOP_BWRITE __P((struct buf *));
static __inline int VOP_BWRITE __P((struct buf *)) __attribute__ ((unused));
static __inline int VOP_BWRITE(bp)
struct buf *bp;
{