Home
last modified time | relevance | path

Searched refs:fd_tmpfs_detached (Results 1 – 9 of 9) 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_notify_signal_test.c37 self->fd_tmpfs_detached = -1; in FIXTURE_SETUP()
47 self->fd_tmpfs_detached = create_detached_tmpfs(); in FIXTURE_SETUP()
48 ASSERT_GE(self->fd_tmpfs_detached, 0); in FIXTURE_SETUP()
95 if (self->fd_tmpfs_detached >= 0) { in FIXTURE_TEARDOWN()
96 ret = close(self->fd_tmpfs_detached); in FIXTURE_TEARDOWN()
101 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()
526 fd_core_file = open_coredump_tmpfile(self->fd_tmpfs_detached); in TEST_F()
701 fd_core_file = open_coredump_tmpfile(self->fd_tmpfs_detached); in TEST_F()
863 fd_core_file = open_coredump_tmpfile(self->fd_tmpfs_detached); in TEST_F()
H A Dcoredump_test.h16 int fd_tmpfs_detached; in FIXTURE() local
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()
1068 fd_core_file = open_coredump_tmpfile(self->fd_tmpfs_detached);
1216 fd_core_file = open_coredump_tmpfile(self->fd_tmpfs_detached);
1448 fd_file = open_coredump_tmpfile(self->fd_tmpfs_detached); in check_record_dump()
1658 fd_reference = open_coredump_tmpfile(self->fd_tmpfs_detached); in TEST_F()
[all …]
H A Dcoredump_test_helpers.h78 int open_coredump_tmpfile(int fd_tmpfs_detached);
H A Dcoredump_signal_test.c24 self->fd_tmpfs_detached = -1; in FIXTURE_SETUP()
H A Dcoredump_worker_test.c46 self->fd_tmpfs_detached = -1; in FIXTURE_SETUP()
H A Dcoredump_test_helpers.c1699 int open_coredump_tmpfile(int fd_tmpfs_detached) in open_coredump_tmpfile() argument
1701 return openat(fd_tmpfs_detached, ".", O_TMPFILE | O_RDWR | O_EXCL, 0600); in open_coredump_tmpfile()