1*6a54128fSAndroid Build Coastguard Worker# 2*6a54128fSAndroid Build Coastguard Worker# Copyright (C) 1993 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 extent_cmds; 6*6a54128fSAndroid Build Coastguard Worker 7*6a54128fSAndroid Build Coastguard Workerrequest do_current_node, "Current extent node", 8*6a54128fSAndroid Build Coastguard Worker current_node, current; 9*6a54128fSAndroid Build Coastguard Worker 10*6a54128fSAndroid Build Coastguard Workerrequest do_root_node, "Goto root extent", 11*6a54128fSAndroid Build Coastguard Worker root_node, root; 12*6a54128fSAndroid Build Coastguard Worker 13*6a54128fSAndroid Build Coastguard Workerrequest do_last_leaf, "Goto last leaf", 14*6a54128fSAndroid Build Coastguard Worker last_leaf; 15*6a54128fSAndroid Build Coastguard Worker 16*6a54128fSAndroid Build Coastguard Workerrequest do_first_sib, "Goto first sibling", 17*6a54128fSAndroid Build Coastguard Worker first_sibling, first_sib; 18*6a54128fSAndroid Build Coastguard Worker 19*6a54128fSAndroid Build Coastguard Workerrequest do_last_sib, "Goto last sibling", 20*6a54128fSAndroid Build Coastguard Worker last_sibling, last_sib; 21*6a54128fSAndroid Build Coastguard Worker 22*6a54128fSAndroid Build Coastguard Workerrequest do_next_sib, "Goto next sibling", 23*6a54128fSAndroid Build Coastguard Worker next_sibling, next_sib, ns; 24*6a54128fSAndroid Build Coastguard Worker 25*6a54128fSAndroid Build Coastguard Workerrequest do_prev_sib, "Goto previous sibling", 26*6a54128fSAndroid Build Coastguard Worker prev_sibling, prev_sib, ps; 27*6a54128fSAndroid Build Coastguard Worker 28*6a54128fSAndroid Build Coastguard Workerrequest do_next_leaf, "Goto next leaf", 29*6a54128fSAndroid Build Coastguard Worker next_leaf, nl; 30*6a54128fSAndroid Build Coastguard Worker 31*6a54128fSAndroid Build Coastguard Workerrequest do_prev_leaf, "Goto previous leaf", 32*6a54128fSAndroid Build Coastguard Worker prev_leaf, pl; 33*6a54128fSAndroid Build Coastguard Worker 34*6a54128fSAndroid Build Coastguard Workerrequest do_next, "Goto next node", 35*6a54128fSAndroid Build Coastguard Worker next, n; 36*6a54128fSAndroid Build Coastguard Worker 37*6a54128fSAndroid Build Coastguard Workerrequest do_prev, "Goto previous node", 38*6a54128fSAndroid Build Coastguard Worker previous, prev, p; 39*6a54128fSAndroid Build Coastguard Worker 40*6a54128fSAndroid Build Coastguard Workerrequest do_up, "Up node", 41*6a54128fSAndroid Build Coastguard Worker up_node, up, u; 42*6a54128fSAndroid Build Coastguard Worker 43*6a54128fSAndroid Build Coastguard Workerrequest do_down, "Down node", 44*6a54128fSAndroid Build Coastguard Worker down_node, down, d; 45*6a54128fSAndroid Build Coastguard Worker 46*6a54128fSAndroid Build Coastguard Workerrequest do_delete_node, "Delete node", 47*6a54128fSAndroid Build Coastguard Worker delete_node, delete; 48*6a54128fSAndroid Build Coastguard Worker 49*6a54128fSAndroid Build Coastguard Workerrequest do_insert_node, "Insert node", 50*6a54128fSAndroid Build Coastguard Worker insert_node, insert; 51*6a54128fSAndroid Build Coastguard Worker 52*6a54128fSAndroid Build Coastguard Workerrequest do_split_node, "Split node", 53*6a54128fSAndroid Build Coastguard Worker split_node, split; 54*6a54128fSAndroid Build Coastguard Worker 55*6a54128fSAndroid Build Coastguard Workerrequest do_fix_parents, "Fix parents", 56*6a54128fSAndroid Build Coastguard Worker fix_parents, fixp; 57*6a54128fSAndroid Build Coastguard Worker 58*6a54128fSAndroid Build Coastguard Workerrequest do_set_bmap, "Set block mapping", 59*6a54128fSAndroid Build Coastguard Worker set_bmap; 60*6a54128fSAndroid Build Coastguard Worker 61*6a54128fSAndroid Build Coastguard Workerrequest do_replace_node, "Insert node", 62*6a54128fSAndroid Build Coastguard Worker replace_node, replace; 63*6a54128fSAndroid Build Coastguard Worker 64*6a54128fSAndroid Build Coastguard Workerrequest do_print_all, "Iterate over all nodes and print them", 65*6a54128fSAndroid Build Coastguard Worker print_all, all; 66*6a54128fSAndroid Build Coastguard Worker 67*6a54128fSAndroid Build Coastguard Workerrequest do_goto_block, "Goto extent containing specified block", 68*6a54128fSAndroid Build Coastguard Worker goto_block, goto; 69*6a54128fSAndroid Build Coastguard Worker 70*6a54128fSAndroid Build Coastguard Workerrequest do_info, "Print extent info", 71*6a54128fSAndroid Build Coastguard Worker info; 72*6a54128fSAndroid Build Coastguard Worker 73*6a54128fSAndroid Build Coastguard Workerrequest do_extent_close, "Close extent handle", 74*6a54128fSAndroid Build Coastguard Worker extent_close, ec; 75*6a54128fSAndroid Build Coastguard Worker 76*6a54128fSAndroid Build Coastguard Workerend; 77*6a54128fSAndroid Build Coastguard Worker 78