XOR utility functions. More...
Functions | |
int | spdk_xor_gen (void *dest, void **sources, uint32_t n, uint32_t len) |
Generate XOR from multiple source buffers. | |
size_t | spdk_xor_get_optimal_alignment (void) |
Get the optimal buffer alignment for XOR functions. | |
XOR utility functions.
int spdk_xor_gen | ( | void * | dest, |
void ** | sources, | ||
uint32_t | n, | ||
uint32_t | len ) |
Generate XOR from multiple source buffers.
dest | Destination buffer. |
sources | Array of source buffers. |
n | Number of source buffers in the array. |
len | Length of each buffer in bytes. |
size_t spdk_xor_get_optimal_alignment | ( | void | ) |
Get the optimal buffer alignment for XOR functions.