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