Home
last modified time | relevance | path

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

/openbmc/qemu/tests/tcg/multiarch/linux/
H A Dlinux-test.c69 #define chk_error(ret) __chk_error(__FILE__, __LINE__, (ret)) macro
96 chk_error(chdir(tmpdir)); in test_file()
100 fd = chk_error(open("file1", O_WRONLY | O_TRUNC | O_CREAT, 0644)); in test_file()
103 len = chk_error(write(fd, buf, FILE_BUF_SIZE / 2)); in test_file()
110 len = chk_error(writev(fd, vecs, 2)); in test_file()
113 chk_error(close(fd)); in test_file()
115 chk_error(rename("file1", "file2")); in test_file()
117 fd = chk_error(open("file2", O_RDONLY)); in test_file()
119 len = chk_error(read(fd, buf2, FILE_BUF_SIZE)); in test_file()
126 ret = chk_error(lseek(fd, FOFFSET, SEEK_SET)); in test_file()
[all …]
/openbmc/qemu/tests/tcg/multiarch/
H A Dsignals.c43 #define chk_error(ret) __chk_error(__FILE__, __LINE__, (ret)) macro
118 chk_error(sigaction(SIGRTMIN, &act, NULL)); in test_signals()
124 chk_error(timer_create(CLOCK_REALTIME, &sev, &tid)); in test_signals()
130 chk_error(timer_settime(tid, 0, &it, NULL)); in test_signals()
142 chk_error(timer_delete(tid)); in test_signals()
/openbmc/qemu/tests/tcg/s390x/
H A Dtrap.c40 #define chk_error(ret) __chk_error(__FILE__, __LINE__, (ret)) macro
73 chk_error(sigaction(SIGFPE, &act, NULL)); in main()
74 chk_error(sigaction(SIGILL, &act, NULL)); in main()
/openbmc/qemu/tests/tcg/hexagon/
H A Dhex_sigsegv.c65 chk_error(sigaction(SIGSEGV, &act, NULL)); in main()
79 chk_error(sigaction(SIGSEGV, &act, NULL)); in main()
H A Dmem_noshuf_exception.c77 chk_error(sigaction(SIGSEGV, &act, NULL)); in main()
91 chk_error(sigaction(SIGSEGV, &act, NULL)); in main()
H A Dhex_test.h50 #define chk_error(ret) __chk_error(__FILE__, __LINE__, (ret)) macro