/external/e2fsprogs/e2fsck/ |
e2fsck.h | 217 typedef struct e2fsck_struct *e2fsck_t; typedef in typeref:struct:e2fsck_struct 246 int (*progress)(e2fsck_t ctx, int pass, unsigned long cur, 423 extern void e2fsck_pass1(e2fsck_t ctx); 424 extern void e2fsck_pass1_dupblocks(e2fsck_t ctx, char *block_buf); 425 extern void e2fsck_pass2(e2fsck_t ctx); 426 extern void e2fsck_pass3(e2fsck_t ctx); 427 extern void e2fsck_pass4(e2fsck_t ctx); 428 extern void e2fsck_pass5(e2fsck_t ctx); 431 extern errcode_t e2fsck_allocate_context(e2fsck_t *ret); 432 extern errcode_t e2fsck_reset_context(e2fsck_t ctx) [all...] |
dx_dirinfo.c | 16 void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks) 85 struct dx_dir_info *e2fsck_get_dx_dir_info(e2fsck_t ctx, ext2_ino_t ino) 115 void e2fsck_free_dx_dir_info(e2fsck_t ctx) 138 int e2fsck_get_num_dx_dirinfo(e2fsck_t ctx) 146 struct dx_dir_info *e2fsck_dx_dir_info_iter(e2fsck_t ctx, int *control)
|
ehandler.c | 34 e2fsck_t ctx; 36 ctx = (e2fsck_t) fs->priv_data; 86 e2fsck_t ctx; 88 ctx = (e2fsck_t) fs->priv_data;
|
dirinfo.c | 43 static void e2fsck_put_dir_info(e2fsck_t ctx, struct dir_info *dir); 46 static void setup_tdb(e2fsck_t ctx, ext2_ino_t num_dirs) 89 static void setup_db(e2fsck_t ctx) 130 void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) 204 static struct dir_info *e2fsck_get_dir_info(e2fsck_t ctx, ext2_ino_t ino) 287 static void e2fsck_put_dir_info(e2fsck_t ctx EXT2FS_NO_TDB_UNUSED, 322 void e2fsck_free_dir_info(e2fsck_t ctx) 346 int e2fsck_get_num_dirinfo(e2fsck_t ctx) 351 struct dir_info_iter *e2fsck_dir_info_iter_begin(e2fsck_t ctx) 366 void e2fsck_dir_info_iter_end(e2fsck_t ctx EXT2FS_ATTR((unused)) [all...] |
emptydir.c | 35 extern empty_dir_info init_empty_dir(e2fsck_t ctx); 39 extern void process_empty_dirblock(e2fsck_t ctx, empty_dir_info edi); 42 empty_dir_info init_empty_dir(e2fsck_t ctx) 180 void process_empty_dirblock(e2fsck_t ctx, empty_dir_info edi)
|
jfs_user.h | 37 e2fsck_t b_ctx; 52 e2fsck_t i_ctx; 62 e2fsck_t k_ctx; 172 extern e2fsck_t e2fsck_global_ctx; /* Try your very best not to use this! */
|
logfile.c | 23 extern e2fsck_t e2fsck_global_ctx; /* Try your very best not to use this! */ 69 static void expand_percent_expression(e2fsck_t ctx, char ch, 162 static void expand_logfn(e2fsck_t ctx, const char *log_fn, struct string *s) 288 void set_up_logging(e2fsck_t ctx) 348 void *e2fsck_allocate_memory(e2fsck_t ctx, unsigned int size, 363 errcode_t e2fsck_allocate_context(e2fsck_t *ret) 365 e2fsck_t context; 386 e2fsck_t ctx;
|
e2fsck.c | 21 errcode_t e2fsck_allocate_context(e2fsck_t *ret) 23 e2fsck_t context; 55 errcode_t e2fsck_reset_context(e2fsck_t ctx) 178 void e2fsck_free_context(e2fsck_t ctx) 206 typedef void (*pass_t)(e2fsck_t ctx); 212 int e2fsck_run(e2fsck_t ctx)
|
pass1b.c | 89 static void delete_file(e2fsck_t ctx, ext2_ino_t ino, 91 static errcode_t clone_file(e2fsck_t ctx, ext2_ino_t ino, 93 static int check_if_fs_block(e2fsck_t ctx, blk64_t test_block); 94 static int check_if_fs_cluster(e2fsck_t ctx, blk64_t cluster); 96 static void pass1b(e2fsck_t ctx, char *block_buf); 97 static void pass1c(e2fsck_t ctx, char *block_buf); 98 static void pass1d(e2fsck_t ctx, char *block_buf); 120 static void add_dupe(e2fsck_t ctx, ext2_ino_t ino, blk64_t cluster, 211 void e2fsck_pass1_dupblocks(e2fsck_t ctx, char *block_buf) 261 e2fsck_t ctx [all...] |
util.c | 46 extern e2fsck_t e2fsck_global_ctx; /* Try your very best not to use this! */ 53 void fatal_error(e2fsck_t ctx, const char *msg) 89 void log_out(e2fsck_t ctx, const char *fmt, ...) 103 void log_err(e2fsck_t ctx, const char *fmt, ...) 117 void *e2fsck_allocate_memory(e2fsck_t ctx, unsigned int size, 136 char *string_copy(e2fsck_t ctx EXT2FS_ATTR((unused)), 190 int ask_yn(e2fsck_t ctx, const char * string, int def) 275 int ask (e2fsck_t ctx, const char * string, int def) 292 void e2fsck_read_bitmaps(e2fsck_t ctx) 325 void e2fsck_write_bitmaps(e2fsck_t ctx [all...] |
pass1.c | 67 static void check_blocks(e2fsck_t ctx, struct problem_context *pctx, 69 static void mark_table_blocks(e2fsck_t ctx); 70 static void alloc_bb_map(e2fsck_t ctx); 71 static void alloc_imagic_map(e2fsck_t ctx); 72 static void mark_inode_bad(e2fsck_t ctx, ino_t ino); 73 static void add_encrypted_dir(e2fsck_t ctx, ino_t ino); 74 static void handle_fs_bad_blocks(e2fsck_t ctx); 75 static void process_inodes(e2fsck_t ctx, char *block_buf); 79 static void adjust_extattr_refcount(e2fsck_t ctx, ext2_refcount_t refcount, 98 e2fsck_t ctx [all...] |
pass5.c | 26 static void check_block_bitmaps(e2fsck_t ctx); 27 static void check_inode_bitmaps(e2fsck_t ctx); 28 static void check_inode_end(e2fsck_t ctx); 29 static void check_block_end(e2fsck_t ctx); 30 static void check_inode_bitmap_checksum(e2fsck_t ctx); 31 static void check_block_bitmap_checksum(e2fsck_t ctx); 33 void e2fsck_pass5(e2fsck_t ctx) 84 static void check_inode_bitmap_checksum(e2fsck_t ctx) 138 static void check_block_bitmap_checksum(e2fsck_t ctx) 194 static void e2fsck_discard_blocks(e2fsck_t ctx, blk64_t start [all...] |
extents.c | 25 static errcode_t e2fsck_rebuild_extents(e2fsck_t ctx, ext2_ino_t ino); 28 errcode_t e2fsck_rebuild_extents_later(e2fsck_t ctx, ext2_ino_t ino) 54 int e2fsck_ino_will_be_rebuilt(e2fsck_t ctx, ext2_ino_t ino) 71 static errcode_t load_extents(e2fsck_t ctx, struct extent_list *list) 208 static errcode_t rebuild_extent_tree(e2fsck_t ctx, struct extent_list *list, 327 static errcode_t e2fsck_rebuild_extents(e2fsck_t ctx, ext2_ino_t ino) 350 static void rebuild_extents(e2fsck_t ctx, const char *pass_name, int pr_header) 412 errcode_t e2fsck_check_rebuild_extents(e2fsck_t ctx, ext2_ino_t ino, 512 errcode_t e2fsck_should_rebuild_extents(e2fsck_t ctx, 553 void e2fsck_pass1e(e2fsck_t ctx [all...] |
pass3.c | 45 static void check_root(e2fsck_t ctx); 46 static int check_directory(e2fsck_t ctx, ext2_ino_t ino, 48 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent); 53 void e2fsck_pass3(e2fsck_t ctx) 156 static void check_root(e2fsck_t ctx) 283 static int check_directory(e2fsck_t ctx, ext2_ino_t dir, 378 ext2_ino_t e2fsck_get_lost_and_found(e2fsck_t ctx, int fix) 592 int e2fsck_reconnect_file(e2fsck_t ctx, ext2_ino_t ino) 643 errcode_t e2fsck_adjust_inode_count(e2fsck_t ctx, ext2_ino_t ino, int adj) 689 e2fsck_t ctx [all...] |
journal.c | 240 static void e2fsck_clear_recover(e2fsck_t ctx, int error) 278 static errcode_t e2fsck_get_journal(e2fsck_t ctx, journal_t **ret_journal) 532 static errcode_t e2fsck_journal_fix_bad_inode(e2fsck_t ctx, 567 e2fsck_t ctx = journal->j_dev->k_ctx; 584 e2fsck_t ctx = journal->j_dev->k_ctx; 690 static void e2fsck_journal_reset_super(e2fsck_t ctx, journal_superblock_t *jsb, 735 static errcode_t e2fsck_journal_fix_corrupt_super(e2fsck_t ctx, 757 static void e2fsck_journal_release(e2fsck_t ctx, journal_t *journal, 793 errcode_t e2fsck_check_ext3_journal(e2fsck_t ctx) 920 static errcode_t recover_ext3_journal(e2fsck_t ctx [all...] |
badblocks.c | 27 void read_bad_blocks_file(e2fsck_t ctx, const char *bad_blocks_file,
|
quota.c | 59 void e2fsck_hide_quota(e2fsck_t ctx)
|
unix.c | 68 e2fsck_t e2fsck_global_ctx; /* Try your very best not to use this! */ 74 static void usage(e2fsck_t ctx) 101 static void show_stats(e2fsck_t ctx) 226 static void check_mount(e2fsck_t ctx) 335 static void check_if_skip(e2fsck_t ctx) 495 void e2fsck_clear_progbar(e2fsck_t ctx) 506 int e2fsck_simple_progress(e2fsck_t ctx, const char *label, float percent, 575 static int e2fsck_update_progress(e2fsck_t ctx, int pass, 620 e2fsck_t ctx = e2fsck_global_ctx; 630 e2fsck_t ctx = e2fsck_global_ctx [all...] |
pass2.c | 63 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf); 70 static int allocate_dir_block(e2fsck_t ctx, 73 static void clear_htree(e2fsck_t ctx, ext2_ino_t ino); 82 e2fsck_t ctx; 88 void e2fsck_pass2(e2fsck_t ctx) 352 static int check_dot(e2fsck_t ctx, 416 static int check_dotdot(e2fsck_t ctx, 463 static int check_name(e2fsck_t ctx, 484 static int encrypted_check_name(e2fsck_t ctx, 501 static _INLINE_ int check_filetype(e2fsck_t ctx [all...] |
message.c | 242 static _INLINE_ void expand_at_expression(FILE *f, e2fsck_t ctx, char ch, 403 e2fsck_t e2fsck_ctx = fs ? (e2fsck_t) fs->priv_data : NULL; 523 void print_e2fsck_message(FILE *f, e2fsck_t ctx, const char *msg,
|
rehash.c | 56 void e2fsck_rehash_dir_later(e2fsck_t ctx, ext2_ino_t ino) 65 int e2fsck_dir_will_be_rehashed(e2fsck_t ctx, ext2_ino_t ino) 81 e2fsck_t ctx; 363 static int duplicate_search_and_fix(e2fsck_t ctx, ext2_filsys fs, 428 static errcode_t copy_dir_entries(e2fsck_t ctx, 689 e2fsck_t ctx; 744 static errcode_t write_directory(e2fsck_t ctx, ext2_filsys fs, 787 errcode_t e2fsck_rehash_dir(e2fsck_t ctx, ext2_ino_t ino, 907 void e2fsck_rehash_directories(e2fsck_t ctx)
|
super.c | 27 static void check_super_value(e2fsck_t ctx, const char *descr, 48 e2fsck_t ctx; 67 e2fsck_t ctx; 157 static int release_inode_blocks(e2fsck_t ctx, ext2_ino_t ino, 231 static int release_orphan_inodes(e2fsck_t ctx) 315 void check_resize_inode(e2fsck_t ctx) 437 static void e2fsck_fix_dirhash_hint(e2fsck_t ctx) 462 void check_super_block(e2fsck_t ctx) 960 int check_backup_super_block(e2fsck_t ctx)
|
pass4.c | 28 static int disconnect_inode(e2fsck_t ctx, ext2_ino_t i, 89 void e2fsck_pass4(e2fsck_t ctx)
|
problem.c | [all...] |
problem.h | [all...] |