/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 | 39 #define lseek64 lseek macro 132 lseek64(fd, len, SEEK_CUR); 322 lseek64(fd, sparse_header.file_hdr_sz - SPARSE_HEADER_LEN, SEEK_CUR); 335 lseek64(fd, sparse_header.chunk_hdr_sz - CHUNK_HEADER_LEN, SEEK_CUR); 338 offset = lseek64(fd, 0, SEEK_CUR); 457 ret = lseek64(fd, 0, SEEK_SET); 486 len = lseek64(fd, 0, SEEK_END); 491 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 | 30 static inline off64_t lseek64(int fd, off64_t offset, int whence) { function
|
/system/core/adb/ |
H A D | disable_verity_service.c | 62 if (lseek64(data_device, 1024, SEEK_SET) < 0) { 104 if (lseek64(device, device_length, SEEK_SET) < 0) { 129 if (lseek64(device, device_length, SEEK_SET) < 0) {
|
/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 | 128 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 | 103 ret = lseek64(fd, 1024, SEEK_SET); 119 ret = lseek64(fd, offset, SEEK_SET); 510 ret = lseek64(fd, info.len, SEEK_SET); 514 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 | 100 if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0)
|
H A D | f2fs_sparseblock.c | 160 ret = lseek64(fd, start, SEEK_SET); 562 ret = lseek64(d->outfd, pos*F2FS_BLKSIZE, SEEK_SET);
|
/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 | 135 if (lseek64(fd, offset, SEEK_SET) == -1) { 239 if (lseek64(fd, 0, SEEK_SET) != 0) {
|
/system/core/fs_mgr/ |
H A D | fs_mgr_verity.c | 131 if (TEMP_FAILURE_RETRY(lseek64(data_device, 1024, SEEK_SET)) < 0) { 172 if (TEMP_FAILURE_RETRY(lseek64(device, device_length, SEEK_SET)) < 0) {
|
/system/core/libziparchive/ |
H A D | zip_archive_test.cc | 240 ASSERT_EQ(0, lseek64(fd, 0, SEEK_SET)); 254 lseek64(fd, 0, SEEK_END));
|
H A D | zip_archive.cc | 454 if (lseek64(fd, search_start, SEEK_SET) != search_start) { 548 // Test file length. We use lseek64 to make sure the file 551 off64_t file_length = lseek64(fd, 0, SEEK_END); 737 // lseek64 + read on platforms that don't. This implies that 748 if (lseek64(fd, off, SEEK_SET) != off) { 1085 if (lseek64(archive->fd, data_offset, SEEK_SET) != data_offset) { 1120 const off64_t current_offset = lseek64(fd, 0, SEEK_CUR);
|
/system/vold/ |
H A D | cryptfs.c | 400 if (lseek64(fd, 1024, SEEK_SET) < 0) { 505 if (lseek64(fd, starting_off, SEEK_SET) == -1) { 574 if (lseek64(fd, pdata_offset, SEEK_SET) == -1) { 609 if (lseek64(fd, offset, SEEK_SET) == -1) { 648 if (lseek64(fd, starting_off, SEEK_SET) == -1) { 775 if (lseek64(fd, crypt_ftr.persist_data_offset[i], SEEK_SET) < 0) { 854 if (lseek64(fd, crypt_ftr.persist_data_offset[0], SEEK_SET) < 0) { 2690 if (lseek64(realfd, i * CRYPT_SECTOR_SIZE, SEEK_SET) < 0) { 2695 if (lseek64(cryptofd, i * CRYPT_SECTOR_SIZE, SEEK_SET) < 0) {
|
/system/core/toolbox/ |
H A D | nandread.c | 194 lseek64(fd, pos, SEEK_SET);
|