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