/system/core/libsparse/include/sparse/ |
D | sparse.h | 27 struct sparse_file; 42 struct sparse_file *sparse_file_new(unsigned int block_size, int64_t len); 52 void sparse_file_destroy(struct sparse_file *s); 72 int sparse_file_add_data(struct sparse_file *s, 90 int sparse_file_add_fill(struct sparse_file *s, 113 int sparse_file_add_file(struct sparse_file *s, 140 int sparse_file_add_fd(struct sparse_file *s, 161 int sparse_file_write(struct sparse_file *s, int fd, bool gz, bool sparse, 176 int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc); 196 int sparse_file_callback(struct sparse_file *s, bool sparse, bool crc, [all …]
|
/system/core/libsparse/ |
D | sparse.c | 30 struct sparse_file *sparse_file_new(unsigned int block_size, int64_t len) in sparse_file_new() 32 struct sparse_file *s = calloc(sizeof(struct sparse_file), 1); in sparse_file_new() 49 void sparse_file_destroy(struct sparse_file *s) in sparse_file_destroy() 55 int sparse_file_add_data(struct sparse_file *s, in sparse_file_add_data() 61 int sparse_file_add_fill(struct sparse_file *s, in sparse_file_add_fill() 67 int sparse_file_add_file(struct sparse_file *s, in sparse_file_add_file() 75 int sparse_file_add_fd(struct sparse_file *s, in sparse_file_add_fd() 81 unsigned int sparse_count_chunks(struct sparse_file *s) in sparse_count_chunks() 132 static int write_all_blocks(struct sparse_file *s, struct output_file *out) in write_all_blocks() 161 int sparse_file_write(struct sparse_file *s, int fd, bool gz, bool sparse, in sparse_file_write() [all …]
|
D | sparse_read.c | 101 static int process_raw_chunk(struct sparse_file *s, unsigned int chunk_size, in process_raw_chunk() 139 static int process_fill_chunk(struct sparse_file *s, unsigned int chunk_size, in process_fill_chunk() 180 static int process_skip_chunk(struct sparse_file *s, unsigned int chunk_size, in process_skip_chunk() 223 static int process_chunk(struct sparse_file *s, int fd, off64_t offset, in process_chunk() 275 static int sparse_file_read_sparse(struct sparse_file *s, int fd, bool crc) in sparse_file_read_sparse() 357 static int sparse_file_read_normal(struct sparse_file *s, int fd) in sparse_file_read_normal() 409 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc) in sparse_file_read() 422 struct sparse_file *sparse_file_import(int fd, bool verbose, bool crc) in sparse_file_import() 427 struct sparse_file *s; in sparse_file_import() 478 struct sparse_file *sparse_file_import_auto(int fd, bool crc, bool verbose) in sparse_file_import_auto() [all …]
|
D | simg2simg.c | 48 struct sparse_file *s; in main() 50 struct sparse_file **out_s; in main() 79 out_s = calloc(sizeof(struct sparse_file *), files); in main()
|
D | sparse_file.h | 22 struct sparse_file { struct
|
D | simg2img.c | 43 struct sparse_file *s; in main()
|
D | img2simg.c | 51 struct sparse_file *s; in main()
|
D | append2simg.c | 54 struct sparse_file *sparse_output; in main()
|
/system/core/fastboot/ |
D | fastboot.h | 39 struct sparse_file; 45 int fb_download_data_sparse(Transport* transport, struct sparse_file* s); 54 void fb_queue_flash_sparse(const char* ptn, struct sparse_file* s, uint32_t sz, size_t current,
|
D | fastboot.cpp | 701 static struct sparse_file **load_sparse_files(int fd, int max_size) in load_sparse_files() 703 struct sparse_file* s = sparse_file_import_auto(fd, false, true); in load_sparse_files() 713 …sparse_file** out_s = reinterpret_cast<sparse_file**>(calloc(sizeof(struct sparse_file *), files +… in load_sparse_files() 793 sparse_file** s = load_sparse_files(fd, limit); in load_buf_fd() 824 sparse_file** s; in flash_buf() 828 std::vector<std::pair<sparse_file*, int64_t>> sparse_files; in flash_buf() 829 s = reinterpret_cast<sparse_file**>(buf->data); in flash_buf()
|
D | engine.cpp | 160 void fb_queue_flash_sparse(const char* ptn, struct sparse_file* s, unsigned sz, size_t current, in fb_queue_flash_sparse() 367 status = fb_download_data_sparse(transport, reinterpret_cast<sparse_file*>(a->data)); in fb_execute_queue()
|
D | protocol.cpp | 253 int fb_download_data_sparse(Transport* transport, struct sparse_file* s) { in fb_download_data_sparse()
|
/system/extras/f2fs_utils/ |
D | f2fs_utils.c | 46 struct sparse_file *f2fs_sparse_file;
|
D | f2fs_ioutils.c | 87 struct sparse_file *f2fs_sparse_file;
|
/system/extras/ext4_utils/ |
D | ext4_utils.h | 121 extern struct sparse_file *ext4_sparse_file;
|
D | ext4_utils.c | 51 struct sparse_file *ext4_sparse_file;
|
/system/extras/verity/fec/ |
D | image.cpp | 208 std::vector<struct sparse_file *> files; in file_image_load() 221 struct sparse_file *file; in file_image_load()
|
/system/extras/verity/ |
D | build_verity_tree.cpp | 267 struct sparse_file *file; in main()
|