#include <linux/types.h>
#include "btrfs-tests.h"
#include "../ctree.h"
#include "../transaction.h"
#include "../disk-io.h"
#include "../qgroup.h"
#include "../backref.h"
#include "../fs.h"
#include "../accessors.h"
static int insert_normal_tree_ref(struct btrfs_root *root, u64 bytenr,
u64 num_bytes, u64 parent, u64 root_objectid)
{ … }
static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes,
u64 parent, u64 root_objectid)
{ … }
static int remove_extent_item(struct btrfs_root *root, u64 bytenr,
u64 num_bytes)
{ … }
static int remove_extent_ref(struct btrfs_root *root, u64 bytenr,
u64 num_bytes, u64 parent, u64 root_objectid)
{ … }
static int test_no_shared_qgroup(struct btrfs_root *root,
u32 sectorsize, u32 nodesize)
{ … }
static int test_multiple_refs(struct btrfs_root *root,
u32 sectorsize, u32 nodesize)
{ … }
int btrfs_test_qgroups(u32 sectorsize, u32 nodesize)
{ … }