Lines Matching defs:s

31   struct sparse_file* s = reinterpret_cast<sparse_file*>(calloc(sizeof(struct sparse_file), 1));  in sparse_file_new()  local
48 void sparse_file_destroy(struct sparse_file* s) { in sparse_file_destroy()
53 int sparse_file_add_data(struct sparse_file* s, void* data, unsigned int len, unsigned int block) { in sparse_file_add_data()
57 int sparse_file_add_fill(struct sparse_file* s, uint32_t fill_val, unsigned int len, in sparse_file_add_fill()
62 int sparse_file_add_file(struct sparse_file* s, const char* filename, int64_t file_offset, in sparse_file_add_file()
67 int sparse_file_add_fd(struct sparse_file* s, int fd, int64_t file_offset, unsigned int len, in sparse_file_add_fd()
71 unsigned int sparse_count_chunks(struct sparse_file* s) { in sparse_count_chunks()
114 static int write_all_blocks(struct sparse_file* s, struct output_file* out) { in write_all_blocks()
145 int sparse_file_write(struct sparse_file* s, int fd, bool gz, bool sparse, bool crc) { in sparse_file_write()
168 int sparse_file_callback(struct sparse_file* s, bool sparse, bool crc, in sparse_file_callback()
199 int sparse_file_foreach_chunk(struct sparse_file* s, bool sparse, bool crc, in sparse_file_foreach_chunk()
236 int64_t sparse_file_len(struct sparse_file* s, bool sparse, bool crc) { in sparse_file_len()
259 unsigned int sparse_file_block_size(struct sparse_file* s) { in sparse_file_block_size()
328 struct sparse_file* s; in sparse_file_resparse() local
358 void sparse_file_verbose(struct sparse_file* s) { in sparse_file_verbose()