Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
algos.c File Reference
#include <linux/raid/pq.h>
#include <sys/mman.h>
#include <stdio.h>

Go to the source code of this file.

Macros

#define RAID6_TIME_JIFFIES_LG2   9
 
#define time_before(x, y)   ((x) < (y))
 

Functions

 EXPORT_SYMBOL_GPL (raid6_call)
 
 EXPORT_SYMBOL_GPL (raid6_2data_recov)
 
 EXPORT_SYMBOL_GPL (raid6_datap_recov)
 
int __init raid6_select_algo (void)
 
 subsys_initcall (raid6_select_algo)
 
 module_exit (raid6_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("RAID6 Q-syndrome calculations")
 

Variables

struct raid6_calls raid6_call
 
struct raid6_calls *const raid6_algos []
 
void(* raid6_2data_recov )(int, size_t, int, int, void **)
 
void(* raid6_datap_recov )(int, size_t, int, void **)
 
struct raid6_recov_calls *const raid6_recov_algos []
 

Macro Definition Documentation

#define RAID6_TIME_JIFFIES_LG2   9

Definition at line 85 of file algos.c.

#define time_before (   x,
  y 
)    ((x) < (y))

Definition at line 86 of file algos.c.

Function Documentation

EXPORT_SYMBOL_GPL ( raid6_call  )
EXPORT_SYMBOL_GPL ( raid6_2data_recov  )
EXPORT_SYMBOL_GPL ( raid6_datap_recov  )
MODULE_DESCRIPTION ( "RAID6 Q-syndrome calculations"  )
module_exit ( raid6_exit  )
MODULE_LICENSE ( "GPL"  )
int __init raid6_select_algo ( void  )

Definition at line 159 of file algos.c.

subsys_initcall ( raid6_select_algo  )

Variable Documentation

void(* raid6_2data_recov)(int, size_t, int, int, void **)

Definition at line 67 of file algos.c.

struct raid6_calls* const raid6_algos[]
Initial value:

Definition at line 36 of file algos.c.

struct raid6_calls raid6_call

Definition at line 33 of file algos.c.

void(* raid6_datap_recov)(int, size_t, int, void **)

Definition at line 70 of file algos.c.

struct raid6_recov_calls* const raid6_recov_algos[]
Initial value:

Definition at line 73 of file algos.c.