The NetBSD Project

CVS log for src/sys/miscfs/kernfs/kernfs.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.37.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:31 2014 UTC (13 days, 22 hours ago) by tls
Branch: tls-maxphys
Changes since 1.37: +4 -16 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.37.12.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:05 2014 UTC (3 weeks, 2 days ago) by tls
Branch: tls-earlyentropy
Changes since 1.37: +4 -16 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Rebase.

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

Change kernfs from hashlist to vcache.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Jul 20 13:17:37 2014 UTC (6 weeks, 2 days ago) by hannken
Branch: MAIN
Changes since 1.38: +1 -4 lines
Diff to previous 1.38 (colored)

Remove another KAME IPSEC residue, "struct secasvar" and "struct secpolicy".

Revision 1.38 / (download) - annotate - [select for diffs], Thu Jul 17 08:21:34 2014 UTC (6 weeks, 5 days ago) by hannken
Branch: MAIN
Changes since 1.37: +3 -8 lines
Diff to previous 1.37 (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.36.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:34 2012 UTC (2 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.36: +1 -5 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with head

Revision 1.36.6.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:42 2012 UTC (2 years, 4 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.36: +1 -5 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync to latest -current.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Mar 22 20:34:38 2012 UTC (2 years, 5 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
Changes since 1.36: +1 -5 lines
Diff to previous 1.36 (colored)

remove KAME IPSEC, replaced by FAST_IPSEC

Revision 1.36 / (download) - annotate - [select for diffs], Tue Sep 27 01:23:05 2011 UTC (2 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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-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-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, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

define KERNFS_MAXNAMLEN and use it.`

Revision 1.32.44.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:04 2009 UTC (5 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.32: +10 -4 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:06 2009 UTC (5 years, 7 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.34: +10 -1 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Revision 1.32.40.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:27 2009 UTC (5 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.32.40.2: +9 -0 lines
Diff to previous 1.32.40.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:53 2009 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, 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, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.34: +10 -1 lines
Diff to previous 1.34 (colored)

merge christos-time_t

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:41 2008 UTC (5 years, 10 months ago) by haad
Branch: haad-dm
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.32.40.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:55 2008 UTC (5 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.32.40.1: +1 -0 lines
Diff to previous 1.32.40.1 (colored) to branchpoint 1.32 (colored)

Sync with HEAD.

Revision 1.32.46.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:57 2008 UTC (5 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.32: +2 -5 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Aug 1 16:55:48 2008 UTC (6 years, 1 month ago) by apb
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

#include <sys/tree.h> to get a definition for SPLAY_ENTRY.
Needed by third party code, such as lsof.

Revision 1.32.48.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:38:18 2008 UTC (6 years, 2 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.32: +1 -5 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with head.

Revision 1.32.40.1 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:16 2008 UTC (6 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.32: +1 -5 lines
Diff to previous 1.32 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Jun 28 01:34:06 2008 UTC (6 years, 2 months ago) by rumble
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.32: +1 -5 lines
Diff to previous 1.32 (colored)

Create sysctl entries during module initialisation and destroy them
appropriately.

Many of these file systems are now ready for modularisation.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:11 2007 UTC (7 years, 7 months ago) by ad
Branch: newlock2
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with head.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:17 2006 UTC (7 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.24.2.1: +5 -6 lines
Diff to previous 1.24.2.1 (colored) next main 1.25 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Dec 28 05:49:05 2006 UTC (7 years, 8 months ago) by alc
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-revivesa-base-1, wrstuden-revivesa-base, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp-base, ad-audiomp
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

fix comment (forgotten in rev 1.19):
 - pfsnode -> kernfs_node
 - procfs -> kernfs

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:59 2006 UTC (7 years, 11 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.26: +7 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

sync with head

Revision 1.27.6.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:57 2006 UTC (8 years, 1 month ago) by gdamore
Branch: gdamore-uart
Changes since 1.27: +3 -4 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Merge from HEAD.

Revision 1.26.8.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:53:38 2006 UTC (8 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.26.8.1: +3 -4 lines
Diff to previous 1.26.8.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jun 23 20:54:21 2006 UTC (8 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, netbsd-4-base, 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, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.30: +2 -3 lines
Diff to previous 1.30 (colored)

remove useless genop

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jun 23 20:30:11 2006 UTC (8 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

For internal types call kernfs_default_xread() directly, as no entry in
the splay tree has been added for these types. Fix kern/33797 by
Geoff C. Wing.
While here also fix writes the same way (probably broken for 2 years),
and properly implement KERNFS_XREAD.
The IPsec code could probably be moved out now, and use kernfs_alloctype().

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jun 23 16:26:59 2006 UTC (8 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.28: +6 -1 lines
Diff to previous 1.28 (colored)

Backout previous: of course the change
  "Allow optional /kern regular files to have custom read methods..."
works, it's used by Xen.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jun 23 14:59:40 2006 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.27: +0 -5 lines
Diff to previous 1.27 (colored)

PR/33797: Geoff C. Wing: kernfs files are not supplying information
Roll back the change:
    'Allow optional /kern regular files to have custom read methods...'
which does not work.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:10:25 2006 UTC (8 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.24: +17 -12 lines
Diff to previous 1.24 (colored)

sync with head.

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:05 2006 UTC (8 years, 4 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.26: +6 -1 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with head.

Revision 1.26.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 04:52:46 2006 UTC (8 years, 4 months ago) by elad
Branch: elad-kernelauth
Changes since 1.26: +6 -1 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

sync with head.

Revision 1.26.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:42 2006 UTC (8 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.26: +6 -1 lines
Diff to previous 1.26 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Mar 14 20:47:52 2006 UTC (8 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: gdamore-uart
Changes since 1.26: +6 -1 lines
Diff to previous 1.26 (colored)

Allow optionnal /kern regular files to have custom read methods, the same
way writes are handled: Add KERNFS_XREAD and KERNFS_FILEOP_WRITE files
operations definitions to kfsfileop, a xread function pointer to
kernfs_fileop, rename kernfs_read to kernfs_default_xread and add a
kernfs_read calling kernfs_try_fileop(KERNFS_FILEOP_READ).

Proposed on tech-kern on Feb 18 2006.

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

merge ktrace-lwp.

Revision 1.16.24.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:10:25 2005 UTC (8 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.24.4: +12 -13 lines
Diff to previous 1.16.24.4 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Sync with HEAD. Here we go again...

Revision 1.25 / (download) - annotate - [select for diffs], Tue Aug 30 20:08:01 2005 UTC (9 years ago) by xtraeme
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.24: +12 -12 lines
Diff to previous 1.24 (colored)

Remove __P()

Revision 1.23.10.1 / (download) - annotate - [select for diffs], Sat May 28 12:39:14 2005 UTC (9 years, 3 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Pull up revision 1.24 (requested by chs in ticket #329):
kernfs does not support mmap(), remove code that pretends that it does.

Revision 1.20.2.4 / (download) - annotate - [select for diffs], Tue May 24 19:50:41 2005 UTC (9 years, 3 months ago) by riz
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-3-RELEASE
Changes since 1.20.2.3: +1 -2 lines
Diff to previous 1.20.2.3 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Pull up revision 1.24 (requested by chs in ticket #1540):
kernfs does not support mmap(), remove code that pretends that it does.

Revision 1.20.2.3.2.1 / (download) - annotate - [select for diffs], Tue May 24 19:50:36 2005 UTC (9 years, 3 months ago) by riz
Branch: netbsd-2
CVS Tags: 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
Changes since 1.20.2.3: +1 -2 lines
Diff to previous 1.20.2.3 (colored) next main 1.20.2.4 (colored)

Pull up revision 1.24 (requested by chs in ticket #1540):
kernfs does not support mmap(), remove code that pretends that it does.

Revision 1.24 / (download) - annotate - [select for diffs], Fri May 20 13:16:54 2005 UTC (9 years, 3 months ago) by chs
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)

kernfs does not support mmap(), remove code that pretends that it does.

Revision 1.16.24.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:36:30 2004 UTC (9 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.24.3: +1 -1 lines
Diff to previous 1.16.24.3 (colored) to branchpoint 1.16 (colored)

Fix the sync with head I botched.

Revision 1.16.24.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:54:15 2004 UTC (9 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.24.2: +1 -1 lines
Diff to previous 1.16.24.2 (colored) to branchpoint 1.16 (colored)

Sync with HEAD.

Revision 1.16.24.2 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:39 2004 UTC (10 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.24.1: +3 -3 lines
Diff to previous 1.16.24.1 (colored) to branchpoint 1.16 (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.16.24.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:54:05 2004 UTC (10 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.16: +149 -26 lines
Diff to previous 1.16 (colored)

Sync with HEAD

Revision 1.20.2.3 / (download) - annotate - [select for diffs], Sun May 23 10:46:05 2004 UTC (10 years, 3 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, 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-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Changes since 1.20.2.2: +4 -0 lines
Diff to previous 1.20.2.2 (colored) to branchpoint 1.20 (colored)

Pull up revision 1.23 (requested by atatat in ticket #374):
Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.
This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.
linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).

Revision 1.23 / (download) - annotate - [select for diffs], Thu May 20 06:34:30 2004 UTC (10 years, 3 months ago) by atatat
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, matt-timespec, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3
Changes since 1.22: +5 -1 lines
Diff to previous 1.22 (colored)

Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.

This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.

linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Sat May 15 13:33:46 2004 UTC (10 years, 3 months ago) by tron
Branch: netbsd-2-0
Changes since 1.20.2.1: +75 -4 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored)

Pull up revision 1.22 (requested by cl in ticket #336):
Allow additional entries (files, subdirs) in kernfs.  Also allow
defining additional kfstypes and provide hooks to run arbitrary code
for any vnodeop on the additional types.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Fri May 14 06:32:21 2004 UTC (10 years, 3 months ago) by jdc
Branch: netbsd-2-0
Changes since 1.20: +4 -3 lines
Diff to previous 1.20 (colored)

Pull up revision 1.21 (requested by cl in ticket #322).

Make lookup and readdir return the same inode number.  kernfs_readdir
now uses kernfs_allocvp to map from kernfs entry to inode number,
kernfs_allocvp is now the only place where entries are mapped to inode
numbers.  Also make KERNFS_FILENO not return random results for entries
not in kern_targets.

Revision 1.22 / (download) - annotate - [select for diffs], Fri May 7 15:33:17 2004 UTC (10 years, 3 months ago) by cl
Branch: MAIN
Changes since 1.21: +75 -4 lines
Diff to previous 1.21 (colored)

Allow additional entries (files, subdirs) in kernfs.  Also allow
defining additional kfstypes and provide hooks to run arbitrary code
for any vnodeop on the additional types.

Revision 1.21 / (download) - annotate - [select for diffs], Fri May 7 15:06:15 2004 UTC (10 years, 3 months ago) by cl
Branch: MAIN
Changes since 1.20: +4 -3 lines
Diff to previous 1.20 (colored)

Make lookup and readdir return the same inode number.  kernfs_readdir
now uses kernfs_allocvp to map from kernfs entry to inode number,
kernfs_allocvp is now the only place where entries are mapped to inode
numbers.  Also make KERNFS_FILENO not return random results for entries
not in kern_targets.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Sep 27 13:29:02 2003 UTC (10 years, 11 months ago) by darcy
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.19: +16 -16 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Fri Sep 26 03:08:18 2003 UTC (10 years, 11 months ago) by atatat
Branch: MAIN
Changes since 1.18: +16 -16 lines
Diff to previous 1.18 (colored)

Make kernfs peacefully co-exist with procfs.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Sep 8 06:51:53 2003 UTC (10 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.17: +72 -21 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Thu Aug 7 16:32:37 2003 UTC (11 years ago) by agc
Branch: MAIN
Changes since 1.16: +2 -6 lines
Diff to previous 1.16 (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.12.14.2 / (download) - annotate - [select for diffs], Mon Mar 12 13:31:44 2001 UTC (13 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.12.14.1: +2 -2 lines
Diff to previous 1.12.14.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 21 21:39:54 2001 UTC (13 years, 6 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, 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, nathanw_sa_end, nathanw_sa_before_merge, nathanw_sa_base, nathanw_sa, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, kqueue, ifpoll-base, ifpoll, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Branch point for: ktrace-lwp
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

make some more constant arrays 'const'

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jan 27 12:28:35 2001 UTC (13 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)

Back previous out, it was right the way it was. Seems like I should
attend some basic arithmetic lessons to avoid such mistakes :-/

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jan 27 11:42:41 2001 UTC (13 years, 7 months ago) by jdolecek
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

fix 'physmem' - the actual value we want is ctob(physmem)

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

Update thorpej_scsipi to -current as of a month ago

Revision 1.12.24.1 / (download) - annotate - [select for diffs], Fri Jul 14 18:11:56 2000 UTC (14 years, 1 month ago) by thorpej
Branch: netbsd-1-5
CVS Tags: 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
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Update from trunk:
Sprinkle some const.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jul 14 07:21:50 2000 UTC (14 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Sprinkle some const.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 1 02:21:04 1998 UTC (16 years, 6 months ago) by fvdl
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, minoura-xpg4dl, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, eeh-paddr_t-base, eeh-paddr_t, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: thorpej_scsipi, netbsd-1-5
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (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, 6 months ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +13 -2 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:58 1998 UTC (16 years, 6 months ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1: +33 -7 lines
Diff to previous 1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.11 / (download) - annotate - [select for diffs], Sat May 10 22:04:13 1997 UTC (17 years, 3 months ago) by pk
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, 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-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Changes since 1.10: +19 -1 lines
Diff to previous 1.10 (colored)

Move `struct kern_target' definition into kernfs.h

Revision 1.10 / (download) - annotate - [select for diffs], Fri Feb 9 22:40:21 1996 UTC (18 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-setroot, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

miscfs prototype changes

Revision 1.9 / (download) - annotate - [select for diffs], Wed Mar 29 22:08:22 1995 UTC (19 years, 5 months ago) by briggs
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

KERNEL -> _KERNEL

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 29 06:34:26 1994 UTC (20 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, 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, netbsd-1-0
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

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

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

Minor update from JSP after merging my changes.

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

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

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jan 5 11:04:54 1994 UTC (20 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.4: +9 -47 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Fri May 28 16:47:02 1993 UTC (21 years, 3 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, magnum-base, magnum
Changes since 1.3: +42 -2 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 27 00:37:08 1993 UTC (21 years, 5 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-8
Changes since 1.2: +3 -1 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:22 1993 UTC (21 years, 5 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:53 1993 UTC (21 years, 5 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>