From ae0b6372e0c05b1cb904dfe7f119038f1b7027e1 Mon Sep 17 00:00:00 2001 From: wrstuden Date: Tue, 3 Aug 1999 18:20:22 +0000 Subject: [PATCH] Regen for revision: 1.19 of vnode_if.src. --- sys/kern/vnode_if.c | 21 +++++++++++++++++++-- sys/sys/vnode_if.h | 35 +++++++++++++++++++++++++++++++++-- 2 files changed, 52 insertions(+), 4 deletions(-) diff --git a/sys/kern/vnode_if.c b/sys/kern/vnode_if.c index 55d1d4102bc9..1d91f2e0ecf4 100644 --- a/sys/kern/vnode_if.c +++ b/sys/kern/vnode_if.c @@ -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, diff --git a/sys/sys/vnode_if.h b/sys/sys/vnode_if.h index 29fe15fca743..255963c887a5 100644 --- a/sys/sys/vnode_if.h +++ b/sys/sys/vnode_if.h @@ -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;