History log of /external/e2fsprogs/lib/ext2fs/crc32c_defs.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
033c3384902e9672267022405d29b8a36eb8a9a9 03-Aug-2012 Darrick J. Wong <djwong@us.ibm.com> libext2fs: optimize the CRC32c implementation

The crc32c implementation in the kernel has been refactored a bit to
reduce the amount of code that needs to be maintained, and to speed up
tune2fs/e2fsck on PowerPC by 5-10%. Port the crc32c changes over, and
provide a crc32_be so that we can remove the duplicate functionality
from e2fsck. Also drop crc32c_be and crc32_le since neither got used.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/crc32c_defs.h
8232f2ddaece256afd323eb5a289a5ec1b7fbd1a 04-Oct-2011 Theodore Ts'o <tytso@mit.edu> libext2fs: move #include "ext2fs.h" from crc32c_defs.h to crc32c.c

The byte swap functions which are defined in ext2fs.h are only needed
by crc32.c, and not by gen_crc32ctable.c. The gen_crc32ctable program
needs to be compiled on the host OS, where ext2fs.h may not be
present. So move the use of the header function to crc32c.c, to avoid
compilation problems.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/crc32c_defs.h
a378bd5a5a80656ad1782ee80fa301a5ecb10ecb 29-Sep-2011 Theodore Ts'o <tytso@mit.edu> libext2fs: use ext2fs byte swap functions for portability

The functions htole32(), le32toh(), be32toh(), htobe32() aren't
defined in all environments. Use the ext2fs byte swap functions for
portability.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/crc32c_defs.h
db8bbf27c9eeaa9c1803fb52a6cc7a60c5250c7e 16-Sep-2011 Darrick J. Wong <djwong@us.ibm.com> libext2fs: Add crc32c implementation for metadata checksumming

Add a slicing-by-8 CRC32c implementation for metadata checksumming.
Adapted from Bob Pearson's kernel patch.

Also added a self-test mechanism so we can verify that the crc32c
implementation is working correctly.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/crc32c_defs.h