Jerasure
1.2
A Library in C/C++ Facilitating Erasure Coding for Storage Applications
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "galois.h"
#include "jerasure.h"
#include "reed_sol.h"
Defines | |
#define | talloc(type, num) (type *) malloc(sizeof(type)*(num)) |
#define | rgw32_mask(v) ((v) & 0x80000000) |
Functions | |
int * | reed_sol_r6_coding_matrix (int k, int w) |
int * | reed_sol_vandermonde_coding_matrix (int k, int m, int w) |
void | reed_sol_galois_w32_region_multby_2 (char *region, int nbytes) |
void | reed_sol_galois_w08_region_multby_2 (char *region, int nbytes) |
void | reed_sol_galois_w16_region_multby_2 (char *region, int nbytes) |
int | reed_sol_r6_encode (int k, int w, char **data_ptrs, char **coding_ptrs, int size) |
int * | reed_sol_extended_vandermonde_matrix (int rows, int cols, int w) |
int * | reed_sol_big_vandermonde_distribution_matrix (int rows, int cols, int w) |
#define rgw32_mask | ( | v | ) | ((v) & 0x80000000) |
#define talloc | ( | type, | |
num | |||
) | (type *) malloc(sizeof(type)*(num)) |
int* reed_sol_big_vandermonde_distribution_matrix | ( | int | rows, |
int | cols, | ||
int | w | ||
) |
int* reed_sol_extended_vandermonde_matrix | ( | int | rows, |
int | cols, | ||
int | w | ||
) |
void reed_sol_galois_w08_region_multby_2 | ( | char * | region, |
int | nbytes | ||
) |
void reed_sol_galois_w16_region_multby_2 | ( | char * | region, |
int | nbytes | ||
) |
void reed_sol_galois_w32_region_multby_2 | ( | char * | region, |
int | nbytes | ||
) |
int* reed_sol_r6_coding_matrix | ( | int | k, |
int | w | ||
) |
int reed_sol_r6_encode | ( | int | k, |
int | w, | ||
char ** | data_ptrs, | ||
char ** | coding_ptrs, | ||
int | size | ||
) |
int* reed_sol_vandermonde_coding_matrix | ( | int | k, |
int | m, | ||
int | w | ||
) |