/bionic/libc/bionic/ |
D | posix_fadvise.cpp | 33 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()
|
D | sync_file_range.cpp | 31 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()
|
D | legacy_32_bit_support.cpp | 46 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()
|
D | posix_fallocate.cpp | 38 int posix_fallocate64(int fd, off64_t offset, off64_t length) { in posix_fallocate64()
|
D | mmap.cpp | 44 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()
|
D | lockf.cpp | 35 int lockf64(int fd, int cmd, off64_t length) { in lockf64()
|
/bionic/libc/include/ |
D | fcntl.h | 78 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…
|
D | unistd.h | 264 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/ |
D | linker_utils.h | 55 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);
|
D | linker_mapped_file_fragment.cpp | 48 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()
|
D | linker_utils.cpp | 172 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()
|
D | linker_phdr.h | 45 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_;
|
D | linker_mapped_file_fragment.h | 40 bool Map(int fd, off64_t base_offset, size_t elf_offset, size_t size);
|
D | linker_main.h | 53 const struct stat* file_stat, off64_t file_offset,
|
/bionic/libc/include/android/ |
D | legacy_sys_mman_inlines.h | 48 off64_t __offset) __RENAME(mmap64); 50 off64_t __offset) { in mmap64()
|
D | dlext.h | 170 off64_t library_fd_offset;
|
/bionic/libc/include/sys/ |
D | uio.h | 44 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_…
|
D | types.h | 103 typedef loff_t off64_t; typedef 107 typedef loff_t off64_t; typedef
|
D | sendfile.h | 60 ssize_t sendfile64(int __out_fd, int __in_fd, off64_t* __offset, size_t __count) __INTRODUCED_IN(21…
|
/bionic/libc/include/bits/ |
D | lockf.h | 65 int lockf64(int __fd, int __cmd, off64_t __length) __INTRODUCED_IN(24);
|
/bionic/tests/ |
D | sys_types_test.cpp | 42 ASSERT_EQ(8U, sizeof(off64_t)); in TEST()
|
D | sys_sendfile_test.cpp | 52 off64_t offset = 2; in TEST()
|
/bionic/libc/include/bits/fortify/ |
D | unistd.h | 37 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/ |
D | local.h | 139 off64_t (*_seek64)(void*, off64_t, int); 206 off64_t __sseek64(void*, off64_t, int);
|
/bionic/libc/ |
D | SYSCALLS.TXT | 41 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 …]
|