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
|
|
|
|
|
2024-01-26 23:53:06 +00:00
|
|
|
struct extent_buffer;
|
|
|
|
struct btrfs_key;
|
|
|
|
|
2023-04-27 12:16:27 +00:00
|
|
|
void btrfs_print_leaf(const struct extent_buffer *l);
|
|
|
|
void btrfs_print_tree(const 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
|