Home
last modified time | relevance | path

Searched refs:open_tree_fd (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c1130 int open_tree_fd = -EBADF; in TEST_F() local
1138 open_tree_fd = sys_open_tree(-EBADF, "/mnt/D", in TEST_F()
1142 ASSERT_GE(open_tree_fd, 0); in TEST_F()
1146 ASSERT_NE(sys_mount_setattr(open_tree_fd, "", AT_EMPTY_PATH, &attr, sizeof(attr)), 0); in TEST_F()
1149 ASSERT_EQ(close(open_tree_fd), 0); in TEST_F()
1239 int open_tree_fd = -EBADF; in TEST_F() local
1247 open_tree_fd = sys_open_tree(-EBADF, "/mnt/D", in TEST_F()
1252 ASSERT_GE(open_tree_fd, 0); in TEST_F()
1256 ASSERT_NE(sys_mount_setattr(open_tree_fd, "", AT_EMPTY_PATH, &attr, sizeof(attr)), 0); in TEST_F()
1258 ASSERT_EQ(close(open_tree_fd), 0); in TEST_F()
[all …]