/* ../../debugfs/debug_cmds.c - automatically generated from ../../debugfs/debug_cmds.ct */
#include <ss/ss.h>

#ifndef __STDC__
#define const
#endif

static char const * const ssu00001[] = {
"show_debugfs_params",
    "params",
    (char const *)0
};
extern void do_show_debugfs_params __SS_PROTO;
static char const * const ssu00002[] = {
"open_filesys",
    "open",
    (char const *)0
};
extern void do_open_filesys __SS_PROTO;
static char const * const ssu00003[] = {
"close_filesys",
    "close",
    (char const *)0
};
extern void do_close_filesys __SS_PROTO;
static char const * const ssu00004[] = {
"feature",
    "features",
    (char const *)0
};
extern void do_features __SS_PROTO;
static char const * const ssu00005[] = {
"dirty_filesys",
    "dirty",
    (char const *)0
};
extern void do_dirty_filesys __SS_PROTO;
static char const * const ssu00006[] = {
"init_filesys",
    (char const *)0
};
extern void do_init_filesys __SS_PROTO;
static char const * const ssu00007[] = {
"show_super_stats",
    "stats",
    (char const *)0
};
extern void do_show_super_stats __SS_PROTO;
static char const * const ssu00008[] = {
"ncheck",
    (char const *)0
};
extern void do_ncheck __SS_PROTO;
static char const * const ssu00009[] = {
"icheck",
    (char const *)0
};
extern void do_icheck __SS_PROTO;
static char const * const ssu00010[] = {
"change_root_directory",
    "chroot",
    (char const *)0
};
extern void do_chroot __SS_PROTO;
static char const * const ssu00011[] = {
"change_working_directory",
    "cd",
    (char const *)0
};
extern void do_change_working_dir __SS_PROTO;
static char const * const ssu00012[] = {
"list_directory",
    "ls",
    (char const *)0
};
extern void do_list_dir __SS_PROTO;
static char const * const ssu00013[] = {
"show_inode_info",
    "stat",
    (char const *)0
};
extern void do_stat __SS_PROTO;
static char const * const ssu00014[] = {
"link",
    "ln",
    (char const *)0
};
extern void do_link __SS_PROTO;
static char const * const ssu00015[] = {
"unlink",
    (char const *)0
};
extern void do_unlink __SS_PROTO;
static char const * const ssu00016[] = {
"mkdir",
    (char const *)0
};
extern void do_mkdir __SS_PROTO;
static char const * const ssu00017[] = {
"rmdir",
    (char const *)0
};
extern void do_rmdir __SS_PROTO;
static char const * const ssu00018[] = {
"rm",
    (char const *)0
};
extern void do_rm __SS_PROTO;
static char const * const ssu00019[] = {
"kill_file",
    (char const *)0
};
extern void do_kill_file __SS_PROTO;
static char const * const ssu00020[] = {
"clri",
    (char const *)0
};
extern void do_clri __SS_PROTO;
static char const * const ssu00021[] = {
"freei",
    (char const *)0
};
extern void do_freei __SS_PROTO;
static char const * const ssu00022[] = {
"seti",
    (char const *)0
};
extern void do_seti __SS_PROTO;
static char const * const ssu00023[] = {
"testi",
    (char const *)0
};
extern void do_testi __SS_PROTO;
static char const * const ssu00024[] = {
"freeb",
    (char const *)0
};
extern void do_freeb __SS_PROTO;
static char const * const ssu00025[] = {
"setb",
    (char const *)0
};
extern void do_setb __SS_PROTO;
static char const * const ssu00026[] = {
"testb",
    (char const *)0
};
extern void do_testb __SS_PROTO;
static char const * const ssu00027[] = {
"modify_inode",
    "mi",
    (char const *)0
};
extern void do_modify_inode __SS_PROTO;
static char const * const ssu00028[] = {
"find_free_block",
    "ffb",
    (char const *)0
};
extern void do_find_free_block __SS_PROTO;
static char const * const ssu00029[] = {
"find_free_inode",
    "ffi",
    (char const *)0
};
extern void do_find_free_inode __SS_PROTO;
static char const * const ssu00030[] = {
"print_working_directory",
    "pwd",
    (char const *)0
};
extern void do_print_working_directory __SS_PROTO;
static char const * const ssu00031[] = {
"expand_dir",
    "expand",
    (char const *)0
};
extern void do_expand_dir __SS_PROTO;
static char const * const ssu00032[] = {
"mknod",
    (char const *)0
};
extern void do_mknod __SS_PROTO;
static char const * const ssu00033[] = {
"list_deleted_inodes",
    "lsdel",
    (char const *)0
};
extern void do_lsdel __SS_PROTO;
static char const * const ssu00034[] = {
"write",
    (char const *)0
};
extern void do_write __SS_PROTO;
static char const * const ssu00035[] = {
"dump_inode",
    "dump",
    (char const *)0
};
extern void do_dump __SS_PROTO;
static char const * const ssu00036[] = {
"cat",
    (char const *)0
};
extern void do_cat __SS_PROTO;
static char const * const ssu00037[] = {
"lcd",
    (char const *)0
};
extern void do_lcd __SS_PROTO;
static char const * const ssu00038[] = {
"rdump",
    (char const *)0
};
extern void do_rdump __SS_PROTO;
static char const * const ssu00039[] = {
"set_super_value",
    "ssv",
    (char const *)0
};
extern void do_set_super __SS_PROTO;
static char const * const ssu00040[] = {
"logdump",
    (char const *)0
};
extern void do_logdump __SS_PROTO;
static ss_request_entry ssu00041[] = {
    { ssu00001,
      do_show_debugfs_params,
      "Show debugfs parameters",
      0 },
    { ssu00002,
      do_open_filesys,
      "Open a filesystem",
      0 },
    { ssu00003,
      do_close_filesys,
      "Close the filesystem",
      0 },
    { ssu00004,
      do_features,
      "Set/print superblock features",
      0 },
    { ssu00005,
      do_dirty_filesys,
      "Mark the filesystem as dirty",
      0 },
    { ssu00006,
      do_init_filesys,
      "Initalize a filesystem (DESTROYS DATA)",
      0 },
    { ssu00007,
      do_show_super_stats,
      "Show superblock statistics",
      0 },
    { ssu00008,
      do_ncheck,
      "Do inode->name translation",
      0 },
    { ssu00009,
      do_icheck,
      "Do block->inode translation",
      0 },
    { ssu00010,
      do_chroot,
      "Change root directory",
      0 },
    { ssu00011,
      do_change_working_dir,
      "Change working directory",
      0 },
    { ssu00012,
      do_list_dir,
      "List directory",
      0 },
    { ssu00013,
      do_stat,
      "Show inode information ",
      0 },
    { ssu00014,
      do_link,
      "Create directory link",
      0 },
    { ssu00015,
      do_unlink,
      "Delete a directory link",
      0 },
    { ssu00016,
      do_mkdir,
      "Create a directory",
      0 },
    { ssu00017,
      do_rmdir,
      "Remove a directory",
      0 },
    { ssu00018,
      do_rm,
      "Remove a file (unlink and kill_file, if appropriate)",
      0 },
    { ssu00019,
      do_kill_file,
      "Deallocate an inode and its blocks",
      0 },
    { ssu00020,
      do_clri,
      "Clear an inode's contents",
      0 },
    { ssu00021,
      do_freei,
      "Clear an inode's in-use flag",
      0 },
    { ssu00022,
      do_seti,
      "Set an inode's in-use flag",
      0 },
    { ssu00023,
      do_testi,
      "Test an inode's in-use flag",
      0 },
    { ssu00024,
      do_freeb,
      "Clear a block's in-use flag",
      0 },
    { ssu00025,
      do_setb,
      "Set a block's in-use flag",
      0 },
    { ssu00026,
      do_testb,
      "Test a block's in-use flag",
      0 },
    { ssu00027,
      do_modify_inode,
      "Modify an inode by structure",
      0 },
    { ssu00028,
      do_find_free_block,
      "Find free block(s)",
      0 },
    { ssu00029,
      do_find_free_inode,
      "Find free inode(s)",
      0 },
    { ssu00030,
      do_print_working_directory,
      "Print current working directory",
      0 },
    { ssu00031,
      do_expand_dir,
      "Expand directory",
      0 },
    { ssu00032,
      do_mknod,
      "Create a special file",
      0 },
    { ssu00033,
      do_lsdel,
      "List deleted inodes",
      0 },
    { ssu00034,
      do_write,
      "Copy a file from your native filesystem",
      0 },
    { ssu00035,
      do_dump,
      "Dump an inode out to a file",
      0 },
    { ssu00036,
      do_cat,
      "Dump an inode out to stdout",
      0 },
    { ssu00037,
      do_lcd,
      "Change the current directory on your native filesystem",
      0 },
    { ssu00038,
      do_rdump,
      "Recursively dump a directory to the native filesystem",
      0 },
    { ssu00039,
      do_set_super,
      "Set superblock value",
      0 },
    { ssu00040,
      do_logdump,
      "Dump the contents of the journal",
      0 },
    { 0, 0, 0, 0 }
};

ss_request_table debug_cmds = { 2, ssu00041 };
