162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (C) 2007 Oracle. All rights reserved. 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef BTRFS_PRINT_TREE_H 762306a36Sopenharmony_ci#define BTRFS_PRINT_TREE_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci/* Buffer size to contain tree name and possibly additional data (offset) */ 1062306a36Sopenharmony_ci#define BTRFS_ROOT_NAME_BUF_LEN 48 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_civoid btrfs_print_leaf(const struct extent_buffer *l); 1362306a36Sopenharmony_civoid btrfs_print_tree(const struct extent_buffer *c, bool follow); 1462306a36Sopenharmony_ciconst char *btrfs_root_name(const struct btrfs_key *key, char *buf); 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci#endif 17