Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (C) 2007 Oracle.  All rights reserved.
0004  */
0005 
0006 #ifndef BTRFS_PRINT_TREE_H
0007 #define BTRFS_PRINT_TREE_H
0008 
0009 /* Buffer size to contain tree name and possibly additional data (offset) */
0010 #define BTRFS_ROOT_NAME_BUF_LEN             48
0011 
0012 void btrfs_print_leaf(struct extent_buffer *l);
0013 void btrfs_print_tree(struct extent_buffer *c, bool follow);
0014 const char *btrfs_root_name(const struct btrfs_key *key, char *buf);
0015 
0016 #endif