Contributors: 5
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Linus Torvalds (pre-git) |
136 |
78.61% |
2 |
28.57% |
Ard Biesheuvel |
24 |
13.87% |
1 |
14.29% |
Dan J Williams |
7 |
4.05% |
2 |
28.57% |
Neil Brown |
5 |
2.89% |
1 |
14.29% |
Greg Kroah-Hartman |
1 |
0.58% |
1 |
14.29% |
Total |
173 |
|
7 |
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _XOR_H
#define _XOR_H
#define MAX_XOR_BLOCKS 4
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