ReactOS  0.4.14-dev-77-gd9e7c48
superblock Struct Reference

#include <btrfs.h>

Collaboration diagram for superblock:

Public Attributes

uint8_t checksum [32]
 
BTRFS_UUID uuid
 
uint64_t sb_phys_addr
 
uint64_t flags
 
uint64_t magic
 
uint64_t generation
 
uint64_t root_tree_addr
 
uint64_t chunk_tree_addr
 
uint64_t log_tree_addr
 
uint64_t log_root_transid
 
uint64_t total_bytes
 
uint64_t bytes_used
 
uint64_t root_dir_objectid
 
uint64_t num_devices
 
uint32_t sector_size
 
uint32_t node_size
 
uint32_t leaf_size
 
uint32_t stripe_size
 
uint32_t n
 
uint64_t chunk_root_generation
 
uint64_t compat_flags
 
uint64_t compat_ro_flags
 
uint64_t incompat_flags
 
uint16_t csum_type
 
uint8_t root_level
 
uint8_t chunk_root_level
 
uint8_t log_root_level
 
DEV_ITEM dev_item
 
char label [MAX_LABEL_SIZE]
 
uint64_t cache_generation
 
uint64_t uuid_tree_generation
 
uint64_t reserved [30]
 
uint8_t sys_chunk_array [SYS_CHUNK_ARRAY_SIZE]
 
superblock_backup backup [BTRFS_NUM_BACKUP_ROOTS]
 
uint8_t reserved2 [565]
 

Detailed Description

Definition at line 206 of file btrfs.h.

Member Data Documentation

◆ backup

Definition at line 240 of file btrfs.h.

◆ bytes_used

uint64_t superblock::bytes_used

Definition at line 218 of file btrfs.h.

Referenced by drop_chunk(), update_backup_superblock(), and write_superblocks().

◆ cache_generation

uint64_t superblock::cache_generation

Definition at line 236 of file btrfs.h.

Referenced by write_superblocks().

◆ checksum

◆ chunk_root_generation

uint64_t superblock::chunk_root_generation

Definition at line 226 of file btrfs.h.

Referenced by write_superblocks().

◆ chunk_root_level

uint8_t superblock::chunk_root_level

Definition at line 232 of file btrfs.h.

Referenced by btrfs_read_chunk_tree(), and update_backup_superblock().

◆ chunk_tree_addr

uint64_t superblock::chunk_tree_addr

Definition at line 214 of file btrfs.h.

Referenced by update_backup_superblock(), and write_superblocks().

◆ compat_flags

uint64_t superblock::compat_flags

Definition at line 227 of file btrfs.h.

◆ compat_ro_flags

uint64_t superblock::compat_ro_flags

Definition at line 228 of file btrfs.h.

◆ csum_type

uint16_t superblock::csum_type

Definition at line 230 of file btrfs.h.

◆ dev_item

◆ flags

uint64_t superblock::flags

Definition at line 210 of file btrfs.h.

Referenced by add_volume_device(), btrfs_read_chunk_tree(), and write_superblocks().

◆ generation

uint64_t superblock::generation

Definition at line 212 of file btrfs.h.

Referenced by add_volume_device(), read_superblock(), test_vol(), and write_superblocks().

◆ incompat_flags

uint64_t superblock::incompat_flags

Definition at line 229 of file btrfs.h.

Referenced by write_superblocks().

◆ label

char superblock::label[MAX_LABEL_SIZE]

Definition at line 235 of file btrfs.h.

Referenced by write_superblocks().

◆ leaf_size

uint32_t superblock::leaf_size

Definition at line 223 of file btrfs.h.

Referenced by write_superblocks().

◆ log_root_level

uint8_t superblock::log_root_level

Definition at line 233 of file btrfs.h.

◆ log_root_transid

uint64_t superblock::log_root_transid

Definition at line 216 of file btrfs.h.

◆ log_tree_addr

uint64_t superblock::log_tree_addr

Definition at line 215 of file btrfs.h.

◆ magic

◆ n

uint32_t superblock::n

Definition at line 225 of file btrfs.h.

Referenced by write_superblocks().

◆ node_size

uint32_t superblock::node_size

Definition at line 222 of file btrfs.h.

Referenced by read_superblock(), try_tree_amalgamate(), and write_superblocks().

◆ num_devices

uint64_t superblock::num_devices

◆ reserved

uint64_t superblock::reserved[30]

Definition at line 238 of file btrfs.h.

◆ reserved2

uint8_t superblock::reserved2[565]

Definition at line 241 of file btrfs.h.

◆ root_dir_objectid

uint64_t superblock::root_dir_objectid

Definition at line 219 of file btrfs.h.

Referenced by write_superblocks().

◆ root_level

uint8_t superblock::root_level

Definition at line 231 of file btrfs.h.

Referenced by update_backup_superblock().

◆ root_tree_addr

uint64_t superblock::root_tree_addr

Definition at line 213 of file btrfs.h.

Referenced by update_backup_superblock(), and write_superblocks().

◆ sb_phys_addr

uint64_t superblock::sb_phys_addr

Definition at line 209 of file btrfs.h.

Referenced by write_superblock(), and write_superblocks().

◆ sector_size

uint32_t superblock::sector_size

◆ stripe_size

uint32_t superblock::stripe_size

Definition at line 224 of file btrfs.h.

Referenced by write_superblocks().

◆ sys_chunk_array

uint8_t superblock::sys_chunk_array[SYS_CHUNK_ARRAY_SIZE]

Definition at line 239 of file btrfs.h.

Referenced by btrfs_read_sys_chunk_array(), and write_superblocks().

◆ total_bytes

uint64_t superblock::total_bytes

Definition at line 217 of file btrfs.h.

Referenced by update_backup_superblock(), and write_superblocks().

◆ uuid

◆ uuid_tree_generation

uint64_t superblock::uuid_tree_generation

Definition at line 237 of file btrfs.h.


The documentation for this struct was generated from the following file: