treeSearch

Raw 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)
    void
    treeSearch
    (
    int fd
    ,,,,,,
    scope void delegate
    (,
    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)

Parameters

fd int

Handle to the filesystem

treeID __u64

Tree to search in

objectIDs __u64[2]

Min and max (inclusive) object IDs to search

types __u8[2]

Min and max (inclusive) types 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 void[] data
)

Callback receiving the search results

Meta