Home | History | Annotate | Download | only in libsparse

Lines Matching refs:sparse_file

23 #include "sparse_file.h"
30 struct sparse_file *sparse_file_new(unsigned int block_size, int64_t len)
32 struct sparse_file *s = calloc(sizeof(struct sparse_file), 1);
49 void sparse_file_destroy(struct sparse_file *s)
55 int sparse_file_add_data(struct sparse_file *s,
61 int sparse_file_add_fill(struct sparse_file *s,
67 int sparse_file_add_file(struct sparse_file *s,
75 int sparse_file_add_fd(struct sparse_file *s,
81 unsigned int sparse_count_chunks(struct sparse_file *s)
132 static int write_all_blocks(struct sparse_file *s, struct output_file *out)
161 int sparse_file_write(struct sparse_file *s, int fd, bool gz, bool sparse,
181 int sparse_file_callback(struct sparse_file *s, bool sparse, bool crc,
209 int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc)
233 static struct backed_block *move_chunks_up_to_len(struct sparse_file *from,
234 struct sparse_file *to, unsigned int len)
300 int sparse_file_resparse(struct sparse_file *in_s, unsigned int max_len,
301 struct sparse_file **out_s, int out_s_count)
304 struct sparse_file *s;
305 struct sparse_file *tmp;
336 void sparse_file_verbose(struct sparse_file *s)