2018-04-03 17:16:55 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2007-06-12 13:07:21 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2007 Oracle. All rights reserved.
|
|
|
|
*/
|
|
|
|
|
2018-04-03 17:16:55 +00:00
|
|
|
#ifndef BTRFS_PRINT_TREE_H
|
|
|
|
#define BTRFS_PRINT_TREE_H
|
|
|
|
|
2020-09-03 18:29:51 +00:00
|
|
|
/* Buffer size to contain tree name and possibly additional data (offset) */
|
|
|
|
#define BTRFS_ROOT_NAME_BUF_LEN 48
|
|
|
|
|
2017-06-29 16:37:49 +00:00
|
|
|
void btrfs_print_leaf(struct extent_buffer *l);
|
2018-04-11 09:08:12 +00:00
|
|
|
void btrfs_print_tree(struct extent_buffer *c, bool follow);
|
2020-12-16 16:18:44 +00:00
|
|
|
const char *btrfs_root_name(const struct btrfs_key *key, char *buf);
|
2018-04-03 17:16:55 +00:00
|
|
|
|
2007-03-16 20:20:31 +00:00
|
|
|
#endif
|