Home
last modified time | relevance | path

Searched refs:sparse_file (Results 1 – 17 of 17) sorted by relevance

/system/core/libsparse/include/sparse/
Dsparse.h27 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/
Dsparse.c30 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 …]
Dsparse_read.c100 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 …]
Dsimg2simg.c48 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()
Dsparse_file.h22 struct sparse_file { struct
Dsimg2img.c44 struct sparse_file *s; in main()
Dimg2simg.c51 struct sparse_file *s; in main()
Dappend2simg.c54 struct sparse_file *sparse_output; in main()
/system/core/fastboot/
Dfastboot.h38 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);
Dfastboot.cpp568 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()
580sparse_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()
Dprotocol.c288 int fb_download_data_sparse(usb_handle *usb, struct sparse_file *s) in fb_download_data_sparse()
Dengine.c188 void fb_queue_flash_sparse(const char *ptn, struct sparse_file *s, unsigned sz) in fb_queue_flash_sparse()
/system/extras/f2fs_utils/
Df2fs_utils.c46 struct sparse_file *f2fs_sparse_file;
Df2fs_ioutils.c87 struct sparse_file *f2fs_sparse_file;
/system/extras/ext4_utils/
Dext4_utils.h119 extern struct sparse_file *ext4_sparse_file;
Dext4_utils.c51 struct sparse_file *ext4_sparse_file;
/system/extras/verity/
Dbuild_verity_tree.cpp265 struct sparse_file *file; in main()