Home
last modified time | relevance | path

Searched refs:lseek64 (Results 1 – 25 of 26) sorted by relevance

12

/system/core/libsparse/
Dappend2simg.c37 #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()
Dimg2simg.c37 #define lseek64 lseek macro
89 len = lseek64(in, 0, SEEK_END); in main()
90 lseek64(in, 0, SEEK_SET); in main()
Dsparse_read.c40 #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()
Doutput_file.c45 #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/
Dext4fixup.c35 #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()
Dext4_utils.c145 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()
Dext2simg.c76 ret = lseek64(fd, (u64)info.block_size * aux_info.bg_desc[i].bg_block_bitmap, in build_sparse_ext()
Dext4_utils.h42 #define lseek64 lseek macro
/system/extras/libpagemap/
Dpm_kernel.c122 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()
Dpm_process.c132 off = lseek64(proc->pagemap_fd, firstpage * sizeof(uint64_t), SEEK_SET); in pm_process_pagemap_range()
/system/core/include/utils/
DCompat.h28 static inline off64_t lseek64(int fd, off64_t offset, int whence) { in lseek64() function
/system/extras/tests/directiotest/
Ddirectiotest.c76 lseek64(fd, start, SEEK_SET); in do_read()
98 lseek64(fd, start, SEEK_SET); in do_write()
/system/extras/tests/ext4/
Drand_emmc_perf.c126 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/
Dwrite_lst.c73 if (lseek64(fd, lst->offset, SEEK_SET) != (loff_t)lst->offset) { in wlist_commit()
Ddiskutils.c56 if (lseek64(dst_fd, offset, SEEK_SET) != offset) { in write_raw_image()
/system/extras/verity/
Dverify_boot_signature.c138 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/
Dfile_descriptor.cc65 return lseek64(fd_, offset, whence); in Seek()
/system/extras/f2fs_utils/
Df2fs_ioutils.c99 if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0) in dev_write_fd()
Df2fs_sparseblock.c163 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/
Dzip_archive.cc222 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()
Dzip_archive_test.cc435 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()
Dzip_archive_stream_entry.cc41 if (lseek64(archive->fd, data_offset, SEEK_SET) != data_offset) { in Init()
/system/vold/
Dcryptfs.c509 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/
Dimage.cpp411 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/
Dnandread.c194 lseek64(fd, pos, SEEK_SET); in nandread_main()

12