/system/core/libsparse/ |
H A D | img2simg.c | 37 #define lseek64 lseek macro 89 len = lseek64(in, 0, SEEK_END); 90 lseek64(in, 0, SEEK_SET);
|
H A D | append2simg.c | 37 #define lseek64 lseek macro 40 #define lseek64 lseek macro 97 input_len = lseek64(input, 0, SEEK_END); 105 lseek64(input, 0, SEEK_SET); 120 lseek64(output, 0, SEEK_SET);
|
H A D | sparse_read.c | 40 #define lseek64 lseek macro 133 lseek64(fd, len, SEEK_CUR); 323 lseek64(fd, sparse_header.file_hdr_sz - SPARSE_HEADER_LEN, SEEK_CUR); 336 lseek64(fd, sparse_header.chunk_hdr_sz - CHUNK_HEADER_LEN, SEEK_CUR); 339 offset = lseek64(fd, 0, SEEK_CUR); 460 ret = lseek64(fd, 0, SEEK_SET); 489 len = lseek64(fd, 0, SEEK_END); 494 lseek64(fd, 0, SEEK_SET);
|
H A D | output_file.c | 45 #define lseek64 lseek macro 131 ret = lseek64(outn->fd, cnt, SEEK_CUR); 133 error_errno("lseek64"); 721 pos = lseek64(fd, offset, SEEK_SET);
|
/system/core/include/utils/ |
H A D | Compat.h | 28 static inline off64_t lseek64(int fd, off64_t offset, int whence) { function
|
/system/extras/libpagemap/ |
H A D | pm_kernel.c | 122 off = lseek64(ker->kpagecount_fd, pfn * sizeof(uint64_t), SEEK_SET); 138 off = lseek64(ker->kpageflags_fd, pfn * sizeof(uint64_t), SEEK_SET);
|
H A D | pm_process.c | 132 off = lseek64(proc->pagemap_fd, firstpage * sizeof(uint64_t), SEEK_SET);
|
/system/core/libdiskconfig/ |
H A D | diskutils.c | 56 if (lseek64(dst_fd, offset, SEEK_SET) != offset) {
|
H A D | write_lst.c | 73 if (lseek64(fd, lst->offset, SEEK_SET) != (loff_t)lst->offset) {
|
/system/extras/ext4_utils/ |
H A D | ext4fixup.c | 35 #define lseek64 lseek macro 95 lseek64(fd, 0, SEEK_SET); 144 lseek64(fd, 0, SEEK_SET); 178 if (lseek64(fd, inode_offset, SEEK_SET) < 0) { 197 if (lseek64(fd, off, SEEK_SET) , 0) { 220 if (lseek64(fd, off, SEEK_SET) < 0) { 330 ret = lseek64(fd, ((unsigned long long)i * info.blocks_per_group * info.block_size) +
|
H A D | ext2simg.c | 76 ret = lseek64(fd, (u64)info.block_size * aux_info.bg_desc[i].bg_block_bitmap,
|
H A D | ext4_utils.c | 145 ret = lseek64(fd, 1024, SEEK_SET); 161 ret = lseek64(fd, offset, SEEK_SET); 604 ret = lseek64(fd, info.len, SEEK_SET); 608 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET);
|
H A D | ext4_utils.h | 42 #define lseek64 lseek macro
|
/system/extras/f2fs_utils/ |
H A D | f2fs_ioutils.c | 99 if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0)
|
H A D | f2fs_sparseblock.c | 163 ret = lseek64(fd, start, SEEK_SET); 573 ret = lseek64(d->outfd, pos * F2FS_BLKSIZE, SEEK_SET);
|
/system/update_engine/payload_consumer/ |
H A D | file_descriptor.cc | 67 return lseek64(fd_, offset, whence);
|
/system/extras/tests/directiotest/ |
H A D | directiotest.c | 76 lseek64(fd, start, SEEK_SET); 98 lseek64(fd, start, SEEK_SET);
|
/system/extras/tests/ext4/ |
H A D | rand_emmc_perf.c | 126 if (lseek64(fd, (rand() % max_blocks) * TST_BLK_SIZE, SEEK_SET) < 0) { 127 fprintf(stderr, "lseek64 failed\n"); 156 if (lseek64(fd, (rand() % max_blocks) * TST_BLK_SIZE, SEEK_SET) < 0) { 157 fprintf(stderr, "lseek64 failed\n");
|
/system/extras/verity/ |
H A D | verify_boot_signature.c | 138 if (lseek64(fd, offset, SEEK_SET) == -1) { 242 if (lseek64(fd, 0, SEEK_SET) != 0) {
|
/system/core/libziparchive/ |
H A D | zip_archive.cc | 222 if (lseek64(fd, search_start, SEEK_SET) != search_start) { 317 // Test file length. We use lseek64 to make sure the file 320 off64_t file_length = lseek64(fd, 0, SEEK_END); 511 if (lseek64(fd, off, SEEK_SET) != off) { 813 const off64_t current_offset = lseek64(fd, 0, SEEK_CUR); 1022 if (lseek64(archive->fd, data_offset, SEEK_SET) != data_offset) {
|
H A D | zip_archive_stream_entry.cc | 41 if (lseek64(archive->fd, data_offset, SEEK_SET) != data_offset) {
|
/system/vold/ |
H A D | cryptfs.c | 509 if (lseek64(fd, 1024, SEEK_SET) < 0) { 627 if (lseek64(fd, starting_off, SEEK_SET) == -1) { 704 if (lseek64(fd, pdata_offset, SEEK_SET) == -1) { 741 if (lseek64(fd, offset, SEEK_SET) == -1) { 780 if (lseek64(fd, starting_off, SEEK_SET) == -1) { 905 if (lseek64(fd, crypt_ftr.persist_data_offset[i], SEEK_SET) < 0) { 983 if (lseek64(fd, crypt_ftr.persist_data_offset[0], SEEK_SET) < 0) { 1006 if (lseek64(fd, write_offset, SEEK_SET) < 0) { 1012 if (lseek64(fd, erase_offset, SEEK_SET) < 0) { 2712 if (lseek64(realf [all...] |
H A D | secdiscard.cpp | 214 if (lseek64(fd, start, SEEK_SET) != start) {
|
/system/extras/verity/fec/ |
H A D | image.cpp | 411 if (lseek64(fd, -FEC_BLOCKSIZE, SEEK_END) < 0) { 461 if (lseek64(fd, 0, SEEK_SET) < 0) {
|
/system/core/toolbox/ |
H A D | nandread.c | 194 lseek64(fd, pos, SEEK_SET);
|