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