The NetBSD Project

CVS log for src/sys/fs/cd9660/cd9660_lookup.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / fs / cd9660

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20.2.4 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:26 2014 UTC (2 months ago) by tls
Branch: tls-maxphys
Changes since 1.20.2.3: +18 -48 lines
Diff to previous 1.20.2.3 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:53 2014 UTC (2 months, 2 weeks ago) by tls
Branch: tls-earlyentropy
Changes since 1.26: +15 -48 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Rebase.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jun 16 09:55:49 2014 UTC (4 months, 1 week ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base, netbsd-7, HEAD
Changes since 1.28: +7 -41 lines
Diff to previous 1.28 (colored)

Change cd9660 from hashlist to vcache.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jun 14 07:39:28 2014 UTC (4 months, 1 week ago) by hannken
Branch: MAIN
Changes since 1.27: +10 -7 lines
Diff to previous 1.27 (colored)

Remove the hints "isodir" and "relocated" from cd9660_vget_internal()
and always reread the directory entry by inumber.  For directories
the directory entry is always its "." entry.

Always read directories via the device vnode to prevent buffer cache
inconsistency.  Keep i_devvp as a hint for fstat(1) and friends and
always use im_devvp for reads.  No need to vref()/vrele() i_devvp.

The additional bread is either cached because cd9660_lookup() just
released the buffer or will be used in the near future when the
directory gets traversed during lookup.

No objections on tech-kern@

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jun 3 19:30:30 2014 UTC (4 months, 3 weeks ago) by joerg
Branch: MAIN
Changes since 1.26: +4 -6 lines
Diff to previous 1.26 (colored)

Introduce two helper functions to centralise the namecache statistics
in vfs_cache.c. Use consistent locking around the per-cpu data.

Revision 1.19.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:41:00 2014 UTC (5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.19.2.3: +11 -8 lines
Diff to previous 1.19.2.3 (colored) to branchpoint 1.19 (colored) next main 1.20 (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.25.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:04 2014 UTC (5 months, 1 week ago) by rmind
Branch: rmind-smpnet
Changes since 1.25: +6 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.26 / (download) - annotate - [select for diffs], Fri Feb 7 15:29:21 2014 UTC (8 months, 2 weeks 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, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.25: +6 -3 lines
Diff to previous 1.25 (colored)

Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jun 23 07:28:36 2013 UTC (16 months ago) by dholland
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of
the following symbols so as to disambiguate fully. (Christos already
did the lfs ones.)

   lblkno
   lblktosize
   lfragtosize
   numfrags
   blkroundup
   fragroundup

Revision 1.20.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 06:18:27 2013 UTC (16 months ago) by tls
Branch: tls-maxphys
Changes since 1.20.2.2: +4 -4 lines
Diff to previous 1.20.2.2 (colored) to branchpoint 1.20 (colored)

resync from head

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 19 18:16:53 2013 UTC (16 months ago) by dholland
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

blkoff() -> cd9660_blkoff()
blksize() -> cd9660_blksize()

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:46 2013 UTC (19 months, 4 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.20.2.1: +2 -3 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored)

resync with head

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:18 2013 UTC (21 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.19.2.2: +2 -3 lines
Diff to previous 1.19.2.2 (colored) to branchpoint 1.19 (colored)

sync with head

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:38 2013 UTC (21 months, 1 week ago) by yamt
Branch: yamt-pagecache
Changes since 1.19.2.1: +8 -6 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored)

sync with (a bit old) head

Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 20 08:03:42 2012 UTC (22 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base8, khorben-n900, agc-symver-base, agc-symver
Changes since 1.22: +2 -3 lines
Diff to previous 1.22 (colored)

Change bread() and breadn() to never return a buffer on
error and modify all callers to not brelse() on error.

Welcome to 6.99.16

PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:39 2012 UTC (23 months ago) by tls
Branch: tls-maxphys
Changes since 1.20: +8 -6 lines
Diff to previous 1.20 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 5 17:27:37 2012 UTC (23 months, 2 weeks ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.21: +6 -5 lines
Diff to previous 1.21 (colored)

Excise struct componentname from the namecache.

This uglifies the interface, because several operations need to be
passed the namei flags and cache_lookup also needs for the time being
to be passed cnp->cn_nameiop. Nonetheless, it's a net benefit.

The glop should be able to go away eventually but requires structural
cleanup elsewhere first.

This change requires a kernel bump.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Nov 5 17:24:09 2012 UTC (23 months, 2 weeks ago) by dholland
Branch: MAIN
Changes since 1.20: +5 -4 lines
Diff to previous 1.20 (colored)

Disentangle the namecache from the internals of namei.

 - Move the namecache's hash computation to inside the namecache code,
instead of being spread out all over the place. Remove cn_hash from
struct componentname and delete all uses of it.

 - It is no longer necessary (if it ever was) for cache_lookup and
cache_lookup_raw to clear MAKEENTRY from cnp->cn_flags for the cases
that cache_enter already checks for.

 - Rearrange the interface of cache_lookup (and cache_lookup_raw) to
make it somewhat simpler, to exclude certain nonexistent error
conditions, and (most importantly) to make it not require write access
to cnp->cn_flags.

This change requires a kernel bump.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:22 2012 UTC (23 months, 3 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.19: +6 -10 lines
Diff to previous 1.19 (colored)

sync with head

Revision 1.19.8.1 / (download) - annotate - [select for diffs], Sun Aug 12 12:59:50 2012 UTC (2 years, 2 months ago) by martin
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.19: +6 -10 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Pull up following revision(s) (requested by manu in ticket #484):
	sys/fs/nilfs/nilfs_vnops.c: revision 1.18
	sys/ufs/ufs/ufs_lookup.c: revision 1.117
	sys/nfs/nfs_vnops.c: revision 1.295
	sys/ufs/chfs/chfs_vnops.c: revision 1.8
	sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.70
	sys/fs/unionfs/unionfs_vnops.c: revision 1.6
	sys/kern/vfs_cache.c: revision 1.89
	sys/fs/efs/efs_vnops.c: revision 1.26
	sys/fs/hfs/hfs_vnops.c: revision 1.26
	sys/fs/adosfs/adlookup.c: revision 1.16
	sys/fs/puffs/puffs_vnops.c: revision 1.168
	sys/fs/tmpfs/tmpfs_vnops.c: revision 1.98
	sys/fs/ntfs/ntfs_vnops.c: revision 1.52
	sys/fs/cd9660/cd9660_lookup.c: revision 1.20
	sys/fs/msdosfs/msdosfs_lookup.c: revision 1.24
	sys/fs/smbfs/smbfs_vnops.c: revision 1.80
	sys/fs/udf/udf_vnops.c: revision 1.72
	sys/fs/filecorefs/filecore_lookup.c: revision 1.14
	sys/fs/puffs/puffs_node.c: revision 1.25
Move some the test for MAKEENTRY into the cache_enter(9).  Make some
variables in vfs_cache.c static, __read_mostly, etc.
No objection on tech-kern@.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 22 00:53:18 2012 UTC (2 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.19: +6 -10 lines
Diff to previous 1.19 (colored)

Move some the test for MAKEENTRY into the cache_enter(9).  Make some
variables in vfs_cache.c static, __read_mostly, etc.

No objection on tech-kern@.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Sep 27 01:27:44 2011 UTC (3 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, 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
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

use ISO_MAXNAMLEN instead of NAME_MAX

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:14 2010 UTC (4 years, 2 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.15.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:32 2010 UTC (4 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15.4.2: +3 -3 lines
Diff to previous 1.15.4.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:49 2010 UTC (4 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with head

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:09 2010 UTC (4 years, 4 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, 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.17: +3 -3 lines
Diff to previous 1.17 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.15.4.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:13 2010 UTC (4 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15.4.1: +3 -3 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored)

sync with head

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 8 11:35:08 2010 UTC (4 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live
years ago when the kernel was modified to not alter ABI based on
DIAGNOSTIC, and now just call the respective function interfaces
(in lowercase).  Plenty of mix'n match upper/lowercase has creeped
into the tree since then.  Nuke the macros and convert all callsites
to lowercase.

no functional change

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:42 2009 UTC (5 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

sync with head.

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:46 2008 UTC (6 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

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

Revision 1.14.14.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:04 2008 UTC (6 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14.14.1: +1 -1 lines
Diff to previous 1.14.14.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Sync with HEAD.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:59 2008 UTC (6 years, 5 months ago) by yamt
Branch: yamt-pf42
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Fri May 16 09:21:59 2008 UTC (6 years, 5 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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, mjf-devfs2-base, matt-premerge-20091211, 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, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Make sure all cached buffers with valid, not yet written data have been
run through copy-on-write.  Call fscow_run() with valid data where possible.

The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against
endless recursion.

- Add a flag B_MODIFY to bread(), breada() and breadn().  If set the caller
  intends to modify the buffer returned.

- Always run copy-on-write on buffers returned from ffs_balloc().

- Add new function ffs_getblk() that gets a buffer, assigns a new blkno,
  may clear the buffer and runs copy-on-write.  Process possible errors
  from getblk() or fscow_run().  Part of PR kern/38664.

Welcome to 4.99.63

Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>

Revision 1.14.14.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:59 2008 UTC (6 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14: +3 -4 lines
Diff to previous 1.14 (colored)

Sync with HEAD.

Revision 1.14.10.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:12 2008 UTC (6 years, 7 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.14: +3 -4 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.12.20.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:55 2008 UTC (6 years, 7 months ago) by matt
Branch: matt-armv6
Changes since 1.12.20.2: +3 -4 lines
Diff to previous 1.12.20.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with HEAD

Revision 1.7.4.5 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:32 2008 UTC (6 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.4.4: +3 -4 lines
Diff to previous 1.7.4.4 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Feb 27 19:43:36 2008 UTC (6 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa
Changes since 1.14: +3 -4 lines
Diff to previous 1.14 (colored)

Convert to ansi definitions from old-style definitons.

Revision 1.12.20.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:55:40 2008 UTC (6 years, 9 months ago) by matt
Branch: matt-armv6
Changes since 1.12.20.1: +3 -3 lines
Diff to previous 1.12.20.1 (colored) to branchpoint 1.12 (colored)

sync with HEAD

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:12 2007 UTC (6 years, 10 months ago) by mjf
Branch: mjf-devfs
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.7.4.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:50 2007 UTC (6 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.4.3: +3 -3 lines
Diff to previous 1.7.4.3 (colored) to branchpoint 1.7 (colored)

sync with head

Revision 1.12.18.2 / (download) - annotate - [select for diffs], Tue Nov 27 19:37:34 2007 UTC (6 years, 10 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.12.18.1: +3 -3 lines
Diff to previous 1.12.18.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:42 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, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (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.12.20.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:03 2007 UTC (6 years, 11 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.12: +7 -7 lines
Diff to previous 1.12 (colored)

sync with HEAD

Revision 1.7.4.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:34:59 2007 UTC (7 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.4.2: +7 -7 lines
Diff to previous 1.7.4.2 (colored) to branchpoint 1.7 (colored)

sync with head.

Revision 1.12.18.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:11 2007 UTC (7 years ago) by joerg
Branch: jmcneill-pm
Changes since 1.12: +7 -7 lines
Diff to previous 1.12 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.12.22.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:25 2007 UTC (7 years ago) by yamt
Branch: yamt-x86pmap
Changes since 1.12: +7 -7 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Oct 8 18:04:02 2007 UTC (7 years ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs
Changes since 1.12: +7 -7 lines
Diff to previous 1.12 (colored)

Merge brelse() changes from the vmlocking branch.

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Sun May 13 17:36:30 2007 UTC (7 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.12: +7 -7 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

- Pass the error number and residual count to biodone(), and let it handle
  setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
  of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
  create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.

Revision 1.11.12.1 / (download) - annotate - [select for diffs], Sat Feb 17 23:27:43 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.11: +13 -34 lines
Diff to previous 1.11 (colored) next main 1.12 (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.11.8.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:05 2007 UTC (7 years, 9 months ago) by ad
Branch: newlock2
Changes since 1.11: +13 -34 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with head.

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:56 2006 UTC (7 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.4.1: +13 -34 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored)

sync with head.

Revision 1.11.10.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:37 2006 UTC (7 years, 10 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.11: +13 -34 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Dec 9 16:11:50 2006 UTC (7 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: yamt-x86pmap, vmlocking, matt-armv6, jmcneill-pm
Changes since 1.11: +13 -34 lines
Diff to previous 1.11 (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.9.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:56:56 2006 UTC (8 years, 1 month ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.9: +5 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:23 2006 UTC (8 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7: +18 -22 lines
Diff to previous 1.7 (colored)

sync with head.

Revision 1.9.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:37:51 2006 UTC (8 years, 4 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.9.6.1: +4 -3 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Sync with head.

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

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

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:35 2006 UTC (8 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.9: +5 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.11 / (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-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, netbsd-4-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2, netbsd-4
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored)

integrate kauth.

Revision 1.9.10.3 / (download) - annotate - [select for diffs], Sat May 6 23:31:29 2006 UTC (8 years, 5 months ago) by christos
Branch: elad-kernelauth
Changes since 1.9.10.2: +3 -2 lines
Diff to previous 1.9.10.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (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.9.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:55 2006 UTC (8 years, 6 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

Sync with head.

Revision 1.9.10.2 / (download) - annotate - [select for diffs], Wed Apr 19 05:03:55 2006 UTC (8 years, 6 months ago) by elad
Branch: elad-kernelauth
Changes since 1.9.10.1: +3 -2 lines
Diff to previous 1.9.10.1 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Apr 15 04:01:41 2006 UTC (8 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

Coverity CID 1135: Add KASSERT before deref.

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

Adapt to kernel authorization KPI.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:25 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
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

merge ktrace-lwp.

Revision 1.5.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:26 2005 UTC (8 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.6: +14 -20 lines
Diff to previous 1.5.2.6 (colored) next main 1.6 (colored)

Sync with HEAD. Here we go again...

Revision 1.8 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:58 2005 UTC (8 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.7: +14 -20 lines
Diff to previous 1.7 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Thu Oct 20 05:16:52 2005 UTC (9 years ago) by yamt
Branch: yamt-vop
Changes since 1.7: +14 -20 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

adapt cd9660.

Revision 1.6.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:22 2005 UTC (9 years, 5 months ago) by kent
Branch: kent-audio2
Changes since 1.6: +18 -18 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with -current

Revision 1.6.10.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:06 2005 UTC (9 years, 7 months ago) by yamt
Branch: yamt-km
Changes since 1.6: +18 -18 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.5.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:51:29 2005 UTC (9 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.5: +18 -18 lines
Diff to previous 1.5.2.5 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.7 / (download) - annotate - [select for diffs], Sat Feb 26 22:58:55 2005 UTC (9 years, 7 months ago) by perry
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, kent-audio2-base
Branch point for: yamt-vop, yamt-lazymbuf
Changes since 1.6: +18 -18 lines
Diff to previous 1.6 (colored)

nuke trailing whitespace

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

Fix the sync with head I botched.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:52:37 2004 UTC (10 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.3: +3 -3 lines
Diff to previous 1.5.2.3 (colored)

Sync with HEAD.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:36 2004 UTC (10 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.2: +4 -4 lines
Diff to previous 1.5.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.5.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:23 2004 UTC (10 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.1: +3 -7 lines
Diff to previous 1.5.2.1 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:34 2003 UTC (11 years, 2 months ago) by agc
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, 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-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-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, matt-timespec, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.5: +3 -7 lines
Diff to previous 1.5 (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.5.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:28 2003 UTC (11 years, 3 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.5: +5 -5 lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:07 2003 UTC (11 years, 3 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 29 18:43:23 2003 UTC (11 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:49 2003 UTC (11 years, 4 months ago) by darrenr
Branch: MAIN
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (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.2 / (download) - annotate - [select for diffs], Mon Jan 20 02:25:49 2003 UTC (11 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.1: +2 -4 lines
Diff to previous 1.1 (colored)

Remove variable that is only assigned too but not referenced.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Dec 29 19:55:35 2002 UTC (11 years, 9 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.2.1: +470 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

With with HEAD.

Revision 1.1.2.1, Mon Dec 23 17:52:08 2002 UTC (11 years, 10 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.1: +0 -470 lines
FILE REMOVED

file cd9660_lookup.c was added on branch nathanw_sa on 2002-12-29 19:55:35 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Mon Dec 23 17:52:08 2002 UTC (11 years, 10 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Branch point for: nathanw_sa

move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660

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>