Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/
Dkselftest.h117 int saved_errno = errno; in ksft_print_msg() local
122 errno = saved_errno; in ksft_print_msg()
129 int saved_errno = errno; in ksft_test_result_pass() local
136 errno = saved_errno; in ksft_test_result_pass()
143 int saved_errno = errno; in ksft_test_result_fail() local
150 errno = saved_errno; in ksft_test_result_fail()
169 int saved_errno = errno; in ksft_test_result_xfail() local
176 errno = saved_errno; in ksft_test_result_xfail()
183 int saved_errno = errno; in ksft_test_result_skip() local
190 errno = saved_errno; in ksft_test_result_skip()
[all …]
/Linux-v5.15/samples/binderfs/
Dbinderfs_example.c20 int fd, ret, saved_errno; in main() local
61 saved_errno = errno; in main()
63 errno = saved_errno; in main()
/Linux-v5.15/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c58 int fd, ret, saved_errno, result = 1; in __do_binderfs_test() local
98 saved_errno = errno; in __do_binderfs_test()
100 errno = saved_errno; in __do_binderfs_test()
121 saved_errno = errno; in __do_binderfs_test()
123 errno = saved_errno; in __do_binderfs_test()
/Linux-v5.15/tools/testing/selftests/pidfd/
Dpidfd_test.c94 int pidfd, ret, saved_errno; in test_pidfd_send_signal_exited_fail() local
126 saved_errno = errno; in test_pidfd_send_signal_exited_fail()
133 if (saved_errno != ESRCH) in test_pidfd_send_signal_exited_fail()
136 test_name, saved_errno); in test_pidfd_send_signal_exited_fail()
/Linux-v5.15/tools/testing/selftests/ptrace/
Dget_syscall_info.c22 int saved_errno = errno; in kill_tracee() local
26 errno = saved_errno; in kill_tracee()
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_verifier.c964 int err, saved_errno; in do_prog_test_run() local
970 saved_errno = errno; in do_prog_test_run()
976 switch (saved_errno) { in do_prog_test_run()
988 strerror(saved_errno)); in do_prog_test_run()
1048 int saved_errno; in do_test_single() local
1110 saved_errno = errno; in do_test_single()
1127 strerror(saved_errno)); in do_test_single()
/Linux-v5.15/tools/perf/util/
Djitdump.c89 int ret, fd, saved_errno; in jit_emit_elf() local
97 saved_errno = errno; in jit_emit_elf()
100 pr_warning("cannot create jit ELF %s: %s\n", filename, strerror(saved_errno)); in jit_emit_elf()
/Linux-v5.15/tools/perf/
Dbuiltin-top.c1688 int saved_errno = errno; in cmd_top() local
1693 status = -saved_errno; in cmd_top()
Dbuiltin-record.c2846 int saved_errno = errno; in cmd_record() local
2851 err = -saved_errno; in cmd_record()