Home
last modified time | relevance | path

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

/external/e2fsprogs/ext2ed/
Dmain.c78 struct struct_commands general_commands,ext2_commands; /* Used to define the general and ext2 comm… variable
385 for (i=0;i<=ext2_commands.last_command && !found;i++) { in dispatch()
386 if (strcasecmp (command,ext2_commands.names [i])==0) { in dispatch()
387 (*ext2_commands.callback [i]) (command_line); in dispatch()
485 for (i=0;i<=ext2_commands.last_command;i++) { in complete_command()
486 if (strncmp (ext2_commands.names [i],text,len)==0) { in complete_command()
489 return (dupstr (ext2_commands.names [i])); in complete_command()
Dgeneral_com.c63 if (ext2_commands.last_command != -1) { in help()
65 for (i=0;i<=ext2_commands.last_command;i++) { in help()
69 wprintw (show_pad,"%-13s",ext2_commands.names [i]); in help()
124 for (i=0;i<=ext2_commands.last_command;i++) { in detailed_help()
125 if (strcmp (ext2_commands.names [i],text)==0) { in detailed_help()
126 wprintw (show_pad,"%s - %s\n",text,ext2_commands.descriptions [i]); in detailed_help()
184 free_user_commands (&ext2_commands); /* Free filesystem specific objects */ in set_device()
187 free_user_commands (&ext2_commands); in set_device()
Dinit.c44 free_user_commands (&ext2_commands); in prepare_to_close()
59 ext2_commands.last_command=-1; in init()
101 …add_user_command (&ext2_commands,"super","Moves to the superblock of the filesystem",type_ext2___s… in add_ext2_general_commands()
102 add_user_command (&ext2_commands,"group","Moves to the first group descriptor",type_ext2___group); in add_ext2_general_commands()
103 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;