Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/coredump/
H A Dstackdump_test.c41 self->fd_tmpfs_detached = -1; in FIXTURE_SETUP()
50 self->fd_tmpfs_detached = create_detached_tmpfs(); in FIXTURE_SETUP()
51 ASSERT_GE(self->fd_tmpfs_detached, 0); in FIXTURE_SETUP()
90 if (self->fd_tmpfs_detached >= 0) { in FIXTURE_TEARDOWN()
91 ret = close(self->fd_tmpfs_detached); in FIXTURE_TEARDOWN()
96 self->fd_tmpfs_detached = -1; in FIXTURE_TEARDOWN()
H A Dcoredump_socket_test.c16 self->fd_tmpfs_detached = -1; in FIXTURE_SETUP()
25 self->fd_tmpfs_detached = create_detached_tmpfs(); in FIXTURE_SETUP()
26 ASSERT_GE(self->fd_tmpfs_detached, 0); in FIXTURE_SETUP()
63 if (self->fd_tmpfs_detached >= 0) { in FIXTURE_TEARDOWN()
64 ret = close(self->fd_tmpfs_detached); in FIXTURE_TEARDOWN()
69 self->fd_tmpfs_detached = -1; in FIXTURE_TEARDOWN()
512 fd_core_file = open_coredump_tmpfile(self->fd_tmpfs_detached); in TEST_F()
658 fd_core_file = open_coredump_tmpfile(self->fd_tmpfs_detached); in TEST_F()
H A Dcoredump_test.h24 int fd_tmpfs_detached; in FIXTURE() local
56 int open_coredump_tmpfile(int fd_tmpfs_detached);
H A Dcoredump_test_helpers.c32 int fd_tmpfs_detached; member
302 int open_coredump_tmpfile(int fd_tmpfs_detached) in open_coredump_tmpfile() argument
304 return openat(fd_tmpfs_detached, ".", O_TMPFILE | O_RDWR | O_EXCL, 0600); in open_coredump_tmpfile()
H A Dcoredump_socket_protocol_test.c18 self->fd_tmpfs_detached = -1; in FIXTURE_SETUP()
27 self->fd_tmpfs_detached = create_detached_tmpfs(); in FIXTURE_SETUP()
28 ASSERT_GE(self->fd_tmpfs_detached, 0); in FIXTURE_SETUP()
65 if (self->fd_tmpfs_detached >= 0) { in FIXTURE_TEARDOWN()
66 ret = close(self->fd_tmpfs_detached); in FIXTURE_TEARDOWN()
71 self->fd_tmpfs_detached = -1; in FIXTURE_TEARDOWN()
1350 fd_core_file = open_coredump_tmpfile(self->fd_tmpfs_detached);
1500 fd_core_file = open_coredump_tmpfile(self->fd_tmpfs_detached);