Home
last modified time | relevance | path

Searched refs:ext2_commands (Results 1 – 4 of 4) sorted by relevance

/external/e2fsprogs/ext2ed/
Dmain.c77 struct struct_commands general_commands,ext2_commands; /* Used to define the general and ext2 comm… variable
384 for (i=0;i<=ext2_commands.last_command && !found;i++) { in dispatch()
385 if (strcasecmp (command,ext2_commands.names [i])==0) { in dispatch()
386 (*ext2_commands.callback [i]) (command_line); in dispatch()
484 for (i=0;i<=ext2_commands.last_command;i++) { in complete_command()
485 if (strncmp (ext2_commands.names [i],text,len)==0) { in complete_command()
488 return (dupstr (ext2_commands.names [i])); in complete_command()
Dgeneral_com.c62 if (ext2_commands.last_command != -1) { in help()
64 for (i=0;i<=ext2_commands.last_command;i++) { in help()
68 wprintw (show_pad,"%-13s",ext2_commands.names [i]); in help()
123 for (i=0;i<=ext2_commands.last_command;i++) { in detailed_help()
124 if (strcmp (ext2_commands.names [i],text)==0) { in detailed_help()
125 wprintw (show_pad,"%s - %s\n",text,ext2_commands.descriptions [i]); in detailed_help()
183 free_user_commands (&ext2_commands); /* Free filesystem specific objects */ in set_device()
186 free_user_commands (&ext2_commands); in set_device()
Dinit.c43 free_user_commands (&ext2_commands); in prepare_to_close()
58 ext2_commands.last_command=-1; in init()
100 …add_user_command (&ext2_commands,"super","Moves to the superblock of the filesystem",type_ext2___s… in add_ext2_general_commands()
101 add_user_command (&ext2_commands,"group","Moves to the first group descriptor",type_ext2___group); in add_ext2_general_commands()
102 add_user_command (&ext2_commands,"cd","Moves to the directory specified",type_ext2___cd); in add_ext2_general_commands()
Dext2ed.h206 extern struct struct_commands ext2_commands;