Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
raid
xor.h
Go to the documentation of this file.
1
#ifndef _XOR_H
2
#define _XOR_H
3
4
#define MAX_XOR_BLOCKS 4
5
6
extern
void
xor_blocks
(
unsigned
int
count
,
unsigned
int
bytes
,
7
void
*
dest
,
void
**srcs);
8
9
struct
xor_block_template
{
10
struct
xor_block_template
*
next
;
11
const
char
*
name
;
12
int
speed
;
13
void
(*
do_2
)(
unsigned
long
,
unsigned
long
*,
unsigned
long
*);
14
void
(*
do_3
)(
unsigned
long
,
unsigned
long
*,
unsigned
long
*,
15
unsigned
long
*);
16
void
(*
do_4
)(
unsigned
long
,
unsigned
long
*,
unsigned
long
*,
17
unsigned
long
*,
unsigned
long
*);
18
void
(*
do_5
)(
unsigned
long
,
unsigned
long
*,
unsigned
long
*,
19
unsigned
long
*,
unsigned
long
*,
unsigned
long
*);
20
};
21
22
#endif
Generated on Thu Jan 10 2013 12:50:52 for Linux Kernel by
1.8.2