Searched refs:Container (Results 1 - 6 of 6) sorted by relevance

/fuchsia/zircon/system/host/fvm/container/
H A Dcontainer.cpp11 zx_status_t Container::Create(const char* path, off_t offset, off_t length,
12 uint32_t flags, fbl::unique_ptr<Container>* container) {
40 fbl::unique_ptr<Container> fvmContainer(new (&ac) FvmContainer(path, sb->slice_size,
57 fbl::unique_ptr<Container> sparseContainer(new (&ac) SparseContainer(path,
72 Container::Container(const char* path, size_t slice_size, uint32_t flags) function in class:Container
77 Container::~Container() {}
H A Dsparse.cpp83 : Container(path, slice_size, flags), valid_(false), disk_size_(0),
H A Dfvm.cpp44 : Container(path, slice_size, 0), valid_(false), disk_offset_(offset), disk_size_(length),
90 // If Container already exists, read metadata from disk.
/fuchsia/zircon/system/host/fvm/include/fvm/
H A Dcontainer.h16 // A Container represents a method of storing multiple file system partitions in an
18 class Container { class
20 // Returns a Container representation of the FVM within the given |path|, starting at |offset|
22 // valid Container type, or if flags is not zero or a valid combination of fvm::sparse_flags_t.
24 fbl::unique_ptr<Container>* out);
26 Container(const char* path, size_t slice_size, uint32_t flags);
28 virtual ~Container();
30 // Resets the Container state so we are ready to add a new set of partitions
32 // an existing Container.
35 // Reports various information about the Container,
[all...]
/fuchsia/zircon/system/host/fvm/
H A Dmain.cpp44 int add_partitions(Container* container, int argc, char** argv) {
248 fbl::unique_ptr<Container> containerData;
249 if (Container::Create(path, offset, length, flags, &containerData) != ZX_OK) {
/fuchsia/zircon/system/utest/fvm-host/
H A Dmain.cpp120 bool AddPartitions(Container* container) {
178 fbl::unique_ptr<Container> container;
181 ASSERT_EQ(Container::Create(path, offset, length - offset, 0, &container), ZX_OK,

Completed in 86 milliseconds