+const char *subvol_strip_mountpoint(const char *mnt, const char *full_path);
+int find_next_key(struct btrfs_path *path, struct btrfs_key *key);
+const char* btrfs_group_type_str(u64 flag);
+const char* btrfs_group_profile_str(u64 flag);
+
+int count_digits(u64 num);
+u64 div_factor(u64 num, int factor);
+
+int btrfs_tree_search2_ioctl_supported(int fd);
+
+unsigned int get_unit_mode_from_arg(int *argc, char *argv[], int df_mode);
+int string_is_numerical(const char *str);
+int prefixcmp(const char *str, const char *prefix);
+
+unsigned long total_memory(void);
+
+void print_device_info(struct btrfs_device *device, char *prefix);
+void print_all_devices(struct list_head *devices);
+