btrfs-debug-tree: add -d option to print only the device mapping
[btrfs-progs-unstable.git] / btrfs_cmds.h
blob7bde1910d0057a40a2ae178d2ae7c339e9791e9d
1 /*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public
4 * License v2 as published by the Free Software Foundation.
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9 * General Public License for more details.
11 * You should have received a copy of the GNU General Public
12 * License along with this program; if not, write to the
13 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
14 * Boston, MA 021110-1307, USA.
17 /* btrfs_cmds.c*/
18 int do_clone(int nargs, char **argv);
19 int do_delete_subvolume(int nargs, char **argv);
20 int do_create_subvol(int nargs, char **argv);
21 int do_fssync(int nargs, char **argv);
22 int do_defrag(int argc, char **argv);
23 int do_show_filesystem(int nargs, char **argv);
24 int do_add_volume(int nargs, char **args);
25 int do_balance(int nargs, char **argv);
26 int do_remove_volume(int nargs, char **args);
27 int do_scan(int nargs, char **argv);
28 int do_resize(int nargs, char **argv);
29 int do_subvol_list(int nargs, char **argv);
30 int do_set_default_subvol(int nargs, char **argv);
31 int list_subvols(int fd);
32 int do_df_filesystem(int nargs, char **argv);
33 int find_updated_files(int fd, u64 root_id, u64 oldest_gen);
34 int do_find_newer(int argc, char **argv);