Lines Matching refs:open
50 int fd = open(ramdisk_path, O_RDWR);
51 ASSERT_GE(fd, 0, "Could not open ramdisk device");
63 ASSERT_TRUE(fd, "Could not open ramdisk device");
73 ASSERT_TRUE(fd, "Could not open ramdisk device");
182 fbl::unique_fd fd(open(ramdisk_path, O_RDWR));
215 int fd = open(ramdisk_path, O_RDWR);
216 ASSERT_GE(fd, 0, "Could not open ramdisk device");
278 int devfd = open(blockpath, O_RDONLY);
287 ASSERT_EQ(open(blockpath, O_RDONLY), -1, "Ramdisk is visible in /dev after destruction");
301 int fd = open(ramdisk_path, O_RDWR);
302 ASSERT_GE(fd, 0, "Could not open ramdisk device");