/external/e2fsprogs/debugfs/ |
D | debugfs.h | 70 extern void do_dump(int argc, char **argv, int sci_idx, void *infop); 71 extern void do_cat(int argc, char **argv, int sci_idx, void *infop); 72 extern void do_rdump(int argc, char **argv, int sci_idx, void *infop); 75 extern void do_extent_open(int argc, char **argv, int sci_idx, void *infop); 76 extern void do_extent_close(int argc, char **argv, int sci_idx, void *infop); 77 extern void do_current_node(int argc, char **argv, int sci_idx, void *infop); 78 extern void do_root_node(int argc, char **argv, int sci_idx, void *infop); 79 extern void do_last_leaf(int argc, char **argv, int sci_idx, void *infop); 80 extern void do_first_sib(int argc, char **argv, int sci_idx, void *infop); 81 extern void do_last_sib(int argc, char **argv, int sci_idx, void *infop); [all …]
|
D | extent_inode.c | 67 void do_extent_open(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_extent_open() 99 orig_prompt = ss_get_prompt(sci_idx); in do_extent_open() 112 ss_add_request_table(sci_idx, &extent_cmds, 1, &ret); in do_extent_open() 113 ss_set_prompt(sci_idx, extent_prompt); in do_extent_open() 117 void do_extent_close(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_extent_close() 134 ss_delete_request_table(sci_idx, &extent_cmds, &ret); in do_extent_close() 135 ss_set_prompt(sci_idx, orig_prompt); in do_extent_close() 163 void do_current_node(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_current_node() 169 void do_root_node(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_root_node() 175 void do_last_leaf(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_last_leaf() [all …]
|
D | debugfs.c | 221 void do_open_filesys(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_open_filesys() 298 void do_lcd(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_lcd() 336 void do_close_filesys(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_close_filesys() 365 void do_init_filesys(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_init_filesys() 427 int sci_idx EXT2FS_ATTR((unused)), in do_show_super_stats() 524 int sci_idx EXT2FS_ATTR((unused)), in do_dirty_filesys() 976 void do_stat(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_stat() 1008 void do_dump_extents(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_dump_extents() 1080 void do_blocks(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_blocks() 1098 void do_chroot(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_chroot() [all …]
|
D | quota.c | 105 void do_list_quota(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_list_quota() 135 void do_get_quota(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_get_quota()
|
D | xattrs.c | 120 void do_list_xattr(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_list_xattr() 141 void do_get_xattr(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_get_xattr() 239 void do_set_xattr(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_set_xattr() 323 void do_rm_xattr(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_rm_xattr()
|
D | dump.c | 147 void do_dump(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_dump() 326 void do_rdump(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_rdump() 371 void do_cat(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_cat()
|
D | zap.c | 28 void do_zap_block(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_zap_block() 171 void do_block_dump(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_block_dump()
|
/external/e2fsprogs/lib/ss/ |
D | help.c | 39 void ss_help(int argc, char const * const *argv, int sci_idx, pointer info_ptr) in ss_help() argument 48 request_name = ss_current_request(sci_idx, &code); in ss_help() 50 ss_perror(sci_idx, code, ""); in ss_help() 54 ss_list_requests(argc, argv, sci_idx, info_ptr); in ss_help() 61 ss_perror(sci_idx, 0, in ss_help() 67 ss_perror(sci_idx, 0, buffer); in ss_help() 71 info = ss_info(sci_idx); in ss_help() 73 ss_perror(sci_idx, SS_ET_NO_INFO_DIR, (char *)NULL); in ss_help() 77 ss_perror(sci_idx, SS_ET_NO_INFO_DIR, (char *)NULL); in ss_help() 84 ss_perror(sci_idx, 0, in ss_help() [all …]
|
D | execute_cmd.c | 27 char *argv[], int sci_idx)); 28 static int really_execute_command PROTOTYPE((int sci_idx, int argc, 86 char *argv[], int sci_idx) in check_request_table() argument 98 info = ss_info(sci_idx); in check_request_table() 106 sci_idx,info->info_ptr); in check_request_table() 135 static int really_execute_command(int sci_idx, int argc, char **argv[]) in really_execute_command() argument 140 info = ss_info(sci_idx); in really_execute_command() 143 if (check_request_table (*rqtbl, argc, *argv, sci_idx) == 0) in really_execute_command() 165 int ss_execute_command(int sci_idx, register char *argv[]) in ss_execute_command() argument 176 i = really_execute_command(sci_idx, argc, &argp); in ss_execute_command() [all …]
|
D | test_ss.c | 35 static int source_file(const char *cmd_file, int sci_idx) in source_file() argument 75 retval = ss_execute_line(sci_idx, buf); in source_file() 77 ss_perror(sci_idx, retval, buf); in source_file() 89 int sci_idx; in main() local 107 sci_idx = ss_create_invocation(subsystem_name, version, in main() 110 ss_perror(sci_idx, code, "creating invocation"); in main() 114 (void) ss_add_request_table (sci_idx, &ss_std_requests, 1, &code); in main() 116 ss_perror (sci_idx, code, "adding standard requests"); in main() 124 code = ss_execute_line(sci_idx, request); in main() 126 ss_perror(sci_idx, code, request); in main() [all …]
|
D | ss.h | 69 char *ss_name(int sci_idx); 81 void ss_abort_subsystem(int sci_idx, int code); 82 void ss_quit(int argc, const char * const *argv, int sci_idx, void *infop); 83 void ss_self_identify(int argc, const char * const *argv, int sci_idx, void *infop); 85 int sci_idx, void *infop); 87 int sci_idx, void *infop); 89 int sci_idx, void *infop); 90 void ss_set_prompt(int sci_idx, char *new_prompt); 91 char *ss_get_prompt(int sci_idx); 92 void ss_get_readline(int sci_idx);
|
D | requests.c | 21 int sci_idx, void *infop) 28 int sci_idx, void *infop __SS_ATTR((unused))) in ss_self_identify() argument 30 register ss_data *info = ss_info(sci_idx); in ss_self_identify() 40 int sci_idx, in ss_subsystem_name() argument 43 printf("%s\n", ss_info(sci_idx)->subsystem_name); in ss_subsystem_name() 51 int sci_idx, in ss_subsystem_version() argument 54 printf("%s\n", ss_info(sci_idx)->subsystem_version); in ss_subsystem_version() 63 int sci_idx, void *infop __SS_ATTR((unused))) in ss_unimplemented() argument 65 ss_perror(sci_idx, SS_ET_UNIMPLEMENTED, ""); in ss_unimplemented()
|
D | invocation.c | 29 register int sci_idx; in ss_create_invocation() local 43 for (sci_idx = 1; table[sci_idx] != (ss_data *)NULL; sci_idx++) in ss_create_invocation() 46 ((unsigned)sci_idx+2)*size); in ss_create_invocation() 52 table[sci_idx+1] = (ss_data *) NULL; in ss_create_invocation() 53 table[sci_idx] = new_table; in ss_create_invocation() 85 ss_get_readline(sci_idx); in ss_create_invocation() 87 return(sci_idx); in ss_create_invocation() 91 ss_delete_invocation(int sci_idx) in ss_delete_invocation() argument 96 t = ss_info(sci_idx); in ss_delete_invocation() 100 ss_delete_info_dir(sci_idx, t->info_dirs[0], &ignored_code); in ss_delete_invocation()
|
D | ss_internal.h | 80 #define ss_info(sci_idx) (_ss_table[sci_idx]) argument 81 #define ss_current_request(sci_idx,code_ptr) \ argument 82 (*code_ptr=0,ss_info(sci_idx)->current_request) 83 void ss_add_info_dir (int sci_idx, char *info_dir, int *code_ptr); 84 void ss_delete_info_dir (int sci_idx, char *info_dir, int *code_ptr); 85 int ss_execute_line(int sci_idx, char *line_ptr); 86 char **ss_parse(int sci_idx, char *line_ptr, int *argc_ptr); 90 int ss_execute_command(int sci_idx, char *argv[]);
|
D | error.c | 23 char *ss_name(int sci_idx) in ss_name() argument 28 infop = ss_info(sci_idx); in ss_name() 60 void ss_error (int sci_idx, long code, const char * fmt, ...) in ss_error() argument 66 whoami = ss_name (sci_idx); in ss_error() 72 void ss_perror(int sci_idx, long code, char const *msg) /* for compatibility */ in ss_perror() argument 74 ss_error (sci_idx, code, "%s", msg); in ss_perror()
|
D | listen.c | 49 int ss_listen (int sci_idx) in ss_listen() argument 61 current_info = info = ss_info(sci_idx); in ss_listen() 104 code = ss_execute_line (sci_idx, line); in ss_listen() 115 ss_error (sci_idx, 0, in ss_listen() 130 void ss_abort_subsystem(int sci_idx, int code) in ss_abort_subsystem() argument 132 ss_info(sci_idx)->abort = 1; in ss_abort_subsystem() 133 ss_info(sci_idx)->exit_status = code; in ss_abort_subsystem() 139 int sci_idx, pointer infop __SS_ATTR((unused))) in ss_quit() argument 141 ss_abort_subsystem(sci_idx, 0); in ss_quit()
|
D | prompt.c | 23 void ss_set_prompt(int sci_idx, char *new_prompt) in ss_set_prompt() argument 25 ss_info(sci_idx)->prompt = new_prompt; in ss_set_prompt() 28 char *ss_get_prompt(int sci_idx) in ss_get_prompt() argument 30 return(ss_info(sci_idx)->prompt); in ss_get_prompt()
|
D | request_tbl.c | 23 void ss_add_request_table(int sci_idx, ssrt *rqtbl_ptr, int position, int *code_ptr) in ss_add_request_table() argument 29 info = ss_info(sci_idx); in ss_add_request_table() 52 void ss_delete_request_table(int sci_idx, ssrt *rqtbl_ptr, int *code_ptr) in ss_delete_request_table() argument 58 info = ss_info(sci_idx); in ss_delete_request_table()
|
D | list_rqs.c | 23 int sci_idx, void *infop __SS_ATTR((unused))) in ss_list_requests() argument 52 ss_info (sci_idx) -> subsystem_name); in ss_list_requests() 54 for (table = ss_info(sci_idx)->rqt_tables; *table; table++) { in ss_list_requests()
|
D | get_readline.c | 43 void ss_get_readline(int sci_idx) in ss_get_readline() argument 46 ss_data *info = ss_info(sci_idx); in ss_get_readline() 97 void ss_get_readline(int sci_idx __SS_ATTR((unused))) in ss_get_readline()
|
D | parse.c | 46 char **ss_parse(int sci_idx, register char *line_ptr, int *argc_ptr) in ss_parse() argument 54 ss_error(sci_idx, errno, "Can't allocate storage"); in ss_parse() 126 ss_error (sci_idx, 0, in ss_parse()
|
/external/e2fsprogs/tests/progs/ |
D | test_icount.h | 1 void do_create_icount(int argc, char **argv, int sci_idx, void *infop); 2 void do_free_icount(int argc, char **argv, int sci_idx, void *infop); 3 void do_fetch(int argc, char **argv, int sci_idx, void *infop); 4 void do_increment(int argc, char **argv, int sci_idx, void *infop); 5 void do_decrement(int argc, char **argv, int sci_idx, void *infop); 6 void do_store(int argc, char **argv, int sci_idx, void *infop); 7 void do_get_size(int argc, char **argv, int sci_idx, void *infop); 8 void do_dump(int argc, char **argv, int sci_idx, void *infop); 9 void do_validate(int argc, char **argv, int sci_idx, void *infop);
|
D | test_icount.c | 64 void do_create_icount(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_create_icount() 95 void do_free_icount(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_free_icount() 109 void do_fetch(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_fetch() 133 void do_increment(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_increment() 158 void do_decrement(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_decrement() 183 void do_store(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_store() 213 void do_dump(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_dump() 238 void do_validate(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_validate() 257 void do_get_size(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in do_get_size() 272 static int source_file(const char *cmd_file, int sci_idx) in source_file() argument [all …]
|
D | test_rel.c | 663 static int source_file(const char *cmd_file, int sci_idx) in source_file() argument 703 retval = ss_execute_line(sci_idx, buf); in source_file() 705 ss_perror(sci_idx, retval, buf); in source_file() 715 int sci_idx; in main() local 737 sci_idx = ss_create_invocation("test_rel", "0.0", (char *) NULL, in main() 740 ss_perror(sci_idx, retval, "creating invocation"); in main() 744 (void) ss_add_request_table (sci_idx, &ss_std_requests, 1, &retval); in main() 746 ss_perror(sci_idx, retval, "adding standard requests"); in main() 751 retval = ss_execute_line(sci_idx, request); in main() 753 ss_perror(sci_idx, retval, request); in main() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | tst_bitmaps.c | 38 static int source_file(const char *cmd_file, int sci_idx) in source_file() argument 77 retval = ss_execute_line(sci_idx, buf); in source_file() 79 ss_perror(sci_idx, retval, buf); in source_file() 193 void setup_cmd(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in setup_cmd() 238 void close_cmd(int argc, char **argv, int sci_idx EXT2FS_ATTR((unused)), in close_cmd() 275 int sci_idx EXT2FS_ATTR((unused)), in dump_inode_bitmap_cmd() 286 int sci_idx EXT2FS_ATTR((unused)), in dump_block_bitmap_cmd() 297 void do_setb(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_setb() 336 void do_clearb(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_clearb() 375 void do_testb(int argc, char *argv[], int sci_idx EXT2FS_ATTR((unused)), in do_testb() [all …]
|