Lines Matching refs:open
23 fbl::unique_fd fd(open(block_device_path.c_str(), O_RDONLY)); in GetBlockDeviceInfo()
174 fbl::unique_fd ramdisk_fd(open(fixture.block_device_path().c_str(), O_RDONLY)); in RamdiskSetupAndCleanup()
186 fbl::unique_fd blk_fd(open(fixture.GetFsBlockDevice().c_str(), O_RDONLY)); in DiskIsFormattedCorrectlyNoFvm()
205 fbl::unique_fd blk_fd(open(fixture.GetFsBlockDevice().c_str(), O_RDONLY)); in DiskAndFvmAreFormattedCorrectly()
210 fbl::unique_fd fvm_blk_fd(open(fixture.block_device_path().c_str(), O_RDONLY)); in DiskAndFvmAreFormattedCorrectly()
253 fbl::unique_fd blk_fd(open(fixture.block_device_path().c_str(), O_RDONLY)); in UseBlockDeviceIsOk()
259 blk_fd.reset(open(fixture.block_device_path().c_str(), O_RDONLY)); in UseBlockDeviceIsOk()
265 blk_fd.reset(open(fixture.block_device_path().c_str(), O_RDONLY)); in UseBlockDeviceIsOk()
301 fbl::unique_fd blk_fd(open(fixture.block_device_path().c_str(), O_RDONLY)); in UseBlockDeviceWithFvmIsOk()
307 blk_fd.reset(open(fixture.block_device_path().c_str(), O_RDONLY)); in UseBlockDeviceWithFvmIsOk()
312 blk_fd.reset(open(fixture.GetFsBlockDevice().c_str(), O_RDONLY)); in UseBlockDeviceWithFvmIsOk()
318 blk_fd.reset(open(fixture.block_device_path().c_str(), O_RDONLY)); in UseBlockDeviceWithFvmIsOk()
355 fbl::unique_fd block_fd(open(fixture.block_device_path().c_str(), O_RDONLY)); in SkipFormatIsOk()
361 block_fd.reset(open(fixture.block_device_path().c_str(), O_RDONLY)); in SkipFormatIsOk()
367 block_fd.reset(open(fixture.block_device_path().c_str(), O_RDONLY)); in SkipFormatIsOk()