summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gallatin <gallatin@FreeBSD.org>2000-12-02 20:08:33 +0000
committerAndrew Gallatin <gallatin@FreeBSD.org>2000-12-02 20:08:33 +0000
commit19f085228f6642b8018fbbdeedcf991e5592458f (patch)
tree3ed14f04a1a0f9a172472c75cc89302c528544a4
parent247e7cb1d38817eccb999252d3241a7e8b798e3a (diff)
Notes
-rw-r--r--sys/kern/vfs_export.c6
-rw-r--r--sys/kern/vfs_subr.c6
-rw-r--r--usr.bin/systat/vmstat.c4
3 files changed, 8 insertions, 8 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index cf6029a3359f..5042d2811370 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -92,7 +92,7 @@ static void vclean __P((struct vnode *vp, int flags, struct proc *p));
* allocates a new vnode, never decreased.
*/
static unsigned long numvnodes;
-SYSCTL_INT(_debug, OID_AUTO, numvnodes, CTLFLAG_RD, &numvnodes, 0, "");
+SYSCTL_LONG(_debug, OID_AUTO, numvnodes, CTLFLAG_RD, &numvnodes, 0, "");
/*
* Conversion tables for conversion from vnode types to inode formats
@@ -117,10 +117,10 @@ static TAILQ_HEAD(freelst, vnode) vnode_free_list;
* getnewvnode() will return a newly allocated vnode.
*/
static u_long wantfreevnodes = 25;
-SYSCTL_INT(_debug, OID_AUTO, wantfreevnodes, CTLFLAG_RW, &wantfreevnodes, 0, "");
+SYSCTL_LONG(_debug, OID_AUTO, wantfreevnodes, CTLFLAG_RW, &wantfreevnodes, 0, "");
/* Number of vnodes in the free list. */
static u_long freevnodes = 0;
-SYSCTL_INT(_debug, OID_AUTO, freevnodes, CTLFLAG_RD, &freevnodes, 0, "");
+SYSCTL_LONG(_debug, OID_AUTO, freevnodes, CTLFLAG_RD, &freevnodes, 0, "");
/*
* Various variables used for debugging the new implementation of
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index cf6029a3359f..5042d2811370 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -92,7 +92,7 @@ static void vclean __P((struct vnode *vp, int flags, struct proc *p));
* allocates a new vnode, never decreased.
*/
static unsigned long numvnodes;
-SYSCTL_INT(_debug, OID_AUTO, numvnodes, CTLFLAG_RD, &numvnodes, 0, "");
+SYSCTL_LONG(_debug, OID_AUTO, numvnodes, CTLFLAG_RD, &numvnodes, 0, "");
/*
* Conversion tables for conversion from vnode types to inode formats
@@ -117,10 +117,10 @@ static TAILQ_HEAD(freelst, vnode) vnode_free_list;
* getnewvnode() will return a newly allocated vnode.
*/
static u_long wantfreevnodes = 25;
-SYSCTL_INT(_debug, OID_AUTO, wantfreevnodes, CTLFLAG_RW, &wantfreevnodes, 0, "");
+SYSCTL_LONG(_debug, OID_AUTO, wantfreevnodes, CTLFLAG_RW, &wantfreevnodes, 0, "");
/* Number of vnodes in the free list. */
static u_long freevnodes = 0;
-SYSCTL_INT(_debug, OID_AUTO, freevnodes, CTLFLAG_RD, &freevnodes, 0, "");
+SYSCTL_LONG(_debug, OID_AUTO, freevnodes, CTLFLAG_RD, &freevnodes, 0, "");
/*
* Various variables used for debugging the new implementation of
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index 2617d2dad25d..beb8e3c7816a 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -80,8 +80,8 @@ static struct Info {
long *intrcnt;
int bufspace;
int desiredvnodes;
- int numvnodes;
- int freevnodes;
+ long numvnodes;
+ long freevnodes;
long numdirtybuffers;
} s, s1, s2, z;