liberasurecode  1.6.1
Erasure Code API library
Macros | Functions | Variables
isa_l_rs_cauchy.c File Reference
#include <stdlib.h>
#include "erasurecode_backend.h"
#include "isa_l_common.h"

Go to the source code of this file.

Macros

#define ISA_L_RS_CAUCHY_LIB_MAJOR   2
 
#define ISA_L_RS_CAUCHY_LIB_MINOR   14
 
#define ISA_L_RS_CAUCHY_LIB_REV   1
 
#define ISA_L_RS_CAUCHY_LIB_VER_STR   "2.14"
 
#define ISA_L_RS_CAUCHY_LIB_NAME   "isa_l_rs_cauchy"
 
#define ISA_L_RS_CAUCHY_SO_NAME   "libisal.so.2"
 

Functions

static void * isa_l_rs_cauchy_init (struct ec_backend_args *args, void *backend_sohandle)
 
static bool isa_l_rs_cauchy_is_compatible_with (uint32_t version)
 

Variables

struct ec_backend_op_stubs isa_l_rs_cauchy_ops
 
struct ec_backend isa_l_rs_cauchy
 
struct ec_backend_common backend_isa_l_rs_cauchy
 
struct ec_backend_op_stubs isa_l_rs_cauchy_op_stubs
 

Macro Definition Documentation

◆ ISA_L_RS_CAUCHY_LIB_MAJOR

#define ISA_L_RS_CAUCHY_LIB_MAJOR   2

Definition at line 35 of file isa_l_rs_cauchy.c.

◆ ISA_L_RS_CAUCHY_LIB_MINOR

#define ISA_L_RS_CAUCHY_LIB_MINOR   14

Definition at line 36 of file isa_l_rs_cauchy.c.

◆ ISA_L_RS_CAUCHY_LIB_NAME

#define ISA_L_RS_CAUCHY_LIB_NAME   "isa_l_rs_cauchy"

Definition at line 39 of file isa_l_rs_cauchy.c.

◆ ISA_L_RS_CAUCHY_LIB_REV

#define ISA_L_RS_CAUCHY_LIB_REV   1

Definition at line 37 of file isa_l_rs_cauchy.c.

◆ ISA_L_RS_CAUCHY_LIB_VER_STR

#define ISA_L_RS_CAUCHY_LIB_VER_STR   "2.14"

Definition at line 38 of file isa_l_rs_cauchy.c.

◆ ISA_L_RS_CAUCHY_SO_NAME

#define ISA_L_RS_CAUCHY_SO_NAME   "libisal.so.2"

Definition at line 43 of file isa_l_rs_cauchy.c.

Function Documentation

◆ isa_l_rs_cauchy_init()

static void* isa_l_rs_cauchy_init ( struct ec_backend_args *  args,
void *  backend_sohandle 
)
static

Definition at line 51 of file isa_l_rs_cauchy.c.

References isa_l_common_init().

◆ isa_l_rs_cauchy_is_compatible_with()

static bool isa_l_rs_cauchy_is_compatible_with ( uint32_t  version)
static

Definition at line 61 of file isa_l_rs_cauchy.c.

References backend_isa_l_rs_cauchy.

Variable Documentation

◆ backend_isa_l_rs_cauchy

struct ec_backend_common backend_isa_l_rs_cauchy
Initial value:
= {
.id = EC_BACKEND_ISA_L_RS_CAUCHY,
.ec_backend_version = _VERSION(ISA_L_RS_CAUCHY_LIB_MAJOR,
}
#define ISA_L_RS_CAUCHY_SO_NAME
#define ISA_L_RS_CAUCHY_LIB_REV
struct ec_backend_op_stubs isa_l_rs_cauchy_op_stubs
#define ISA_L_RS_CAUCHY_LIB_NAME
#define ISA_L_RS_CAUCHY_LIB_VER_STR
#define ISA_L_RS_CAUCHY_LIB_MINOR
#define ISA_L_RS_CAUCHY_LIB_MAJOR

Definition at line 1 of file isa_l_rs_cauchy.c.

Referenced by isa_l_rs_cauchy_is_compatible_with().

◆ isa_l_rs_cauchy

struct ec_backend isa_l_rs_cauchy

Definition at line 1 of file isa_l_rs_cauchy.c.

◆ isa_l_rs_cauchy_op_stubs

struct ec_backend_op_stubs isa_l_rs_cauchy_op_stubs
Initial value:
= {
.EXIT = isa_l_exit,
.ENCODE = isa_l_encode,
.DECODE = isa_l_decode,
.FRAGSNEEDED = isa_l_min_fragments,
.RECONSTRUCT = isa_l_reconstruct,
.ELEMENTSIZE = isa_l_element_size,
.GETMETADATASIZE = get_backend_metadata_size_zero,
.GETENCODEOFFSET = get_encode_offset_zero,
}
int isa_l_encode(void *desc, char **data, char **parity, int blocksize)
Definition: isa_l_common.c:39
int isa_l_exit(void *desc)
Definition: isa_l_common.c:432
int isa_l_decode(void *desc, char **data, char **parity, int *missing_idxs, int blocksize)
Definition: isa_l_common.c:179
int isa_l_reconstruct(void *desc, char **data, char **parity, int *missing_idxs, int destination_idx, int blocksize)
Definition: isa_l_common.c:283
int isa_l_element_size(void *desc)
Return the element-size, which is the number of bits stored on a given device, per codeword.
Definition: isa_l_common.c:427
int isa_l_min_fragments(void *desc, int *missing_idxs, int *fragments_to_exclude, int *fragments_needed)
Definition: isa_l_common.c:395
static void * isa_l_rs_cauchy_init(struct ec_backend_args *args, void *backend_sohandle)
static bool isa_l_rs_cauchy_is_compatible_with(uint32_t version)

Definition at line 61 of file isa_l_rs_cauchy.c.

◆ isa_l_rs_cauchy_ops

struct ec_backend_op_stubs isa_l_rs_cauchy_ops

Definition at line 1 of file isa_l_rs_cauchy.c.