Regen for revision: 1.19 of vnode_if.src.

This commit is contained in:
wrstuden 1999-08-03 18:20:22 +00:00
parent 5896b56eae
commit ae0b6372e0
2 changed files with 52 additions and 4 deletions

View File

@ -1,11 +1,11 @@
/* $NetBSD: vnode_if.c,v 1.17 1999/07/07 23:33:50 wrstuden Exp $ */
/* $NetBSD: vnode_if.c,v 1.18 1999/08/03 18:20:22 wrstuden Exp $ */
/*
* Warning: This file is generated automatically.
* (Modifications made here may easily be lost!)
*
* Created from the file:
* NetBSD: vnode_if.src,v 1.18 1999/07/07 23:32:50 wrstuden Exp
* NetBSD: vnode_if.src,v 1.19 1999/08/03 18:19:08 wrstuden Exp
* by the script:
* NetBSD: vnode_if.sh,v 1.19 1999/07/07 23:32:50 wrstuden Exp
*/
@ -236,6 +236,22 @@ struct vnodeop_desc vop_ioctl_desc = {
NULL,
};
int vop_fcntl_vp_offsets[] = {
VOPARG_OFFSETOF(struct vop_fcntl_args,a_vp),
VDESC_NO_OFFSET
};
struct vnodeop_desc vop_fcntl_desc = {
0,
"vop_fcntl",
0,
vop_fcntl_vp_offsets,
VDESC_NO_OFFSET,
VOPARG_OFFSETOF(struct vop_fcntl_args, a_cred),
VOPARG_OFFSETOF(struct vop_fcntl_args, a_p),
VDESC_NO_OFFSET,
NULL,
};
int vop_poll_vp_offsets[] = {
VOPARG_OFFSETOF(struct vop_poll_args,a_vp),
VDESC_NO_OFFSET
@ -788,6 +804,7 @@ struct vnodeop_desc *vfs_op_descs[] = {
&vop_read_desc,
&vop_write_desc,
&vop_ioctl_desc,
&vop_fcntl_desc,
&vop_poll_desc,
&vop_revoke_desc,
&vop_mmap_desc,

View File

@ -1,11 +1,11 @@
/* $NetBSD: vnode_if.h,v 1.17 1999/07/07 23:33:51 wrstuden Exp $ */
/* $NetBSD: vnode_if.h,v 1.18 1999/08/03 18:20:23 wrstuden Exp $ */
/*
* Warning: This file is generated automatically.
* (Modifications made here may easily be lost!)
*
* Created from the file:
* NetBSD: vnode_if.src,v 1.18 1999/07/07 23:32:50 wrstuden Exp
* NetBSD: vnode_if.src,v 1.19 1999/08/03 18:19:08 wrstuden Exp
* by the script:
* NetBSD: vnode_if.sh,v 1.19 1999/07/07 23:32:50 wrstuden Exp
*/
@ -327,6 +327,37 @@ static __inline int VOP_IOCTL(vp, command, data, fflag, cred, p)
return (VCALL(vp, VOFFSET(vop_ioctl), &a));
}
struct vop_fcntl_args {
struct vnodeop_desc *a_desc;
struct vnode *a_vp;
u_int a_command;
caddr_t a_data;
int a_fflag;
struct ucred *a_cred;
struct proc *a_p;
};
extern struct vnodeop_desc vop_fcntl_desc;
static __inline int VOP_FCNTL __P((struct vnode *, u_int, caddr_t, int,
struct ucred *, struct proc *)) __attribute__((__unused__));
static __inline int VOP_FCNTL(vp, command, data, fflag, cred, p)
struct vnode *vp;
u_int command;
caddr_t data;
int fflag;
struct ucred *cred;
struct proc *p;
{
struct vop_fcntl_args a;
a.a_desc = VDESC(vop_fcntl);
a.a_vp = vp;
a.a_command = command;
a.a_data = data;
a.a_fflag = fflag;
a.a_cred = cred;
a.a_p = p;
return (VCALL(vp, VOFFSET(vop_fcntl), &a));
}
struct vop_poll_args {
struct vnodeop_desc *a_desc;
struct vnode *a_vp;