This commit is contained in:
thorpej 1999-12-07 23:58:27 +00:00
parent 0bd5e93b0e
commit 33c520ace6
2 changed files with 4 additions and 52 deletions

View File

@ -1,11 +1,11 @@
/* $NetBSD: vnode_if.c,v 1.20 1999/12/07 21:07:38 wrstuden Exp $ */
/* $NetBSD: vnode_if.c,v 1.21 1999/12/07 23:58:28 thorpej Exp $ */
/*
* Warning: This file is generated automatically.
* (Modifications made here may easily be lost!)
*
* Created from the file:
* NetBSD: vnode_if.src,v 1.22 1999/12/07 21:06:48 wrstuden Exp
* NetBSD: vnode_if.src,v 1.23 1999/12/07 23:57:49 thorpej Exp
* by the script:
* NetBSD: vnode_if.sh,v 1.19 1999/07/07 23:32:50 wrstuden Exp
*/
@ -770,22 +770,6 @@ struct vnodeop_desc vop_whiteout_desc = {
NULL,
};
int vop_balloc_vp_offsets[] = {
VOPARG_OFFSETOF(struct vop_balloc_args,a_vp),
VDESC_NO_OFFSET
};
struct vnodeop_desc vop_balloc_desc = {
0,
"vop_balloc",
0,
vop_balloc_vp_offsets,
VDESC_NO_OFFSET,
VOPARG_OFFSETOF(struct vop_balloc_args, a_cred),
VDESC_NO_OFFSET,
VDESC_NO_OFFSET,
NULL,
};
/* Special cases: */
int vop_strategy_vp_offsets[] = {
@ -869,7 +853,6 @@ struct vnodeop_desc *vfs_op_descs[] = {
&vop_update_desc,
&vop_lease_desc,
&vop_whiteout_desc,
&vop_balloc_desc,
NULL
};

View File

@ -1,11 +1,11 @@
/* $NetBSD: vnode_if.h,v 1.20 1999/12/07 21:07:40 wrstuden Exp $ */
/* $NetBSD: vnode_if.h,v 1.21 1999/12/07 23:58:27 thorpej Exp $ */
/*
* Warning: This file is generated automatically.
* (Modifications made here may easily be lost!)
*
* Created from the file:
* NetBSD: vnode_if.src,v 1.22 1999/12/07 21:06:48 wrstuden Exp
* NetBSD: vnode_if.src,v 1.23 1999/12/07 23:57:49 thorpej Exp
* by the script:
* NetBSD: vnode_if.sh,v 1.19 1999/07/07 23:32:50 wrstuden Exp
*/
@ -1105,37 +1105,6 @@ static __inline int VOP_WHITEOUT(dvp, cnp, flags)
return (VCALL(dvp, VOFFSET(vop_whiteout), &a));
}
struct vop_balloc_args {
struct vnodeop_desc *a_desc;
struct vnode *a_vp;
off_t a_startoffset;
int a_size;
struct ucred *a_cred;
int a_flags;
struct buf **a_bpp;
};
extern struct vnodeop_desc vop_balloc_desc;
static __inline int VOP_BALLOC __P((struct vnode *, off_t, int,
struct ucred *, int, struct buf **)) __attribute__((__unused__));
static __inline int VOP_BALLOC(vp, startoffset, size, cred, flags, bpp)
struct vnode *vp;
off_t startoffset;
int size;
struct ucred *cred;
int flags;
struct buf **bpp;
{
struct vop_balloc_args a;
a.a_desc = VDESC(vop_balloc);
a.a_vp = vp;
a.a_startoffset = startoffset;
a.a_size = size;
a.a_cred = cred;
a.a_flags = flags;
a.a_bpp = bpp;
return (VCALL(vp, VOFFSET(vop_balloc), &a));
}
/* Special cases: */
#include <sys/buf.h>