#include <linux/fs.h>
#include <linux/mount.h>
#include <linux/pseudo_fs.h>
#include <linux/magic.h>
#include "btrfs-tests.h"
#include "../ctree.h"
#include "../free-space-cache.h"
#include "../free-space-tree.h"
#include "../transaction.h"
#include "../volumes.h"
#include "../disk-io.h"
#include "../qgroup.h"
#include "../block-group.h"
#include "../fs.h"
static struct vfsmount *test_mnt = …;
const char *test_error[] = …;
static const struct super_operations btrfs_test_super_ops = …;
static int btrfs_test_init_fs_context(struct fs_context *fc)
{ … }
static struct file_system_type test_type = …;
struct inode *btrfs_new_test_inode(void)
{ … }
static int btrfs_init_test_fs(void)
{ … }
static void btrfs_destroy_test_fs(void)
{ … }
struct btrfs_device *btrfs_alloc_dummy_device(struct btrfs_fs_info *fs_info)
{ … }
static void btrfs_free_dummy_device(struct btrfs_device *dev)
{ … }
struct btrfs_fs_info *btrfs_alloc_dummy_fs_info(u32 nodesize, u32 sectorsize)
{ … }
void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info)
{ … }
void btrfs_free_dummy_root(struct btrfs_root *root)
{ … }
struct btrfs_block_group *
btrfs_alloc_dummy_block_group(struct btrfs_fs_info *fs_info,
unsigned long length)
{ … }
void btrfs_free_dummy_block_group(struct btrfs_block_group *cache)
{ … }
void btrfs_init_dummy_trans(struct btrfs_trans_handle *trans,
struct btrfs_fs_info *fs_info)
{ … }
int btrfs_run_sanity_tests(void)
{ … }