#ifdef CONFIG_AS_AVX512
#include <linux/raid/pq.h>
#include "x86.h"
static const struct raid6_avx512_constants { … } raid6_avx512_constants __aligned(512/8) = …;
static int raid6_have_avx512(void)
{ … }
static void raid6_avx5121_gen_syndrome(int disks, size_t bytes, void **ptrs)
{ … }
static void raid6_avx5121_xor_syndrome(int disks, int start, int stop,
size_t bytes, void **ptrs)
{ … }
const struct raid6_calls raid6_avx512x1 = …;
static void raid6_avx5122_gen_syndrome(int disks, size_t bytes, void **ptrs)
{ … }
static void raid6_avx5122_xor_syndrome(int disks, int start, int stop,
size_t bytes, void **ptrs)
{ … }
const struct raid6_calls raid6_avx512x2 = …;
#ifdef CONFIG_X86_64
static void raid6_avx5124_gen_syndrome(int disks, size_t bytes, void **ptrs)
{ … }
static void raid6_avx5124_xor_syndrome(int disks, int start, int stop,
size_t bytes, void **ptrs)
{ … }
const struct raid6_calls raid6_avx512x4 = …;
#endif
#endif