HomeSort by relevance Sort by last modified time
    Searched refs:e2fsck_t (Results 1 - 24 of 24) sorted by null

  /external/e2fsprogs/e2fsck/
e2fsck.h 213 typedef struct e2fsck_struct *e2fsck_t; typedef in typeref:struct:e2fsck_struct
241 int (*progress)(e2fsck_t ctx, int pass, unsigned long cur,
390 extern void e2fsck_pass1(e2fsck_t ctx);
391 extern void e2fsck_pass1_dupblocks(e2fsck_t ctx, char *block_buf);
392 extern void e2fsck_pass2(e2fsck_t ctx);
393 extern void e2fsck_pass3(e2fsck_t ctx);
394 extern void e2fsck_pass4(e2fsck_t ctx);
395 extern void e2fsck_pass5(e2fsck_t ctx);
398 extern errcode_t e2fsck_allocate_context(e2fsck_t *ret);
399 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)
81 struct dx_dir_info *e2fsck_get_dx_dir_info(e2fsck_t ctx, ext2_ino_t ino)
111 void e2fsck_free_dx_dir_info(e2fsck_t ctx)
134 int e2fsck_get_num_dx_dirinfo(e2fsck_t ctx)
142 struct dx_dir_info *e2fsck_dx_dir_info_iter(e2fsck_t ctx, int *control)
ehandler.c 33 e2fsck_t ctx;
35 ctx = (e2fsck_t) fs->priv_data;
80 e2fsck_t ctx;
82 ctx = (e2fsck_t) fs->priv_data;
jfs_user.h 18 e2fsck_t b_ctx;
29 e2fsck_t i_ctx;
35 e2fsck_t k_ctx;
49 extern e2fsck_t e2fsck_global_ctx; /* Try your very best not to use this! */
dirinfo.c 37 static void e2fsck_put_dir_info(e2fsck_t ctx, struct dir_info *dir);
39 static void setup_tdb(e2fsck_t ctx, ext2_ino_t num_dirs)
78 static void setup_db(e2fsck_t ctx)
117 void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent)
183 static struct dir_info *e2fsck_get_dir_info(e2fsck_t ctx, ext2_ino_t ino)
264 static void e2fsck_put_dir_info(e2fsck_t ctx, struct dir_info *dir)
295 void e2fsck_free_dir_info(e2fsck_t ctx)
317 int e2fsck_get_num_dirinfo(e2fsck_t ctx)
322 struct dir_info_iter *e2fsck_dir_info_iter_begin(e2fsck_t ctx)
336 void e2fsck_dir_info_iter_end(e2fsck_t ctx EXT2FS_ATTR((unused))
    [all...]
util.c 41 extern e2fsck_t e2fsck_global_ctx; /* Try your very best not to use this! */
48 void fatal_error(e2fsck_t ctx, const char *msg)
84 void log_out(e2fsck_t ctx, const char *fmt, ...)
98 void log_err(e2fsck_t ctx, const char *fmt, ...)
112 void *e2fsck_allocate_memory(e2fsck_t ctx, unsigned int size,
131 char *string_copy(e2fsck_t ctx EXT2FS_ATTR((unused)),
185 int ask_yn(e2fsck_t ctx, const char * string, int def)
246 int ask (e2fsck_t ctx, const char * string, int def)
263 void e2fsck_read_bitmaps(e2fsck_t ctx)
291 void e2fsck_write_bitmaps(e2fsck_t ctx
    [all...]
emptydir.c 34 extern empty_dir_info init_empty_dir(e2fsck_t ctx);
38 extern void process_empty_dirblock(e2fsck_t ctx, empty_dir_info edi);
41 empty_dir_info init_empty_dir(e2fsck_t ctx)
179 void process_empty_dirblock(e2fsck_t ctx, empty_dir_info edi)
e2fsck.c 20 errcode_t e2fsck_allocate_context(e2fsck_t *ret)
22 e2fsck_t context;
54 errcode_t e2fsck_reset_context(e2fsck_t ctx)
171 void e2fsck_free_context(e2fsck_t ctx)
199 typedef void (*pass_t)(e2fsck_t ctx);
207 int e2fsck_run(e2fsck_t ctx)
pass1b.c 88 static void delete_file(e2fsck_t ctx, ext2_ino_t ino,
90 static errcode_t clone_file(e2fsck_t ctx, ext2_ino_t ino,
92 static int check_if_fs_block(e2fsck_t ctx, blk64_t test_block);
93 static int check_if_fs_cluster(e2fsck_t ctx, blk64_t cluster);
95 static void pass1b(e2fsck_t ctx, char *block_buf);
96 static void pass1c(e2fsck_t ctx, char *block_buf);
97 static void pass1d(e2fsck_t ctx, char *block_buf);
119 static void add_dupe(e2fsck_t ctx, ext2_ino_t ino, blk64_t cluster,
210 void e2fsck_pass1_dupblocks(e2fsck_t ctx, char *block_buf)
260 e2fsck_t ctx
    [all...]
logfile.c 66 static void expand_percent_expression(e2fsck_t ctx, char ch,
159 static void expand_logfn(e2fsck_t ctx, const char *log_fn, struct string *s)
283 void set_up_logging(e2fsck_t ctx)
343 void *e2fsck_allocate_memory(e2fsck_t ctx, unsigned int size,
358 errcode_t e2fsck_allocate_context(e2fsck_t *ret)
360 e2fsck_t context;
381 e2fsck_t ctx;
pass1.c 64 static void check_blocks(e2fsck_t ctx, struct problem_context *pctx,
66 static void mark_table_blocks(e2fsck_t ctx);
67 static void alloc_bb_map(e2fsck_t ctx);
68 static void alloc_imagic_map(e2fsck_t ctx);
69 static void mark_inode_bad(e2fsck_t ctx, ino_t ino);
70 static void handle_fs_bad_blocks(e2fsck_t ctx);
71 static void process_inodes(e2fsck_t ctx, char *block_buf);
75 static void adjust_extattr_refcount(e2fsck_t ctx, ext2_refcount_t refcount,
93 e2fsck_t ctx;
102 e2fsck_t ctx
    [all...]
pass3.c 44 static void check_root(e2fsck_t ctx);
45 static int check_directory(e2fsck_t ctx, ext2_ino_t ino,
47 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent);
52 void e2fsck_pass3(e2fsck_t ctx)
143 static void check_root(e2fsck_t ctx)
261 static int check_directory(e2fsck_t ctx, ext2_ino_t dir,
356 ext2_ino_t e2fsck_get_lost_and_found(e2fsck_t ctx, int fix)
504 int e2fsck_reconnect_file(e2fsck_t ctx, ext2_ino_t ino)
555 errcode_t e2fsck_adjust_inode_count(e2fsck_t ctx, ext2_ino_t ino, int adj)
601 e2fsck_t ctx
    [all...]
journal.c 189 static void e2fsck_clear_recover(e2fsck_t ctx, int error)
227 static errcode_t e2fsck_get_journal(e2fsck_t ctx, journal_t **ret_journal)
461 static errcode_t e2fsck_journal_fix_bad_inode(e2fsck_t ctx,
498 e2fsck_t ctx = journal->j_dev->k_ctx;
514 e2fsck_t ctx = journal->j_dev->k_ctx;
604 static void e2fsck_journal_reset_super(e2fsck_t ctx, journal_superblock_t *jsb,
648 static errcode_t e2fsck_journal_fix_corrupt_super(e2fsck_t ctx,
671 static void e2fsck_journal_release(e2fsck_t ctx, journal_t *journal,
706 errcode_t e2fsck_check_ext3_journal(e2fsck_t ctx)
835 static errcode_t recover_ext3_journal(e2fsck_t ctx
    [all...]
badblocks.c 26 void read_bad_blocks_file(e2fsck_t ctx, const char *bad_blocks_file,
quota.c 50 void e2fsck_hide_quota(e2fsck_t ctx)
pass5.c 25 static void check_block_bitmaps(e2fsck_t ctx);
26 static void check_inode_bitmaps(e2fsck_t ctx);
27 static void check_inode_end(e2fsck_t ctx);
28 static void check_block_end(e2fsck_t ctx);
30 void e2fsck_pass5(e2fsck_t ctx)
76 static void e2fsck_discard_blocks(e2fsck_t ctx, blk64_t start,
101 static void e2fsck_discard_inodes(e2fsck_t ctx, dgrp_t group,
153 static void print_bitmap_problem(e2fsck_t ctx, problem_t problem,
193 static void check_block_bitmaps(e2fsck_t ctx)
531 static void check_inode_bitmaps(e2fsck_t ctx
    [all...]
pass2.c 62 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf);
66 static int allocate_dir_block(e2fsck_t ctx,
69 static void clear_htree(e2fsck_t ctx, ext2_ino_t ino);
78 e2fsck_t ctx;
81 void e2fsck_pass2(e2fsck_t ctx)
347 static int check_dot(e2fsck_t ctx,
408 static int check_dotdot(e2fsck_t ctx,
454 static int check_name(e2fsck_t ctx,
480 static _INLINE_ int check_filetype(e2fsck_t ctx,
728 e2fsck_t ctx
    [all...]
unix.c 64 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)
331 static void check_if_skip(e2fsck_t ctx)
489 void e2fsck_clear_progbar(e2fsck_t ctx)
500 int e2fsck_simple_progress(e2fsck_t ctx, const char *label, float percent,
569 static int e2fsck_update_progress(e2fsck_t ctx, int pass,
614 e2fsck_t ctx = e2fsck_global_ctx;
624 e2fsck_t ctx = e2fsck_global_ctx
    [all...]
message.c 240 static _INLINE_ void expand_at_expression(FILE *f, e2fsck_t ctx, char ch,
402 e2fsck_t e2fsck_ctx = fs ? (e2fsck_t) fs->priv_data : NULL;
522 void print_e2fsck_message(FILE *f, e2fsck_t ctx, const char *msg,
problem.c     [all...]
super.c 26 static void check_super_value(e2fsck_t ctx, const char *descr,
47 e2fsck_t ctx;
66 e2fsck_t ctx;
156 static int release_inode_blocks(e2fsck_t ctx, ext2_ino_t ino,
230 static int release_orphan_inodes(e2fsck_t ctx)
314 void check_resize_inode(e2fsck_t ctx)
439 static void e2fsck_fix_dirhash_hint(e2fsck_t ctx)
464 void check_super_block(e2fsck_t ctx)
898 int check_backup_super_block(e2fsck_t ctx)
pass4.c 27 static int disconnect_inode(e2fsck_t ctx, ext2_ino_t i,
90 void e2fsck_pass4(e2fsck_t ctx)
rehash.c 58 e2fsck_t ctx;
330 static int duplicate_search_and_fix(e2fsck_t ctx, ext2_filsys fs,
397 static errcode_t copy_dir_entries(e2fsck_t ctx,
627 e2fsck_t ctx;
674 static errcode_t write_directory(e2fsck_t ctx, ext2_filsys fs,
710 errcode_t e2fsck_rehash_dir(e2fsck_t ctx, ext2_ino_t ino)
826 void e2fsck_rehash_directories(e2fsck_t ctx)
problem.h 1044 int fix_problem(e2fsck_t ctx, problem_t code, struct problem_context *pctx);
1045 int end_problem_latch(e2fsck_t ctx, int mask);
1051 void print_e2fsck_message(FILE *f, e2fsck_t ctx, const char *msg,

Completed in 596 milliseconds