Lines Matching refs:chunk_info
54 static void init_chunk_info(ext2_filsys fs, struct chunk_info *info)
77 static void update_chunk_stats(struct chunk_info *info,
96 static void scan_block_bitmap(ext2_filsys fs, struct chunk_info *info)
146 static errcode_t get_chunk_info(ext2_filsys fs, struct chunk_info *info,
224 static void collect_info(ext2_filsys fs, struct chunk_info *chunk_info, FILE *f)
238 init_chunk_info(fs, chunk_info);
240 retval = get_chunk_info(fs, chunk_info, f);
271 struct chunk_info chunk_info;
287 memset(&chunk_info, 0, sizeof(chunk_info));
292 chunk_info.chunkbytes = strtoull(optarg, &end, 0);
298 if (chunk_info.chunkbytes &
299 (chunk_info.chunkbytes - 1)) {
304 chunk_info.chunkbytes *= 1024;
326 if (chunk_info.chunkbytes && (chunk_info.chunkbytes < fs->blocksize)) {
331 collect_info(fs, &chunk_info, stdout);