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

@ -16,9 +16,9 @@
#include "gf.h"
/*
* PARz (triple parity with powers of 2^-1) 32bit C implementation
* GENz (triple parity with powers of 2^-1) 32bit C implementation
*/
void raid_parz_int32(int nd, size_t size, void **vv)
void raid_genz_int32(int nd, size_t size, void **vv)
{
uint8_t **v = (uint8_t **)vv;
uint8_t *p;
@ -67,9 +67,9 @@ void raid_parz_int32(int nd, size_t size, void **vv)
}
/*
* PARz (triple parity with powers of 2^-1) 64bit C implementation
* GENz (triple parity with powers of 2^-1) 64bit C implementation
*/
void raid_parz_int64(int nd, size_t size, void **vv)
void raid_genz_int64(int nd, size_t size, void **vv)
{
uint8_t **v = (uint8_t **)vv;
uint8_t *p;