mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 23:16:28 -05:00
Changes the argument format of raid_rec() and renames raid_par() to raid_gen().
This commit is contained in:
parent
365b4127c0
commit
00a05a80e5
15 changed files with 363 additions and 390 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue