// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2023 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]> */ #include "xfs.h" #include "xfs_fs.h" #include "xfs_shared.h" #include "xfs_format.h" #include "xfs_da_format.h" #include "xfs_da_btree.h" #include "xfs_trans_resv.h" #include "xfs_mount.h" #include "xfs_dir2_priv.h" #include "xfs_dahash_test.h" /* 4096 random bytes */ static uint8_t __initdata __attribute__((__aligned__(8))) test_buf[] = …; /* 100 test cases */ static struct dahash_test { … } test[] __initdata = …; int __init xfs_dahash_test(void) { … }