+
+enum lctl_param_flags {
+ PARAM_FLAGS_YAML_FORMAT = 0x0001,
+ PARAM_FLAGS_SHOW_SOURCE = 0x0002,
+ PARAM_FLAGS_EXTRA_DETAILS = 0x0004,
+};
+
+int llapi_param_display_value(char *path, int version,
+ enum lctl_param_flags flags, FILE *fp);
+
+enum get_lmd_info_type {
+ GET_LMD_INFO = 1,
+ GET_LMD_STRIPE = 2,
+};
+
+int get_lmd_info_fd(const char *path, int parentfd, int dirfd,
+ void *lmd_buf, int lmd_len, enum get_lmd_info_type type);
+
+int lov_comp_md_size(struct lov_comp_md_v1 *lcm);