bcachefs-tools/c_src/cmds.h

65 lines
1.8 KiB
C
Raw Normal View History

2013-06-27 05:42:39 +04:00
/*
2016-03-12 09:18:42 +03:00
* Author: Kent Overstreet <kent.overstreet@gmail.com>
2013-06-27 05:42:39 +04:00
*
* GPLv2
*/
2017-02-02 06:16:42 +03:00
#ifndef _CMDS_H
#define _CMDS_H
2010-10-08 18:04:49 +04:00
2017-01-08 12:13:18 +03:00
#include "tools-util.h"
2016-08-24 06:50:31 +03:00
int cmd_format(int argc, char *argv[]);
int cmd_show_super(int argc, char *argv[]);
int cmd_reset_counters(int argc, char *argv[]);
int cmd_set_option(int argc, char *argv[]);
2016-08-24 06:50:31 +03:00
2017-12-23 08:50:55 +03:00
int cmd_fs_usage(int argc, char *argv[]);
2016-08-24 06:50:31 +03:00
int device_usage(void);
2016-08-24 06:50:31 +03:00
int cmd_device_add(int argc, char *argv[]);
int cmd_device_remove(int argc, char *argv[]);
int cmd_device_online(int argc, char *argv[]);
int cmd_device_offline(int argc, char *argv[]);
int cmd_device_evacuate(int argc, char *argv[]);
int cmd_device_set_state(int argc, char *argv[]);
2017-12-28 09:01:16 +03:00
int cmd_device_resize(int argc, char *argv[]);
int cmd_device_resize_journal(int argc, char *argv[]);
2016-08-24 06:50:31 +03:00
int data_usage(void);
2018-02-08 23:30:19 +03:00
int cmd_data_rereplicate(int argc, char *argv[]);
int cmd_data_scrub(int argc, char *argv[]);
int cmd_data_job(int argc, char *argv[]);
2018-02-08 23:30:19 +03:00
int cmd_unlock(int argc, char *argv[]);
int cmd_set_passphrase(int argc, char *argv[]);
int cmd_remove_passphrase(int argc, char *argv[]);
2017-01-08 12:13:18 +03:00
int cmd_fsck(int argc, char *argv[]);
int cmd_dump(int argc, char *argv[]);
int cmd_list_journal(int argc, char *argv[]);
int cmd_kill_btree_node(int argc, char *argv[]);
2017-03-01 13:45:15 +03:00
int cmd_migrate(int argc, char *argv[]);
int cmd_migrate_superblock(int argc, char *argv[]);
int cmd_version(int argc, char *argv[]);
2018-12-19 23:41:47 +03:00
int cmd_setattr(int argc, char *argv[]);
int subvolume_usage(void);
2021-03-04 22:48:21 +03:00
int cmd_subvolume_create(int argc, char *argv[]);
int cmd_subvolume_delete(int argc, char *argv[]);
int cmd_subvolume_snapshot(int argc, char *argv[]);
2019-10-01 21:06:58 +03:00
int cmd_fusemount(int argc, char *argv[]);
void bcachefs_usage(void);
int device_cmds(int argc, char *argv[]);
int fs_cmds(int argc, char *argv[]);
int data_cmds(int argc, char *argv[]);
int subvolume_cmds(int argc, char *argv[]);
2019-10-01 21:06:58 +03:00
2017-02-02 06:16:42 +03:00
#endif /* _CMDS_H */