Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/chs-ubc2]: src/sys VOP_BALLOC() now allocates a range instead of just on...
details: https://anonhg.NetBSD.org/src/rev/2d23169f77ec
branches: chs-ubc2
changeset: 471401:2d23169f77ec
user: chs <chs%NetBSD.org@localhost>
date: Sat Jul 31 18:40:02 1999 +0000
description:
VOP_BALLOC() now allocates a range instead of just one block.
diffstat:
sys/kern/vnode_if.c | 4 ++--
sys/kern/vnode_if.src | 5 ++---
sys/sys/vnode_if.h | 19 ++++++++-----------
3 files changed, 12 insertions(+), 16 deletions(-)
diffs (92 lines):
diff -r b5e355660ccd -r 2d23169f77ec sys/kern/vnode_if.c
--- a/sys/kern/vnode_if.c Sat Jul 31 18:37:55 1999 +0000
+++ b/sys/kern/vnode_if.c Sat Jul 31 18:40:02 1999 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: vnode_if.c,v 1.15.4.3 1999/07/04 01:42:26 chs Exp $ */
+/* $NetBSD: vnode_if.c,v 1.15.4.4 1999/07/31 18:40:02 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.17 1999/06/21 02:28:46 sommerfeld Exp
+ * NetBSD: vnode_if.src,v 1.16.4.3 1999/07/04 01:42:26 chs Exp
* by the script:
* NetBSD: vnode_if.sh,v 1.18 1998/09/13 14:44:34 christos Exp
*/
diff -r b5e355660ccd -r 2d23169f77ec sys/kern/vnode_if.src
--- a/sys/kern/vnode_if.src Sat Jul 31 18:37:55 1999 +0000
+++ b/sys/kern/vnode_if.src Sat Jul 31 18:40:02 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: vnode_if.src,v 1.16.4.3 1999/07/04 01:42:26 chs Exp $
+# $NetBSD: vnode_if.src,v 1.16.4.4 1999/07/31 18:40:02 chs Exp $
#
# Copyright (c) 1992, 1993
# The Regents of the University of California. All rights reserved.
@@ -441,10 +441,9 @@
vop_balloc {
IN struct vnode *vp;
IN off_t offset;
- IN int size;
+ IN off_t length;
IN struct ucred *cred;
IN int flags;
- OUT struct buf **bpp;
};
#
diff -r b5e355660ccd -r 2d23169f77ec sys/sys/vnode_if.h
--- a/sys/sys/vnode_if.h Sat Jul 31 18:37:55 1999 +0000
+++ b/sys/sys/vnode_if.h Sat Jul 31 18:40:02 1999 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: vnode_if.h,v 1.15.4.3 1999/07/04 01:42:27 chs Exp $ */
+/* $NetBSD: vnode_if.h,v 1.15.4.4 1999/07/31 18:40:02 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.17 1999/06/21 02:28:46 sommerfeld Exp
+ * NetBSD: vnode_if.src,v 1.16.4.3 1999/07/04 01:42:26 chs Exp
* by the script:
* NetBSD: vnode_if.sh,v 1.18 1998/09/13 14:44:34 christos Exp
*/
@@ -906,30 +906,27 @@
struct vnodeop_desc *a_desc;
struct vnode *a_vp;
off_t a_offset;
- int a_size;
+ off_t a_length;
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, offset, size, cred, flags, bpp)
+static __inline int VOP_BALLOC __P((struct vnode *, off_t, off_t,
+ struct ucred *, int)) __attribute__((__unused__));
+static __inline int VOP_BALLOC(vp, offset, length, cred, flags)
struct vnode *vp;
off_t offset;
- int size;
+ off_t length;
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_offset = offset;
- a.a_size = size;
+ a.a_length = length;
a.a_cred = cred;
a.a_flags = flags;
- a.a_bpp = bpp;
return (VCALL(vp, VOFFSET(vop_balloc), &a));
}
Home |
Main Index |
Thread Index |
Old Index