The NetBSD Project

CVS log for src/sys/ufs/ext2fs/ext2fs_alloc.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / ufs / ext2fs

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.56 / (download) - annotate - [select for diffs], Sat Aug 26 22:08:22 2023 UTC (6 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: triaxx-drm, thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

fix incorrect test

Revision 1.55 / (download) - annotate - [select for diffs], Sat Aug 26 21:37:28 2023 UTC (6 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.54: +99 -3 lines
Diff to previous 1.54 (colored)

Fix metadata_cksum (Vladimir Serbinenko)

Current code always assumes that CG uses crc16. Yet when metadata_cksum is
enabled then it uses truncated crc32c. This patch doesn't implement full
metadata_cksum, just allows volumes with metadata_cksum to be mounted
read-only.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Aug 26 05:22:50 2023 UTC (6 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.53: +4 -5 lines
Diff to previous 1.53 (colored)

ext2fs: Nix trailing whitespace.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Aug 25 16:50:23 2023 UTC (6 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.52: +115 -73 lines
Diff to previous 1.52 (colored)

Support INCOMPAT_64BIT on ext4 (Vladimir 'phcoder' Serbinenko)

Revision 1.52 / (download) - annotate - [select for diffs], Sun May 28 16:38:55 2017 UTC (6 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, matt-nb8-mediatek-base, matt-nb8-mediatek, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.51: +6 -31 lines
Diff to previous 1.51 (colored)

Change ext2fs to use vcache_new like we did for ffs:
- Change ext2fs_valloc to return an inode number.
- Make ext2fs_makeinode private to ext2fs_vnops.c and
  pass vattr instead of mode.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Aug 20 19:53:43 2016 UTC (7 years, 6 months ago) by jdolecek
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.50: +6 -3 lines
Diff to previous 1.50 (colored)

modify the comment to note code needs to brele() to have a shot on actually
working

Revision 1.50 / (download) - annotate - [select for diffs], Sat Aug 20 19:51:50 2016 UTC (7 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.49: +5 -2 lines
Diff to previous 1.49 (colored)

#if 0 the check for ext2fs_mapsearch() failure (similar what was done
for ffs counterpart), it actually never fails, it panics instead

Revision 1.49 / (download) - annotate - [select for diffs], Sat Aug 20 19:47:44 2016 UTC (7 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.48: +200 -22 lines
Diff to previous 1.48 (colored)

add support for GDT_CSUM AKA uninit_bg feature

Revision 1.48 / (download) - annotate - [select for diffs], Sat Aug 13 07:40:10 2016 UTC (7 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.47: +20 -20 lines
Diff to previous 1.47 (colored)

KNF, no functional changes...

Revision 1.47 / (download) - annotate - [select for diffs], Wed Aug 3 21:53:02 2016 UTC (7 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: pgoyette-localcount-20160806
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

support arbitrary ext3/ext4 inode size, add all the new ext4 fields ext2fs_dinode, and add support for loading the extra inode data

Revision 1.46 / (download) - annotate - [select for diffs], Sat Mar 28 19:24:04 2015 UTC (8 years, 11 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, jaromird-ext3
Branch point for: pgoyette-localcount
Changes since 1.45: +6 -6 lines
Diff to previous 1.45 (colored)

Remove the 'cred' argument from bread(). Remove a now unused var in
ffs_snapshot.c. Update the man page accordingly.

ok hannken@

Revision 1.45 / (download) - annotate - [select for diffs], Sun Jun 23 02:06:05 2013 UTC (10 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, 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, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored)

fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)

Revision 1.44 / (download) - annotate - [select for diffs], Thu Dec 20 08:03:44 2012 UTC (11 years, 3 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base8, khorben-n900, agc-symver-base, agc-symver
Changes since 1.43: +2 -6 lines
Diff to previous 1.43 (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.43 / (download) - annotate - [select for diffs], Wed Nov 21 23:11:23 2012 UTC (11 years, 3 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Write support for the Ext4 Read-only Compatible Feature "huge_file".

Primarily, this feature extends the inode block count field to 48 bits.
Additionally, this feature allows this field to be represented in file
system block size units rather than DEV_BSIZE units.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Mar 6 04:46:26 2011 UTC (13 years ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-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-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, 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, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.41: +13 -21 lines
Diff to previous 1.41 (colored)

{ffs_nodealloccg,ext2fs_nodealloccg,ext2fs_mapsearch}: use XOR and ffs()
to find free bits in the inode and block bitmaps, instead of the loop.

Obtained from FreeBSD (changes by jhb).

Revision 1.41 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:17 2009 UTC (14 years, 5 months ago) by bouyer
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, matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.40: +2 -7 lines
Diff to previous 1.40 (colored)

Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !

Revision 1.40 / (download) - annotate - [select for diffs], Sat Sep 12 11:35:46 2009 UTC (14 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.39: +4 -5 lines
Diff to previous 1.39 (colored)

Whitespace nits.

Revision 1.39 / (download) - annotate - [select for diffs], Thu May 7 19:26:08 2009 UTC (14 years, 10 months ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-base
Changes since 1.38: +4 -3 lines
Diff to previous 1.38 (colored)

Introduce several actions/requests for authorizing file-system related
operations, specifically quota and block allocation from reserved space.

Modify ufs_quotactl() to accomodate passing "mp" earlier by vfs_busy()ing
it a little bit higher.

Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/04/26/msg004936.html

Note that the umapfs request mentioned in this thread was NOT added as
there is still on-going discussion regarding the proper implementation.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:56 2009 UTC (15 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.37: +11 -8 lines
Diff to previous 1.37 (colored)

merge christos-time_t

Revision 1.37 / (download) - annotate - [select for diffs], Sun Nov 23 10:09:25 2008 UTC (15 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

add support for 32 bit uid/gid fields in ext2, but only do so for
when the revision is > REV0.

Revision 1.36 / (download) - annotate - [select for diffs], Fri May 16 09:22:00 2008 UTC (15 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, 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, netbsd-5-base, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5, haad-dm
Changes since 1.35: +6 -6 lines
Diff to previous 1.35 (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.35 / (download) - annotate - [select for diffs], Mon Oct 8 18:01:27 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-pf42-baseX, yamt-pf42-base, 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, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, 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
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, vmlocking2, mjf-devfs2, christos-time_t
Changes since 1.34: +6 -6 lines
Diff to previous 1.34 (colored)

Merge ffs locking & brelse changes from the vmlocking branch.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jan 4 16:55:29 2007 UTC (17 years, 2 months ago) by elad
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, 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.33: +4 -3 lines
Diff to previous 1.33 (colored)

Consistent usage of KAUTH_GENERIC_ISSUSER.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Dec 9 22:07:48 2006 UTC (17 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3
Changes since 1.32: +5 -3 lines
Diff to previous 1.32 (colored)

several ext2fs fixes provided by Barry Bouwsma:
 - set ip->i_e2fs_dtime to time_second, not time_uptime.
 - don't allow ipref to go negative
 - fs->e2fs.e2fs_icount is a valid inode number, allow it.

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

__unused removal on arguments; approved by core.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:51 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

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

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jun 7 22:34:18 2006 UTC (17 years, 9 months ago) by kardel
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.29 / (download) - annotate - [select for diffs], Sun May 14 21:32:21 2006 UTC (17 years, 10 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.28: +8 -7 lines
Diff to previous 1.28 (colored)

integrate kauth.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:25 2005 UTC (18 years, 3 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.27: +2 -2 lines
Diff to previous 1.27 (colored)

merge ktrace-lwp.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Nov 2 12:39:00 2005 UTC (18 years, 4 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.26: +13 -25 lines
Diff to previous 1.26 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.26 / (download) - annotate - [select for diffs], Tue Aug 30 22:01:12 2005 UTC (18 years, 6 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.25: +23 -52 lines
Diff to previous 1.25 (colored)

* Remove __P()
* Use ANSI function declarations on ext2fs and mfs

Revision 1.25 / (download) - annotate - [select for diffs], Fri Aug 19 02:04:08 2005 UTC (18 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.24: +11 -10 lines
Diff to previous 1.24 (colored)

64 bit inode changes.

Revision 1.24 / (download) - annotate - [select for diffs], Sun May 29 21:25:24 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

- sprinkle const
- avoid shadow variables.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 26 22:32:20 2005 UTC (19 years ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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
Changes since 1.22: +8 -8 lines
Diff to previous 1.22 (colored)

nuke trailing whitespace

Revision 1.22 / (download) - annotate - [select for diffs], Mon Mar 22 19:23:08 2004 UTC (20 years ago) by bouyer
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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.21: +12 -13 lines
Diff to previous 1.21 (colored)

Fix disclaimer in my copyright. Pointed out by Thomas Klausner.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Oct 5 17:48:49 2003 UTC (20 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.20: +5 -7 lines
Diff to previous 1.20 (colored)

Remove references to University of California from my copyright notices.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:24 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.19: +33 -3 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:31 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

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

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 29 18:43:39 2003 UTC (20 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:23 2003 UTC (20 years, 8 months ago) by darrenr
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Thu Apr 24 08:05:35 2003 UTC (20 years, 11 months ago) by gmcgarry
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

More ufs2 merge fall-out.  Pass the correct pointer to the dinode
for clearing.  Fixes PR#21241.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 24 21:55:19 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.14: +31 -29 lines
Diff to previous 1.14 (colored)

Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 27 15:38:02 2002 UTC (21 years, 5 months ago) by provos
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.13: +4 -4 lines
Diff to previous 1.13 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Nov 8 02:39:06 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, 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, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.12: +4 -1 lines
Diff to previous 1.12 (colored)

add RCSID

Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 26 05:56:07 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

remove #include <ufs/ufs/quota.h> where it was just to appease
<ufs/ufs/inode.h>, since the latter now includes the former.  leave the former
in source that obviously uses specific bits of it (for completeness.)

Revision 1.11 / (download) - annotate - [select for diffs], Fri Aug 24 10:24:46 2001 UTC (22 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

heirarchy -> hierarchy

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 5 08:38:27 2001 UTC (22 years, 8 months ago) by toshii
Branch: MAIN
Branch point for: kqueue
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Fix typo. s/extention/extension/

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 28 14:16:37 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, perseant-lfsv2-base, perseant-lfsv2
Branch point for: nathanw_sa
Changes since 1.8: +1 -3 lines
Diff to previous 1.8 (colored)

remove include of <vm/vm.h> and <uvm/uvm_extern.h>

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 19 04:34:44 2000 UTC (23 years, 10 months ago) by thorpej
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, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.7: +7 -7 lines
Diff to previous 1.7 (colored)

NULL != 0

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 30 12:41:09 2000 UTC (23 years, 11 months ago) by augustss
Branch: MAIN
Changes since 1.6: +23 -23 lines
Diff to previous 1.6 (colored)

Remove register declarations.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Feb 10 13:14:09 1999 UTC (25 years, 1 month ago) by bouyer
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.5: +9 -5 lines
Diff to previous 1.5 (colored)

Make sure a buffer optained from bread() is always bresle()'d in case of
error. Closes PR kern/1448 from Wolfgang Solfrank.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Oct 23 00:33:23 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

For consistency w/ FFS/LFS, define EXT2_DINODE_SIZE, and use it instead
of pointer arithmetic and/or sizeof(struct ext2fs_dinode).

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 9 20:15:38 1998 UTC (25 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 1 02:23:45 1998 UTC (26 years ago) by fvdl
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.2: +21 -21 lines
Diff to previous 1.2 (colored)

Merge with Lite2 + local changes

Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 9 15:42:46 1997 UTC (26 years, 5 months ago) by bouyer
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.1: +3 -3 lines
Diff to previous 1.1 (colored)

Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 11 09:33:41 1997 UTC (26 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia

The ext2fs layer, based on the ffs/ufs one. Uses a few functions from
sys/ufs/ufs/

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>