/external/ltp/testcases/kernel/syscalls/lseek/ |
lseek11.c | 136 pos = SAFE_LSEEK(fd, 0, SEEK_DATA); 185 SAFE_LSEEK(fd, 0, SEEK_HOLE); 189 SAFE_LSEEK(fd, offset, SEEK_SET); 193 SAFE_LSEEK(fd, -128, SEEK_END); 197 SAFE_LSEEK(fd, 0, SEEK_SET); 209 offset = SAFE_LSEEK(fd, offset, tp->whence); 214 if (offset != SAFE_LSEEK(fd, 0, SEEK_END))
|
/external/ltp/testcases/kernel/syscalls/read/ |
read01.c | 44 SAFE_LSEEK(fd, 0, SEEK_SET);
|
/external/ltp/testcases/kernel/syscalls/writev/ |
writev07.c | 69 SAFE_LSEEK(fd, initial_file_offset, SEEK_SET); 71 off_after = (long) SAFE_LSEEK(fd, 0, SEEK_CUR); 84 SAFE_LSEEK(fd, 0, SEEK_SET); 111 SAFE_LSEEK(fd, initial_file_offset, SEEK_SET);
|
/external/ltp/testcases/kernel/syscalls/pwritev/ |
pwritev01.c | 62 SAFE_LSEEK(fd, 0, SEEK_SET); 76 if (SAFE_LSEEK(fd, 0, SEEK_CUR) != 0) {
|
/external/ltp/testcases/kernel/io/direct_io/ |
diotest1.c | 145 SAFE_LSEEK(cleanup, fd1, offset, SEEK_SET); 148 SAFE_LSEEK(cleanup, fd2, offset, SEEK_SET); 153 SAFE_LSEEK(cleanup, fd1, offset, SEEK_SET);
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
sendfile09.c | 93 before_pos = SAFE_LSEEK(cleanup, in_fd, 0, SEEK_CUR); 99 after_pos = SAFE_LSEEK(cleanup, in_fd, 0, SEEK_CUR); 145 SAFE_LSEEK(cleanup, fd, 1024 * 1024 - 1, SEEK_CUR);
|
sendfile08.c | 70 ret = SAFE_LSEEK(cleanup, out_fd, 0, SEEK_SET);
|
/external/ltp/testcases/kernel/syscalls/write/ |
write01.c | 39 SAFE_LSEEK(fd, 0, SEEK_SET);
|
/external/ltp/testcases/kernel/syscalls/msync/ |
msync04.c | 44 SAFE_LSEEK(pagemap_fd, index, SEEK_SET); 52 SAFE_LSEEK(pageflags_fd, index, SEEK_SET);
|
/external/ltp/testcases/kernel/syscalls/preadv/ |
preadv01.c | 62 SAFE_LSEEK(fd, 0, SEEK_SET); 87 if (SAFE_LSEEK(fd, 0, SEEK_CUR) != 0) {
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl34.c | 81 SAFE_LSEEK(fd, 0, SEEK_END); 113 SAFE_LSEEK(fd, 0, SEEK_SET);
|
fcntl36.c | 104 SAFE_LSEEK(fd, pa->offset, SEEK_SET); 143 SAFE_LSEEK(fd, pa->offset, SEEK_SET); 184 SAFE_LSEEK(fd, pa->offset, SEEK_SET); 244 SAFE_LSEEK(fd, pa->offset, SEEK_SET);
|
/external/ltp/lib/tests/ |
trerrno.c | 68 SAFE_LSEEK(cleanup, fd, 0, SEEK_SET);
|
/external/ltp/testcases/kernel/syscalls/readv/ |
readv01.c | 69 SAFE_LSEEK(cleanup, fd, 0, SEEK_SET);
|
readv02.c | 282 SAFE_LSEEK(cleanup, fdesc, offset, whence);
|
/external/ltp/testcases/kernel/syscalls/copy_file_range/ |
copy_file_range01.c | 98 loff_t fd_off = SAFE_LSEEK(fd, 0, SEEK_CUR); 126 loff_t fd_off = SAFE_LSEEK(fd, 0, SEEK_CUR);
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
inotify05.c | 80 SAFE_LSEEK(cleanup, fd, 0, SEEK_SET); 82 SAFE_LSEEK(cleanup, fd, 0, SEEK_SET);
|
/external/ltp/testcases/kernel/syscalls/open/ |
open12.c | 131 len1 = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR); 133 len2 = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR);
|
open14.c | 119 SAFE_LSEEK(cleanup, fd, 0, SEEK_SET);
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
mmap12.c | 81 offset = SAFE_LSEEK(pm, index, SEEK_SET);
|
/external/ltp/testcases/kernel/syscalls/munmap/ |
munmap01.c | 185 SAFE_LSEEK(cleanup, fildes, map_len, SEEK_SET);
|
munmap02.c | 189 SAFE_LSEEK(cleanup, fildes, map_len, SEEK_SET);
|
/external/ltp/testcases/kernel/syscalls/openat/ |
openat02.c | 132 file_offset = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR);
|
openat03.c | 130 SAFE_LSEEK(cleanup, fd, 0, SEEK_SET);
|
/external/ltp/testcases/kernel/syscalls/fallocate/ |
fallocate04.c | 82 SAFE_LSEEK(fd, 0, SEEK_SET);
|