diff options
| author | Tejun Heo <tj@kernel.org> | 2026-05-25 22:34:24 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-05-25 22:34:24 +0300 |
| commit | 639609b83f69fe4cd08e01423ae8e12d84484cfa (patch) | |
| tree | 0af2bf3da28a1c20cd5673c608751f880e508b3b /include/linux/raid | |
| parent | f31e89a8f583cb8b1b68002cedb77ce444d6f7d2 (diff) | |
| parent | 53cc12a2dc88c2c6f62f507548640885a70a56a8 (diff) | |
| download | linux-639609b83f69fe4cd08e01423ae8e12d84484cfa.tar.xz | |
Merge branch 'arena_direct_access' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next into for-7.2
Diffstat (limited to 'include/linux/raid')
| -rw-r--r-- | include/linux/raid/xor.h | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/include/linux/raid/xor.h b/include/linux/raid/xor.h index 51b811b62322..870558c9d36e 100644 --- a/include/linux/raid/xor.h +++ b/include/linux/raid/xor.h @@ -2,29 +2,6 @@ #ifndef _XOR_H #define _XOR_H -#define MAX_XOR_BLOCKS 4 +void xor_gen(void *dest, void **srcs, unsigned int src_cnt, unsigned int bytes); -extern void xor_blocks(unsigned int count, unsigned int bytes, - void *dest, void **srcs); - -struct xor_block_template { - struct xor_block_template *next; - const char *name; - int speed; - void (*do_2)(unsigned long, unsigned long * __restrict, - const unsigned long * __restrict); - void (*do_3)(unsigned long, unsigned long * __restrict, - const unsigned long * __restrict, - const unsigned long * __restrict); - void (*do_4)(unsigned long, unsigned long * __restrict, - const unsigned long * __restrict, - const unsigned long * __restrict, - const unsigned long * __restrict); - void (*do_5)(unsigned long, unsigned long * __restrict, - const unsigned long * __restrict, - const unsigned long * __restrict, - const unsigned long * __restrict, - const unsigned long * __restrict); -}; - -#endif +#endif /* _XOR_H */ |
