Lines Matching refs:argc

49 static int common_extent_args_process(int argc, char *argv[], int min_argc,  in common_extent_args_process()  argument
53 if (common_args_process(argc, argv, min_argc, max_argc, cmd, in common_extent_args_process()
66 void do_extent_open(int argc, char *argv[]) in do_extent_open() argument
76 if (argc == 1) { in do_extent_open()
84 if (common_inode_args_process(argc, argv, &inode, 0)) in do_extent_open()
110 void do_extent_close(int argc, char *argv[]) in do_extent_close() argument
114 if (common_args_process(argc, argv, 1, 1, in do_extent_close()
132 static void generic_goto_node(const char *my_name, int argc, in generic_goto_node() argument
138 if (my_name && common_args_process(argc, argv, 1, 1, in generic_goto_node()
155 void do_current_node(int argc, char *argv[]) in do_current_node() argument
157 generic_goto_node("current_node", argc, argv, EXT2_EXTENT_CURRENT); in do_current_node()
160 void do_root_node(int argc, char *argv[]) in do_root_node() argument
162 generic_goto_node("root_node", argc, argv, EXT2_EXTENT_ROOT); in do_root_node()
165 void do_last_leaf(int argc, char *argv[]) in do_last_leaf() argument
167 generic_goto_node("last_leaf", argc, argv, EXT2_EXTENT_LAST_LEAF); in do_last_leaf()
170 void do_first_sib(int argc, char *argv[]) in do_first_sib() argument
172 generic_goto_node("first_sib", argc, argv, EXT2_EXTENT_FIRST_SIB); in do_first_sib()
175 void do_last_sib(int argc, char *argv[]) in do_last_sib() argument
177 generic_goto_node("next_sib", argc, argv, EXT2_EXTENT_LAST_SIB); in do_last_sib()
180 void do_next_sib(int argc, char *argv[]) in do_next_sib() argument
182 generic_goto_node("next_sib", argc, argv, EXT2_EXTENT_NEXT_SIB); in do_next_sib()
185 void do_prev_sib(int argc, char *argv[]) in do_prev_sib() argument
187 generic_goto_node("prev_sib", argc, argv, EXT2_EXTENT_PREV_SIB); in do_prev_sib()
190 void do_next_leaf(int argc, char *argv[]) in do_next_leaf() argument
192 generic_goto_node("next_leaf", argc, argv, EXT2_EXTENT_NEXT_LEAF); in do_next_leaf()
195 void do_prev_leaf(int argc, char *argv[]) in do_prev_leaf() argument
197 generic_goto_node("prev_leaf", argc, argv, EXT2_EXTENT_PREV_LEAF); in do_prev_leaf()
200 void do_next(int argc, char *argv[]) in do_next() argument
202 generic_goto_node("next", argc, argv, EXT2_EXTENT_NEXT); in do_next()
205 void do_prev(int argc, char *argv[]) in do_prev() argument
207 generic_goto_node("prev", argc, argv, EXT2_EXTENT_PREV); in do_prev()
210 void do_up(int argc, char *argv[]) in do_up() argument
212 generic_goto_node("up", argc, argv, EXT2_EXTENT_UP); in do_up()
215 void do_down(int argc, char *argv[]) in do_down() argument
217 generic_goto_node("down", argc, argv, EXT2_EXTENT_DOWN); in do_down()
220 void do_delete_node(int argc, char *argv[]) in do_delete_node() argument
225 if (common_extent_args_process(argc, argv, 1, 1, "delete_node", in do_delete_node()
242 void do_replace_node(int argc, char *argv[]) in do_replace_node() argument
249 if (common_extent_args_process(argc, argv, 3, 5, "replace_node", in do_replace_node()
256 argc--; in do_replace_node()
261 if (argc != 4) { in do_replace_node()
283 generic_goto_node(NULL, argc, argv, EXT2_EXTENT_CURRENT); in do_replace_node()
286 void do_split_node(int argc, char *argv[]) in do_split_node() argument
290 if (common_extent_args_process(argc, argv, 1, 1, "split_node", in do_split_node()
299 generic_goto_node(NULL, argc, argv, EXT2_EXTENT_CURRENT); in do_split_node()
302 void do_insert_node(int argc, char *argv[]) in do_insert_node() argument
311 if (common_extent_args_process(argc, argv, 3, 6, "insert_node", in do_insert_node()
319 while (argc > 2) { in do_insert_node()
321 argc--; in do_insert_node()
327 argc--; in do_insert_node()
335 if (argc != 4) { in do_insert_node()
358 generic_goto_node(NULL, argc, argv, EXT2_EXTENT_CURRENT); in do_insert_node()
361 void do_set_bmap(int argc, char **argv) in do_set_bmap() argument
372 if (common_extent_args_process(argc, argv, 3, 5, "set_bmap", in do_set_bmap()
376 if (argc > 2 && !strcmp(argv[1], "--uninit")) { in do_set_bmap()
377 argc--; in do_set_bmap()
382 if (argc != 3) { in do_set_bmap()
409 void do_print_all(int argc, char **argv) in do_print_all() argument
419 if (common_extent_args_process(argc, argv, 1, 2, "print_all", in do_print_all()
423 if (argc == 2) { in do_print_all()
460 void do_fix_parents(int argc, char **argv) in do_fix_parents() argument
464 if (common_extent_args_process(argc, argv, 1, 1, "fix_parents", "", in do_fix_parents()
475 void do_info(int argc, char **argv) in do_info() argument
481 if (common_extent_args_process(argc, argv, 1, 1, "info", "", 0)) in do_info()
508 void do_goto_block(int argc, char **argv) in do_goto_block() argument
514 if (common_extent_args_process(argc, argv, 2, 3, "goto_block", in do_goto_block()
521 if (argc == 3) { in do_goto_block()
536 generic_goto_node(NULL, argc, argv, EXT2_EXTENT_CURRENT); in do_goto_block()