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