Home
last modified time | relevance | path

Searched refs:lseek64 (Results 1 – 25 of 57) sorted by relevance

123

/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress07.c169 if (lseek64(rwfd, sparseoff, SEEK_SET) < 0) {
185 if (lseek64(rwfd, holesize, SEEK_CUR) == -1) {
229 if (lseek64(rwfd, sparseoff + e_pageskip * pagesize, SEEK_SET) == -1) {
248 if (lseek64(rofd, sparseoff, SEEK_SET) == -1) {
Dmmapstress10.c355 if (lseek64(fd, sparseoffset, SEEK_SET) < 0) {
723 if ((off = lseek64(fd_writer, 0, SEEK_END)) == -1) {
817 if (lseek64(fd, sparseoffset, SEEK_SET) < 0) {
Dmmapstress01.c306 if (lseek64(fd, sparseoffset, SEEK_SET) < 0) {
636 if (lseek64(fd, sparseoffset, SEEK_SET) < 0) {
/external/ltp/testcases/kernel/syscalls/llseek/
Dllseek01.c30 TEST(lseek64(fildes, (loff_t) (80 * BUFSIZ), SEEK_SET)); in verify_llseek()
41 TEST(lseek64(fildes, (loff_t) BUFSIZ, SEEK_SET)); in verify_llseek()
Dllseek02.c42 TEST(lseek64(*tc->fd, (loff_t) 1, tc->whence)); in verify_llseek()
Dllseek03.c85 TEST(lseek64(fd, tc->off, tc->whence)); in verify_lseek64()
/external/f2fs-tools/
Dconfigure.ac128 lseek64
144 dnl Check to see if lseek64() is declared in unistd.h. Glibc's header files
146 dnl and if it isn't defined while lseek64 is defined in the library,
152 AC_CHECK_DECL(lseek64,[AC_DEFINE(HAVE_LSEEK64_PROTOTYPE, 1,
153 [Define to 1 if lseek64 declared in unistd.h])],,
/external/e2fsprogs/util/
Dcopy_sparse.c156 if (lseek64(fd, should_be, SEEK_SET) == (off_t) -1) { in copy_sparse_file()
160 if (lseek64(ofd, should_be, SEEK_SET) == (off_t) -1) { in copy_sparse_file()
195 lseek64(ofd, offset-1, SEEK_CUR); in copy_sparse_file()
/external/f2fs-tools/lib/
Dlibf2fs_io.c66 static inline off64_t lseek64(int fd, __u64 offset, int set) in lseek64() function
276 if (lseek64(fd, offset, SEEK_SET) < 0) { in dcache_io_read()
391 if (lseek64(c.kd, (off64_t)offset, SEEK_SET) < 0) in dev_read_version()
520 if (lseek64(fd, (off64_t)offset, SEEK_SET) < 0) in dev_read()
565 if (lseek64(fd, (off64_t)offset, SEEK_SET) < 0) in dev_write()
579 if (lseek64(c.dump_fd, (off64_t)offset, SEEK_SET) < 0) in dev_write_dump()
601 if (lseek64(fd, (off64_t)offset, SEEK_SET) < 0) in dev_fill()
/external/libchrome/libchrome_tools/patch/
Dfile_posix.patch1 # On Android, lseek64 should be used, whlie lseek should be in other platfrom.
14 return lseek64(file_.get(), static_cast<off64_t>(offset),
/external/e2fsprogs/lib/blkid/
Dllseek.c40 #define my_llseek lseek64
134 return lseek64 (fd, offset, origin); in blkid_llseek()
/external/e2fsprogs/lib/ext2fs/
Dllseek.c40 #define my_llseek lseek64
132 return lseek64 (fd, offset, origin); in ext2fs_llseek()
/external/ltp/testcases/kernel/io/disktest/
Dio.c94 return_lba = (OFF_T) lseek64(fd, 0, SEEK_END); in SeekEnd()
106 return_lba = (OFF_T) lseek64(fd, lba, SEEK_SET); in Seek()
/external/ltp/testcases/kernel/fs/ftest/
Dftest08.c333 if (lseek64(fd, CHUNK(chunk), 0) < 0) { in dotest()
415 if (lseek64(fd, -xfr, 1) < 0) { in dotest()
455 if (lseek64(fd, CHUNK(i), 0) < in dotest()
Dftest05.c331 if (lseek64(fd, CHUNK(chunk), 0) < (off64_t) 0) { in dotest()
413 if (lseek64(fd, -((off64_t) xfr), 1) < (off64_t) 0) { in dotest()
Dftest07.c392 if (lseek64(fd, CHUNK(chunk), 0) < 0) { in dotest()
489 if (lseek64(fd, -((off64_t) xfr), 1) < 0) { in dotest()
/external/ltp/testscripts/
DReadme_ROBind87 * open, close, unlink, chdir, readv, writev, lseek64, llseek
92 Uses the lseek64.
/external/gptfdisk/
Dsupport.h16 #define lseek64 lseek macro
Ddiskio-unix.cc321 sought = lseek64(fd, seekTo, SEEK_SET); in Seek()
/external/crosvm/sys_util/src/
Dseek_hole.rs9 use libc::{lseek64, ENXIO, SEEK_DATA, SEEK_HOLE};
28 let res = unsafe { lseek64(file.as_raw_fd(), offset, whence) }; in lseek()
/external/ltp/testcases/kernel/syscalls/openat/
Dopenat02.c202 offset = lseek64(fd, 4.1*1024*1024*1024, SEEK_SET); in testfunc_largefile()
/external/ltp/testcases/kernel/syscalls/open/
Dopen12.c242 offset = lseek64(fd, 4.1*1024*1024*1024, SEEK_SET); in test_largefile()
/external/e2fsprogs/misc/
Dfindsuper.c191 for (; lseek64(fd, sk, SEEK_SET) != -1 && in main()
/external/e2fsprogs/contrib/
Dfsstress.c447 if (lseek64(fd, (off64_t) (MAXFSIZE32 + 1ULL), SEEK_SET) < 0) in main()
1870 lseek64(fd, off, SEEK_SET); in dread_f()
1960 lseek64(fd, off, SEEK_SET); in dwrite_f()
1976 lseek64(fd, off, SEEK_SET); in dwrite_f()
2295 lseek64(fd, off, SEEK_SET); in read_f()
2690 lseek64(fd, off, SEEK_SET); in write_f()
/external/ltp/testcases/kernel/fs/fsstress/
Dfsstress.c420 if (lseek64(fd, (off64_t) (MAXFSIZE32 + 1ULL), SEEK_SET) < 0) in main()
1845 lseek64(fd, off, SEEK_SET); in dread_f()
1935 lseek64(fd, off, SEEK_SET); in dwrite_f()
1951 lseek64(fd, off, SEEK_SET); in dwrite_f()
2270 lseek64(fd, off, SEEK_SET); in read_f()
2665 lseek64(fd, off, SEEK_SET); in write_f()

123