Lines Matching refs:control
239 auto control = IncFs_CreateControl(fds[0].release(), fds[1].release(), fds[2].release()); in TEST_F() local
240 ASSERT_TRUE(control); in TEST_F()
241 EXPECT_GE(IncFs_GetControlFd(control, CMD), 0); in TEST_F()
242 EXPECT_GE(IncFs_GetControlFd(control, PENDING_READS), 0); in TEST_F()
243 EXPECT_GE(IncFs_GetControlFd(control, LOGS), 0); in TEST_F()
246 EXPECT_EQ(-EINVAL, IncFs_ReleaseControlFds(control, nullptr, 3)); in TEST_F()
247 EXPECT_EQ(-ERANGE, IncFs_ReleaseControlFds(control, rawFds, 2)); in TEST_F()
248 EXPECT_EQ(3, IncFs_ReleaseControlFds(control, rawFds, 3)); in TEST_F()
255 IncFs_DeleteControl(control); in TEST_F()
306 auto control{createControl(tmp_file.fd, -1, -1)}; in TEST_F() local
307 ASSERT_EQ("", root(control)) << "Error: " << errno; in TEST_F()
311 Control control = open(mount_dir_path_); in TEST_F() local
312 ASSERT_TRUE(control.cmd() >= 0); in TEST_F()
313 ASSERT_TRUE(control.pendingReads() >= 0); in TEST_F()
314 ASSERT_TRUE(control.logs() >= 0); in TEST_F()
319 Control control = open(tmp_dir_to_bind.path); in TEST_F() local
320 ASSERT_TRUE(control.cmd() < 0); in TEST_F()
321 ASSERT_TRUE(control.pendingReads() < 0); in TEST_F()
322 ASSERT_TRUE(control.logs() < 0); in TEST_F()