Regen.
This commit is contained in:
parent
1997a1e1f4
commit
dcc13a2839
|
@ -1,11 +1,11 @@
|
|||
/* $NetBSD: vnode_if.c,v 1.75 2008/01/02 11:51:17 ad Exp $ */
|
||||
/* $NetBSD: vnode_if.c,v 1.76 2008/01/25 14:32:46 ad Exp $ */
|
||||
|
||||
/*
|
||||
* Warning: DO NOT EDIT! This file is automatically generated!
|
||||
* (Modifications made here may easily be lost!)
|
||||
*
|
||||
* Created from the file:
|
||||
* NetBSD: vnode_if.src,v 1.56 2008/01/02 11:48:58 ad Exp
|
||||
* NetBSD: vnode_if.src,v 1.57 2008/01/25 14:32:15 ad Exp
|
||||
* by the script:
|
||||
* NetBSD: vnode_if.sh,v 1.48 2008/01/02 11:48:57 ad Exp
|
||||
*/
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.75 2008/01/02 11:51:17 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.76 2008/01/25 14:32:46 ad Exp $");
|
||||
|
||||
|
||||
#include "opt_vnode_lockdebug.h"
|
||||
|
@ -1642,41 +1642,6 @@ VOP_ADVLOCK(struct vnode *vp,
|
|||
return error;
|
||||
}
|
||||
|
||||
const int vop_lease_vp_offsets[] = {
|
||||
VOPARG_OFFSETOF(struct vop_lease_args,a_vp),
|
||||
VDESC_NO_OFFSET
|
||||
};
|
||||
const struct vnodeop_desc vop_lease_desc = {
|
||||
VOP_LEASE_DESCOFFSET,
|
||||
"vop_lease",
|
||||
0,
|
||||
vop_lease_vp_offsets,
|
||||
VDESC_NO_OFFSET,
|
||||
VOPARG_OFFSETOF(struct vop_lease_args, a_cred),
|
||||
VDESC_NO_OFFSET,
|
||||
NULL,
|
||||
};
|
||||
int
|
||||
VOP_LEASE(struct vnode *vp,
|
||||
kauth_cred_t cred,
|
||||
int flag)
|
||||
{
|
||||
int error;
|
||||
bool mpsafe;
|
||||
struct vop_lease_args a;
|
||||
#ifdef VNODE_LOCKDEBUG
|
||||
#endif
|
||||
a.a_desc = VDESC(vop_lease);
|
||||
a.a_vp = vp;
|
||||
a.a_cred = cred;
|
||||
a.a_flag = flag;
|
||||
mpsafe = (vp->v_vflag & VV_MPSAFE);
|
||||
if (!mpsafe) { KERNEL_LOCK(1, curlwp); }
|
||||
error = (VCALL(vp, VOFFSET(vop_lease), &a));
|
||||
if (!mpsafe) { KERNEL_UNLOCK_ONE(curlwp); }
|
||||
return error;
|
||||
}
|
||||
|
||||
const int vop_whiteout_vp_offsets[] = {
|
||||
VOPARG_OFFSETOF(struct vop_whiteout_args,a_dvp),
|
||||
VDESC_NO_OFFSET
|
||||
|
@ -2103,7 +2068,6 @@ const struct vnodeop_desc * const vfs_op_descs[] = {
|
|||
&vop_islocked_desc,
|
||||
&vop_pathconf_desc,
|
||||
&vop_advlock_desc,
|
||||
&vop_lease_desc,
|
||||
&vop_whiteout_desc,
|
||||
&vop_getpages_desc,
|
||||
&vop_putpages_desc,
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/* $NetBSD: vnode_if.h,v 1.71 2008/01/02 11:51:16 ad Exp $ */
|
||||
/* $NetBSD: vnode_if.h,v 1.72 2008/01/25 14:32:46 ad Exp $ */
|
||||
|
||||
/*
|
||||
* Warning: DO NOT EDIT! This file is automatically generated!
|
||||
* (Modifications made here may easily be lost!)
|
||||
*
|
||||
* Created from the file:
|
||||
* NetBSD: vnode_if.src,v 1.56 2008/01/02 11:48:58 ad Exp
|
||||
* NetBSD: vnode_if.src,v 1.57 2008/01/25 14:32:15 ad Exp
|
||||
* by the script:
|
||||
* NetBSD: vnode_if.sh,v 1.48 2008/01/02 11:48:57 ad Exp
|
||||
*/
|
||||
|
@ -451,17 +451,7 @@ struct vop_advlock_args {
|
|||
extern const struct vnodeop_desc vop_advlock_desc;
|
||||
int VOP_ADVLOCK(struct vnode *, void *, int, struct flock *, int);
|
||||
|
||||
#define VOP_LEASE_DESCOFFSET 39
|
||||
struct vop_lease_args {
|
||||
const struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
kauth_cred_t a_cred;
|
||||
int a_flag;
|
||||
};
|
||||
extern const struct vnodeop_desc vop_lease_desc;
|
||||
int VOP_LEASE(struct vnode *, kauth_cred_t, int);
|
||||
|
||||
#define VOP_WHITEOUT_DESCOFFSET 40
|
||||
#define VOP_WHITEOUT_DESCOFFSET 39
|
||||
struct vop_whiteout_args {
|
||||
const struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_dvp;
|
||||
|
@ -471,7 +461,7 @@ struct vop_whiteout_args {
|
|||
extern const struct vnodeop_desc vop_whiteout_desc;
|
||||
int VOP_WHITEOUT(struct vnode *, struct componentname *, int);
|
||||
|
||||
#define VOP_GETPAGES_DESCOFFSET 41
|
||||
#define VOP_GETPAGES_DESCOFFSET 40
|
||||
struct vop_getpages_args {
|
||||
const struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
|
@ -487,7 +477,7 @@ extern const struct vnodeop_desc vop_getpages_desc;
|
|||
int VOP_GETPAGES(struct vnode *, voff_t, struct vm_page **, int *, int,
|
||||
vm_prot_t, int, int);
|
||||
|
||||
#define VOP_PUTPAGES_DESCOFFSET 42
|
||||
#define VOP_PUTPAGES_DESCOFFSET 41
|
||||
struct vop_putpages_args {
|
||||
const struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
|
@ -498,7 +488,7 @@ struct vop_putpages_args {
|
|||
extern const struct vnodeop_desc vop_putpages_desc;
|
||||
int VOP_PUTPAGES(struct vnode *, voff_t, voff_t, int);
|
||||
|
||||
#define VOP_CLOSEEXTATTR_DESCOFFSET 43
|
||||
#define VOP_CLOSEEXTATTR_DESCOFFSET 42
|
||||
struct vop_closeextattr_args {
|
||||
const struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
|
@ -508,7 +498,7 @@ struct vop_closeextattr_args {
|
|||
extern const struct vnodeop_desc vop_closeextattr_desc;
|
||||
int VOP_CLOSEEXTATTR(struct vnode *, int, kauth_cred_t);
|
||||
|
||||
#define VOP_GETEXTATTR_DESCOFFSET 44
|
||||
#define VOP_GETEXTATTR_DESCOFFSET 43
|
||||
struct vop_getextattr_args {
|
||||
const struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
|
@ -522,7 +512,7 @@ extern const struct vnodeop_desc vop_getextattr_desc;
|
|||
int VOP_GETEXTATTR(struct vnode *, int, const char *, struct uio *,
|
||||
size_t *, kauth_cred_t);
|
||||
|
||||
#define VOP_LISTEXTATTR_DESCOFFSET 45
|
||||
#define VOP_LISTEXTATTR_DESCOFFSET 44
|
||||
struct vop_listextattr_args {
|
||||
const struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
|
@ -534,7 +524,7 @@ struct vop_listextattr_args {
|
|||
extern const struct vnodeop_desc vop_listextattr_desc;
|
||||
int VOP_LISTEXTATTR(struct vnode *, int, struct uio *, size_t *, kauth_cred_t);
|
||||
|
||||
#define VOP_OPENEXTATTR_DESCOFFSET 46
|
||||
#define VOP_OPENEXTATTR_DESCOFFSET 45
|
||||
struct vop_openextattr_args {
|
||||
const struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
|
@ -543,7 +533,7 @@ struct vop_openextattr_args {
|
|||
extern const struct vnodeop_desc vop_openextattr_desc;
|
||||
int VOP_OPENEXTATTR(struct vnode *, kauth_cred_t);
|
||||
|
||||
#define VOP_DELETEEXTATTR_DESCOFFSET 47
|
||||
#define VOP_DELETEEXTATTR_DESCOFFSET 46
|
||||
struct vop_deleteextattr_args {
|
||||
const struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
|
@ -554,7 +544,7 @@ struct vop_deleteextattr_args {
|
|||
extern const struct vnodeop_desc vop_deleteextattr_desc;
|
||||
int VOP_DELETEEXTATTR(struct vnode *, int, const char *, kauth_cred_t);
|
||||
|
||||
#define VOP_SETEXTATTR_DESCOFFSET 48
|
||||
#define VOP_SETEXTATTR_DESCOFFSET 47
|
||||
struct vop_setextattr_args {
|
||||
const struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
|
@ -567,7 +557,7 @@ extern const struct vnodeop_desc vop_setextattr_desc;
|
|||
int VOP_SETEXTATTR(struct vnode *, int, const char *, struct uio *,
|
||||
kauth_cred_t);
|
||||
|
||||
#define VNODE_OPS_COUNT 49
|
||||
#define VNODE_OPS_COUNT 48
|
||||
|
||||
/* End of special cases. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue