Home | History | Annotate | Download | only in progs
      1 #
      2 # Copyright (C) 1997 Theodore Ts'o.  This file may be redistributed
      3 # under the terms of the GNU Public License.
      4 #
      5 command_table test_cmds;
      6 
      7 #
      8 # Block relocation table commands
      9 #
     10 
     11 request do_brel_ma_create, "Open a memory array block relocation table",
     12 	brel_ma_create, bma_create;
     13 
     14 request do_brel_free, "Free a block relocation table",
     15 	brel_free, bfree;
     16 
     17 request do_brel_put, "Add or modify a block relocation entry",
     18 	brel_put, bput;
     19 
     20 request do_brel_get, "Get a block relocation entry",
     21 	brel_get, bget;
     22 
     23 request do_brel_start_iter, "Start iterating over the block table",
     24 	brel_start_iter, bstart;
     25 
     26 request do_brel_next, "Get the next block relocation entry",
     27 	brel_next, bnext;
     28 
     29 request do_brel_dump, "Dump the block relocation table",
     30 	brel_dump, bdump;
     31 
     32 request do_brel_move, "Move an entry in the block relocation table",
     33 	brel_move, bmove;
     34 
     35 request do_brel_delete, "Delete an entry in the block relocation table",
     36 	brel_delete, bdelete, bdel;
     37 
     38 #
     39 # Inode relocation table commands
     40 #
     41 
     42 request do_irel_ma_create, "Open a memory array inode relocation table",
     43 	irel_ma_create, ima_create;
     44 
     45 request do_irel_free, "Free an inode relocation table",
     46 	irel_free, ifree;
     47 
     48 request do_irel_put, "Add or modify an inode relocation entry",
     49 	irel_put, iput;
     50 
     51 request do_irel_get, "Get an inode relocation entry",
     52 	irel_get, iget;
     53 
     54 request do_irel_get_by_orig, 
     55 	"Get an inode relocation entry by its original number",
     56 	irel_get_by_orig, igetorig, igeto;
     57 
     58 request do_irel_start_iter, "Start iterating over the inode table",
     59 	irel_start_iter, istart;
     60 
     61 request do_irel_next, "Get the next block relocation entry",
     62 	irel_next, inext;
     63 
     64 request do_irel_dump, "Dump the inode relocation table",
     65 	irel_dump, idump;
     66 
     67 request do_irel_add_ref, "Add a reference to an inode entry",
     68 	irel_add_ref, iaddref, iaddr;
     69 
     70 request do_irel_start_iter_ref, "Start iterating over references to an inode",
     71 	irel_start_iter_ref, istartref, istartr;
     72 
     73 request do_irel_next_ref, "Get the next reference for an inode entry",
     74 	irel_next_ref, inextref, inextr;
     75 
     76 request do_irel_move, "Move an entry in the inode relocation table", 
     77 	irel_move, imove;
     78 
     79 request do_irel_delete, "Delete an entry in the inode relocation table",
     80 	irel_delete, idelete, idel;
     81 
     82 end;
     83