Searched defs:sparse (Results 1 - 10 of 10) sorted by relevance

/system/extras/ext4_utils/
H A Dmake_ext4fs_main.c70 int sparse = 0; local
131 sparse = 1;
190 if (wipe && sparse) {
191 fprintf(stderr, "Cannot specifiy both wipe and sparse\n");
230 sparse, crc, wipe, sehnd, verbose, fixed_time, block_list_file);
H A Dext2simg.c28 #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 Dext4_utils.c23 #include <sparse/sparse.h>
131 void write_ext4_image(int fd, int gz, int sparse, int crc) argument
133 sparse_file_write(ext4_sparse_file, fd, gz, sparse, crc);
H A Dmake_ext4fs.c24 #include <sparse/sparse.h>
485 int sparse, int crc, int wipe,
652 write_ext4_image(fd, gzip, sparse, crc);
483 make_ext4fs_internal(int fd, const char *_directory, const char *_mountpoint, fs_config_func_t fs_config_func, int gzip, int sparse, int crc, int wipe, struct selabel_handle *sehnd, int verbose, time_t fixed_time, FILE* block_list_file) argument
/system/core/libsparse/
H A Dsparse.c20 #include <sparse/sparse.h>
152 int sparse_file_write(struct sparse_file *s, int fd, bool gz, bool sparse, argument
160 out = output_file_open_fd(fd, s->block_size, s->len, gz, sparse, chunks, crc);
172 int sparse_file_callback(struct sparse_file *s, bool sparse, bool crc, argument
181 sparse, chunks, crc);
200 int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc) argument
208 s->block_size, s->len, false, sparse, chunks, crc);
235 * overhead is sparse file header, initial skip chunk, split chunk, end
256 * requested size, split the chunk. Results in sparse file
[all...]
H A Dsparse_read.c30 #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 Doutput_file.c542 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 Ddd.c82 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 Ddd.h100 uint64_t sparse; /* # of sparse output blocks */ member in struct:__anon244
/system/extras/verity/
H A Dbuild_verity_tree.cpp2 #include <sparse/sparse.h>
116 " -S treat <data image> as a sparse file\n"
126 bool sparse = false; local
135 {"sparse", no_argument, 0, 'S'},
171 sparse = true;
246 if (sparse) {

Completed in 191 milliseconds