Blame src/plugins/fs/xfs.h

Packit Service 158247
#include <glib.h>
Packit Service 158247
#include <blockdev/utils.h>
Packit Service 158247
Packit Service 158247
#ifndef BD_FS_XFS
Packit Service 158247
#define BD_FS_XFS
Packit Service 158247
Packit Service 158247
typedef struct BDFSXfsInfo {
Packit Service 158247
    gchar *label;
Packit Service 158247
    gchar *uuid;
Packit Service 158247
    guint64 block_size;
Packit Service 158247
    guint64 block_count;
Packit Service 158247
} BDFSXfsInfo;
Packit Service 158247
Packit Service 158247
BDFSXfsInfo* bd_fs_xfs_info_copy (BDFSXfsInfo *data);
Packit Service 158247
void bd_fs_xfs_info_free (BDFSXfsInfo *data);
Packit Service 158247
Packit Service 158247
gboolean bd_fs_xfs_mkfs (const gchar *device, const BDExtraArg **extra, GError **error);
Packit Service 158247
gboolean bd_fs_xfs_wipe (const gchar *device, GError **error);
Packit Service 158247
gboolean bd_fs_xfs_check (const gchar *device, GError **error);
Packit Service 158247
gboolean bd_fs_xfs_repair (const gchar *device, const BDExtraArg **extra, GError **error);
Packit Service 158247
gboolean bd_fs_xfs_set_label (const gchar *device, const gchar *label, GError **error);
Packit Service 158247
BDFSXfsInfo* bd_fs_xfs_get_info (const gchar *device, GError **error);
Packit Service 158247
gboolean bd_fs_xfs_resize (const gchar *mpoint, guint64 new_size, const BDExtraArg **extra, GError **error);
Packit Service 158247
Packit Service 158247
#endif  /* BD_FS_XFS */