#include "messages.h"
#include "ctree.h"
#include "disk-io.h"
#include "print-tree.h"
#include "accessors.h"
#include "tree-checker.h"
#include "volumes.h"
#include "raid-stripe-tree.h"
struct root_name_map { … };
static const struct root_name_map root_map[] = …;
const char *btrfs_root_name(const struct btrfs_key *key, char *buf)
{ … }
static void print_chunk(const struct extent_buffer *eb, struct btrfs_chunk *chunk)
{ … }
static void print_dev_item(const struct extent_buffer *eb,
struct btrfs_dev_item *dev_item)
{ … }
static void print_extent_data_ref(const struct extent_buffer *eb,
struct btrfs_extent_data_ref *ref)
{ … }
static void print_extent_owner_ref(const struct extent_buffer *eb,
const struct btrfs_extent_owner_ref *ref)
{ … }
static void print_extent_item(const struct extent_buffer *eb, int slot, int type)
{ … }
static void print_uuid_item(const struct extent_buffer *l, unsigned long offset,
u32 item_size)
{ … }
static void print_raid_stripe_key(const struct extent_buffer *eb, u32 item_size,
struct btrfs_stripe_extent *stripe)
{ … }
static void print_eb_refs_lock(const struct extent_buffer *eb)
{ … }
void btrfs_print_leaf(const struct extent_buffer *l)
{ … }
void btrfs_print_tree(const struct extent_buffer *c, bool follow)
{ … }