18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2007 Oracle. All rights reserved. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef BTRFS_PRINT_TREE_H 78c2ecf20Sopenharmony_ci#define BTRFS_PRINT_TREE_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci/* Buffer size to contain tree name and possibly additional data (offset) */ 108c2ecf20Sopenharmony_ci#define BTRFS_ROOT_NAME_BUF_LEN 48 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_civoid btrfs_print_leaf(struct extent_buffer *l); 138c2ecf20Sopenharmony_civoid btrfs_print_tree(struct extent_buffer *c, bool follow); 148c2ecf20Sopenharmony_ciconst char *btrfs_root_name(const struct btrfs_key *key, char *buf); 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#endif 17