Changes the argument format of raid_rec() and renames raid_par() to raid_gen().

This commit is contained in:
Andrea Mazzoleni 2014-01-08 17:07:13 +01:00
parent 365b4127c0
commit 00a05a80e5
15 changed files with 363 additions and 390 deletions

View file

@ -31,9 +31,9 @@ static const struct gfzconst16 {
#ifdef CONFIG_X86
/*
* PARz (triple parity with powers of 2^-1) SSE2 implementation
* GENz (triple parity with powers of 2^-1) SSE2 implementation
*/
void raid_parz_sse2(int nd, size_t size, void **vv)
void raid_genz_sse2(int nd, size_t size, void **vv)
{
uint8_t **v = (uint8_t **)vv;
uint8_t *p;
@ -89,11 +89,11 @@ void raid_parz_sse2(int nd, size_t size, void **vv)
#ifdef CONFIG_X86_64
/*
* PARz (triple parity with powers of 2^-1) SSE2 implementation
* GENz (triple parity with powers of 2^-1) SSE2 implementation
*
* Note that it uses 16 registers, meaning that x64 is required.
*/
void raid_parz_sse2ext(int nd, size_t size, void **vv)
void raid_genz_sse2ext(int nd, size_t size, void **vv)
{
uint8_t **v = (uint8_t **)vv;
uint8_t *p;