#ifndef _MD_P_H
#define _MD_P_H
#include <linux/types.h>
#include <asm/byteorder.h>
#define MD_RESERVED_BYTES …
#define MD_RESERVED_SECTORS …
#define MD_NEW_SIZE_SECTORS(x) …
#define MD_SB_BYTES …
#define MD_SB_WORDS …
#define MD_SB_SECTORS …
#define MD_SB_GENERIC_OFFSET …
#define MD_SB_PERSONALITY_OFFSET …
#define MD_SB_DISKS_OFFSET …
#define MD_SB_DESCRIPTOR_OFFSET …
#define MD_SB_GENERIC_CONSTANT_WORDS …
#define MD_SB_GENERIC_STATE_WORDS …
#define MD_SB_GENERIC_WORDS …
#define MD_SB_PERSONALITY_WORDS …
#define MD_SB_DESCRIPTOR_WORDS …
#define MD_SB_DISKS …
#define MD_SB_DISKS_WORDS …
#define MD_SB_RESERVED_WORDS …
#define MD_SB_EQUAL_WORDS …
#define MD_DISK_FAULTY …
#define MD_DISK_ACTIVE …
#define MD_DISK_SYNC …
#define MD_DISK_REMOVED …
#define MD_DISK_CLUSTER_ADD …
#define MD_DISK_CANDIDATE …
#define MD_DISK_FAILFAST …
#define MD_DISK_WRITEMOSTLY …
#define MD_DISK_JOURNAL …
#define MD_DISK_ROLE_SPARE …
#define MD_DISK_ROLE_FAULTY …
#define MD_DISK_ROLE_JOURNAL …
#define MD_DISK_ROLE_MAX …
mdp_disk_t;
#define MD_SB_MAGIC …
#define MD_SB_CLEAN …
#define MD_SB_ERRORS …
#define MD_SB_CLUSTERED …
#define MD_SB_BITMAP_PRESENT …
mdp_super_t;
static inline __u64 md_event(mdp_super_t *sb) { … }
#define MD_SUPERBLOCK_1_TIME_SEC_MASK …
struct mdp_superblock_1 { … };
#define MD_FEATURE_BITMAP_OFFSET …
#define MD_FEATURE_RECOVERY_OFFSET …
#define MD_FEATURE_RESHAPE_ACTIVE …
#define MD_FEATURE_BAD_BLOCKS …
#define MD_FEATURE_REPLACEMENT …
#define MD_FEATURE_RESHAPE_BACKWARDS …
#define MD_FEATURE_NEW_OFFSET …
#define MD_FEATURE_RECOVERY_BITMAP …
#define MD_FEATURE_CLUSTERED …
#define MD_FEATURE_JOURNAL …
#define MD_FEATURE_PPL …
#define MD_FEATURE_MULTIPLE_PPLS …
#define MD_FEATURE_RAID0_LAYOUT …
#define MD_FEATURE_ALL …
struct r5l_payload_header { … } __attribute__ ((packed));
enum r5l_payload_type { … };
struct r5l_payload_data_parity { … } __attribute__ ((packed));
enum r5l_payload_data_parity_flag { … };
struct r5l_payload_flush { … } __attribute__ ((packed));
enum r5l_payload_flush_flag { … };
struct r5l_meta_block { … } __attribute__ ((packed));
#define R5LOG_VERSION …
#define R5LOG_MAGIC …
struct ppl_header_entry { … } __attribute__ ((packed));
#define PPL_HEADER_SIZE …
#define PPL_HDR_RESERVED …
#define PPL_HDR_ENTRY_SPACE …
#define PPL_HDR_MAX_ENTRIES …
struct ppl_header { … } __attribute__ ((packed));
#endif