Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/filesystems/overlayfs/
H A Dset_layers_via_fds.c62 ASSERT_GE(fd_tmpfs, 0); in TEST_F()
103 ASSERT_EQ(close(fd_tmpfs), 0); in TEST_F()
179 ASSERT_GE(fd_tmpfs, 0); in TEST_F()
204 ASSERT_EQ(close(fd_tmpfs), 0); in TEST_F()
246 ASSERT_GE(fd_tmpfs, 0); in TEST_F()
267 ASSERT_EQ(close(fd_tmpfs), 0); in TEST_F()
391 ASSERT_GE(fd_tmpfs, 0); in TEST_F()
412 ASSERT_EQ(close(fd_tmpfs), 0); in TEST_F()
465 ASSERT_GE(fd_tmpfs, 0); in TEST_F()
542 ASSERT_GE(fd_tmpfs, 0); in TEST_F()
[all …]
/linux-6.15/tools/testing/selftests/filesystems/
H A Dfile_stressor.c51 int fd_tmpfs; in FIXTURE() local
71 self->fd_tmpfs = sys_fsmount(fd_context, 0, 0); in FIXTURE_SETUP()
72 ASSERT_GE(self->fd_tmpfs, 0); in FIXTURE_SETUP()
75 …ASSERT_EQ(sys_move_mount(self->fd_tmpfs, "", -EBADF, "/slab_typesafe_by_rcu", MOVE_MOUNT_F_EMPTY_P… in FIXTURE_SETUP()
103 ASSERT_EQ(close(self->fd_tmpfs), 0); in FIXTURE_TEARDOWN()
/linux-6.15/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c1750 int fd_context, fd_tmpfs, fd_tree; in TEST_F() local
1757 fd_tmpfs = sys_fsmount(fd_context, 0, 0); in TEST_F()
1758 ASSERT_GE(fd_tmpfs, 0); in TEST_F()
1762 ASSERT_EQ(mkdirat(fd_tmpfs, "subdir", 0755), 0); in TEST_F()
1764 fd_tree = sys_open_tree(fd_tmpfs, "subdir", in TEST_F()
1770 EXPECT_EQ(close(fd_tmpfs), 0); in TEST_F()