Regen: Generate ANSI function decls.

This commit is contained in:
thorpej 2005-12-07 00:46:23 +00:00
parent aae7b1614d
commit 6d942b5afc
2 changed files with 188 additions and 236 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: vnode_if.c,v 1.59 2005/12/07 00:42:26 thorpej Exp $ */
/* $NetBSD: vnode_if.c,v 1.60 2005/12/07 00:46:23 thorpej Exp $ */
/*
* Warning: DO NOT EDIT! This file is automatically generated!
@ -7,7 +7,7 @@
* Created from the file:
* NetBSD: vnode_if.src,v 1.46 2005/11/02 12:38:59 yamt Exp
* by the script:
* NetBSD: vnode_if.sh,v 1.38 2005/02/26 22:06:38 perry Exp
* NetBSD: vnode_if.sh,v 1.40 2005/12/07 00:45:57 thorpej Exp
*/
/*
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.59 2005/12/07 00:42:26 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.60 2005/12/07 00:46:23 thorpej Exp $");
/*
@ -84,8 +84,7 @@ const struct vnodeop_desc vop_bwrite_desc = {
NULL,
};
int
VOP_BWRITE(bp)
struct buf *bp;
VOP_BWRITE(struct buf *bp)
{
struct vop_bwrite_args a;
#ifdef VNODE_LOCKDEBUG
@ -113,10 +112,9 @@ const struct vnodeop_desc vop_lookup_desc = {
NULL,
};
int
VOP_LOOKUP(dvp, vpp, cnp)
struct vnode *dvp;
struct vnode **vpp;
struct componentname *cnp;
VOP_LOOKUP(struct vnode *dvp,
struct vnode **vpp,
struct componentname *cnp)
{
struct vop_lookup_args a;
#ifdef VNODE_LOCKDEBUG
@ -144,11 +142,10 @@ const struct vnodeop_desc vop_create_desc = {
NULL,
};
int
VOP_CREATE(dvp, vpp, cnp, vap)
struct vnode *dvp;
struct vnode **vpp;
struct componentname *cnp;
struct vattr *vap;
VOP_CREATE(struct vnode *dvp,
struct vnode **vpp,
struct componentname *cnp,
struct vattr *vap)
{
struct vop_create_args a;
#ifdef VNODE_LOCKDEBUG
@ -183,11 +180,10 @@ const struct vnodeop_desc vop_mknod_desc = {
NULL,
};
int
VOP_MKNOD(dvp, vpp, cnp, vap)
struct vnode *dvp;
struct vnode **vpp;
struct componentname *cnp;
struct vattr *vap;
VOP_MKNOD(struct vnode *dvp,
struct vnode **vpp,
struct componentname *cnp,
struct vattr *vap)
{
struct vop_mknod_args a;
#ifdef VNODE_LOCKDEBUG
@ -222,11 +218,10 @@ const struct vnodeop_desc vop_open_desc = {
NULL,
};
int
VOP_OPEN(vp, mode, cred, p)
struct vnode *vp;
int mode;
struct ucred *cred;
struct proc *p;
VOP_OPEN(struct vnode *vp,
int mode,
struct ucred *cred,
struct proc *p)
{
struct vop_open_args a;
#ifdef VNODE_LOCKDEBUG
@ -261,11 +256,10 @@ const struct vnodeop_desc vop_close_desc = {
NULL,
};
int
VOP_CLOSE(vp, fflag, cred, p)
struct vnode *vp;
int fflag;
struct ucred *cred;
struct proc *p;
VOP_CLOSE(struct vnode *vp,
int fflag,
struct ucred *cred,
struct proc *p)
{
struct vop_close_args a;
#ifdef VNODE_LOCKDEBUG
@ -300,11 +294,10 @@ const struct vnodeop_desc vop_access_desc = {
NULL,
};
int
VOP_ACCESS(vp, mode, cred, p)
struct vnode *vp;
int mode;
struct ucred *cred;
struct proc *p;
VOP_ACCESS(struct vnode *vp,
int mode,
struct ucred *cred,
struct proc *p)
{
struct vop_access_args a;
#ifdef VNODE_LOCKDEBUG
@ -339,11 +332,10 @@ const struct vnodeop_desc vop_getattr_desc = {
NULL,
};
int
VOP_GETATTR(vp, vap, cred, p)
struct vnode *vp;
struct vattr *vap;
struct ucred *cred;
struct proc *p;
VOP_GETATTR(struct vnode *vp,
struct vattr *vap,
struct ucred *cred,
struct proc *p)
{
struct vop_getattr_args a;
#ifdef VNODE_LOCKDEBUG
@ -372,11 +364,10 @@ const struct vnodeop_desc vop_setattr_desc = {
NULL,
};
int
VOP_SETATTR(vp, vap, cred, p)
struct vnode *vp;
struct vattr *vap;
struct ucred *cred;
struct proc *p;
VOP_SETATTR(struct vnode *vp,
struct vattr *vap,
struct ucred *cred,
struct proc *p)
{
struct vop_setattr_args a;
#ifdef VNODE_LOCKDEBUG
@ -411,11 +402,10 @@ const struct vnodeop_desc vop_read_desc = {
NULL,
};
int
VOP_READ(vp, uio, ioflag, cred)
struct vnode *vp;
struct uio *uio;
int ioflag;
struct ucred *cred;
VOP_READ(struct vnode *vp,
struct uio *uio,
int ioflag,
struct ucred *cred)
{
struct vop_read_args a;
#ifdef VNODE_LOCKDEBUG
@ -450,11 +440,10 @@ const struct vnodeop_desc vop_write_desc = {
NULL,
};
int
VOP_WRITE(vp, uio, ioflag, cred)
struct vnode *vp;
struct uio *uio;
int ioflag;
struct ucred *cred;
VOP_WRITE(struct vnode *vp,
struct uio *uio,
int ioflag,
struct ucred *cred)
{
struct vop_write_args a;
#ifdef VNODE_LOCKDEBUG
@ -489,13 +478,12 @@ const struct vnodeop_desc vop_ioctl_desc = {
NULL,
};
int
VOP_IOCTL(vp, command, data, fflag, cred, p)
struct vnode *vp;
u_long command;
void *data;
int fflag;
struct ucred *cred;
struct proc *p;
VOP_IOCTL(struct vnode *vp,
u_long command,
void *data,
int fflag,
struct ucred *cred,
struct proc *p)
{
struct vop_ioctl_args a;
#ifdef VNODE_LOCKDEBUG
@ -532,13 +520,12 @@ const struct vnodeop_desc vop_fcntl_desc = {
NULL,
};
int
VOP_FCNTL(vp, command, data, fflag, cred, p)
struct vnode *vp;
u_int command;
void *data;
int fflag;
struct ucred *cred;
struct proc *p;
VOP_FCNTL(struct vnode *vp,
u_int command,
void *data,
int fflag,
struct ucred *cred,
struct proc *p)
{
struct vop_fcntl_args a;
#ifdef VNODE_LOCKDEBUG
@ -575,10 +562,9 @@ const struct vnodeop_desc vop_poll_desc = {
NULL,
};
int
VOP_POLL(vp, events, p)
struct vnode *vp;
int events;
struct proc *p;
VOP_POLL(struct vnode *vp,
int events,
struct proc *p)
{
struct vop_poll_args a;
#ifdef VNODE_LOCKDEBUG
@ -612,9 +598,8 @@ const struct vnodeop_desc vop_kqfilter_desc = {
NULL,
};
int
VOP_KQFILTER(vp, kn)
struct vnode *vp;
struct knote *kn;
VOP_KQFILTER(struct vnode *vp,
struct knote *kn)
{
struct vop_kqfilter_args a;
#ifdef VNODE_LOCKDEBUG
@ -647,9 +632,8 @@ const struct vnodeop_desc vop_revoke_desc = {
NULL,
};
int
VOP_REVOKE(vp, flags)
struct vnode *vp;
int flags;
VOP_REVOKE(struct vnode *vp,
int flags)
{
struct vop_revoke_args a;
#ifdef VNODE_LOCKDEBUG
@ -682,11 +666,10 @@ const struct vnodeop_desc vop_mmap_desc = {
NULL,
};
int
VOP_MMAP(vp, fflags, cred, p)
struct vnode *vp;
int fflags;
struct ucred *cred;
struct proc *p;
VOP_MMAP(struct vnode *vp,
int fflags,
struct ucred *cred,
struct proc *p)
{
struct vop_mmap_args a;
#ifdef VNODE_LOCKDEBUG
@ -715,13 +698,12 @@ const struct vnodeop_desc vop_fsync_desc = {
NULL,
};
int
VOP_FSYNC(vp, cred, flags, offlo, offhi, p)
struct vnode *vp;
struct ucred *cred;
int flags;
off_t offlo;
off_t offhi;
struct proc *p;
VOP_FSYNC(struct vnode *vp,
struct ucred *cred,
int flags,
off_t offlo,
off_t offhi,
struct proc *p)
{
struct vop_fsync_args a;
#ifdef VNODE_LOCKDEBUG
@ -758,11 +740,10 @@ const struct vnodeop_desc vop_seek_desc = {
NULL,
};
int
VOP_SEEK(vp, oldoff, newoff, cred)
struct vnode *vp;
off_t oldoff;
off_t newoff;
struct ucred *cred;
VOP_SEEK(struct vnode *vp,
off_t oldoff,
off_t newoff,
struct ucred *cred)
{
struct vop_seek_args a;
#ifdef VNODE_LOCKDEBUG
@ -792,10 +773,9 @@ const struct vnodeop_desc vop_remove_desc = {
NULL,
};
int
VOP_REMOVE(dvp, vp, cnp)
struct vnode *dvp;
struct vnode *vp;
struct componentname *cnp;
VOP_REMOVE(struct vnode *dvp,
struct vnode *vp,
struct componentname *cnp)
{
struct vop_remove_args a;
#ifdef VNODE_LOCKDEBUG
@ -836,10 +816,9 @@ const struct vnodeop_desc vop_link_desc = {
NULL,
};
int
VOP_LINK(dvp, vp, cnp)
struct vnode *dvp;
struct vnode *vp;
struct componentname *cnp;
VOP_LINK(struct vnode *dvp,
struct vnode *vp,
struct componentname *cnp)
{
struct vop_link_args a;
#ifdef VNODE_LOCKDEBUG
@ -882,13 +861,12 @@ const struct vnodeop_desc vop_rename_desc = {
NULL,
};
int
VOP_RENAME(fdvp, fvp, fcnp, tdvp, tvp, tcnp)
struct vnode *fdvp;
struct vnode *fvp;
struct componentname *fcnp;
struct vnode *tdvp;
struct vnode *tvp;
struct componentname *tcnp;
VOP_RENAME(struct vnode *fdvp,
struct vnode *fvp,
struct componentname *fcnp,
struct vnode *tdvp,
struct vnode *tvp,
struct componentname *tcnp)
{
struct vop_rename_args a;
#ifdef VNODE_LOCKDEBUG
@ -937,11 +915,10 @@ const struct vnodeop_desc vop_mkdir_desc = {
NULL,
};
int
VOP_MKDIR(dvp, vpp, cnp, vap)
struct vnode *dvp;
struct vnode **vpp;
struct componentname *cnp;
struct vattr *vap;
VOP_MKDIR(struct vnode *dvp,
struct vnode **vpp,
struct componentname *cnp,
struct vattr *vap)
{
struct vop_mkdir_args a;
#ifdef VNODE_LOCKDEBUG
@ -977,10 +954,9 @@ const struct vnodeop_desc vop_rmdir_desc = {
NULL,
};
int
VOP_RMDIR(dvp, vp, cnp)
struct vnode *dvp;
struct vnode *vp;
struct componentname *cnp;
VOP_RMDIR(struct vnode *dvp,
struct vnode *vp,
struct componentname *cnp)
{
struct vop_rmdir_args a;
#ifdef VNODE_LOCKDEBUG
@ -1020,12 +996,11 @@ const struct vnodeop_desc vop_symlink_desc = {
NULL,
};
int
VOP_SYMLINK(dvp, vpp, cnp, vap, target)
struct vnode *dvp;
struct vnode **vpp;
struct componentname *cnp;
struct vattr *vap;
char *target;
VOP_SYMLINK(struct vnode *dvp,
struct vnode **vpp,
struct componentname *cnp,
struct vattr *vap,
char *target)
{
struct vop_symlink_args a;
#ifdef VNODE_LOCKDEBUG
@ -1061,13 +1036,12 @@ const struct vnodeop_desc vop_readdir_desc = {
NULL,
};
int
VOP_READDIR(vp, uio, cred, eofflag, cookies, ncookies)
struct vnode *vp;
struct uio *uio;
struct ucred *cred;
int *eofflag;
off_t **cookies;
int *ncookies;
VOP_READDIR(struct vnode *vp,
struct uio *uio,
struct ucred *cred,
int *eofflag,
off_t **cookies,
int *ncookies)
{
struct vop_readdir_args a;
#ifdef VNODE_LOCKDEBUG
@ -1104,10 +1078,9 @@ const struct vnodeop_desc vop_readlink_desc = {
NULL,
};
int
VOP_READLINK(vp, uio, cred)
struct vnode *vp;
struct uio *uio;
struct ucred *cred;
VOP_READLINK(struct vnode *vp,
struct uio *uio,
struct ucred *cred)
{
struct vop_readlink_args a;
#ifdef VNODE_LOCKDEBUG
@ -1141,9 +1114,8 @@ const struct vnodeop_desc vop_abortop_desc = {
NULL,
};
int
VOP_ABORTOP(dvp, cnp)
struct vnode *dvp;
struct componentname *cnp;
VOP_ABORTOP(struct vnode *dvp,
struct componentname *cnp)
{
struct vop_abortop_args a;
#ifdef VNODE_LOCKDEBUG
@ -1170,9 +1142,8 @@ const struct vnodeop_desc vop_inactive_desc = {
NULL,
};
int
VOP_INACTIVE(vp, p)
struct vnode *vp;
struct proc *p;
VOP_INACTIVE(struct vnode *vp,
struct proc *p)
{
struct vop_inactive_args a;
#ifdef VNODE_LOCKDEBUG
@ -1205,9 +1176,8 @@ const struct vnodeop_desc vop_reclaim_desc = {
NULL,
};
int
VOP_RECLAIM(vp, p)
struct vnode *vp;
struct proc *p;
VOP_RECLAIM(struct vnode *vp,
struct proc *p)
{
struct vop_reclaim_args a;
#ifdef VNODE_LOCKDEBUG
@ -1240,9 +1210,8 @@ const struct vnodeop_desc vop_lock_desc = {
NULL,
};
int
VOP_LOCK(vp, flags)
struct vnode *vp;
int flags;
VOP_LOCK(struct vnode *vp,
int flags)
{
struct vop_lock_args a;
#ifdef VNODE_LOCKDEBUG
@ -1275,9 +1244,8 @@ const struct vnodeop_desc vop_unlock_desc = {
NULL,
};
int
VOP_UNLOCK(vp, flags)
struct vnode *vp;
int flags;
VOP_UNLOCK(struct vnode *vp,
int flags)
{
struct vop_unlock_args a;
#ifdef VNODE_LOCKDEBUG
@ -1310,12 +1278,11 @@ const struct vnodeop_desc vop_bmap_desc = {
NULL,
};
int
VOP_BMAP(vp, bn, vpp, bnp, runp)
struct vnode *vp;
daddr_t bn;
struct vnode **vpp;
daddr_t *bnp;
int *runp;
VOP_BMAP(struct vnode *vp,
daddr_t bn,
struct vnode **vpp,
daddr_t *bnp,
int *runp)
{
struct vop_bmap_args a;
#ifdef VNODE_LOCKDEBUG
@ -1351,9 +1318,8 @@ const struct vnodeop_desc vop_strategy_desc = {
NULL,
};
int
VOP_STRATEGY(vp, bp)
struct vnode *vp;
struct buf *bp;
VOP_STRATEGY(struct vnode *vp,
struct buf *bp)
{
struct vop_strategy_args a;
#ifdef VNODE_LOCKDEBUG
@ -1380,8 +1346,7 @@ const struct vnodeop_desc vop_print_desc = {
NULL,
};
int
VOP_PRINT(vp)
struct vnode *vp;
VOP_PRINT(struct vnode *vp)
{
struct vop_print_args a;
#ifdef VNODE_LOCKDEBUG
@ -1407,8 +1372,7 @@ const struct vnodeop_desc vop_islocked_desc = {
NULL,
};
int
VOP_ISLOCKED(vp)
struct vnode *vp;
VOP_ISLOCKED(struct vnode *vp)
{
struct vop_islocked_args a;
#ifdef VNODE_LOCKDEBUG
@ -1434,10 +1398,9 @@ const struct vnodeop_desc vop_pathconf_desc = {
NULL,
};
int
VOP_PATHCONF(vp, name, retval)
struct vnode *vp;
int name;
register_t *retval;
VOP_PATHCONF(struct vnode *vp,
int name,
register_t *retval)
{
struct vop_pathconf_args a;
#ifdef VNODE_LOCKDEBUG
@ -1471,12 +1434,11 @@ const struct vnodeop_desc vop_advlock_desc = {
NULL,
};
int
VOP_ADVLOCK(vp, id, op, fl, flags)
struct vnode *vp;
void *id;
int op;
struct flock *fl;
int flags;
VOP_ADVLOCK(struct vnode *vp,
void *id,
int op,
struct flock *fl,
int flags)
{
struct vop_advlock_args a;
#ifdef VNODE_LOCKDEBUG
@ -1512,11 +1474,10 @@ const struct vnodeop_desc vop_lease_desc = {
NULL,
};
int
VOP_LEASE(vp, p, cred, flag)
struct vnode *vp;
struct proc *p;
struct ucred *cred;
int flag;
VOP_LEASE(struct vnode *vp,
struct proc *p,
struct ucred *cred,
int flag)
{
struct vop_lease_args a;
#ifdef VNODE_LOCKDEBUG
@ -1545,10 +1506,9 @@ const struct vnodeop_desc vop_whiteout_desc = {
NULL,
};
int
VOP_WHITEOUT(dvp, cnp, flags)
struct vnode *dvp;
struct componentname *cnp;
int flags;
VOP_WHITEOUT(struct vnode *dvp,
struct componentname *cnp,
int flags)
{
struct vop_whiteout_args a;
#ifdef VNODE_LOCKDEBUG
@ -1582,15 +1542,14 @@ const struct vnodeop_desc vop_getpages_desc = {
NULL,
};
int
VOP_GETPAGES(vp, offset, m, count, centeridx, access_type, advice, flags)
struct vnode *vp;
voff_t offset;
struct vm_page **m;
int *count;
int centeridx;
vm_prot_t access_type;
int advice;
int flags;
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)
{
struct vop_getpages_args a;
#ifdef VNODE_LOCKDEBUG
@ -1623,11 +1582,10 @@ const struct vnodeop_desc vop_putpages_desc = {
NULL,
};
int
VOP_PUTPAGES(vp, offlo, offhi, flags)
struct vnode *vp;
voff_t offlo;
voff_t offhi;
int flags;
VOP_PUTPAGES(struct vnode *vp,
voff_t offlo,
voff_t offhi,
int flags)
{
struct vop_putpages_args a;
#ifdef VNODE_LOCKDEBUG
@ -1656,11 +1614,10 @@ const struct vnodeop_desc vop_closeextattr_desc = {
NULL,
};
int
VOP_CLOSEEXTATTR(vp, commit, cred, p)
struct vnode *vp;
int commit;
struct ucred *cred;
struct proc *p;
VOP_CLOSEEXTATTR(struct vnode *vp,
int commit,
struct ucred *cred,
struct proc *p)
{
struct vop_closeextattr_args a;
#ifdef VNODE_LOCKDEBUG
@ -1695,14 +1652,13 @@ const struct vnodeop_desc vop_getextattr_desc = {
NULL,
};
int
VOP_GETEXTATTR(vp, attrnamespace, name, uio, size, cred, p)
struct vnode *vp;
int attrnamespace;
const char *name;
struct uio *uio;
size_t *size;
struct ucred *cred;
struct proc *p;
VOP_GETEXTATTR(struct vnode *vp,
int attrnamespace,
const char *name,
struct uio *uio,
size_t *size,
struct ucred *cred,
struct proc *p)
{
struct vop_getextattr_args a;
#ifdef VNODE_LOCKDEBUG
@ -1740,13 +1696,12 @@ const struct vnodeop_desc vop_listextattr_desc = {
NULL,
};
int
VOP_LISTEXTATTR(vp, attrnamespace, uio, size, cred, p)
struct vnode *vp;
int attrnamespace;
struct uio *uio;
size_t *size;
struct ucred *cred;
struct proc *p;
VOP_LISTEXTATTR(struct vnode *vp,
int attrnamespace,
struct uio *uio,
size_t *size,
struct ucred *cred,
struct proc *p)
{
struct vop_listextattr_args a;
#ifdef VNODE_LOCKDEBUG
@ -1783,10 +1738,9 @@ const struct vnodeop_desc vop_openextattr_desc = {
NULL,
};
int
VOP_OPENEXTATTR(vp, cred, p)
struct vnode *vp;
struct ucred *cred;
struct proc *p;
VOP_OPENEXTATTR(struct vnode *vp,
struct ucred *cred,
struct proc *p)
{
struct vop_openextattr_args a;
#ifdef VNODE_LOCKDEBUG
@ -1820,12 +1774,11 @@ const struct vnodeop_desc vop_deleteextattr_desc = {
NULL,
};
int
VOP_DELETEEXTATTR(vp, attrnamespace, name, cred, p)
struct vnode *vp;
int attrnamespace;
const char *name;
struct ucred *cred;
struct proc *p;
VOP_DELETEEXTATTR(struct vnode *vp,
int attrnamespace,
const char *name,
struct ucred *cred,
struct proc *p)
{
struct vop_deleteextattr_args a;
#ifdef VNODE_LOCKDEBUG
@ -1861,13 +1814,12 @@ const struct vnodeop_desc vop_setextattr_desc = {
NULL,
};
int
VOP_SETEXTATTR(vp, attrnamespace, name, uio, cred, p)
struct vnode *vp;
int attrnamespace;
const char *name;
struct uio *uio;
struct ucred *cred;
struct proc *p;
VOP_SETEXTATTR(struct vnode *vp,
int attrnamespace,
const char *name,
struct uio *uio,
struct ucred *cred,
struct proc *p)
{
struct vop_setextattr_args a;
#ifdef VNODE_LOCKDEBUG

View File

@ -1,4 +1,4 @@
/* $NetBSD: vnode_if.h,v 1.56 2005/12/07 00:42:26 thorpej Exp $ */
/* $NetBSD: vnode_if.h,v 1.57 2005/12/07 00:46:23 thorpej Exp $ */
/*
* Warning: DO NOT EDIT! This file is automatically generated!
@ -7,7 +7,7 @@
* Created from the file:
* NetBSD: vnode_if.src,v 1.46 2005/11/02 12:38:59 yamt Exp
* by the script:
* NetBSD: vnode_if.sh,v 1.38 2005/02/26 22:06:38 perry Exp
* NetBSD: vnode_if.sh,v 1.40 2005/12/07 00:45:57 thorpej Exp
*/
/*