/system/extras/ext4_utils/ |
H A D | make_ext4fs_main.c | 73 int sparse = 0; local 138 sparse = 1; 197 if (wipe && sparse) { 198 fprintf(stderr, "Cannot specifiy both wipe and sparse\n"); 240 sparse, crc, wipe, real_uuid, sehnd, verbose, fixed_time, block_list_file);
|
H A D | ext2simg.c | 28 #include <sparse/sparse.h> 53 fprintf(stderr, " -S don't use sparse output format\n"); 123 int sparse = 1; local 139 sparse = 0; 189 write_ext4_image(outfd, gzip, sparse, crc);
|
H A D | ext4_utils.c | 23 #include <sparse/sparse.h> 172 void write_ext4_image(int fd, int gz, int sparse, int crc) argument 174 sparse_file_write(ext4_sparse_file, fd, gz, sparse, crc);
|
H A D | make_ext4fs.c | 23 #include <sparse/sparse.h> 493 int sparse, int crc, int wipe, int real_uuid, 665 write_ext4_image(fd, gzip, sparse, crc); 491 make_ext4fs_internal(int fd, const char *_directory, const char *_target_out_directory, const char *_mountpoint, fs_config_func_t fs_config_func, int gzip, int sparse, int crc, int wipe, int real_uuid, struct selabel_handle *sehnd, int verbose, time_t fixed_time, FILE* block_list_file) argument
|
/system/core/libsparse/ |
H A D | sparse.c | 20 #include <sparse/sparse.h> 161 int sparse_file_write(struct sparse_file *s, int fd, bool gz, bool sparse, argument 169 out = output_file_open_fd(fd, s->block_size, s->len, gz, sparse, chunks, crc); 181 int sparse_file_callback(struct sparse_file *s, bool sparse, bool crc, argument 190 sparse, chunks, crc); 209 int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc) argument 217 s->block_size, s->len, false, sparse, chunks, crc); 246 * overhead is sparse file header, the potential end skip 276 * requested size, split the chunk. Results in sparse file [all...] |
H A D | sparse_read.c | 30 #include <sparse/sparse.h> 87 sparse_print_verbose("Invalid sparse file format%s%s\n", s, at); 375 error("failed to read sparse file"); 406 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc) argument 408 if (crc && !sparse) { 412 if (sparse) {
|
H A D | output_file.c | 542 int64_t len, bool sparse, int chunks, bool crc) 566 if (sparse) { 572 if (sparse) { 632 int gz __unused, int sparse, int chunks, int crc) 647 ret = output_file_init(&outc->out, block_size, len, sparse, chunks, crc); 657 int gz, int sparse, int chunks, int crc) 673 ret = output_file_init(out, block_size, len, sparse, chunks, crc); 541 output_file_init(struct output_file *out, int block_size, int64_t len, bool sparse, int chunks, bool crc) argument 630 output_file_open_callback(int (*write)(void *, const void *, int), void *priv, unsigned int block_size, int64_t len, int gz __unused, int sparse, int chunks, int crc) argument 656 output_file_open_fd(int fd, unsigned int block_size, int64_t len, int gz, int sparse, int chunks, int crc) argument
|
/system/core/toolbox/upstream-netbsd/bin/dd/ |
H A D | dd.c | 82 static off_t pending = 0; /* pending seek if sparse */ 452 /* If there are pending sparse blocks, make sure 453 * to write out the final block un-sparse 510 int sparse, i; local 511 sparse = 1; /* Is buffer sparse? */ 514 sparse = 0; 517 if (sparse) { 527 err(EXIT_FAILURE, "%s: seek error creating sparse file", 543 st.sparse [all...] |
H A D | dd.h | 100 uint64_t sparse; /* # of sparse output blocks */ member in struct:__anon1495
|
/system/extras/verity/ |
H A D | build_verity_tree.cpp | 3 #include <sparse/sparse.h> 119 " -S treat <data image> as a sparse file\n" 129 bool sparse = false; local 139 {"sparse", no_argument, 0, 'S'}, 177 sparse = true; 266 if (sparse) {
|