Home
last modified time | relevance | path

Searched refs:off64_t (Results 1 – 25 of 40) sorted by relevance

12

/bionic/libc/bionic/
Dposix_fadvise.cpp33 extern "C" int __arm_fadvise64_64(int, int, off64_t, off64_t);
34 extern "C" int __fadvise64(int, off64_t, off64_t, int);
42 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { in posix_fadvise64()
47 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { in posix_fadvise64()
Dsync_file_range.cpp31 extern "C" int __sync_file_range(int, off64_t, off64_t, unsigned int);
32 extern "C" int __sync_file_range2(int, unsigned int, off64_t, off64_t);
34 int sync_file_range(int fd, off64_t offset, off64_t length, unsigned int flags) { in sync_file_range()
Dlegacy_32_bit_support.cpp46 extern "C" int __llseek(int, unsigned long, unsigned long, off64_t*, int);
63 off64_t lseek64(int fd, off64_t off, int whence) { in lseek64()
64 off64_t result; in lseek64()
75 return pread64(fd, buf, byte_count, static_cast<off64_t>(offset)); in pread()
80 return pwrite64(fd, buf, byte_count, static_cast<off64_t>(offset)); in pwrite()
90 ssize_t preadv64(int fd, const struct iovec* ios, int count, off64_t offset) { in preadv64()
96 ssize_t pwritev64(int fd, const struct iovec* ios, int count, off64_t offset) { in pwritev64()
102 return fallocate64(fd, mode, static_cast<off64_t>(offset), static_cast<off64_t>(length)); in fallocate()
Dposix_fallocate.cpp38 int posix_fallocate64(int fd, off64_t offset, off64_t length) { in posix_fallocate64()
Dmmap.cpp44 void* mmap64(void* addr, size_t size, int prot, int flags, int fd, off64_t offset) { in mmap64()
76 return mmap64(addr, size, prot, flags, fd, static_cast<off64_t>(offset)); in mmap()
Dlockf.cpp35 int lockf64(int fd, int cmd, off64_t length) { in lockf64()
/bionic/libc/include/
Dfcntl.h78 ssize_t splice(int __in_fd, off64_t* __in_offset, int __out_fd, off64_t* __out_offset, size_t __len…
83 int fallocate64(int __fd, int __mode, off64_t __offset, off64_t __length) __INTRODUCED_IN(21);
85 int posix_fadvise64(int __fd, off64_t __offset, off64_t __length, int __advice) __INTRODUCED_IN(21);
87 int posix_fallocate64(int __fd, off64_t __offset, off64_t __length) __INTRODUCED_IN(21);
90 ssize_t readahead(int __fd, off64_t __offset, size_t __length) __INTRODUCED_IN(16);
91 int sync_file_range(int __fd, off64_t __offset, off64_t __length, unsigned int __flags) __INTRODUCE…
Dunistd.h264 int truncate64(const char* __path, off64_t __length) __INTRODUCED_IN(21);
265 off64_t lseek64(int __fd, off64_t __offset, int __whence);
266 ssize_t pread64(int __fd, void* __buf, size_t __count, off64_t __offset) __INTRODUCED_IN(12);
267 ssize_t pwrite64(int __fd, const void* __buf, size_t __count, off64_t __offset) __INTRODUCED_IN(12);
268 int ftruncate64(int __fd, off64_t __length) __INTRODUCED_IN(12);
/bionic/linker/
Dlinker_utils.h55 off64_t page_start(off64_t offset);
56 size_t page_offset(off64_t offset);
57 bool safe_add(off64_t* out, off64_t a, size_t b);
Dlinker_mapped_file_fragment.cpp48 bool MappedFileFragment::Map(int fd, off64_t base_offset, size_t elf_offset, size_t size) { in Map()
49 off64_t offset; in Map()
52 off64_t page_min = page_start(offset); in Map()
53 off64_t end_offset; in Map()
Dlinker_utils.cpp172 constexpr off64_t kPageMask = ~static_cast<off64_t>(PAGE_SIZE-1);
174 off64_t page_start(off64_t offset) { in page_start()
178 bool safe_add(off64_t* out, off64_t a, size_t b) { in safe_add()
188 size_t page_offset(off64_t offset) { in page_offset()
Dlinker_phdr.h45 bool Read(const char* name, int fd, off64_t file_offset, off64_t file_size);
75 off64_t file_offset_;
76 off64_t file_size_;
Dlinker_mapped_file_fragment.h40 bool Map(int fd, off64_t base_offset, size_t elf_offset, size_t size);
Dlinker_main.h53 const struct stat* file_stat, off64_t file_offset,
/bionic/libc/include/android/
Dlegacy_sys_mman_inlines.h48 off64_t __offset) __RENAME(mmap64);
50 off64_t __offset) { in mmap64()
Ddlext.h170 off64_t library_fd_offset;
/bionic/libc/include/sys/
Duio.h44 ssize_t preadv64(int __fd, const struct iovec* __iov, int __count, off64_t __offset) __INTRODUCED_I…
45 ssize_t pwritev64(int __fd, const struct iovec* __iov, int __count, off64_t __offset) __INTRODUCED_…
Dtypes.h103 typedef loff_t off64_t; typedef
107 typedef loff_t off64_t; typedef
Dsendfile.h60 ssize_t sendfile64(int __out_fd, int __in_fd, off64_t* __offset, size_t __count) __INTRODUCED_IN(21…
/bionic/libc/include/bits/
Dlockf.h65 int lockf64(int __fd, int __cmd, off64_t __length) __INTRODUCED_IN(24);
/bionic/tests/
Dsys_types_test.cpp42 ASSERT_EQ(8U, sizeof(off64_t)); in TEST()
Dsys_sendfile_test.cpp52 off64_t offset = 2; in TEST()
/bionic/libc/include/bits/fortify/
Dunistd.h37 ssize_t __pread64_chk(int, void*, size_t, off64_t, size_t) __INTRODUCED_IN(23);
38 ssize_t __pread64_real(int, void*, size_t, off64_t) __RENAME(pread64) __INTRODUCED_IN(12);
43 ssize_t __pwrite64_chk(int, const void*, size_t, off64_t, size_t) __INTRODUCED_IN(24);
44 ssize_t __pwrite64_real(int, const void*, size_t, off64_t) __RENAME(pwrite64)
100 ssize_t pread64(int fd, void* const __pass_object_size0 buf, size_t count, off64_t offset) in pread64()
130 ssize_t pwrite64(int fd, const void* const __pass_object_size0 buf, size_t count, off64_t offset) in pwrite64()
/bionic/libc/stdio/
Dlocal.h139 off64_t (*_seek64)(void*, off64_t, int);
206 off64_t __sseek64(void*, off64_t, int);
/bionic/libc/
DSYSCALLS.TXT41 ssize_t readahead(int, off64_t, size_t) all
93 ssize_t pread64(int, void*, size_t, off64_t) lp32
95 ssize_t pwrite64(int, void*, size_t, off64_t) lp32
98 # On LP32, preadv/pwritev don't use off64_t --- they use pairs of 32-bit
157 # Paired off_t/off64_t system calls. On 64-bit systems,
158 # sizeof(off_t) == sizeof(off64_t), so there we emit two symbols that are
162 int __llseek:_llseek(int, unsigned long, unsigned long, off64_t*, int) lp32
164 int ftruncate64(int, off64_t) lp32
167 ssize_t sendfile64(int out_fd, int in_fd, off64_t* offset, size_t count) lp32
170 int truncate64(const char*, off64_t) lp32
[all …]

12