Lines Matching refs:open

58     fbl::unique_fd fd(open(path, O_RDONLY | O_DIRECTORY));  in CheckMountedFs()
84 int fd = open(ramdisk_path, O_RDWR); in MountUnmountShared()
116 int fd = open(ramdisk_path, O_RDWR); in MountMkdirUnmount()
139 int fd = open(ramdisk_path, O_RDWR); in FmountFunmount()
142 int mountfd = open(mount_path, O_RDONLY | O_DIRECTORY | O_ADMIN); in FmountFunmount()
168 int fd = open(ramdisk_path, O_RDWR); in DoMountEvil()
171 int mountfd = open(mount_path, O_RDONLY | O_DIRECTORY | O_ADMIN); in DoMountEvil()
184 fd = open(ramdisk_path, O_RDWR); in DoMountEvil()
188 mountfd = open(mount_path, O_CREAT | O_RDWR); in DoMountEvil()
199 fd = open(ramdisk_path, O_RDWR); in DoMountEvil()
203 mountfd = open(mount_path, O_RDONLY | O_DIRECTORY); in DoMountEvil()
211 fd = open(ramdisk_path, O_RDWR); in DoMountEvil()
213 mountfd = open(mount_path, O_RDONLY | O_DIRECTORY | O_ADMIN); in DoMountEvil()
218 fd = open(ramdisk_path, O_RDWR); in DoMountEvil()
231 fbl::unique_fd badfd(open(mount_path, O_RDONLY | O_DIRECTORY)); in DoMountEvil()
241 badfd.reset(open(mount_path, O_RDONLY | O_DIRECTORY)); in DoMountEvil()
275 int mountfd = open(parent_path, O_RDONLY | O_DIRECTORY | O_ADMIN); in MountEvilMinfs()
277 int ramdiskfd = open(ramdisk_path, O_RDWR); in MountEvilMinfs()
305 int fd = open(ramdisk_path, O_RDWR); in UmountTestEvil()
312 fbl::unique_fd weak_root_fd(open(mount_path, O_RDONLY | O_DIRECTORY)); in UmountTestEvil()
354 int fd = open(ramdisk_path, O_RDWR); in DoubleMountRoot()
368 int mount_fd = open(mount_path, O_RDONLY | O_NOREMOTE | O_ADMIN); in DoubleMountRoot()
370 fd = open(ramdisk_path2, O_RDWR); in DoubleMountRoot()
378 mount_fd = open(mount_path, O_RDONLY | O_ADMIN); in DoubleMountRoot()
380 fd = open(ramdisk_path2, O_RDWR); in DoubleMountRoot()
406 int fd = open(ramdisk_path, O_RDWR); in MountRemount()
427 int fd = open(ramdisk_path, O_RDWR); in MountFsck()
451 fbl::unique_fd mountfd(open(mount_path, O_RDONLY | O_ADMIN)); in MountGetDevice()
464 int fd = open(ramdisk_path, O_RDWR); in MountGetDevice()
470 mountfd.reset(open(mount_path, O_RDONLY | O_ADMIN)); in MountGetDevice()
481 mountfd.reset(open(mount_path, O_RDONLY)); in MountGetDevice()
493 mountfd.reset(open(mount_path, O_RDONLY | O_ADMIN)); in MountGetDevice()
526 int fd = open(ramdisk_path, O_RDWR); in CreateTestFile()
530 int root_fd = open(mount_path, O_RDONLY | O_DIRECTORY); in CreateTestFile()
552 int fd = open(ramdisk_path, O_RDWR); in MountReadonly()
558 int root_fd = open(mount_path, O_RDONLY | O_DIRECTORY); in MountReadonly()
597 int fd = open(ramdisk_path, O_RDWR); in MountBlockReadonly()
607 int root_fd = open(mount_path, O_RDONLY | O_DIRECTORY); in MountBlockReadonly()
634 int fd = open(ramdisk_path, O_RDWR); in StatfsTest()
682 fbl::unique_fd ram_fd(open(fixture->block_device_path().c_str(), O_RDONLY)); in GetStatsTest()
694 fbl::unique_fd file_to_create(open(myfile.c_str(), O_RDWR | O_CREAT)); in GetStatsTest()
708 file_to_create.reset(open(myfile.c_str(), O_RDONLY)); in GetStatsTest()
753 fbl::unique_fd partition_fd(open(fixture->partition_path().c_str(), O_RDONLY)); in MkfsMinfsWithMinFvmSlices()