/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify01.c | 125 SAFE_READ(0, fd, buf, BUF_SIZE); in test_fanotify() 137 ret = SAFE_READ(0, fd_notify, event_buf, EVENT_BUF_LEN); in test_fanotify() 155 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify() 178 SAFE_READ(0, fd, buf, BUF_SIZE); in test_fanotify() 183 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify() 197 SAFE_READ(0, fd, buf, BUF_SIZE); in test_fanotify() 206 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify() 238 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify() 258 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/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 | 42 SAFE_READ(1, fds[0], read_buf, sizeof(read_buf)); in get_writesize() 166 SAFE_READ(1, fds[0], read_buf, sizeof(write_buf)); in verify_epollin() 213 SAFE_READ(1, fds[0], read_buf, sizeof(write_buf)); in verify_epollio()
|
/external/ltp/testcases/kernel/syscalls/lseek/ |
D | lseek01.c | 43 SAFE_READ(0, fd, read_buf, sizeof(read_buf)); in verify_lseek() 60 SAFE_READ(1, fd, read_buf, tc->exp_size); in verify_lseek()
|
D | lseek07.c | 63 SAFE_READ(1, *tc->fd, read_buf, tc->exp_size); in verify_lseek()
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
D | llseek03.c | 83 SAFE_READ(1, fd, read_buf, 4); in verify_lseek64() 101 ret = SAFE_READ(0, fd, read_buf, tc->read); in verify_lseek64()
|
/external/ltp/testcases/kernel/syscalls/msync/ |
D | msync04.c | 33 SAFE_READ(1, pagemap_fd, &pagemap_entry, sizeof(pagemap_entry)); in get_dirty_bit() 41 SAFE_READ(1, pageflags_fd, &pageflag_entry, sizeof(pageflag_entry)); in get_dirty_bit()
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev07.c | 76 SAFE_READ(1, fd, tmp, BUFSIZE); in test_partially_valid_iovec() 103 SAFE_READ(1, fd, tmp, TST_RET); in test_partially_valid_iovec()
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise08.c | 123 read = SAFE_READ(0, dfd, &rbuf, sizeof(rbuf)); in find_sequence() 150 read = SAFE_READ(0, dfd, &rbuf, sizeof(rbuf)); in find_sequence()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl36.c | 171 SAFE_READ(1, fd, buf, pa->length); in fn_ofd_r() 231 SAFE_READ(1, fd, buf, pa->length); in fn_posix_r() 336 SAFE_READ(1, fd, buf, write_size/4); in test_fn()
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe01.c | 32 rd_size = SAFE_READ(0, fds[0], rdbuf, sizeof(rdbuf)); in verify_pipe()
|
D | pipe02.c | 66 SAFE_READ(1, fd[0], rdbuf, SIZE); in verify_pipe()
|
D | pipe11.c | 33 nread = SAFE_READ(0, fds[0], rbuf, sizeof(rbuf)); in do_child()
|
/external/ltp/testcases/kernel/syscalls/exit/ |
D | exit02.c | 34 len = SAFE_READ(0, fd, buf, sizeof(buf)); in check_file()
|
/external/ltp/testcases/kernel/syscalls/write/ |
D | write03.c | 46 SAFE_READ(0, fd, rbuf, 100); in verify_write()
|
/external/ltp/testcases/kernel/pty/ |
D | pty02.c | 49 SAFE_READ(1, pts, &c, 1); in do_test()
|
/external/ltp/testcases/cve/ |
D | cve-2016-7042.c | 44 SAFE_READ(0, fd, buf, BUFSIZ); in do_test()
|
/external/ltp/testcases/kernel/syscalls/poll/ |
D | poll01.c | 72 SAFE_READ(1, fildes[0], read_buf, sizeof(write_buf)); in verify_pollin()
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate01.c | 49 SAFE_READ(0, fd, buf, sizeof(buf)); in check_and_report()
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice04.c | 64 SAFE_READ(1, pp2[0], arr_out + num_len_data - i, ret); in pipe_pipe()
|
D | splice01.c | 38 SAFE_READ(1, fd_out, splicebuffer, TEST_BLOCK_SIZE); in check_file()
|
/external/ltp/testcases/kernel/syscalls/vmsplice/ |
D | vmsplice01.c | 35 SAFE_READ(1, fd_out, vmsplicebuffer, TEST_BLOCK_SIZE); in check_file()
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap12.c | 73 SAFE_READ(1, pm, &pagemap, sizeof(uint64_t)); in page_check()
|