treeSearch

Typed tree search

  1. 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)
  2. 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)
    void
    treeSearch
    (
    __u8 btrfsType
    Type
    )
    (
    int fd
    ,,,,,
    scope void delegate
    (,
    const ref Type data
    )
    callback
    )

Parameters

btrfsType

BTRFS type identifier to search for

Type

Structure type describing the data

fd int

Handle to the filesystem

treeID __u64

Tree to search in

objectIDs __u64[2]

Min and max (inclusive) object IDs to search

offsets __u64[2]

Min and max (inclusive) offsets to search

transIDs __u64[2]

Min and max (inclusive) transaction IDs to search

callback void delegate
(,
const ref Type data
)

Callback receiving the search results

Meta