/system/core/libsparse/ |
D | append2simg.c | 37 #define lseek64 lseek macro 40 #define lseek64 lseek macro 97 input_len = lseek64(input, 0, SEEK_END); in main() 105 lseek64(input, 0, SEEK_SET); in main() 120 lseek64(output, 0, SEEK_SET); in main()
|
D | img2simg.c | 37 #define lseek64 lseek macro 89 len = lseek64(in, 0, SEEK_END); in main() 90 lseek64(in, 0, SEEK_SET); in main()
|
D | sparse_read.c | 40 #define lseek64 lseek macro 133 lseek64(fd, len, SEEK_CUR); in process_raw_chunk() 323 lseek64(fd, sparse_header.file_hdr_sz - SPARSE_HEADER_LEN, SEEK_CUR); in sparse_file_read_sparse() 336 lseek64(fd, sparse_header.chunk_hdr_sz - CHUNK_HEADER_LEN, SEEK_CUR); in sparse_file_read_sparse() 339 offset = lseek64(fd, 0, SEEK_CUR); in sparse_file_read_sparse() 460 ret = lseek64(fd, 0, SEEK_SET); in sparse_file_import() 489 len = lseek64(fd, 0, SEEK_END); in sparse_file_import_auto() 494 lseek64(fd, 0, SEEK_SET); in sparse_file_import_auto()
|
D | output_file.c | 45 #define lseek64 lseek macro 131 ret = lseek64(outn->fd, cnt, SEEK_CUR); in file_skip() 721 pos = lseek64(fd, offset, SEEK_SET); in write_fd_chunk()
|
/system/extras/ext4_utils/ |
D | ext4fixup.c | 35 #define lseek64 lseek macro 95 lseek64(fd, 0, SEEK_SET); in get_fs_fixup_state() 144 lseek64(fd, 0, SEEK_SET); in set_fs_fixup_state() 178 if (lseek64(fd, inode_offset, SEEK_SET) < 0) { in read_inode() 197 if (lseek64(fd, off, SEEK_SET) , 0) { in read_block() 220 if (lseek64(fd, off, SEEK_SET) < 0) { in write_block() 330 ret = lseek64(fd, ((unsigned long long)i * info.blocks_per_group * info.block_size) + in update_superblocks_and_bg_desc()
|
D | ext4_utils.c | 145 ret = lseek64(fd, 1024, SEEK_SET); in read_sb() 161 ret = lseek64(fd, offset, SEEK_SET); in write_sb() 604 ret = lseek64(fd, info.len, SEEK_SET); in read_ext() 608 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET); in read_ext()
|
D | ext2simg.c | 76 ret = lseek64(fd, (u64)info.block_size * aux_info.bg_desc[i].bg_block_bitmap, in build_sparse_ext()
|
D | ext4_utils.h | 42 #define lseek64 lseek macro
|
/system/extras/libpagemap/ |
D | pm_kernel.c | 122 off = lseek64(ker->kpagecount_fd, pfn * sizeof(uint64_t), SEEK_SET); in pm_kernel_count() 138 off = lseek64(ker->kpageflags_fd, pfn * sizeof(uint64_t), SEEK_SET); in pm_kernel_flags()
|
D | pm_process.c | 132 off = lseek64(proc->pagemap_fd, firstpage * sizeof(uint64_t), SEEK_SET); in pm_process_pagemap_range()
|
/system/core/include/utils/ |
D | Compat.h | 28 static inline off64_t lseek64(int fd, off64_t offset, int whence) { in lseek64() function
|
/system/extras/tests/directiotest/ |
D | directiotest.c | 76 lseek64(fd, start, SEEK_SET); in do_read() 98 lseek64(fd, start, SEEK_SET); in do_write()
|
/system/extras/tests/ext4/ |
D | rand_emmc_perf.c | 126 if (lseek64(fd, (rand() % max_blocks) * TST_BLK_SIZE, SEEK_SET) < 0) { in stats_test() 156 if (lseek64(fd, (rand() % max_blocks) * TST_BLK_SIZE, SEEK_SET) < 0) { in perf_test()
|
/system/core/libdiskconfig/ |
D | write_lst.c | 73 if (lseek64(fd, lst->offset, SEEK_SET) != (loff_t)lst->offset) { in wlist_commit()
|
D | diskutils.c | 56 if (lseek64(dst_fd, offset, SEEK_SET) != offset) { in write_raw_image()
|
/system/extras/verity/ |
D | verify_boot_signature.c | 138 if (lseek64(fd, offset, SEEK_SET) == -1) { in read_signature() 242 if (lseek64(fd, 0, SEEK_SET) != 0) { in hash_image()
|
/system/update_engine/payload_consumer/ |
D | file_descriptor.cc | 65 return lseek64(fd_, offset, whence); in Seek()
|
/system/extras/f2fs_utils/ |
D | f2fs_ioutils.c | 99 if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0) in dev_write_fd()
|
D | f2fs_sparseblock.c | 163 ret = lseek64(fd, start, SEEK_SET); in read_structure() 573 ret = lseek64(d->outfd, pos * F2FS_BLKSIZE, SEEK_SET); in copy_used()
|
/system/core/libziparchive/ |
D | zip_archive.cc | 222 if (lseek64(fd, search_start, SEEK_SET) != search_start) { in MapCentralDirectory0() 315 off64_t file_length = lseek64(fd, 0, SEEK_END); in MapCentralDirectory() 506 if (lseek64(fd, off, SEEK_SET) != off) { in ReadAtOffset() 808 const off64_t current_offset = lseek64(fd, 0, SEEK_CUR); in Create() 1017 if (lseek64(archive->fd, data_offset, SEEK_SET) != data_offset) { in ExtractToWriter()
|
D | zip_archive_test.cc | 435 ASSERT_EQ(0, lseek64(tmp_output_file.fd, 0, SEEK_SET)); in TEST() 481 ASSERT_EQ(0, lseek64(tmp_file.fd, 0, SEEK_SET)); in TEST() 494 lseek64(tmp_file.fd, 0, SEEK_END)); in TEST()
|
D | zip_archive_stream_entry.cc | 41 if (lseek64(archive->fd, data_offset, SEEK_SET) != data_offset) { in Init()
|
/system/vold/ |
D | cryptfs.c | 509 if (lseek64(fd, 1024, SEEK_SET) < 0) { in get_fs_size() 627 if (lseek64(fd, starting_off, SEEK_SET) == -1) { in put_crypt_ftr_and_key() 704 if (lseek64(fd, pdata_offset, SEEK_SET) == -1) { in upgrade_crypt_ftr() 741 if (lseek64(fd, offset, SEEK_SET) == -1) { in upgrade_crypt_ftr() 780 if (lseek64(fd, starting_off, SEEK_SET) == -1) { in get_crypt_ftr_and_key() 905 if (lseek64(fd, crypt_ftr.persist_data_offset[i], SEEK_SET) < 0) { in load_persistent_data() 983 if (lseek64(fd, crypt_ftr.persist_data_offset[0], SEEK_SET) < 0) { in save_persistent_data() 1006 if (lseek64(fd, write_offset, SEEK_SET) < 0) { in save_persistent_data() 1012 if (lseek64(fd, erase_offset, SEEK_SET) < 0) { in save_persistent_data() 2712 if (lseek64(realfd, i * CRYPT_SECTOR_SIZE, SEEK_SET) < 0) { [all …]
|
/system/extras/verity/fec/ |
D | image.cpp | 411 if (lseek64(fd, -FEC_BLOCKSIZE, SEEK_END) < 0) { in image_ecc_load() 461 if (lseek64(fd, 0, SEEK_SET) < 0) { in image_ecc_load()
|
/system/core/toolbox/ |
D | nandread.c | 194 lseek64(fd, pos, SEEK_SET); in nandread_main()
|