Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys regen



details:   https://anonhg.NetBSD.org/src/rev/eda06a91c52b
branches:  trunk
changeset: 515011:eda06a91c52b
user:      chs <chs%NetBSD.org@localhost>
date:      Sat Sep 15 20:37:36 2001 +0000

description:
regen

diffstat:

 sys/kern/vnode_if.c |  100 +++++++--------------------------------------------
 sys/sys/vnode_if.h  |   91 +++++-----------------------------------------
 2 files changed, 26 insertions(+), 165 deletions(-)

diffs (truncated from 353 to 300 lines):

diff -r 53125d1d3690 -r eda06a91c52b sys/kern/vnode_if.c
--- a/sys/kern/vnode_if.c       Sat Sep 15 20:36:31 2001 +0000
+++ b/sys/kern/vnode_if.c       Sat Sep 15 20:37:36 2001 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: vnode_if.c,v 1.37 2001/07/24 15:39:31 assar Exp $      */
+/*     $NetBSD: vnode_if.c,v 1.38 2001/09/15 20:37:36 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.28 2001/05/26 21:33:11 chs Exp 
+ *     NetBSD: vnode_if.src,v 1.30 2001/09/15 20:36:37 chs Exp 
  * by the script:
  *     NetBSD: vnode_if.sh,v 1.29 2001/05/07 08:46:02 lukem Exp 
  */
@@ -1367,47 +1367,12 @@
 }
 #endif
 
-const int vop_ballocn_vp_offsets[] = {
-       VOPARG_OFFSETOF(struct vop_ballocn_args,a_vp),
-       VDESC_NO_OFFSET
-};
-const struct vnodeop_desc vop_ballocn_desc = {
-       41,
-       "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
-
 const int vop_reallocblks_vp_offsets[] = {
        VOPARG_OFFSETOF(struct vop_reallocblks_args,a_vp),
        VDESC_NO_OFFSET
 };
 const struct vnodeop_desc vop_reallocblks_desc = {
-       42,
+       41,
        "vop_reallocblks",
        0,
        vop_reallocblks_vp_offsets,
@@ -1436,7 +1401,7 @@
        VDESC_NO_OFFSET
 };
 const struct vnodeop_desc vop_vfree_desc = {
-       43,
+       42,
        "vop_vfree",
        0,
        vop_vfree_vp_offsets,
@@ -1467,7 +1432,7 @@
        VDESC_NO_OFFSET
 };
 const struct vnodeop_desc vop_truncate_desc = {
-       44,
+       43,
        "vop_truncate",
        0,
        vop_truncate_vp_offsets,
@@ -1502,7 +1467,7 @@
        VDESC_NO_OFFSET
 };
 const struct vnodeop_desc vop_update_desc = {
-       45,
+       44,
        "vop_update",
        0,
        vop_update_vp_offsets,
@@ -1535,7 +1500,7 @@
        VDESC_NO_OFFSET
 };
 const struct vnodeop_desc vop_lease_desc = {
-       46,
+       45,
        "vop_lease",
        0,
        vop_lease_vp_offsets,
@@ -1568,7 +1533,7 @@
        VDESC_NO_OFFSET
 };
 const struct vnodeop_desc vop_whiteout_desc = {
-       47,
+       46,
        "vop_whiteout",
        0,
        vop_whiteout_vp_offsets,
@@ -1599,7 +1564,7 @@
        VDESC_NO_OFFSET
 };
 const struct vnodeop_desc vop_getpages_desc = {
-       48,
+       47,
        "vop_getpages",
        0,
        vop_getpages_vp_offsets,
@@ -1640,7 +1605,7 @@
        VDESC_NO_OFFSET
 };
 const struct vnodeop_desc vop_putpages_desc = {
-       49,
+       48,
        "vop_putpages",
        0,
        vop_putpages_vp_offsets,
@@ -1652,55 +1617,22 @@
 };
 #ifdef VNODE_OP_NOINLINE
 int
-VOP_PUTPAGES(vp, m, count, flags, rtvals)
+VOP_PUTPAGES(vp, offlo, offhi, flags)
        struct vnode *vp;
-       struct vm_page **m;
-       int count;
+       voff_t offlo;
+       voff_t offhi;
        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_offlo = offlo;
+       a.a_offhi = offhi;
        a.a_flags = flags;
-       a.a_rtvals = rtvals;
        return (VCALL(vp, VOFFSET(vop_putpages), &a));
 }
 #endif
 
-const int vop_size_vp_offsets[] = {
-       VOPARG_OFFSETOF(struct vop_size_args,a_vp),
-       VDESC_NO_OFFSET
-};
-const struct vnodeop_desc vop_size_desc = {
-       50,
-       "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
-
 /* End of special cases. */
 
 const struct vnodeop_desc * const vfs_op_descs[] = {
@@ -1746,7 +1678,6 @@
        &vop_blkatoff_desc,
        &vop_valloc_desc,
        &vop_balloc_desc,
-       &vop_ballocn_desc,
        &vop_reallocblks_desc,
        &vop_vfree_desc,
        &vop_truncate_desc,
@@ -1755,7 +1686,6 @@
        &vop_whiteout_desc,
        &vop_getpages_desc,
        &vop_putpages_desc,
-       &vop_size_desc,
        NULL
 };
 
diff -r 53125d1d3690 -r eda06a91c52b sys/sys/vnode_if.h
--- a/sys/sys/vnode_if.h        Sat Sep 15 20:36:31 2001 +0000
+++ b/sys/sys/vnode_if.h        Sat Sep 15 20:37:36 2001 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: vnode_if.h,v 1.36 2001/05/26 21:34:04 chs Exp $        */
+/*     $NetBSD: vnode_if.h,v 1.37 2001/09/15 20:37:36 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.28 2001/05/26 21:33:11 chs Exp 
+ *     NetBSD: vnode_if.src,v 1.30 2001/09/15 20:36:37 chs Exp 
  * by the script:
  *     NetBSD: vnode_if.sh,v 1.29 2001/05/07 08:46:02 lukem Exp 
  */
@@ -1291,42 +1291,6 @@
 }
 #endif
 
-struct vop_ballocn_args {
-       const 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 const 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 {
        const struct vnodeop_desc *a_desc;
        struct vnode *a_vp;
@@ -1565,69 +1529,36 @@
 struct vop_putpages_args {
        const struct vnodeop_desc *a_desc;
        struct vnode *a_vp;
-       struct vm_page **a_m;
-       int a_count;
+       voff_t a_offlo;
+       voff_t a_offhi;
        int a_flags;
-       int *a_rtvals;
 };
 extern const struct vnodeop_desc vop_putpages_desc;
 #ifndef VNODE_OP_NOINLINE
 static __inline
 #endif
-int VOP_PUTPAGES(struct vnode *, struct vm_page **, int, int, int *)
+int VOP_PUTPAGES(struct vnode *, voff_t, voff_t, int)
 #ifndef VNODE_OP_NOINLINE
 __attribute__((__unused__))
 #endif
 ;
 #ifndef VNODE_OP_NOINLINE
-static __inline int VOP_PUTPAGES(vp, m, count, flags, rtvals)
+static __inline int VOP_PUTPAGES(vp, offlo, offhi, flags)
        struct vnode *vp;
-       struct vm_page **m;
-       int count;
+       voff_t offlo;
+       voff_t offhi;
        int flags;
-       int *rtvals;
 {
        struct vop_putpages_args a;
        a.a_desc = VDESC(vop_putpages);



Home | Main Index | Thread Index | Old Index