/system/extras/ext4_utils/ |
make_ext4fs_main.c | 48 int sparse = 0; local 87 sparse = 1; 95 if (gzip && sparse) { 96 fprintf(stderr, "Cannot specify both gzip and sparse\n"); 118 return make_ext4fs(filename, directory, mountpoint, android, gzip, sparse);
|
output_file.c | 51 int sparse; member in struct:output_file 255 if (out->sparse) { 262 error("failure seeking to start of sparse file"); 266 error("failure updating sparse file header"); 271 struct output_file *open_output_file(const char *filename, int gz, int sparse) 303 out->sparse = sparse; 310 if (out->sparse) { 333 if (out->sparse) { 349 // The answer is to do accounting like the sparse imag [all...] |
/system/core/toolbox/ |
dd.h | 64 uint64_t sparse; /* # of sparse output blocks */ member in struct:__anon16003
|
dd.c | 113 static off_t pending = 0; /* pending seek if sparse */ 457 /* If there are pending sparse blocks, make sure 458 * to write out the final block un-sparse 516 int sparse, i; local 517 sparse = 1; /* Is buffer sparse? */ 520 sparse = 0; 523 if (sparse) { 535 "sparse file: %s\n", 558 st.sparse += pending/out.dbsz [all...] |
/external/e2fsprogs/misc/ |
e2image.c | 402 int sparse = 0; local 428 write_block(fd, buf, sparse, fs->blocksize, blk); 429 sparse = 0; 437 sparse += fs->blocksize; 438 if (sparse >= 1024*1024) { 439 write_block(fd, 0, sparse, 0, 0); 440 sparse = 0; 444 if (sparse) 445 write_block(fd, zero_buf, sparse-1, 1, -1);
|