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

/system/extras/ext4_utils/
H A Dmake_ext4fs_main.c58 int sparse = 0; local
118 sparse = 1;
139 if (wipe && sparse) {
140 fprintf(stderr, "Cannot specifiy both wipe and sparse\n");
179 sparse, crc, wipe, init_itabs, sehnd);
H A Dext2simg.c28 #include <sparse/sparse.h>
53 fprintf(stderr, " -S don't use sparse output format\n");
184 int sparse = 1; local
200 sparse = 0;
250 write_ext4_image(outfd, gzip, sparse, crc);
H A Dext4_utils.c23 #include <sparse/sparse.h>
84 void write_ext4_image(int fd, int gz, int sparse, int crc) argument
86 sparse_file_write(info.sparse_file, fd, gz, sparse, crc);
H A Dmake_ext4fs.c24 #include <sparse/sparse.h>
326 char *mountpoint, fs_config_func_t fs_config_func, int gzip, int sparse,
469 write_ext4_image(fd, gzip, sparse, crc);
325 make_ext4fs_internal(int fd, const char *directory, char *mountpoint, fs_config_func_t fs_config_func, int gzip, int sparse, int crc, int wipe, int init_itabs, struct selabel_handle *sehnd) argument
/system/core/libsparse/
H A Dsparse.c20 #include <sparse/sparse.h>
151 int sparse_file_write(struct sparse_file *s, int fd, bool gz, bool sparse, argument
159 out = output_file_open_fd(fd, s->block_size, s->len, gz, sparse, chunks, crc);
171 int sparse_file_callback(struct sparse_file *s, bool sparse, bool crc, argument
180 sparse, chunks, crc);
199 int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc) argument
207 s->block_size, s->len, false, sparse, chunks, crc);
234 * overhead is sparse file header, initial skip chunk, split chunk, end
255 * requested size, split the chunk. Results in sparse file
[all...]
H A Dsparse_read.c30 #include <sparse/sparse.h>
85 sparse_print_verbose("Invalid sparse file format%s%s\n", s, at);
379 error("failed to read sparse file");
410 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc) argument
412 if (crc && !sparse) {
416 if (sparse) {
H A Doutput_file.c553 int64_t len, bool sparse, int chunks, bool crc)
577 if (sparse) {
583 if (sparse) {
642 void *priv, unsigned int block_size, int64_t len, int gz, int sparse,
658 ret = output_file_init(&outc->out, block_size, len, sparse, chunks, crc);
668 int gz, int sparse, int chunks, int crc)
681 ret = output_file_init(out, block_size, len, sparse, chunks, crc);
552 output_file_init(struct output_file *out, int block_size, int64_t len, bool sparse, int chunks, bool crc) argument
641 output_file_open_callback(int (*write)(void *, const void *, int), void *priv, unsigned int block_size, int64_t len, int gz, int sparse, int chunks, int crc) argument
667 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/
H A Ddd.h66 uint64_t sparse; /* # of sparse output blocks */ member in struct:__anon477
H A Ddd.c111 static off_t pending = 0; /* pending seek if sparse */
419 /* If there are pending sparse blocks, make sure
420 * to write out the final block un-sparse
478 int sparse, i; local
479 sparse = 1; /* Is buffer sparse? */
482 sparse = 0;
485 if (sparse) {
497 "sparse file: %s\n",
520 st.sparse
[all...]

Completed in 72 milliseconds