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

const deviceEntryLen

const fieldBytesLen

const fieldEventsLen

const statVersion10

const statVersion11

const fieldTransport10TCPLen

const fieldTransport10UDPLen

const fieldTransport11TCPLen

const fieldTransport11UDPLen

const fieldTransport11RDMAMaxLen

const fieldTransport11RDMAMinLen

type Mount

type MountStats

type MountStatsNFS

// mountStats implements MountStats.
func (m MountStatsNFS) mountStats() {}

type NFSBytesStats

type NFSEventsStats

type NFSOperationStats

type NFSTransportStats

// parseMountStats parses a /proc/[pid]/mountstats file and returns a slice
// of Mount structures containing detailed information about each mount.
// If available, statistics for each mount are parsed as well.
func parseMountStats(r io.Reader) ([]*Mount, error) {}

// parseMount parses an entry in /proc/[pid]/mountstats in the format:
//
//	device [device] mounted on [mount] with fstype [type]
func parseMount(ss []string) (*Mount, error) {}

// parseMountStatsNFS parses a MountStatsNFS by scanning additional information
// related to NFS statistics.
func parseMountStatsNFS(s *bufio.Scanner, statVersion string) (*MountStatsNFS, error) {}

// parseNFSBytesStats parses a NFSBytesStats line using an input set of
// integer fields.
func parseNFSBytesStats(ss []string) (*NFSBytesStats, error) {}

// parseNFSEventsStats parses a NFSEventsStats line using an input set of
// integer fields.
func parseNFSEventsStats(ss []string) (*NFSEventsStats, error) {}

// parseNFSOperationStats parses a slice of NFSOperationStats by scanning
// additional information about per-operation statistics until an empty
// line is reached.
func parseNFSOperationStats(s *bufio.Scanner) ([]NFSOperationStats, error) {}

// parseNFSTransportStats parses a NFSTransportStats line using an input set of
// integer fields matched to a specific stats version.
func parseNFSTransportStats(ss []string, statVersion string) (*NFSTransportStats, error) {}