The NetBSD Project

CVS log for src/sys/miscfs/kernfs/kernfs_vfsops.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / miscfs / kernfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.91.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:31 2014 UTC (2 months ago) by tls
Branch: tls-maxphys
Changes since 1.91: +105 -36 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:05 2014 UTC (2 months, 2 weeks ago) by tls
Branch: tls-earlyentropy
Changes since 1.93: +83 -6 lines
Diff to previous 1.93 (colored) next main 1.94 (colored)

Rebase.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Jul 20 13:58:04 2014 UTC (3 months ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base, netbsd-7, HEAD
Changes since 1.94: +83 -6 lines
Diff to previous 1.94 (colored)

Change kernfs from hashlist to vcache.

Revision 1.94 / (download) - annotate - [select for diffs], Thu Jul 17 08:21:34 2014 UTC (3 months, 1 week ago) by hannken
Branch: MAIN
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored)

Finish KAME IPSEC removal:
- Remove field kfs_value, it is always zero. Compute the hash from kt_tag.
- Remove stray definitions kernfs_revoke_sa and kernfs_revoke_sp.

While here, remove kfs_type from allocvp(), it is always kt->kt_tag.

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:41:05 2014 UTC (5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.91: +24 -32 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.91.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:09 2014 UTC (5 months, 1 week ago) by rmind
Branch: rmind-smpnet
Changes since 1.91: +24 -32 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

sync with head

Revision 1.93 / (download) - annotate - [select for diffs], Sun Mar 23 15:21:16 2014 UTC (7 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.92: +24 -27 lines
Diff to previous 1.92 (colored)

Change all vfsops to use C99 designated initializers.

No functional changes intended.

Revision 1.92 / (download) - annotate - [select for diffs], Tue Feb 25 18:30:11 2014 UTC (7 months, 4 weeks ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.91: +2 -7 lines
Diff to previous 1.91 (colored)

Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Sep 27 01:23:05 2011 UTC (3 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

define KERNFS_MAXNAMLEN and use it.`

Revision 1.83.10.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:23 2010 UTC (4 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.83.10.2: +3 -22 lines
Diff to previous 1.83.10.2 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)

sync with head

Revision 1.90 / (download) - annotate - [select for diffs], Mon Nov 30 10:59:20 2009 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.89: +3 -22 lines
Diff to previous 1.89 (colored)

Introduce genfs_statvfs() as pretty much a no-info statvfs and
convert several pseudo file systems to use it.

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:22:16 2009 UTC (5 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.87: +7 -9 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.83.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:14:04 2009 UTC (5 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.83.10.1: +40 -36 lines
Diff to previous 1.83.10.1 (colored) to branchpoint 1.83 (colored)

sync with head.

Revision 1.86.4.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:15 2009 UTC (5 years, 5 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.86.4.1: +7 -9 lines
Diff to previous 1.86.4.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

Sync with HEAD.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Mar 15 17:22:38 2009 UTC (5 years, 7 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.88: +6 -6 lines
Diff to previous 1.88 (colored)

ansify function definitions

Revision 1.88 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:22 2009 UTC (5 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.87: +3 -5 lines
Diff to previous 1.87 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.86.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:06 2009 UTC (5 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.86: +3 -5 lines
Diff to previous 1.86 (colored)

Sync with HEAD.

Revision 1.83.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:27 2009 UTC (5 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.83.6.2: +1 -3 lines
Diff to previous 1.83.6.2 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)

Sync with HEAD.

Revision 1.87 / (download) - annotate - [select for diffs], Wed Dec 17 20:51:36 2008 UTC (5 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.86: +3 -5 lines
Diff to previous 1.86 (colored)

kill MALLOC and FREE macros.

Revision 1.84.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:57 2008 UTC (6 years, 1 month ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.84.2.1: +34 -26 lines
Diff to previous 1.84.2.1 (colored) next main 1.85 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:38:18 2008 UTC (6 years, 3 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.85: +34 -26 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

Sync with head.

Revision 1.83.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:16 2008 UTC (6 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.83.6.1: +32 -24 lines
Diff to previous 1.83.6.1 (colored) to branchpoint 1.83 (colored)

Sync with HEAD.

Revision 1.86 / (download) - annotate - [select for diffs], Sat Jun 28 01:34:06 2008 UTC (6 years, 3 months ago) by rumble
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.85: +34 -26 lines
Diff to previous 1.85 (colored)

Create sysctl entries during module initialisation and destroy them
appropriately.

Many of these file systems are now ready for modularisation.

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:57 2008 UTC (6 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.84: +19 -3 lines
Diff to previous 1.84 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.83.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:20 2008 UTC (6 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.83: +20 -3 lines
Diff to previous 1.83 (colored)

Sync with HEAD.

Revision 1.83.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:25 2008 UTC (6 years, 5 months ago) by yamt
Branch: yamt-pf42
Changes since 1.83: +20 -3 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

sync with head.

Revision 1.83.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:39 2008 UTC (6 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.83: +20 -3 lines
Diff to previous 1.83 (colored)

sync with head.

Revision 1.85 / (download) - annotate - [select for diffs], Sat May 10 02:26:09 2008 UTC (6 years, 5 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: simonb-wapbl
Changes since 1.84: +19 -3 lines
Diff to previous 1.84 (colored)

Convert file systems to dynamically attach with the new module interface.
Make VFS hooks dynamic while we're here and say farewell to VFS_ATTACH and
VFS_HOOKS_ATTACH linksets.

As a consequence, most of the file systems can now be loaded as new style
modules.

Quick sanity check by ad@.

Revision 1.84 / (download) - annotate - [select for diffs], Tue Apr 29 18:18:08 2008 UTC (6 years, 5 months ago) by ad
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.83: +3 -2 lines
Diff to previous 1.83 (colored)

PR kern/38057 ffs makes assuptions about devvp file system
PR kern/33406 softdeps get stuck in endless loop

Introduce VFS_FSYNC() and call it when syncing a block device, if it
has a mounted file system.

Revision 1.81.4.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:03 2008 UTC (6 years, 7 months ago) by matt
Branch: matt-armv6
Changes since 1.81.4.1: +5 -2 lines
Diff to previous 1.81.4.1 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

sync with HEAD

Revision 1.81.10.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:00 2008 UTC (6 years, 8 months ago) by mjf
Branch: mjf-devfs
Changes since 1.81.10.1: +5 -2 lines
Diff to previous 1.81.10.1 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

Sync with HEAD.

Revision 1.67.2.6 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:31 2008 UTC (6 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.67.2.5: +5 -2 lines
Diff to previous 1.67.2.5 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

sync with head.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Jan 28 14:31:18 2008 UTC (6 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.82: +5 -2 lines
Diff to previous 1.82 (colored)

Fix some race conditions in rename.
Introduce a per-FS rename lock and new vfsops to manipulate it.
Get this lock while renaming. Also add another relookup() in do_sys_rename,
which is a hack to kludge around some of the worst deficiencies of
ufs_rename.
reviewed-by: pooka (and an earlier rev by ad)
posted on tech-kern with no objections.

Revision 1.81.4.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:57:03 2008 UTC (6 years, 9 months ago) by matt
Branch: matt-armv6
Changes since 1.81: +9 -18 lines
Diff to previous 1.81 (colored)

sync with HEAD

Revision 1.81.10.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:21:01 2007 UTC (6 years, 10 months ago) by mjf
Branch: mjf-devfs
Changes since 1.81: +9 -18 lines
Diff to previous 1.81 (colored)

Sync with HEAD.

Revision 1.67.2.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:34:06 2007 UTC (6 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.67.2.4: +9 -18 lines
Diff to previous 1.67.2.4 (colored) to branchpoint 1.67 (colored)

sync with head

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Tue Nov 27 19:38:48 2007 UTC (6 years, 10 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.81: +9 -18 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:14 2007 UTC (6 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Changes since 1.81: +9 -18 lines
Diff to previous 1.81 (colored)

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

Revision 1.67.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:53 2007 UTC (7 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.67.2.3: +16 -25 lines
Diff to previous 1.67.2.3 (colored) to branchpoint 1.67 (colored)

sync with head.

Revision 1.76.6.2 / (download) - annotate - [select for diffs], Mon Aug 20 21:27:48 2007 UTC (7 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.76.6.1: +7 -17 lines
Diff to previous 1.76.6.1 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

Sync with HEAD.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:49:31 2007 UTC (7 years, 2 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.79: +6 -16 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

Sync with HEAD.

Revision 1.81.12.2 / (download) - annotate - [select for diffs], Tue Jul 31 21:14:17 2007 UTC (7 years, 2 months ago) by pooka
Branch: matt-mips64
Changes since 1.81.12.1: +297 -0 lines
Diff to previous 1.81.12.1 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

* nuke the nameidata parameter from VFS_MOUNT().  Nobody on tech-kern
  knew what it was supposed to be used for and wrstuden gave a go-ahead
* while rototilling, convert file systems which went easily to
  use VFS_PROTOS() instead of manually prototyping the methods

Revision 1.81.12.1, Tue Jul 31 21:14:16 2007 UTC (7 years, 2 months ago) by pooka
Branch: matt-mips64
Changes since 1.81: +0 -297 lines
FILE REMOVED

file kernfs_vfsops.c was added on branch matt-mips64 on 2007-07-31 21:14:17 +0000

Revision 1.81 / (download) - annotate - [select for diffs], Tue Jul 31 21:14:16 2007 UTC (7 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, matt-mips64-base, matt-armv6-prevmlocking, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.80: +5 -15 lines
Diff to previous 1.80 (colored)

* nuke the nameidata parameter from VFS_MOUNT().  Nobody on tech-kern
  knew what it was supposed to be used for and wrstuden gave a go-ahead
* while rototilling, convert file systems which went easily to
  use VFS_PROTOS() instead of manually prototyping the methods

Revision 1.80 / (download) - annotate - [select for diffs], Thu Jul 26 22:57:39 2007 UTC (7 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: hpcarm-cleanup
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

Use eopnotsupp() instead of vfs_stdsuspendctl() and retire the latter.

Revision 1.79 / (download) - annotate - [select for diffs], Tue Jul 17 11:19:34 2007 UTC (7 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: nick-csl-alignment-base
Branch point for: nick-csl-alignment
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

Make set_statvfs_info() take a parameter for the vfs name instead
of always retrieving it from mp->mnt_op->vfs_name

christos ok

Revision 1.76.6.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:49 2007 UTC (7 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.76: +12 -11 lines
Diff to previous 1.76 (colored)

Sync with head.

Revision 1.78 / (download) - annotate - [select for diffs], Thu Jul 12 19:35:34 2007 UTC (7 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.77: +8 -5 lines
Diff to previous 1.77 (colored)

Change the VFS_MOUNT() interface so that the 'data' buffer passed to the
fs code is a kernel buffer, pass though the length of the buffer as well.
Since the length of the userspace buffer isn'it (yet) passed through the mount
system call, add a field to the vfsops structure containing the default length.
Split sys_mount() for calls from compat code.
Ride one of the recent kernel version changes - old fs LKMs will load, but
sys_mount() will reject any attempt to use them.

Revision 1.76.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:41 2007 UTC (7 years, 3 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.76: +6 -8 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Sync with head.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Jun 30 09:37:58 2007 UTC (7 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: mjf-ufs-trans-base
Changes since 1.76: +6 -8 lines
Diff to previous 1.76 (colored)

Using POOL_INIT here makes no sense, since file systems always have
an init method.  So get rid of it and #ifdef _LKM and just always
init in the init method.  Give malloc types the same treatment.
Makes file systems nicer to work with in linksetless environments
and fixes a few LKM discrepancies.

Revision 1.67.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:29 2007 UTC (7 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.67.2.2: +3 -2 lines
Diff to previous 1.67.2.2 (colored) to branchpoint 1.67 (colored)

sync with head.

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Sat Feb 17 23:27:49 2007 UTC (7 years, 8 months ago) by tron
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

Apply patch (requested by chs in ticket #422):
- Fix various deadlock problems with nullfs and unionfs.
- Speed up path lookups by upto 25%.

Revision 1.72.2.3 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:41 2007 UTC (7 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.72.2.2: +3 -2 lines
Diff to previous 1.72.2.2 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)

Sync with head.

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jan 19 14:49:11 2007 UTC (7 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.75: +3 -2 lines
Diff to previous 1.75 (colored)

New file system suspension API to replace vn_start_write and vn_finished_write.
The suspension helpers are now put into file system specific operations.
This means every file system not supporting these helpers cannot be suspended
and therefore snapshots are no longer possible.

Implemented for file systems of type ffs.

The new API is enabled on a kernel option NEWVNGATE.  This option is
not enabled by default in any kernel config.

Presented and discussed on tech-kern with much input from
Bill Studenmund <wrstuden@netbsd.org> and YAMAMOTO Takashi <yamt@netbsd.org>.

Welcome to 4.99.9 (new vfs op vfs_suspendctl).

Revision 1.72.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:11 2007 UTC (7 years, 9 months ago) by ad
Branch: newlock2
Changes since 1.72.2.1: +4 -4 lines
Diff to previous 1.72.2.1 (colored) to branchpoint 1.72 (colored)

Sync with head.

Revision 1.67.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:17 2006 UTC (7 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.67.2.1: +18 -37 lines
Diff to previous 1.67.2.1 (colored) to branchpoint 1.67 (colored)

sync with head.

Revision 1.72.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:59 2006 UTC (7 years, 10 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.72.4.1: +16 -16 lines
Diff to previous 1.72.4.1 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)

sync with head.

Revision 1.75 / (download) - annotate - [select for diffs], Sat Dec 9 16:11:52 2006 UTC (7 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored)

a smorgasbord of improvements to vnode locking and path lookup:
 - LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP().
   these now always return the parent vnode locked.  namei() works as before.
   lookup() and various other paths no longer acquire vnode locks in the
   wrong order via vrele().  fixes PR 32535.
   as a nice side effect, path lookup is also up to 25% faster.
 - the above allows us to get rid of PDIRUNLOCK.
 - also get rid of WANTPARENT (just use LOCKPARENT and unlock it).
 - remove an assumption in layer_node_find() that all file systems implement
   a recursive VOP_LOCK() (unionfs doesn't).
 - require that all file systems supply vfs_vptofh and vfs_fhtovp routines.
   fill in eopnotsupp() for file systems that don't support being exported
   and remove the checks for NULL.  (layerfs calls these without checking.)
 - in union_lookup1(), don't change refcounts in the ISDOTDOT case, just
   adjust which vnode is locked.  fixes PR 33374.
 - apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:28 2006 UTC (7 years, 11 months ago) by ad
Branch: newlock2
Changes since 1.72: +14 -35 lines
Diff to previous 1.72 (colored)

Sync with head.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:38 2006 UTC (7 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.73: +14 -14 lines
Diff to previous 1.73 (colored)

__unused removal on arguments; approved by core.

Revision 1.72.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:23 2006 UTC (8 years ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.72: +14 -35 lines
Diff to previous 1.72 (colored)

sync with head

Revision 1.73 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:26 2006 UTC (8 years ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.72: +14 -35 lines
Diff to previous 1.72 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.70.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:59 2006 UTC (8 years, 1 month ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.70: +7 -4 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

sync with head

Revision 1.70.8.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:25:35 2006 UTC (8 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.70.8.1: +4 -2 lines
Diff to previous 1.70.8.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

sync with head.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Sep 2 06:37:41 2006 UTC (8 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.71: +4 -2 lines
Diff to previous 1.71 (colored)

add missing initializers.

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:10:26 2006 UTC (8 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.67: +32 -70 lines
Diff to previous 1.67 (colored)

sync with head.

Revision 1.70.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:29 2006 UTC (8 years, 4 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.70: +5 -4 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Sync with head.

Revision 1.70.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:43 2006 UTC (8 years, 5 months ago) by tron
Branch: peter-altq
Changes since 1.70: +5 -4 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.70.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:55 2006 UTC (8 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.70: +5 -4 lines
Diff to previous 1.70 (colored)

sync with head.

Revision 1.71 / (download) - annotate - [select for diffs], Sun May 14 21:31:52 2006 UTC (8 years, 5 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.70: +5 -4 lines
Diff to previous 1.70 (colored)

integrate kauth.

Revision 1.70.10.2 / (download) - annotate - [select for diffs], Sat May 6 23:31:58 2006 UTC (8 years, 5 months ago) by christos
Branch: elad-kernelauth
Changes since 1.70.10.1: +3 -2 lines
Diff to previous 1.70.10.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.70.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:34:34 2006 UTC (8 years, 7 months ago) by elad
Branch: elad-kernelauth
Changes since 1.70: +4 -4 lines
Diff to previous 1.70 (colored)

Adapt to kernel authorization KPI.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:51 2005 UTC (8 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.69: +21 -21 lines
Diff to previous 1.69 (colored)

merge ktrace-lwp.

Revision 1.52.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:10:25 2005 UTC (8 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.52.2.7: +17 -56 lines
Diff to previous 1.52.2.7 (colored) next main 1.53 (colored)

Sync with HEAD. Here we go again...

Revision 1.69 / (download) - annotate - [select for diffs], Fri Sep 23 12:10:33 2005 UTC (9 years, 1 month ago) by jmmv
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.68: +4 -43 lines
Diff to previous 1.68 (colored)

Apply the NFS exports list rototill patch:

- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.

Revision 1.68 / (download) - annotate - [select for diffs], Tue Aug 30 20:08:01 2005 UTC (9 years, 1 month ago) by xtraeme
Branch: MAIN
Changes since 1.67: +19 -19 lines
Diff to previous 1.67 (colored)

Remove __P()

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:30 2005 UTC (9 years, 5 months ago) by kent
Branch: kent-audio2
Changes since 1.66: +3 -2 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

sync with -current

Revision 1.52.2.7 / (download) - annotate - [select for diffs], Fri Apr 1 14:31:34 2005 UTC (9 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.52.2.6: +3 -2 lines
Diff to previous 1.52.2.6 (colored)

Sync with HEAD.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Mar 29 02:41:05 2005 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.66: +3 -2 lines
Diff to previous 1.66 (colored)

- Define a VFS_ATTACH() macro that places a reference to a vfsops structure
  into the "vfsops" link set.
- Use VFS_ATTACH() where vfsops are declared for individual file systems.
- In vfsinit(), traverse the "vfsops" link set, rather than vfs_list_initial[].

Revision 1.52.2.6 / (download) - annotate - [select for diffs], Mon Jan 17 19:32:38 2005 UTC (9 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.52.2.5: +3 -2 lines
Diff to previous 1.52.2.5 (colored)

Sync with HEAD.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Jan 2 16:08:29 2005 UTC (9 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, matt-timespec, kent-audio1-beforemerge
Branch point for: kent-audio2
Changes since 1.65: +3 -2 lines
Diff to previous 1.65 (colored)

Add the system call and VFS infrastructure for file system extended
attributes.

From FreeBSD.

Revision 1.52.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:36:30 2004 UTC (10 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.52.2.4: +21 -21 lines
Diff to previous 1.52.2.4 (colored)

Fix the sync with head I botched.

Revision 1.52.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:54:15 2004 UTC (10 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.52.2.3: +23 -23 lines
Diff to previous 1.52.2.3 (colored)

Sync with HEAD.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Sep 13 19:19:45 2004 UTC (10 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.64: +4 -4 lines
Diff to previous 1.64 (colored)

set mp->mnt_stat.f_namemax on filesystem mount, for use by statvfs

Revision 1.52.2.3 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:39 2004 UTC (10 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.52.2.2: +8 -12 lines
Diff to previous 1.52.2.2 (colored)

Undo part of the ktrace/lwp changes.  In particular:
* Remove the "lwp *" argument that was added to vget().  Turns out
  that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
  and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
  above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
  just to appease the above.

Revision 1.52.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:54:05 2004 UTC (10 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.52.2.1: +72 -108 lines
Diff to previous 1.52.2.1 (colored)

Sync with HEAD

Revision 1.64 / (download) - annotate - [select for diffs], Sat May 29 14:28:41 2004 UTC (10 years, 4 months ago) by tron
Branch: MAIN
Changes since 1.63: +9 -6 lines
Diff to previous 1.63 (colored)

Don't leak memory in VFS_MOUNT() if set_statvfs_info() fails.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Sat May 29 09:03:41 2004 UTC (10 years, 4 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.58: +4 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Pull up revision 1.62 (requested by atatat in ticket #393):
Sysctl descriptions under vfs subtree

Revision 1.63 / (download) - annotate - [select for diffs], Tue May 25 14:54:57 2004 UTC (10 years, 5 months ago) by hannken
Branch: MAIN
Changes since 1.62: +3 -2 lines
Diff to previous 1.62 (colored)

Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.

- Not enabled by default. Needs kernel option FFS_SNAPSHOT.
- Change parameters of ffs_blkfree.
- Let the copy-on-write functions return an error so spec_strategy
    may fail if the copy-on-write fails.
- Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock.
- Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer.
- Add a function ffs_checkfreefile needed for snapshot creation.
- Add special handling of snapshot files:
    Snapshots may not be opened for writing and the attributes are read-only.
    Use the mtime as the time this snapshot was taken.
    Deny mtime updates for snapshot files.
- Add function transferlockers to transfer any waiting processes from
  one lock to another.
- Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through
  a vnode.
- Add snapshot support to ls, fsck_ffs and dump.

Welcome to 2.0F.

Approved by: Jason R. Thorpe <thorpej@netbsd.org>

Revision 1.62 / (download) - annotate - [select for diffs], Tue May 25 04:44:44 2004 UTC (10 years, 5 months ago) by atatat
Branch: MAIN
Changes since 1.61: +4 -3 lines
Diff to previous 1.61 (colored)

Sysctl descriptions under vfs subtree

Revision 1.61 / (download) - annotate - [select for diffs], Tue Apr 27 17:37:31 2004 UTC (10 years, 6 months ago) by jrf
Branch: MAIN
Changes since 1.60: +4 -4 lines
Diff to previous 1.60 (colored)

First pass for some caddr_t removal and changes to get rid of it where we
no longer use and/or need it

	- removed casts from unionfs, deadfs and fdesc
	  (there are more to hunt down still)
	- changed vfs_quotactl args argumet from caddr_t to void *
	- changed vfs_quotactl structures/callers to reflect the api change

Compiled fine and ran for about a day. Approved/reviewed by
christos@netbsd.org and gimpy@netbsd.org.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Apr 21 02:41:16 2004 UTC (10 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.59: +3 -2 lines
Diff to previous 1.59 (colored)

add sys/dirent.h

Revision 1.59 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:41 2004 UTC (10 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.58: +13 -13 lines
Diff to previous 1.58 (colored)

Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.58 / (download) - annotate - [select for diffs], Wed Mar 24 15:34:53 2004 UTC (10 years, 7 months ago) by atatat
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.57: +7 -5 lines
Diff to previous 1.57 (colored)

Tango on sysctl_createv() and flags.  The flags have all been renamed,
and sysctl_createv() now uses more arguments.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:24 2003 UTC (10 years, 10 months ago) by atatat
Branch: MAIN
Changes since 1.56: +19 -15 lines
Diff to previous 1.56 (colored)

Dynamic sysctl.

Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Sep 27 13:29:02 2003 UTC (11 years, 1 month ago) by darcy
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

Changes as discussed with itojun on tech-kern.  I have modified the enums
to have KFS or PFS differentiators.  Further I have wrapped the enum in
procfs in "#ifdef _KERNEL" as it is done in kernfs.

To see the discussion go to http://mail-index.NetBSD.org/tech-kern/2003/09/
and look for "Mismatched enums in include files" in the list.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Sep 26 03:08:18 2003 UTC (11 years, 1 month ago) by atatat
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Make kernfs peacefully co-exist with procfs.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Sep 8 06:51:54 2003 UTC (11 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.53: +29 -73 lines
Diff to previous 1.53 (colored)

add /kern/ipsecsa and /kern/ipsecsp, which can be inspected by setkey(8).
it allows easier access to ipsecsa/sp.  it works around problem where
setkey -D does not work with large number of ipsec SAs due to socket buffer
size.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Aug 7 16:32:37 2003 UTC (11 years, 2 months ago) by agc
Branch: MAIN
Changes since 1.52: +3 -7 lines
Diff to previous 1.52 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:51 2003 UTC (11 years, 3 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.52: +34 -30 lines
Diff to previous 1.52 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:41 2003 UTC (11 years, 3 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.51: +24 -24 lines
Diff to previous 1.51 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Jun 29 18:43:32 2003 UTC (11 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.50: +8 -12 lines
Diff to previous 1.50 (colored)

Undo part of the ktrace/lwp changes.  In particular:
* Remove the "lwp *" argument that was added to vget().  Turns out
  that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
  and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
  above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
  just to appease the above.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:02 2003 UTC (11 years, 4 months ago) by darrenr
Branch: MAIN
Changes since 1.49: +34 -30 lines
Diff to previous 1.49 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.49 / (download) - annotate - [select for diffs], Tue Apr 22 17:14:12 2003 UTC (11 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.48: +8 -2 lines
Diff to previous 1.48 (colored)

fix lkm malloc lossage.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Apr 16 21:44:23 2003 UTC (11 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.47: +6 -14 lines
Diff to previous 1.47 (colored)

PR/1796: John Kohl: statfs misbehaves under chrooted environments.

- Under chroot it displays only the visible filesystems with appropriate paths.
- The statfs f_mntonname gets adjusted to contain the real path from root.
- While was there, fixed a bug in ext2fs, locking problems with vfs_getfsstat(),
  and factored out some of the vfsop statfs() code to copy_statfs_info(). This
  fixes the problem where some filesystems forgot to set fsid.
- Made coda look more like a normal fs.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:46 2003 UTC (11 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.46: +6 -4 lines
Diff to previous 1.46 (colored)

Add extensible malloc types, adapted from FreeBSD.  This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.

Revision 1.39.2.7 / (download) - annotate - [select for diffs], Fri Oct 18 02:45:03 2002 UTC (12 years ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.39.2.6: +2 -0 lines
Diff to previous 1.39.2.6 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Catch up to -current.

Revision 1.40.2.3 / (download) - annotate - [select for diffs], Thu Oct 10 18:43:31 2002 UTC (12 years ago) by jdolecek
Branch: kqueue
Changes since 1.40.2.2: +7 -8 lines
Diff to previous 1.40.2.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.46 / (download) - annotate - [select for diffs], Sat Sep 21 18:09:29 2002 UTC (12 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.45: +4 -2 lines
Diff to previous 1.45 (colored)

MNT_GETARGS support

Revision 1.39.2.6 / (download) - annotate - [select for diffs], Tue Sep 17 21:22:39 2002 UTC (12 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.5: +3 -6 lines
Diff to previous 1.39.2.5 (colored) to branchpoint 1.39 (colored)

Catch up to -current.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Sep 6 13:23:58 2002 UTC (12 years, 1 month ago) by gehenna
Branch: MAIN
Changes since 1.44: +5 -8 lines
Diff to previous 1.44 (colored)

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Fri Sep 6 08:48:35 2002 UTC (12 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.40.2.1: +3 -3 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored)

sync kqueue branch with HEAD

Revision 1.43.8.2 / (download) - annotate - [select for diffs], Thu Aug 29 05:23:22 2002 UTC (12 years, 2 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.43.8.1: +3 -3 lines
Diff to previous 1.43.8.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

catch up with -current.

Revision 1.39.2.5 / (download) - annotate - [select for diffs], Thu Aug 1 02:46:30 2002 UTC (12 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.4: +3 -3 lines
Diff to previous 1.39.2.4 (colored) to branchpoint 1.39 (colored)

Catch up to -current.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jul 30 07:40:09 2002 UTC (12 years, 2 months ago) by soren
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

Die, qaddr_t, die! - mnt_data in struct mount is already effectively
a void *, so stop pretending otherwise.

Revision 1.43.8.1 / (download) - annotate - [select for diffs], Thu May 16 04:04:27 2002 UTC (12 years, 5 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.43: +5 -8 lines
Diff to previous 1.43 (colored)

Replace the direct-access to devsw table with calling devsw APIs.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:01:37 2002 UTC (12 years, 9 months ago) by thorpej
Branch: kqueue
Changes since 1.40: +5 -2 lines
Diff to previous 1.40 (colored)

Sync kqueue branch with -current.

Revision 1.39.2.4 / (download) - annotate - [select for diffs], Tue Jan 8 00:33:37 2002 UTC (12 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.3: +2 -3 lines
Diff to previous 1.39.2.3 (colored) to branchpoint 1.39 (colored)

Catch up to -current.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Nov 15 09:48:22 2001 UTC (12 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.42: +2 -3 lines
Diff to previous 1.42 (colored)

don't need <sys/types.h> when including <sys/param.h>

Revision 1.39.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:17:09 2001 UTC (12 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.2: +4 -1 lines
Diff to previous 1.39.2.2 (colored) to branchpoint 1.39 (colored)

Catch up to -current.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:09 2001 UTC (12 years, 11 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.41: +4 -1 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Nov 10 13:33:42 2001 UTC (12 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.41: +4 -1 lines
Diff to previous 1.41 (colored)

add RCSIDs

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:47:19 2001 UTC (13 years ago) by fvdl
Branch: thorpej-devvp
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Catch up with -current.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Fri Sep 21 22:36:37 2001 UTC (13 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.1: +2 -1 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored)

Catch up to -current.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Sep 15 16:12:58 2001 UTC (13 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored)

add a new VFS op, vfs_reinit, which is called when desiredvnodes is
adjusted via sysctl.  file systems that have hash tables which are
sized based on the value of this variable now resize those hash tables
using the new value.  the max number of FFS softdeps is also recalculated.

convert various file systems to use the <sys/queue.h> macros for
their hash tables.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:07:37 2001 UTC (13 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Catch up to -current.

Revision 1.40 / (download) - annotate - [select for diffs], Wed May 30 11:57:17 2001 UTC (13 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

use _KERNEL_OPT

Revision 1.35.8.2 / (download) - annotate - [select for diffs], Sun Feb 11 19:16:59 2001 UTC (13 years, 8 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35.8.1: +9 -4 lines
Diff to previous 1.35.8.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Feb 4 10:20:00 2001 UTC (13 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.38: +7 -2 lines
Diff to previous 1.38 (colored)

clean up some KERNFS_DIAGNOSTIC calls.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jan 22 12:17:38 2001 UTC (13 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const

Revision 1.35.8.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:46 2000 UTC (13 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35: +9 -2 lines
Diff to previous 1.35 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:09:32 2000 UTC (14 years, 4 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jun 10 18:27:03 2000 UTC (14 years, 4 months ago) by assar
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

make vfs_getnewfsid only take one argument and fetch the name of the
filesystem from the supplied mount argument.  also make makefstype
take a const parameter.  update all the callers.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Mar 16 18:08:25 2000 UTC (14 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.35: +8 -1 lines
Diff to previous 1.35 (colored)

Add new VFS op routine - vfs_done and call it on filesystem detach
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several
times.

For each leaf filesystem, add appropriate vfs_done routine.

Revision 1.35.14.1 / (download) - annotate - [select for diffs], Tue Dec 21 23:19:59 1999 UTC (14 years, 10 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.35: +4 -3 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".

Revision 1.35 / (download) - annotate - [select for diffs], Fri Feb 26 23:44:45 1999 UTC (15 years, 8 months ago) by wrstuden
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.34: +16 -5 lines
Diff to previous 1.34 (colored)

Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now
only handles the file handle to vnode conversion, and a new call,
vfs_checkexp(), performs the export verification.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Aug 9 20:51:08 1998 UTC (16 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.33: +7 -7 lines
Diff to previous 1.33 (colored)

bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jul 5 08:49:45 1998 UTC (16 years, 3 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.32: +5 -1 lines
Diff to previous 1.32 (colored)

* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Mar 1 02:21:04 1998 UTC (16 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.31: +27 -17 lines
Diff to previous 1.31 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:17 1998 UTC (16 years, 7 months ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +28 -100 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:09:57 1998 UTC (16 years, 7 months ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1: +115 -41 lines
Diff to previous 1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.31 / (download) - annotate - [select for diffs], Wed Feb 18 07:05:48 1998 UTC (16 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +10 -1 lines
Diff to previous 1.30 (colored)

Place a pointer to an array of our vnodeopv_desc *'s in our vfsops
structure, for use by vfs_attach().

Revision 1.29.10.1 / (download) - annotate - [select for diffs], Tue Sep 16 03:51:08 1997 UTC (17 years, 1 month ago) by thorpej
Branch: marc-pcmcia
Changes since 1.29: +6 -6 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Sep 10 13:44:20 1997 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.29: +6 -6 lines
Diff to previous 1.29 (colored)

PR/4098: Alan Barrett: Fix diagnostic printf formatting.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Dec 22 10:10:21 1996 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, thorpej-setroot, mrg-vm-swap, marc-pcmcia-bp, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (colored)

Change the second and third args to struct vfsops' (*vfs_mount)() to
'const char *', and 'void *', respectively.  The second arg is taken directly
from user arguments, and is const there, so must be const in the prototypes
and functions.  The third arg is also taken directly from user arguments.
It doesn't have to be changed, but since it's cleaner to keep the type
the same as the user arg's type, and I'm already making the 'const char *'
change...

Revision 1.28 / (download) - annotate - [select for diffs], Sun Oct 13 02:21:30 1996 UTC (18 years ago) by christos
Branch: MAIN
Changes since 1.27: +9 -9 lines
Diff to previous 1.27 (colored)

backout previous kprintf changes

Revision 1.27 / (download) - annotate - [select for diffs], Thu Oct 10 22:54:06 1996 UTC (18 years ago) by christos
Branch: MAIN
Changes since 1.26: +9 -9 lines
Diff to previous 1.26 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.26 / (download) - annotate - [select for diffs], Mon Apr 22 01:42:27 1996 UTC (18 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored)

remove include of <sys/cpu.h>

Revision 1.25 / (download) - annotate - [select for diffs], Fri Feb 9 22:40:22 1996 UTC (18 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.24: +43 -8 lines
Diff to previous 1.24 (colored)

miscfs prototype changes

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jun 18 14:47:27 1995 UTC (19 years, 4 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)

don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN

Revision 1.23 / (download) - annotate - [select for diffs], Thu Mar 9 12:05:52 1995 UTC (19 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

copy*str() should use size_t.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Mar 8 01:34:48 1995 UTC (19 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

use u_long for copyin*

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 18 09:34:26 1995 UTC (19 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Clean up the code to frob mnt_stat a (tiny) bit.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Dec 15 20:00:16 1994 UTC (19 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

Call foo_statfs() from a common place when mounting.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Fri Sep 16 18:00:24 1994 UTC (20 years, 1 month ago) by cgd
Branch: netbsd-1-0
CVS Tags: netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

from trunk, per mycroft

Revision 1.19 / (download) - annotate - [select for diffs], Thu Sep 15 03:42:39 1994 UTC (20 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

stat the file system at mount time, for `df -n', et al.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jun 29 06:34:27 1994 UTC (20 years, 4 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jun 15 22:54:40 1994 UTC (20 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Minor update from JSP after merging my changes.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 15 03:05:26 1994 UTC (20 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +11 -9 lines
Diff to previous 1.15 (colored)

Fix a bug in finding the raw root device.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jun 8 11:33:20 1994 UTC (20 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +54 -69 lines
Diff to previous 1.14 (colored)

Update to 4.4-Lite fs code, with local changes.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Apr 23 07:54:55 1994 UTC (20 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

make fs types consistent over new kernels.  also, some proto foo.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Apr 21 07:48:43 1994 UTC (20 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Convert mount, vnode, and buf structs to use <sys/queue.h>.  Also,
some knf and structure frobbing to do along with it.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Apr 14 04:05:56 1994 UTC (20 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.11: +10 -3 lines
Diff to previous 1.11 (colored)

fs types are names now.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Thu Jan 6 15:08:09 1994 UTC (20 years, 9 months ago) by pk
Branch: magnum
Changes since 1.10.2.2: +5 -5 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Re-instate EOPNOTSUPP

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 5 11:05:08 1994 UTC (20 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.10: +18 -17 lines
Diff to previous 1.10 (colored)

update with latest kernfs file system from jsp@sequent.com

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Tue Dec 28 16:21:43 1993 UTC (20 years, 10 months ago) by pk
Branch: magnum
Changes since 1.10.2.1: +321 -0 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)

Return ENODEV rather then EOPNOTSUPP for unsupported operations.

Revision 1.10.2.1, Mon Dec 20 12:39:10 1993 UTC (20 years, 10 months ago) by pk
Branch: magnum
Changes since 1.10: +0 -320 lines
FILE REMOVED

file kernfs_vfsops.c was added on branch magnum on 1993-12-28 16:21:43 +0000

Revision 1.10 / (download) - annotate - [select for diffs], Mon Dec 20 12:39:10 1993 UTC (20 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: magnum-base
Branch point for: magnum
Changes since 1.9: +34 -22 lines
Diff to previous 1.9 (colored)

pull load average and misc changes down from magnum

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 18 03:55:47 1993 UTC (20 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +13 -12 lines
Diff to previous 1.8 (colored)

Canonicalize all #includes.

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Fri Dec 3 21:09:25 1993 UTC (20 years, 10 months ago) by cgd
Changes since 1.8.2.2: +16 -5 lines
Diff to previous 1.8.2.2 (colored) next main 1.9 (colored)

don't try to get rootdev at vfs init time.  wait until kernfs mount time
to do it.  this is hackish, but it gets the job done, and is slightly
more robust than the previous way it was done...

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Mon Nov 29 16:03:20 1993 UTC (20 years, 11 months ago) by mycroft
Changes since 1.8.2.1: +22 -21 lines
Diff to previous 1.8.2.1 (colored)

Don't crash deferencing a null pointer if the raw root device was not found.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Sun Nov 14 22:34:51 1993 UTC (20 years, 11 months ago) by mycroft
Changes since 1.8: +12 -12 lines
Diff to previous 1.8 (colored)

Canonicalize all #includes.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 23 05:02:14 1993 UTC (21 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.7: +1 -33 lines
Diff to previous 1.7 (colored)

changes from 0.9-ALPHA2 to 0.9-BETA

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Fri Aug 20 07:17:33 1993 UTC (21 years, 2 months ago) by cgd
Branch: netbsd-0-9
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-RELEASE, netbsd-0-9-BETA
Changes since 1.7: +1 -33 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

kill old, badly placed incarnation of cdevvp

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 7 05:25:24 1993 UTC (21 years, 4 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA
Branch point for: netbsd-0-9
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

give various filesystems their own vnode types

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 7 04:56:39 1993 UTC (21 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

give miscfs filesystems their own mount structure malloc type.

Revision 1.5 / (download) - annotate - [select for diffs], Fri May 28 16:47:04 1993 UTC (21 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

add some more functionality: a setattr which supports chmod+chown+chgrp,
and the various support elsewhere to deal with it.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 27 02:00:45 1993 UTC (21 years, 7 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-8
Changes since 1.3: +36 -1 lines
Diff to previous 1.3 (colored)

added cdevvp (after taking it out of vfs_subr.c) because realized
that it was only needed here.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 27 00:37:09 1993 UTC (21 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.2: +27 -2 lines
Diff to previous 1.2 (colored)

added ".." and support for "rrootdev"

Revision 1.2 / (download) - annotate - [select for diffs], Thu Mar 25 06:00:23 1993 UTC (21 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.1: +28 -5 lines
Diff to previous 1.1 (colored)

changed copyright notice thanks to following statement:

Return-Path: jsp@compnews.co.uk
Received: from ben.uknet.ac.uk by postgres.Berkeley.EDU (5.61/1.29)
	id AA25983; Thu, 25 Mar 93 05:37:37 -0800
Received: from fennel.compnews.co.uk by ben.uknet.ac.uk via UKIP with SMTP (PP)
          id <g.05640-0@ben.uknet.ac.uk>; Thu, 25 Mar 1993 13:37:19 +0000
Received: from sage.compnews.co.uk by fennel.compnews.co.uk;
          Thu, 25 Mar 93 13:37:08 GMT
Message-Id: <28109.9303251337@sage.compnews.co.uk>
From: jsp@compnews.co.uk (Jan-Simon Pendry)
Date: Thu, 25 Mar 1993 13:37:05 +0100
In-Reply-To: cgd@postgres.berkeley.edu's message as of Mar 25, 5:32am.
Phone-Number-1: +44 430 432450
Phone-Number-2: +44 430 432480 x20
Fax-Number: +44 430 432022
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: cgd@postgres.berkeley.edu
Subject: Re: fdesc/kernfs/etc code...

You may put this copyright message on the source code:

/*
 * Copyright (c) 1990, 1992 Jan-Simon Pendry
 * All rights reserved.
 *
 * This code is derived from software contributed to Berkeley by
 * Jan-Simon Pendry.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. All advertising materials mentioning features or use of this software
 *    must display the following acknowledgement:
 *      This product includes software developed by the University of
 *      California, Berkeley and its contributors.
 * 4. Neither the name of the University nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 */

Revision 1.1 / (download) - annotate - [select for diffs], Tue Mar 23 23:56:54 1993 UTC (21 years, 7 months ago) by cgd
Branch: MAIN

files which implement the kern filesystem.  from Jan-Simon Pendry,
pendry@vangogh.cs.berkeley.edu

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>