FreeCalypso > hg > freecalypso-tools
comparison ffstools/tiffs-mkfs/globals.c @ 708:e2e4aed24522
tiffs-mkfs: malloc file chunk buffer only once
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 23 May 2020 02:50:06 +0000 |
parents | 12ae93940467 |
children | 178ed445021d |
comparison
equal
deleted
inserted
replaced
707:805885936f62 | 708:e2e4aed24522 |
---|---|
8 #include "struct.h" | 8 #include "struct.h" |
9 | 9 |
10 unsigned ffs_sector_size, ffs_nsectors; | 10 unsigned ffs_sector_size, ffs_nsectors; |
11 char *format_name; | 11 char *format_name; |
12 unsigned chunk_size_max, block_files_max; | 12 unsigned chunk_size_max, block_files_max; |
13 u_char *inode_block, *data_block; | 13 u_char *inode_block, *data_block, *chunk_buffer; |
14 struct tiffs_inode *inode_array; | 14 struct tiffs_inode *inode_array; |
15 unsigned inode_fill_level, data_fill_level, objects_in_block; | 15 unsigned inode_fill_level, data_fill_level, objects_in_block; |
16 unsigned blocks_written; | 16 unsigned blocks_written; |
17 | 17 |
18 char *input_host_dir; | 18 char *input_host_dir; |