Searched refs:sparse_file (Results 1 – 17 of 17) sorted by relevance
/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 | 100 static int process_raw_chunk(struct sparse_file *s, unsigned int chunk_size, in process_raw_chunk() 138 static int process_fill_chunk(struct sparse_file *s, unsigned int chunk_size, in process_fill_chunk() 179 static int process_skip_chunk(struct sparse_file *s, unsigned int chunk_size, in process_skip_chunk() 222 static int process_chunk(struct sparse_file *s, int fd, off64_t offset, in process_chunk() 274 static int sparse_file_read_sparse(struct sparse_file *s, int fd, bool crc) in sparse_file_read_sparse() 356 static int sparse_file_read_normal(struct sparse_file *s, int fd) in sparse_file_read_normal() 406 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc) in sparse_file_read() 419 struct sparse_file *sparse_file_import(int fd, bool verbose, bool crc) in sparse_file_import() 424 struct sparse_file *s; in sparse_file_import() 475 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 | 44 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 | 38 struct sparse_file; 44 int fb_download_data_sparse(usb_handle *usb, struct sparse_file *s); 54 void fb_queue_flash_sparse(const char *ptn, struct sparse_file *s, unsigned sz);
|
D | fastboot.cpp | 568 static struct sparse_file **load_sparse_files(int fd, int max_size) in load_sparse_files() 570 struct sparse_file* s = sparse_file_import_auto(fd, false, true); in load_sparse_files() 580 …sparse_file** out_s = reinterpret_cast<sparse_file**>(calloc(sizeof(struct sparse_file *), files +… in load_sparse_files() 664 struct sparse_file **s = load_sparse_files(fd, limit); in load_buf_fd() 697 sparse_file** s; in flash_buf() 701 s = reinterpret_cast<sparse_file**>(buf->data); in flash_buf()
|
D | protocol.c | 288 int fb_download_data_sparse(usb_handle *usb, struct sparse_file *s) in fb_download_data_sparse()
|
D | engine.c | 188 void fb_queue_flash_sparse(const char *ptn, struct sparse_file *s, unsigned sz) in fb_queue_flash_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 | 119 extern struct sparse_file *ext4_sparse_file;
|
D | ext4_utils.c | 51 struct sparse_file *ext4_sparse_file;
|
/system/extras/verity/ |
D | build_verity_tree.cpp | 265 struct sparse_file *file; in main()
|