fs/btrfs/print-tree.h

Source file repositories/reference/linux-study-clean/fs/btrfs/print-tree.h

File Facts

System
Linux kernel
Corpus path
fs/btrfs/print-tree.h
Extension
.h
Size
535 bytes
Lines
22
Domain
Core OS
Bucket
VFS And Filesystem Core
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef BTRFS_PRINT_TREE_H
#define BTRFS_PRINT_TREE_H

#include <linux/types.h>

/* Buffer size to contain tree name and possibly additional data (offset) */
#define BTRFS_ROOT_NAME_BUF_LEN				48

struct extent_buffer;
struct btrfs_key;

void btrfs_print_leaf(const struct extent_buffer *l);
void btrfs_print_tree(const struct extent_buffer *c, bool follow);
const char *btrfs_root_name(const struct btrfs_key *key, char *buf);

#endif

Annotation

Implementation Notes