/external/ltp/testcases/kernel/syscalls/lseek/ |
D | lseek11.c | 136 pos = SAFE_LSEEK(fd, 0, SEEK_DATA); in get_blocksize() 185 SAFE_LSEEK(fd, 0, SEEK_HOLE); in setup() 189 SAFE_LSEEK(fd, offset, SEEK_SET); in setup() 193 SAFE_LSEEK(fd, -128, SEEK_END); in setup() 197 SAFE_LSEEK(fd, 0, SEEK_SET); in setup() 209 offset = SAFE_LSEEK(fd, offset, tp->whence); in test_lseek() 214 if (offset != SAFE_LSEEK(fd, 0, SEEK_END)) in test_lseek()
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev07.c | 69 SAFE_LSEEK(fd, initial_file_offset, SEEK_SET); in test_partially_valid_iovec() 71 off_after = (long) SAFE_LSEEK(fd, 0, SEEK_CUR); in test_partially_valid_iovec() 84 SAFE_LSEEK(fd, 0, SEEK_SET); in test_partially_valid_iovec() 111 SAFE_LSEEK(fd, initial_file_offset, SEEK_SET); in test_partially_valid_iovec()
|
/external/ltp/testcases/kernel/io/direct_io/ |
D | diotest1.c | 145 SAFE_LSEEK(cleanup, fd1, offset, SEEK_SET); in main() 148 SAFE_LSEEK(cleanup, fd2, offset, SEEK_SET); in main() 153 SAFE_LSEEK(cleanup, fd1, offset, SEEK_SET); in main()
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile09.c | 93 before_pos = SAFE_LSEEK(cleanup, in_fd, 0, SEEK_CUR); in do_sendfile() 99 after_pos = SAFE_LSEEK(cleanup, in_fd, 0, SEEK_CUR); in do_sendfile() 145 SAFE_LSEEK(cleanup, fd, 1024 * 1024 - 1, SEEK_CUR); in setup()
|
D | sendfile08.c | 70 ret = SAFE_LSEEK(cleanup, out_fd, 0, SEEK_SET); in main()
|
/external/ltp/testcases/kernel/syscalls/pwritev/ |
D | pwritev01.c | 62 SAFE_LSEEK(fd, 0, SEEK_SET); in verify_pwritev() 76 if (SAFE_LSEEK(fd, 0, SEEK_CUR) != 0) { in verify_pwritev()
|
D | pwritev03.c | 79 if (SAFE_LSEEK(fd, 0, SEEK_CUR) != 0) { in verify_direct_pwritev()
|
/external/ltp/testcases/kernel/syscalls/preadv/ |
D | preadv01.c | 62 SAFE_LSEEK(fd, 0, SEEK_SET); in verify_preadv() 87 if (SAFE_LSEEK(fd, 0, SEEK_CUR) != 0) { in verify_preadv()
|
D | preadv03.c | 69 SAFE_LSEEK(fd, 0, SEEK_SET); in verify_direct_preadv() 94 if (SAFE_LSEEK(fd, 0, SEEK_CUR) != 0) { in verify_direct_preadv()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl36.c | 105 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_ofd_w() 144 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_posix_w() 185 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_ofd_r() 245 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_posix_r()
|
D | fcntl34.c | 82 SAFE_LSEEK(fd, 0, SEEK_END); in thread_fn_01() 114 SAFE_LSEEK(fd, 0, SEEK_SET); in test01()
|
/external/ltp/testcases/kernel/syscalls/msync/ |
D | msync04.c | 44 SAFE_LSEEK(pagemap_fd, index, SEEK_SET); in get_dirty_bit() 52 SAFE_LSEEK(pageflags_fd, index, SEEK_SET); in get_dirty_bit()
|
/external/ltp/testcases/kernel/syscalls/preadv2/ |
D | preadv201.c | 60 SAFE_LSEEK(fd, tc->seek_off, SEEK_SET); in verify_preadv2() 85 if (SAFE_LSEEK(fd, 0, SEEK_CUR) != tc->exp_off) { in verify_preadv2()
|
/external/ltp/testcases/kernel/syscalls/pwritev2/ |
D | pwritev201.c | 58 SAFE_LSEEK(fd, tc->seek_off, SEEK_SET); in verify_pwritev2() 72 if (SAFE_LSEEK(fd, 0, SEEK_CUR) != tc->exp_off) { in verify_pwritev2()
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
D | inotify05.c | 67 SAFE_LSEEK(fd, 0, SEEK_SET); in verify_inotify() 69 SAFE_LSEEK(fd, 0, SEEK_SET); in verify_inotify()
|
D | inotify09.c | 63 SAFE_LSEEK(fd, 0, SEEK_SET); in write_seek()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open12.c | 131 len1 = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR); in test_append() 133 len2 = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR); in test_append()
|
/external/ltp/testcases/kernel/syscalls/copy_file_range/ |
D | copy_file_range01.c | 98 loff_t fd_off = SAFE_LSEEK(fd, 0, SEEK_CUR); in check_file_offset() 126 loff_t fd_off = SAFE_LSEEK(fd, 0, SEEK_CUR); in check_file_offset()
|
/external/ltp/testcases/kernel/syscalls/read/ |
D | read01.c | 44 SAFE_LSEEK(fd, 0, SEEK_SET); in verify_read()
|
/external/ltp/testcases/kernel/syscalls/write/ |
D | write01.c | 39 SAFE_LSEEK(fd, 0, SEEK_SET); in verify_write()
|
/external/ltp/lib/tests/ |
D | trerrno.c | 68 SAFE_LSEEK(cleanup, fd, 0, SEEK_SET); in main()
|
/external/ltp/testcases/kernel/syscalls/readv/ |
D | readv01.c | 69 SAFE_LSEEK(cleanup, fd, 0, SEEK_SET); in main()
|
/external/ltp/testcases/kernel/syscalls/munmap/ |
D | munmap01.c | 185 SAFE_LSEEK(cleanup, fildes, map_len, SEEK_SET); in setup()
|
D | munmap02.c | 189 SAFE_LSEEK(cleanup, fildes, map_len, SEEK_SET); in setup()
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap12.c | 81 offset = SAFE_LSEEK(pm, index, SEEK_SET); in page_check()
|