regen.
This commit is contained in:
parent
02aaf95f67
commit
69ad0d84c0
@ -1,11 +1,11 @@
|
||||
/* $NetBSD: vnode_if.c,v 1.25 2000/09/19 21:58:01 fvdl Exp $ */
|
||||
/* $NetBSD: vnode_if.c,v 1.26 2000/11/27 09:04:59 chs Exp $ */
|
||||
|
||||
/*
|
||||
* Warning: This file is generated automatically.
|
||||
* (Modifications made here may easily be lost!)
|
||||
*
|
||||
* Created from the file:
|
||||
* NetBSD: vnode_if.src,v 1.25 2000/09/19 21:57:14 fvdl Exp
|
||||
* NetBSD: vnode_if.src,v 1.26 2000/11/27 08:39:45 chs Exp
|
||||
* by the script:
|
||||
* NetBSD: vnode_if.sh,v 1.21 2000/09/13 16:09:27 thorpej Exp
|
||||
*/
|
||||
@ -1309,6 +1309,41 @@ VOP_BALLOC(vp, startoffset, size, cred, flags, bpp)
|
||||
}
|
||||
#endif
|
||||
|
||||
int vop_ballocn_vp_offsets[] = {
|
||||
VOPARG_OFFSETOF(struct vop_ballocn_args,a_vp),
|
||||
VDESC_NO_OFFSET
|
||||
};
|
||||
struct vnodeop_desc vop_ballocn_desc = {
|
||||
0,
|
||||
"vop_ballocn",
|
||||
0,
|
||||
vop_ballocn_vp_offsets,
|
||||
VDESC_NO_OFFSET,
|
||||
VOPARG_OFFSETOF(struct vop_ballocn_args, a_cred),
|
||||
VDESC_NO_OFFSET,
|
||||
VDESC_NO_OFFSET,
|
||||
NULL,
|
||||
};
|
||||
#ifdef VNODE_OP_NOINLINE
|
||||
int
|
||||
VOP_BALLOCN(vp, offset, length, cred, flags)
|
||||
struct vnode *vp;
|
||||
off_t offset;
|
||||
off_t length;
|
||||
struct ucred *cred;
|
||||
int flags;
|
||||
{
|
||||
struct vop_ballocn_args a;
|
||||
a.a_desc = VDESC(vop_ballocn);
|
||||
a.a_vp = vp;
|
||||
a.a_offset = offset;
|
||||
a.a_length = length;
|
||||
a.a_cred = cred;
|
||||
a.a_flags = flags;
|
||||
return (VCALL(vp, VOFFSET(vop_ballocn), &a));
|
||||
}
|
||||
#endif
|
||||
|
||||
int vop_reallocblks_vp_offsets[] = {
|
||||
VOPARG_OFFSETOF(struct vop_reallocblks_args,a_vp),
|
||||
VDESC_NO_OFFSET
|
||||
@ -1501,6 +1536,113 @@ VOP_WHITEOUT(dvp, cnp, flags)
|
||||
}
|
||||
#endif
|
||||
|
||||
int vop_getpages_vp_offsets[] = {
|
||||
VOPARG_OFFSETOF(struct vop_getpages_args,a_vp),
|
||||
VDESC_NO_OFFSET
|
||||
};
|
||||
struct vnodeop_desc vop_getpages_desc = {
|
||||
0,
|
||||
"vop_getpages",
|
||||
0,
|
||||
vop_getpages_vp_offsets,
|
||||
VDESC_NO_OFFSET,
|
||||
VDESC_NO_OFFSET,
|
||||
VDESC_NO_OFFSET,
|
||||
VDESC_NO_OFFSET,
|
||||
NULL,
|
||||
};
|
||||
#ifdef VNODE_OP_NOINLINE
|
||||
int
|
||||
VOP_GETPAGES(vp, offset, m, count, centeridx, access_type, advice, flags)
|
||||
struct vnode *vp;
|
||||
voff_t offset;
|
||||
vm_page_t *m;
|
||||
int *count;
|
||||
int centeridx;
|
||||
vm_prot_t access_type;
|
||||
int advice;
|
||||
int flags;
|
||||
{
|
||||
struct vop_getpages_args a;
|
||||
a.a_desc = VDESC(vop_getpages);
|
||||
a.a_vp = vp;
|
||||
a.a_offset = offset;
|
||||
a.a_m = m;
|
||||
a.a_count = count;
|
||||
a.a_centeridx = centeridx;
|
||||
a.a_access_type = access_type;
|
||||
a.a_advice = advice;
|
||||
a.a_flags = flags;
|
||||
return (VCALL(vp, VOFFSET(vop_getpages), &a));
|
||||
}
|
||||
#endif
|
||||
|
||||
int vop_putpages_vp_offsets[] = {
|
||||
VOPARG_OFFSETOF(struct vop_putpages_args,a_vp),
|
||||
VDESC_NO_OFFSET
|
||||
};
|
||||
struct vnodeop_desc vop_putpages_desc = {
|
||||
0,
|
||||
"vop_putpages",
|
||||
0,
|
||||
vop_putpages_vp_offsets,
|
||||
VDESC_NO_OFFSET,
|
||||
VDESC_NO_OFFSET,
|
||||
VDESC_NO_OFFSET,
|
||||
VDESC_NO_OFFSET,
|
||||
NULL,
|
||||
};
|
||||
#ifdef VNODE_OP_NOINLINE
|
||||
int
|
||||
VOP_PUTPAGES(vp, m, count, flags, rtvals)
|
||||
struct vnode *vp;
|
||||
vm_page_t *m;
|
||||
int count;
|
||||
int flags;
|
||||
int *rtvals;
|
||||
{
|
||||
struct vop_putpages_args a;
|
||||
a.a_desc = VDESC(vop_putpages);
|
||||
a.a_vp = vp;
|
||||
a.a_m = m;
|
||||
a.a_count = count;
|
||||
a.a_flags = flags;
|
||||
a.a_rtvals = rtvals;
|
||||
return (VCALL(vp, VOFFSET(vop_putpages), &a));
|
||||
}
|
||||
#endif
|
||||
|
||||
int vop_size_vp_offsets[] = {
|
||||
VOPARG_OFFSETOF(struct vop_size_args,a_vp),
|
||||
VDESC_NO_OFFSET
|
||||
};
|
||||
struct vnodeop_desc vop_size_desc = {
|
||||
0,
|
||||
"vop_size",
|
||||
0,
|
||||
vop_size_vp_offsets,
|
||||
VDESC_NO_OFFSET,
|
||||
VDESC_NO_OFFSET,
|
||||
VDESC_NO_OFFSET,
|
||||
VDESC_NO_OFFSET,
|
||||
NULL,
|
||||
};
|
||||
#ifdef VNODE_OP_NOINLINE
|
||||
int
|
||||
VOP_SIZE(vp, size, eobp)
|
||||
struct vnode *vp;
|
||||
off_t size;
|
||||
off_t *eobp;
|
||||
{
|
||||
struct vop_size_args a;
|
||||
a.a_desc = VDESC(vop_size);
|
||||
a.a_vp = vp;
|
||||
a.a_size = size;
|
||||
a.a_eobp = eobp;
|
||||
return (VCALL(vp, VOFFSET(vop_size), &a));
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Special cases: */
|
||||
|
||||
int vop_strategy_vp_offsets[] = {
|
||||
@ -1600,12 +1742,16 @@ struct vnodeop_desc *vfs_op_descs[] = {
|
||||
&vop_blkatoff_desc,
|
||||
&vop_valloc_desc,
|
||||
&vop_balloc_desc,
|
||||
&vop_ballocn_desc,
|
||||
&vop_reallocblks_desc,
|
||||
&vop_vfree_desc,
|
||||
&vop_truncate_desc,
|
||||
&vop_update_desc,
|
||||
&vop_lease_desc,
|
||||
&vop_whiteout_desc,
|
||||
&vop_getpages_desc,
|
||||
&vop_putpages_desc,
|
||||
&vop_size_desc,
|
||||
NULL
|
||||
};
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* $NetBSD: vnode_if.h,v 1.25 2000/09/19 21:58:21 fvdl Exp $ */
|
||||
/* $NetBSD: vnode_if.h,v 1.26 2000/11/27 09:04:59 chs Exp $ */
|
||||
|
||||
/*
|
||||
* Warning: This file is generated automatically.
|
||||
* (Modifications made here may easily be lost!)
|
||||
*
|
||||
* Created from the file:
|
||||
* NetBSD: vnode_if.src,v 1.25 2000/09/19 21:57:14 fvdl Exp
|
||||
* NetBSD: vnode_if.src,v 1.26 2000/11/27 08:39:45 chs Exp
|
||||
* by the script:
|
||||
* NetBSD: vnode_if.sh,v 1.21 2000/09/13 16:09:27 thorpej Exp
|
||||
*/
|
||||
@ -1291,6 +1291,42 @@ static __inline int VOP_BALLOC(vp, startoffset, size, cred, flags, bpp)
|
||||
}
|
||||
#endif
|
||||
|
||||
struct vop_ballocn_args {
|
||||
struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
off_t a_offset;
|
||||
off_t a_length;
|
||||
struct ucred *a_cred;
|
||||
int a_flags;
|
||||
};
|
||||
extern struct vnodeop_desc vop_ballocn_desc;
|
||||
#ifndef VNODE_OP_NOINLINE
|
||||
static __inline
|
||||
#endif
|
||||
int VOP_BALLOCN(struct vnode *, off_t, off_t, struct ucred *, int)
|
||||
#ifndef VNODE_OP_NOINLINE
|
||||
__attribute__((__unused__))
|
||||
#endif
|
||||
;
|
||||
#ifndef VNODE_OP_NOINLINE
|
||||
static __inline int VOP_BALLOCN(vp, offset, length, cred, flags)
|
||||
struct vnode *vp;
|
||||
off_t offset;
|
||||
off_t length;
|
||||
struct ucred *cred;
|
||||
int flags;
|
||||
{
|
||||
struct vop_ballocn_args a;
|
||||
a.a_desc = VDESC(vop_ballocn);
|
||||
a.a_vp = vp;
|
||||
a.a_offset = offset;
|
||||
a.a_length = length;
|
||||
a.a_cred = cred;
|
||||
a.a_flags = flags;
|
||||
return (VCALL(vp, VOFFSET(vop_ballocn), &a));
|
||||
}
|
||||
#endif
|
||||
|
||||
struct vop_reallocblks_args {
|
||||
struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
@ -1480,6 +1516,118 @@ static __inline int VOP_WHITEOUT(dvp, cnp, flags)
|
||||
}
|
||||
#endif
|
||||
|
||||
struct vop_getpages_args {
|
||||
struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
voff_t a_offset;
|
||||
vm_page_t *a_m;
|
||||
int *a_count;
|
||||
int a_centeridx;
|
||||
vm_prot_t a_access_type;
|
||||
int a_advice;
|
||||
int a_flags;
|
||||
};
|
||||
extern struct vnodeop_desc vop_getpages_desc;
|
||||
#ifndef VNODE_OP_NOINLINE
|
||||
static __inline
|
||||
#endif
|
||||
int VOP_GETPAGES(struct vnode *, voff_t, vm_page_t *, int *, int, vm_prot_t,
|
||||
int, int)
|
||||
#ifndef VNODE_OP_NOINLINE
|
||||
__attribute__((__unused__))
|
||||
#endif
|
||||
;
|
||||
#ifndef VNODE_OP_NOINLINE
|
||||
static __inline int VOP_GETPAGES(vp, offset, m, count, centeridx, access_type, advice, flags)
|
||||
struct vnode *vp;
|
||||
voff_t offset;
|
||||
vm_page_t *m;
|
||||
int *count;
|
||||
int centeridx;
|
||||
vm_prot_t access_type;
|
||||
int advice;
|
||||
int flags;
|
||||
{
|
||||
struct vop_getpages_args a;
|
||||
a.a_desc = VDESC(vop_getpages);
|
||||
a.a_vp = vp;
|
||||
a.a_offset = offset;
|
||||
a.a_m = m;
|
||||
a.a_count = count;
|
||||
a.a_centeridx = centeridx;
|
||||
a.a_access_type = access_type;
|
||||
a.a_advice = advice;
|
||||
a.a_flags = flags;
|
||||
return (VCALL(vp, VOFFSET(vop_getpages), &a));
|
||||
}
|
||||
#endif
|
||||
|
||||
struct vop_putpages_args {
|
||||
struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
vm_page_t *a_m;
|
||||
int a_count;
|
||||
int a_flags;
|
||||
int *a_rtvals;
|
||||
};
|
||||
extern struct vnodeop_desc vop_putpages_desc;
|
||||
#ifndef VNODE_OP_NOINLINE
|
||||
static __inline
|
||||
#endif
|
||||
int VOP_PUTPAGES(struct vnode *, vm_page_t *, int, int, int *)
|
||||
#ifndef VNODE_OP_NOINLINE
|
||||
__attribute__((__unused__))
|
||||
#endif
|
||||
;
|
||||
#ifndef VNODE_OP_NOINLINE
|
||||
static __inline int VOP_PUTPAGES(vp, m, count, flags, rtvals)
|
||||
struct vnode *vp;
|
||||
vm_page_t *m;
|
||||
int count;
|
||||
int flags;
|
||||
int *rtvals;
|
||||
{
|
||||
struct vop_putpages_args a;
|
||||
a.a_desc = VDESC(vop_putpages);
|
||||
a.a_vp = vp;
|
||||
a.a_m = m;
|
||||
a.a_count = count;
|
||||
a.a_flags = flags;
|
||||
a.a_rtvals = rtvals;
|
||||
return (VCALL(vp, VOFFSET(vop_putpages), &a));
|
||||
}
|
||||
#endif
|
||||
|
||||
struct vop_size_args {
|
||||
struct vnodeop_desc *a_desc;
|
||||
struct vnode *a_vp;
|
||||
off_t a_size;
|
||||
off_t *a_eobp;
|
||||
};
|
||||
extern struct vnodeop_desc vop_size_desc;
|
||||
#ifndef VNODE_OP_NOINLINE
|
||||
static __inline
|
||||
#endif
|
||||
int VOP_SIZE(struct vnode *, off_t, off_t *)
|
||||
#ifndef VNODE_OP_NOINLINE
|
||||
__attribute__((__unused__))
|
||||
#endif
|
||||
;
|
||||
#ifndef VNODE_OP_NOINLINE
|
||||
static __inline int VOP_SIZE(vp, size, eobp)
|
||||
struct vnode *vp;
|
||||
off_t size;
|
||||
off_t *eobp;
|
||||
{
|
||||
struct vop_size_args a;
|
||||
a.a_desc = VDESC(vop_size);
|
||||
a.a_vp = vp;
|
||||
a.a_size = size;
|
||||
a.a_eobp = eobp;
|
||||
return (VCALL(vp, VOFFSET(vop_size), &a));
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Special cases: */
|
||||
#include <sys/buf.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user