Searched refs:output_file (Results 1 – 6 of 6) sorted by relevance
/system/extras/ext4_utils/ |
D | output_file.h | 17 struct output_file; 19 struct output_file *open_output_file(const char *filename, int gz, int sparse); 20 void write_data_block(struct output_file *out, u64 off, u8 *data, int len); 21 void write_data_file(struct output_file *out, u64 off, const char *file, 23 void pad_output_file(struct output_file *out, u64 len); 24 void close_output_file(struct output_file *out);
|
D | output_file.c | 43 int (*seek)(struct output_file *, off64_t); 44 int (*write)(struct output_file *, u8 *, int); 45 void (*close)(struct output_file *); 48 struct output_file { struct 58 static int file_seek(struct output_file *out, off64_t off) in file_seek() argument 70 static int file_write(struct output_file *out, u8 *data, int len) in file_write() 85 static void file_close(struct output_file *out) in file_close() 97 static int gz_file_seek(struct output_file *out, off64_t off) in gz_file_seek() 109 static int gz_file_write(struct output_file *out, u8 *data, int len) in gz_file_write() 124 static void gz_file_close(struct output_file *out) in gz_file_close() [all …]
|
D | backed_block.h | 25 typedef void (*data_block_callback_t)(struct output_file *out, u64 off, 27 typedef void (*data_block_file_callback_t)(struct output_file *out, u64 off, 35 data_block_file_callback_t file_func, struct output_file *out);
|
D | Android.mk | 11 output_file.c \
|
D | backed_block.c | 105 data_block_file_callback_t file_func, struct output_file *out) in for_each_data_block()
|
D | ext4_utils.c | 80 struct output_file *out = open_output_file(filename, gz, sparse); in write_ext4_image()
|