Searched refs:lfd (Results 1 – 1 of 1) sorted by relevance
/test/vts-testcase/kernel/bow/ |
D | BowTest.cpp | 82 unique_fd lfd(open(loop_device_.c_str(), O_RDWR)); in SetUp() local 83 ASSERT_NE(lfd.get(), -1); in SetUp() 86 ASSERT_EQ(ioctl(lfd.get(), LOOP_SET_FD, ffd.get()), 0); in SetUp() 90 unique_fd lfd(open(loop_device_.c_str(), O_RDWR)); in TearDown() local 91 EXPECT_NE(lfd.get(), -1); in TearDown() 92 EXPECT_EQ(ioctl(lfd, LOOP_CLR_FD, 0), 0); in TearDown()
|