btrfs

Undocumented in source.

Modules

c
module btrfs.c

Members

Functions

enumerateChunks
void enumerateChunks(int fd, void delegate(u64 offset, const ref btrfs_chunk chunk) callback)

Enumerate all chunks in the filesystem.

findRootBackRef
void findRootBackRef(int fd, __u64 rootID, void delegate(__u64 parentRootID, __u64 dirID, __u64 sequence, char[] name) callback)

Find a root's parent root, and where it is within it

inoLookup
void inoLookup(int fd, u64 treeID, u64 objectID, void delegate(char[] fn) callback)

Obtains the relative path of a given filesystem object for the given filesystem root.

inoPaths
void inoPaths(int fd, u64 inode, void delegate(char[] fn) callback)

Obtain all paths for an inode.

logicalIno
void logicalIno(int fd, u64 logical, void delegate(u64 inode, u64 offset, u64 root) callback, bool ignoreOffset, ubyte[] buf)

Get inode at this logical offset

treeSearch
void treeSearch(int fd, __u64 treeID, __u64[2] objectIDs, __u8[2] types, __u64[2] offsets, __u64[2] transIDs, void delegate(const ref btrfs_ioctl_search_header header, const void[] data) callback)

Raw tree search

treeSearch
void treeSearch(int fd, __u64 treeID, __u64[2] objectIDs, __u64[2] offsets, __u64[2] transIDs, void delegate(const ref btrfs_ioctl_search_header header, const ref Type data) callback)

Typed tree search

Variables

treeSearchAllObjectIDs
enum __u64[2] treeSearchAllObjectIDs;
Undocumented in source.
treeSearchAllOffsets
enum __u64[2] treeSearchAllOffsets;
Undocumented in source.
treeSearchAllTransIDs
enum __u64[2] treeSearchAllTransIDs;
Undocumented in source.

Meta