kubernetes/vendor/github.com/prometheus/procfs/mdstat.go

var statusLineRE

var recoveryLineBlocksRE

var recoveryLinePctRE

var recoveryLineFinishRE

var recoveryLineSpeedRE

var componentDeviceRE

type MDStat

// MDStat parses an mdstat-file (/proc/mdstat) and returns a slice of
// structs containing the relevant info.  More information available here:
// https://raid.wiki.kernel.org/index.php/Mdstat
func (fs FS) MDStat() ([]MDStat, error) {}

// parseMDStat parses data from mdstat file (/proc/mdstat) and returns a slice of
// structs containing the relevant info.
func parseMDStat(mdStatData []byte) ([]MDStat, error) {}

func evalStatusLine(deviceLine, statusLine string) (active, total, down, size int64, err error) {}

func evalRecoveryLine(recoveryLine string) (blocksSynced int64, blocksToBeSynced int64, pct float64, finish float64, speed float64, err error) {}

func evalComponentDevices(deviceFields []string) []string {}