History log of /netbsd/usr.sbin/pstat/pstat.c (Results 26 – 50 of 134)
Revision Date Author Comments
# 0565241b 27-Feb-2008 ad <ad@NetBSD.org>

+#define _KERNEL
+#include <sys/types.h>
+#undef _KERNEL


# d4f4828e 11-Feb-2008 dyoung <dyoung@NetBSD.org>

Do not #include <sys/device.h> from userland.


# 64da32e6 11-Feb-2008 ad <ad@NetBSD.org>

Don't decode union vnodes or f_usecount. XXX A lot of this belongs to gdb.


# 703069c0 24-Jan-2008 ad <ad@NetBSD.org>

specfs changes for PR kern/37717 (raidclose() is no longer called on
shutdown). There are still problems with device access and a PR will be
filed.

- Kill checkalias(). Allow multiple vnodes to refe

specfs changes for PR kern/37717 (raidclose() is no longer called on
shutdown). There are still problems with device access and a PR will be
filed.

- Kill checkalias(). Allow multiple vnodes to reference a single device.

- Don't play dangerous tricks with block vnodes to ensure that only one
vnode can describe a block device. Instead, prohibit concurrent opens of
block devices. As a bonus remove the unreliable code that prevents
multiple file system mounts on the same device. It's no longer needed.

- Track opens by vnode and by device. Issue cdev_close() when the last open
goes away, instead of abusing vnode::v_usecount to tell if the device is
open.

show more ...


# 22f711b8 28-Dec-2007 ad <ad@NetBSD.org>

Remove reference to VI_XWANT - it will be gone soon.


# f4c8a4cc 09-Dec-2007 dogcow <dogcow@NetBSD.org>

Turns out we don't actually need to include <sys/namei.h>; since it causes
a compile error, away it goes.


# c60c05b2 19-Nov-2007 ad <ad@NetBSD.org>

TS_ASLEEP is gone.


# 644890e9 20-Oct-2007 briggs <briggs@NetBSD.org>

If we're printing totals, don't do all the work of allocating and
copying down the vnodes.


# 7dad9f73 10-Oct-2007 ad <ad@NetBSD.org>

Merge from vmlocking:

- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.


# 9e211aaf 17-Jul-2007 christos <christos@NetBSD.org>

Kill MFSNAMELEN


# 5bf65cf9 04-Mar-2007 he <he@NetBSD.org>

Because this program has _KERNEL defined while including some files,
it now needs <stdbool.h> due to the arm ports. Longer-term, this
program probably ought to be converted so that it no longer need

Because this program has _KERNEL defined while including some files,
it now needs <stdbool.h> due to the arm ports. Longer-term, this
program probably ought to be converted so that it no longer needs
to define _KERNEL.

show more ...


# 83aa19e1 06-Jan-2007 daniel <daniel@NetBSD.org>

Correctly retrieve information from an ext2fs inode's dinode. Fixes
PR 21302.

Ack by christos.


# d9e9fef5 28-Dec-2006 xtraeme <xtraeme@NetBSD.org>

More NQNFS fallout (hi yamt!).


# 0ce80909 20-Oct-2006 reinoud <reinoud@NetBSD.org>

Replace the LIST structure mp->mnt_vnodelist to a TAILQ structure since all
vnodes were synced and processed backwards. This meant that the last
accessed node was processed first and the earlierst la

Replace the LIST structure mp->mnt_vnodelist to a TAILQ structure since all
vnodes were synced and processed backwards. This meant that the last
accessed node was processed first and the earlierst last.

An extra benefit is the removal of the ugly hack from the Berkly days on
LFS.

In the proces, i've also replaced the various variations hand written loops
by the TAILQ_FOREACH() macro's.

show more ...


# fb0d3353 25-May-2006 christos <christos@NetBSD.org>

Coverity CID 3377: Fix memory leak on error.


# 35ad67c7 17-Mar-2006 elad <elad@NetBSD.org>

Fix off-by-one found by Coverity, CID 1485.


# 7d1c72d8 17-Mar-2006 elad <elad@NetBSD.org>

Fix off-by-one found by Coverity, CID 1486.


# 0dc4f151 11-Sep-2005 rpaulo <rpaulo@NetBSD.org>

Don't print swap information when reading from kernel dumps. Fixes PR
13418 by Andrew Doran <ad@netbsd.org>.


# 3f516538 02-Sep-2005 rpaulo <rpaulo@NetBSD.org>

de-__P() and use ANSI function declarations.


# c4ee9f6d 19-Aug-2005 christos <christos@NetBSD.org>

64 bit inode changes


# 68a1fbb8 30-May-2005 christos <christos@NetBSD.org>

catch up with kernel's constification.


# b30695cd 18-Dec-2004 christos <christos@NetBSD.org>

Use the array of dtype names instead of hand-rolling our own.


# d337725e 09-Dec-2004 matt <matt@NetBSD.org>

When dumping the file entry, print the usecount and iflags too.


# d853cbba 22-Feb-2004 jdc <jdc@NetBSD.org>

Make pstat -f work on sparc by adjusting the offset of the buffer passed
to sysctl in getfiles().

XXX: Possibly the correct fix is to make sysctl() not return an array which
contains structs with di

Make pstat -f work on sparc by adjusting the offset of the buffer passed
to sysctl in getfiles().

XXX: Possibly the correct fix is to make sysctl() not return an array which
contains structs with different alignment constraints.

show more ...


# 9bf440d2 20-Dec-2003 mrg <mrg@NetBSD.org>

support "-g" and "-m" as well as "-k" and "-h". swapctl & swaplist code
from Martin Weber, adapted for pstat by myself.


123456