The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame^] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | **************************************************************************** |
| 11 | ****************************************************************************/ |
| 12 | #ifndef _XOR_H |
| 13 | #define _XOR_H |
| 14 | |
| 15 | #include <linux/raid/md.h> |
| 16 | |
| 17 | #define MAX_XOR_BLOCKS 5 |
| 18 | |
| 19 | struct xor_block_template { |
| 20 | struct xor_block_template *next; |
| 21 | const char *name; |
| 22 | int speed; |
| 23 | void (*do_2)(unsigned long, unsigned long *, unsigned long *); |
| 24 | void (*do_3)(unsigned long, unsigned long *, unsigned long *, |
| 25 | unsigned long *); |
| 26 | void (*do_4)(unsigned long, unsigned long *, unsigned long *, |
| 27 | unsigned long *, unsigned long *); |
| 28 | void (*do_5)(unsigned long, unsigned long *, unsigned long *, |
| 29 | unsigned long *, unsigned long *, unsigned long *); |
| 30 | }; |
| 31 | |
| 32 | #endif |