Home
last modified time | relevance | path

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

/system/core/libsparse/
Dimg2simg.c37 #define lseek64 lseek macro
90 len = lseek64(in, 0, SEEK_END); in main()
91 lseek64(in, 0, SEEK_SET); in main()
Dsparse_read.c37 #define lseek64 lseek macro
130 lseek64(fd, len, SEEK_CUR); in process_raw_chunk()
325 lseek64(fd, sparse_header.file_hdr_sz - SPARSE_HEADER_LEN, SEEK_CUR); in sparse_file_read_sparse()
338 lseek64(fd, sparse_header.chunk_hdr_sz - CHUNK_HEADER_LEN, SEEK_CUR); in sparse_file_read_sparse()
341 offset = lseek64(fd, 0, SEEK_CUR); in sparse_file_read_sparse()
461 ret = lseek64(fd, 0, SEEK_SET); in sparse_file_import()
490 len = lseek64(fd, 0, SEEK_END); in sparse_file_import_auto()
495 lseek64(fd, 0, SEEK_SET); in sparse_file_import_auto()
Doutput_file.c43 #define lseek64 lseek macro
138 ret = lseek64(outn->fd, cnt, SEEK_CUR); in file_skip()
729 pos = lseek64(fd, offset, SEEK_SET); in write_fd_chunk()
/system/extras/ext4_utils/
Dext4fixup.c35 #define lseek64 lseek macro
91 ret = lseek64(fd, 1024, SEEK_SET); in read_sb()
111 ret = lseek64(fd, offset, SEEK_SET); in write_sb()
131 lseek64(fd, 0, SEEK_SET); in get_fs_fixup_state()
180 lseek64(fd, 0, SEEK_SET); in set_fs_fixup_state()
222 ret = lseek64(fd, info.len, SEEK_SET); in read_ext()
226 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET); in read_ext()
269 if (lseek64(fd, inode_offset, SEEK_SET) < 0) { in read_inode()
288 if (lseek64(fd, off, SEEK_SET) , 0) { in read_block()
311 if (lseek64(fd, off, SEEK_SET) < 0) { in write_block()
[all …]
Dext2simg.c61 ret = lseek64(fd, 1024, SEEK_SET); in read_ext()
73 ret = lseek64(fd, info.len, SEEK_SET); in read_ext()
77 ret = lseek64(fd, info.block_size * (aux_info.first_data_block + 1), SEEK_SET); in read_ext()
136 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/core/libdiskconfig/
Dwrite_lst.c73 if (lseek64(fd, lst->offset, SEEK_SET) != (loff_t)lst->offset) { in wlist_commit()
Ddiskutils.c55 if (lseek64(dst_fd, offset, SEEK_SET) != offset) { in write_raw_image()
/system/extras/tests/directiotest/
Ddirectiotest.c75 lseek64(fd, start, SEEK_SET); in do_read()
97 lseek64(fd, start, SEEK_SET); in do_write()
/system/extras/tests/ext4/
Drand_emmc_perf.c104 if (lseek64(fd, (rand() % max_blocks) * TST_BLK_SIZE, SEEK_SET) < 0) { in main()
/system/vold/
Dcryptfs.c98 if (lseek64(fd, 1024, SEEK_SET) < 0) { in get_fs_size()
163 if (lseek64(fd, off, SEEK_SET) == -1) { in put_crypt_ftr_and_key()
202 if (lseek64(fd, off, SEEK_CUR) == -1) { in put_crypt_ftr_and_key()
262 if (lseek64(fd, off, SEEK_SET) == -1) { in get_crypt_ftr_and_key()
326 if (lseek64(fd, KEY_TO_SALT_PADDING, SEEK_CUR) == -1) { in get_crypt_ftr_and_key()
/system/core/fastboot/
Dfastboot.c143 #define lseek64 lseek macro
155 off = lseek64(fd, 0, SEEK_END); in file_size()
/system/core/toolbox/
Dnandread.c193 lseek64(fd, pos, SEEK_SET); in nandread_main()