Home
last modified time | relevance | path

Searched refs:lseek64 (Results 1 – 25 of 70) 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/mtools/
Dllong.c62 extern long long lseek64 (int fd, long long offset, int origin);
70 if(lseek64(fd, where, whence) >= 0) in mt_lseek()
Dconfigure.in141 AC_MSG_CHECKING(whether lseek64 declared in unistd.h)
147 ], [extern int lseek64(int);],
174 tcsetattr tcflush basename fchdir media_oldaliases llseek lseek64 \
/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/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/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/f2fs-tools/
Dconfigure.ac141 lseek64
157 dnl Check to see if lseek64() is declared in unistd.h. Glibc's header files
159 dnl and if it isn't defined while lseek64 is defined in the library,
165 AC_CHECK_DECL(lseek64,[AC_DEFINE(HAVE_LSEEK64_PROTOTYPE, 1,
166 [Define to 1 if lseek64 declared in unistd.h])],,
/external/f2fs-tools/lib/
Dlibf2fs_io.c69 static inline off64_t lseek64(int fd, __u64 offset, int set) in lseek64() function
279 if (lseek64(fd, offset, SEEK_SET) < 0) { in dcache_io_read()
394 if (lseek64(c.kd, (off64_t)offset, SEEK_SET) < 0) in dev_read_version()
526 if (lseek64(fd, (off64_t)offset, SEEK_SET) < 0) in dev_read()
574 if (lseek64(fd, (off64_t)offset, SEEK_SET) < 0) in dev_write()
588 if (lseek64(c.dump_fd, (off64_t)offset, SEEK_SET) < 0) in dev_write_dump()
613 if (lseek64(fd, (off64_t)offset, SEEK_SET) < 0) in dev_fill()
/external/e2fsprogs/lib/ext2fs/
Dllseek.c40 #define my_llseek lseek64
132 return lseek64 (fd, offset, origin); in ext2fs_llseek()
/external/e2fsprogs/lib/blkid/
Dllseek.c40 #define my_llseek lseek64
134 return lseek64 (fd, offset, origin); in blkid_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/erofs-utils/
Dconfigure.ac137 # Check to see if lseek64() is declared in unistd.h. Glibc's header files
139 # and if it isn't defined while lseek64 is defined in the library,
144 AC_CHECK_DECL(lseek64,[AC_DEFINE(HAVE_LSEEK64_PROTOTYPE, 1,
145 [Define to 1 if lseek64 declared in unistd.h])],,
/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
/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/llvm-project/flang/runtime/
Dfile.cpp372 return ::lseek64(fd_, at, SEEK_SET) == at; in RawSeek()
380 std::int64_t at{::lseek64(fd_, 0, SEEK_END)}; in RawSeekToEnd()
/external/crosvm/devices/src/virtio/fs/
Dread_dir.rs33 let res = unsafe { libc::lseek64(dir.as_raw_descriptor(), offset, libc::SEEK_SET) }; in new()
/external/libchromeos-rs/src/
Dread_dir.rs102 syscall!(unsafe { libc::lseek64(dir.as_raw_fd(), offset, libc::SEEK_SET) })?; in read_dir()

123