ReactOS 0.4.16-dev-106-g10b08aa
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
 
BTRFS_UUID metadata_uuid
 
uint64_t reserved [28]
 
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 223 of file btrfs.h.

Member Data Documentation

◆ backup

Definition at line 258 of file btrfs.h.

◆ bytes_used

uint64_t superblock::bytes_used

Definition at line 235 of file btrfs.h.

Referenced by update_backup_superblock(), and write_superblocks().

◆ cache_generation

uint64_t superblock::cache_generation

Definition at line 253 of file btrfs.h.

Referenced by write_superblocks().

◆ checksum

uint8_t superblock::checksum[32]

Definition at line 224 of file btrfs.h.

Referenced by calc_superblock_checksum(), and check_superblock_checksum().

◆ chunk_root_generation

uint64_t superblock::chunk_root_generation

Definition at line 243 of file btrfs.h.

Referenced by write_superblocks().

◆ chunk_root_level

uint8_t superblock::chunk_root_level

Definition at line 249 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 231 of file btrfs.h.

Referenced by update_backup_superblock(), and write_superblocks().

◆ compat_flags

uint64_t superblock::compat_flags

Definition at line 244 of file btrfs.h.

◆ compat_ro_flags

uint64_t superblock::compat_ro_flags

Definition at line 245 of file btrfs.h.

◆ csum_type

uint16_t superblock::csum_type

Definition at line 247 of file btrfs.h.

Referenced by calc_superblock_checksum(), check_superblock_checksum(), and write_superblocks().

◆ dev_item

◆ flags

uint64_t superblock::flags

Definition at line 227 of file btrfs.h.

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

◆ generation

uint64_t superblock::generation

◆ incompat_flags

uint64_t superblock::incompat_flags

Definition at line 246 of file btrfs.h.

Referenced by write_superblocks().

◆ label

char superblock::label[MAX_LABEL_SIZE]

Definition at line 252 of file btrfs.h.

Referenced by write_superblocks().

◆ leaf_size

uint32_t superblock::leaf_size

Definition at line 240 of file btrfs.h.

Referenced by write_superblocks().

◆ log_root_level

uint8_t superblock::log_root_level

Definition at line 250 of file btrfs.h.

◆ log_root_transid

uint64_t superblock::log_root_transid

Definition at line 233 of file btrfs.h.

◆ log_tree_addr

uint64_t superblock::log_tree_addr

Definition at line 232 of file btrfs.h.

◆ magic

◆ metadata_uuid

BTRFS_UUID superblock::metadata_uuid

Definition at line 255 of file btrfs.h.

◆ n

uint32_t superblock::n

Definition at line 242 of file btrfs.h.

Referenced by write_superblocks().

◆ node_size

uint32_t superblock::node_size

Definition at line 239 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[28]

Definition at line 256 of file btrfs.h.

◆ reserved2

uint8_t superblock::reserved2[565]

Definition at line 259 of file btrfs.h.

◆ root_dir_objectid

uint64_t superblock::root_dir_objectid

Definition at line 236 of file btrfs.h.

Referenced by write_superblocks().

◆ root_level

uint8_t superblock::root_level

Definition at line 248 of file btrfs.h.

Referenced by update_backup_superblock().

◆ root_tree_addr

uint64_t superblock::root_tree_addr

Definition at line 230 of file btrfs.h.

Referenced by update_backup_superblock(), and write_superblocks().

◆ sb_phys_addr

uint64_t superblock::sb_phys_addr

Definition at line 226 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 241 of file btrfs.h.

Referenced by write_superblocks().

◆ sys_chunk_array

uint8_t superblock::sys_chunk_array[SYS_CHUNK_ARRAY_SIZE]

Definition at line 257 of file btrfs.h.

Referenced by btrfs_read_sys_chunk_array(), and write_superblocks().

◆ total_bytes

uint64_t superblock::total_bytes

Definition at line 234 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 254 of file btrfs.h.


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