/system/core/libsparse/include/sparse/ |
sparse.h | 23 struct sparse_file; 31 * Creates a new sparse_file cookie that can be used to associate data 38 struct sparse_file *sparse_file_new(unsigned int block_size, int64_t len); 48 void sparse_file_destroy(struct sparse_file *s); 68 int sparse_file_add_data(struct sparse_file *s, 86 int sparse_file_add_fill(struct sparse_file *s, 109 int sparse_file_add_file(struct sparse_file *s, 136 int sparse_file_add_fd(struct sparse_file *s, 157 int sparse_file_write(struct sparse_file *s, int fd, bool gz, bool sparse, 172 int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc) [all...] |
/system/core/libsparse/ |
sparse_file.h | 22 struct sparse_file { struct
|
sparse.c | 22 #include "sparse_file.h" 29 struct sparse_file *sparse_file_new(unsigned int block_size, int64_t len) 31 struct sparse_file *s = calloc(sizeof(struct sparse_file), 1); 48 void sparse_file_destroy(struct sparse_file *s) 54 int sparse_file_add_data(struct sparse_file *s, 60 int sparse_file_add_fill(struct sparse_file *s, 66 int sparse_file_add_file(struct sparse_file *s, 74 int sparse_file_add_fd(struct sparse_file *s, 80 unsigned int sparse_count_chunks(struct sparse_file *s [all...] |
simg2simg.c | 48 struct sparse_file *s; 50 struct sparse_file **out_s; 79 out_s = calloc(sizeof(struct sparse_file *), files);
|
sparse_read.c | 33 #include "sparse_file.h" 98 static int process_raw_chunk(struct sparse_file *s, unsigned int chunk_size, 136 static int process_fill_chunk(struct sparse_file *s, unsigned int chunk_size, 177 static int process_skip_chunk(struct sparse_file *s, unsigned int chunk_size, 225 static int process_chunk(struct sparse_file *s, int fd, off64_t offset, 277 static int sparse_file_read_sparse(struct sparse_file *s, int fd, bool crc) 359 static int sparse_file_read_normal(struct sparse_file *s, int fd) 410 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc) 423 struct sparse_file *sparse_file_import(int fd, bool verbose, bool crc) 428 struct sparse_file *s [all...] |
simg2img.c | 44 struct sparse_file *s;
|
img2simg.c | 52 struct sparse_file *s;
|
/system/core/fastboot/ |
fastboot.h | 34 struct sparse_file; 40 int fb_download_data_sparse(usb_handle *usb, struct sparse_file *s); 50 void fb_queue_flash_sparse(const char *ptn, struct sparse_file *s, unsigned sz);
|
fastboot.c | 540 static struct sparse_file **load_sparse_files(int fd, int max_size) 542 struct sparse_file *s; 544 struct sparse_file **out_s; 556 out_s = calloc(sizeof(struct sparse_file *), files + 1); 637 struct sparse_file **s = load_sparse_files(fd, limit); 670 struct sparse_file **s;
|
protocol.c | 291 int fb_download_data_sparse(usb_handle *usb, struct sparse_file *s)
|
engine.c | 400 void fb_queue_flash_sparse(const char *ptn, struct sparse_file *s, unsigned sz)
|
/system/extras/ext4_utils/ |
ext2simg.c | 129 sparse_file_add_file(info.sparse_file, filename, 0, 154 sparse_file_add_file(info.sparse_file, filename, 168 sparse_file_add_file(info.sparse_file, filename, 233 info.sparse_file = sparse_file_new(info.block_size, info.len); 252 sparse_file_destroy(info.sparse_file);
|
indirect.c | 49 sparse_file_add_data(info.sparse_file, ptr, len, region_block); 126 sparse_file_add_data(info.sparse_file, ind_block_data, info.block_size, 156 sparse_file_add_data(info.sparse_file, dind_block_data, info.block_size, 205 sparse_file_add_data(info.sparse_file, ind_block_data, info.block_size, 237 sparse_file_add_data(info.sparse_file, dind_block_data, info.block_size, 269 sparse_file_add_data(info.sparse_file, tind_block_data, info.block_size, 449 sparse_file_add_data(info.sparse_file, dind_block_data, info.block_size, 455 sparse_file_add_data(info.sparse_file, ind_block_data,
|
ext4_utils.h | 133 struct sparse_file *sparse_file; member in struct:fs_info
|
extent.c | 46 sparse_file_add_data(info.sparse_file, ptr, len, region_block); 68 sparse_file_add_file(info.sparse_file, filename, offset, len, 128 sparse_file_add_data(info.sparse_file, data, info.block_size,
|
ext4_utils.c | 87 sparse_file_write(info.sparse_file, fd, gz, sparse, crc); 231 sparse_file_add_data(info.sparse_file, aux_info.backup_sb[i], 234 sparse_file_add_data(info.sparse_file, aux_info.bg_desc, 260 sparse_file_add_data(info.sparse_file, buf, info.block_size, 0); 262 sparse_file_add_data(info.sparse_file, aux_info.sb, 1024, 1);
|
make_ext4fs.c | 365 if (info.sparse_file) { 366 sparse_file_destroy(info.sparse_file); 367 info.sparse_file = NULL; 548 info.sparse_file = sparse_file_new(info.block_size, info.len); 610 sparse_file_destroy(info.sparse_file); 611 info.sparse_file = NULL;
|
allocate.c | 184 sparse_file_add_data(info.sparse_file, bg->inode_table, 302 sparse_file_add_data(info.sparse_file, bg->bitmaps, 2 * info.block_size, 720 int result = sparse_file_add_data(info.sparse_file, block, info.block_size, block_num);
|