blob: 284ca0d9b94b370a5fd66651b75af1ab2a2877df [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.minfs;
using zx;
/// Describes a contiguous run of allocated blocks.
@for_deprecated_c_bindings
type BlockRegion = struct {
offset uint64;
length uint64;
};
@for_deprecated_c_bindings
protocol Minfs {
/// Retrieve information about allocated regions on the filesystem.
GetAllocatedRegions() -> (resource struct {
status zx.status;
regions zx.handle:<VMO, optional>;
count uint64;
});
};