/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify01.c | 93 SAFE_READ(0, fd, buf, BUF_SIZE); in test_fanotify() 105 ret = SAFE_READ(0, fd_notify, event_buf, EVENT_BUF_LEN); in test_fanotify() 123 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify() 146 SAFE_READ(0, fd, buf, BUF_SIZE); in test_fanotify() 151 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify() 165 SAFE_READ(0, fd, buf, BUF_SIZE); in test_fanotify() 174 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify() 206 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify() 226 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify()
|
D | fanotify02.c | 79 ret = SAFE_READ(0, fd_notify, event_buf, in test01() 87 SAFE_READ(0, fd, buf, BUF_SIZE); in test01() 98 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01() 131 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01()
|
D | fanotify11.c | 86 SAFE_READ(0, fd_notify, &event, sizeof(struct fanotify_event_metadata)); in test01()
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
D | llseek03.c | 113 SAFE_READ(cleanup, 1, fd, read_buf, 4); in testfunc_seekcur() 130 SAFE_READ(cleanup, 1, fd, read_buf, 3); in testfunc_seekcur() 165 nread = SAFE_READ(cleanup, 0, fd, read_buf, file_size); in testfunc_seekend()
|
/external/ltp/lib/tests/ |
D | tst_safe_macros.c | 30 SAFE_READ(cleanup, 0, fd, buf, 9); in main() 32 SAFE_READ(cleanup, 1, fd, buf, 9); in main()
|
/external/ltp/testcases/kernel/syscalls/epoll_wait/ |
D | epoll_wait01.c | 54 SAFE_READ(1, fds[0], read_buf, sizeof(read_buf)); in get_writesize() 178 SAFE_READ(1, fds[0], read_buf, sizeof(write_buf)); in verify_epollin() 225 SAFE_READ(1, fds[0], read_buf, sizeof(write_buf)); in verify_epollio()
|
/external/ltp/testcases/kernel/syscalls/lseek/ |
D | lseek01.c | 55 SAFE_READ(0, fd, read_buf, sizeof(read_buf)); in verify_lseek() 72 SAFE_READ(1, fd, read_buf, tc->exp_size); in verify_lseek()
|
D | lseek07.c | 75 SAFE_READ(1, *tc->fd, read_buf, tc->exp_size); in verify_lseek()
|
/external/ltp/testcases/kernel/syscalls/msync/ |
D | msync04.c | 45 SAFE_READ(1, pagemap_fd, &pagemap_entry, sizeof(pagemap_entry)); in get_dirty_bit() 53 SAFE_READ(1, pageflags_fd, &pageflag_entry, sizeof(pageflag_entry)); in get_dirty_bit()
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev07.c | 85 SAFE_READ(1, fd, tmp, BUFSIZE); in test_partially_valid_iovec() 112 SAFE_READ(1, fd, tmp, TST_RET); in test_partially_valid_iovec()
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise08.c | 139 read = SAFE_READ(0, dfd, &rbuf, sizeof(rbuf)); in find_sequence() 166 read = SAFE_READ(0, dfd, &rbuf, sizeof(rbuf)); in find_sequence()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl36.c | 186 SAFE_READ(1, fd, buf, pa->length); in fn_ofd_r() 246 SAFE_READ(1, fd, buf, pa->length); in fn_posix_r() 351 SAFE_READ(1, fd, buf, write_size/4); in test_fn()
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe01.c | 44 rd_size = SAFE_READ(0, fds[0], rdbuf, sizeof(rdbuf)); in verify_pipe()
|
D | pipe02.c | 78 SAFE_READ(1, fd[0], rdbuf, SIZE); in verify_pipe()
|
D | pipe11.c | 46 nread = SAFE_READ(0, fds[0], rbuf, sizeof(rbuf)); in do_child()
|
/external/ltp/testcases/kernel/syscalls/exit/ |
D | exit02.c | 47 len = SAFE_READ(0, fd, buf, sizeof(buf)); in check_file()
|
/external/ltp/testcases/kernel/syscalls/write/ |
D | write03.c | 59 SAFE_READ(0, fd, rbuf, 100); in verify_write()
|
/external/ltp/testcases/cve/ |
D | cve-2016-7042.c | 56 SAFE_READ(0, fd, buf, BUFSIZ); in do_test()
|
/external/ltp/testcases/kernel/pty/ |
D | pty02.c | 61 SAFE_READ(1, pts, &c, 1); in do_test()
|
/external/ltp/testcases/kernel/syscalls/poll/ |
D | poll01.c | 85 SAFE_READ(1, fildes[0], read_buf, sizeof(write_buf)); in verify_pollin()
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice01.c | 51 SAFE_READ(1, fd_out, splicebuffer, TEST_BLOCK_SIZE); in check_file()
|
D | splice04.c | 81 SAFE_READ(1, pp2[0], arr_out + num_len_data - i, ret); in pipe_pipe()
|
/external/ltp/testcases/kernel/syscalls/vmsplice/ |
D | vmsplice01.c | 54 SAFE_READ(1, fd_out, vmsplicebuffer, TEST_BLOCK_SIZE); in check_file()
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap12.c | 86 SAFE_READ(1, pm, &pagemap, sizeof(uint64_t)); in page_check()
|
/external/ltp/testcases/kernel/syscalls/tee/ |
D | tee01.c | 54 SAFE_READ(1, fd_out, teebuffer, TEST_BLOCK_SIZE); in check_file()
|