Lines Matching refs:fbl
17 #include <fbl/unique_free_ptr.h>
18 #include <fbl/unique_ptr.h>
30 int do_minfs_check(fbl::unique_ptr<minfs::Bcache> bc, const minfs::Options& options) {
31 return minfs_check(fbl::move(bc));
34 int do_minfs_mount(fbl::unique_ptr<minfs::Bcache> bc, const minfs::Options& options) {
46 if ((status = MountAndServe(&options, loop.dispatcher(), fbl::move(bc), zx::channel(h),
47 fbl::move(loop_quit)) != ZX_OK)) {
62 int do_minfs_mkfs(fbl::unique_ptr<minfs::Bcache> bc, const minfs::Options& options) {
63 return Mkfs(options, fbl::move(bc));
68 int (*func)(fbl::unique_ptr<minfs::Bcache> bc, const minfs::Options&);
93 for (unsigned n = 0; n < fbl::count_of(CMDS); n++) {
160 fbl::unique_fd fd;
180 fbl::unique_ptr<minfs::Bcache> bc;
181 if (minfs::Bcache::Create(&bc, fbl::move(fd), (uint32_t)size) < 0) {
187 return do_minfs_mount(fbl::move(bc), options);
190 for (unsigned i = 0; i < fbl::count_of(CMDS); i++) {
192 int r = CMDS[i].func(fbl::move(bc), options);