btrfs

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2022 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Subvolume flags
	SubvolReadOnly = C.BTRFS_SUBVOL_RDONLY

	// SendFlags
	NoFileData       = 0x1
	OmitStreamHeader = 0x2
	OmitEndCommand   = 0x3
	SendVersion      = 0x8
	SendCompressed   = 0x10

	// Lookup Flags
	RootTreeObjectID       ObjectID = C.BTRFS_ROOT_TREE_OBJECTID
	ExtentTreeObjectID     ObjectID = C.BTRFS_EXTENT_TREE_OBJECTID
	ChunkTreeObjectID      ObjectID = C.BTRFS_CHUNK_TREE_OBJECTID
	DevTreeObjectID        ObjectID = C.BTRFS_DEV_TREE_OBJECTID
	FSTreeObjectID         ObjectID = C.BTRFS_FS_TREE_OBJECTID
	RootTreeDirObjectID    ObjectID = C.BTRFS_ROOT_TREE_DIR_OBJECTID
	CSumTreeObjectID       ObjectID = C.BTRFS_CSUM_TREE_OBJECTID
	QuotaTreeObjectID      ObjectID = C.BTRFS_QUOTA_TREE_OBJECTID
	UUIDTreeObjectID       ObjectID = C.BTRFS_UUID_TREE_OBJECTID
	FreeSpaceTreeObjectID  ObjectID = C.BTRFS_FREE_SPACE_TREE_OBJECTID
	BlockGroupTreeObjectID ObjectID = C.BTRFS_BLOCK_GROUP_TREE_OBJECTID
	DevStatsObjectID       ObjectID = C.BTRFS_DEV_STATS_OBJECTID
	BalanceObjectID        ObjectID = C.BTRFS_BALANCE_OBJECTID
	OrphanObjectID         ObjectID = C.BTRFS_ORPHAN_OBJECTID
	TreeLogObjectID        ObjectID = C.BTRFS_TREE_LOG_OBJECTID
	TreeLogFixupObjectID   ObjectID = C.BTRFS_TREE_LOG_FIXUP_OBJECTID
	TreeRelocObjectID      ObjectID = C.BTRFS_TREE_RELOC_OBJECTID
	DataRelocTreeObjectID  ObjectID = C.BTRFS_DATA_RELOC_TREE_OBJECTID
	ExtentCSumObjectID     ObjectID = C.BTRFS_EXTENT_CSUM_OBJECTID
	FreeSpaceObjectID      ObjectID = C.BTRFS_FREE_SPACE_OBJECTID
	FreeInoObjectID        ObjectID = C.BTRFS_FREE_INO_OBJECTID
	MultipleObjectIDs      ObjectID = C.BTRFS_MULTIPLE_OBJECTIDS

	FirstFreeObjectID ObjectID = C.BTRFS_FIRST_FREE_OBJECTID
	LastFreeObjectID  ObjectID = C.BTRFS_LAST_FREE_OBJECTID

	DirItemKey     SearchKey = C.BTRFS_DIR_ITEM_KEY
	InodeRefKey    SearchKey = C.BTRFS_INODE_REF_KEY
	InodeItemKey   SearchKey = C.BTRFS_INODE_ITEM_KEY
	RootItemKey    SearchKey = C.BTRFS_ROOT_ITEM_KEY
	RootRefKey     SearchKey = C.BTRFS_ROOT_REF_KEY
	RootBackrefKey SearchKey = C.BTRFS_ROOT_BACKREF_KEY

	// CompressionTypes
	CompressionNone   CompressionType = C.BTRFS_ENCODED_IO_COMPRESSION_NONE
	CompressionZLib   CompressionType = C.BTRFS_ENCODED_IO_COMPRESSION_ZLIB
	CompressionZSTD   CompressionType = C.BTRFS_ENCODED_IO_COMPRESSION_ZSTD
	CompressionLZO4k  CompressionType = C.BTRFS_ENCODED_IO_COMPRESSION_LZO_4K
	CompressionLZO8k  CompressionType = C.BTRFS_ENCODED_IO_COMPRESSION_LZO_8K
	CompressionLZO16k CompressionType = C.BTRFS_ENCODED_IO_COMPRESSION_LZO_16K
	CompressionLZO32k CompressionType = C.BTRFS_ENCODED_IO_COMPRESSION_LZO_32K
	CompressionLZO64k CompressionType = C.BTRFS_ENCODED_IO_COMPRESSION_LZO_64K
)

Flags

Variables

This section is empty.

Functions

This section is empty.

Types

type BtrfsInodeRef

type BtrfsInodeRef C.struct_btrfs_inode_ref

type BtrfsRootRef

type BtrfsRootRef C.struct_btrfs_root_ref

type BtrfsTimespec

type BtrfsTimespec C.struct_btrfs_timespec

type CompressionType

type CompressionType uint32

type ObjectID

type ObjectID uint64

func (ObjectID) IntString

func (o ObjectID) IntString() string

type SearchKey

type SearchKey uint32

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL