Searched refs:fvm_fd (Results 1 – 8 of 8) sorted by relevance
| /system/uapp/disk-pave/ |
| A D | pave-lib.cpp | 418 fbl::unique_fd fvm_fd; in FvmPartitionFormat() local 422 fvm_fd = TryBindToFvmDriver(partition_fd, zx::sec(3)); in FvmPartitionFormat() 423 if (fvm_fd) { in FvmPartitionFormat() 429 return fvm_fd; in FvmPartitionFormat() 560 if (FvmPartitionIsChild(fvm_fd, old_part) != ZX_OK) { in WipeAllFvmPartitionsWithGUID() 586 zx_status_t PreProcessPartitions(const fbl::unique_fd& fvm_fd, in PreProcessPartitions() argument 659 zx_status_t AllocatePartitions(const fbl::unique_fd& fvm_fd, in AllocatePartitions() argument 731 if (!fvm_fd) { in FvmStreamPartitions() 750 ssize_t result = ioctl_block_fvm_query(fvm_fd.get(), &info); in FvmStreamPartitions() 770 if (!fvm_fd) { in FvmStreamPartitions() [all …]
|
| /system/ulib/fs-management/include/fs-management/ |
| A D | fvm.h | 26 int fvm_allocate_partition(int fvm_fd, const alloc_req_t* request);
|
| /system/utest/fs/ |
| A D | filesystems.cpp | 108 int fvm_fd; in setup_fs_test() local 109 if ((fvm_fd = open(fvm_disk_path, O_RDWR)) < 0) { in setup_fs_test() 121 if ((fd = fvm_allocate_partition(fvm_fd, &request)) < 0) { in setup_fs_test() 125 close(fvm_fd); in setup_fs_test()
|
| /system/ulib/fs-test-utils/ |
| A D | fixture.cpp | 155 fbl::unique_fd fvm_fd(open(fvm_device_path.c_str(), O_RDWR)); in MakeFvm() local 156 if (!fvm_fd) { in MakeFvm() 169 fbl::unique_fd partition_fd(fvm_allocate_partition(fvm_fd.get(), &request)); in MakeFvm()
|
| /system/ulib/fs-management/ |
| A D | fvm.cpp | 212 int fvm_allocate_partition(int fvm_fd, const alloc_req_t* request) { in fvm_allocate_partition() argument 214 if ((r = ioctl_block_fvm_alloc_partition(fvm_fd, request)) != ZX_OK) { in fvm_allocate_partition()
|
| /system/utest/zxcrypt/ |
| A D | test-device.cpp | 342 fbl::unique_fd fvm_fd; in CreateFvmPart() local 344 ASSERT_TRUE(WaitAndOpen(path, &fvm_fd)); in CreateFvmPart() 355 fvm_part_.reset(fvm_allocate_partition(fvm_fd.get(), &req)); in CreateFvmPart()
|
| /system/utest/fvm/ |
| A D | fvm.cpp | 126 int FVMRebind(int fvm_fd, char* ramdisk_path, const partition_entry_t* entries, in FVMRebind() argument 139 close(fvm_fd); in FVMRebind() 178 fvm_fd = open(path, O_RDWR); in FVMRebind() 179 if (fvm_fd < 0) { in FVMRebind() 183 return fvm_fd; in FVMRebind()
|
| /system/utest/blobfs/ |
| A D | blobfs.cpp | 265 fbl::unique_fd fvm_fd(open(fvm_path_, O_RDWR)); in Init() local 266 ASSERT_GE(fvm_fd.get(), 0, "[FAILED]: Could not open FVM driver"); in Init() 279 fd.reset(fvm_allocate_partition(fvm_fd.get(), &request)); in Init() 281 fvm_fd.reset(); in Init()
|
Completed in 27 milliseconds