Lines Matching refs:chunk_info
53 static void init_chunk_info(ext2_filsys fs, struct chunk_info *info) in init_chunk_info()
76 static void update_chunk_stats(struct chunk_info *info, in update_chunk_stats()
95 static void scan_block_bitmap(ext2_filsys fs, struct chunk_info *info) in scan_block_bitmap()
145 static errcode_t get_chunk_info(ext2_filsys fs, struct chunk_info *info, in get_chunk_info()
223 static void collect_info(ext2_filsys fs, struct chunk_info *chunk_info, FILE *f) in collect_info() argument
237 init_chunk_info(fs, chunk_info); in collect_info()
239 retval = get_chunk_info(fs, chunk_info, f); in collect_info()
270 struct chunk_info chunk_info; in do_freefrag() local
285 memset(&chunk_info, 0, sizeof(chunk_info)); in do_freefrag()
290 chunk_info.chunkbytes = strtoull(optarg, &end, 0); in do_freefrag()
296 if (chunk_info.chunkbytes & in do_freefrag()
297 (chunk_info.chunkbytes - 1)) { in do_freefrag()
302 chunk_info.chunkbytes *= 1024; in do_freefrag()
324 if (chunk_info.chunkbytes && (chunk_info.chunkbytes < fs->blocksize)) { in do_freefrag()
329 collect_info(fs, &chunk_info, stdout); in do_freefrag()