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

type Swap

// Swaps returns a slice of all configured swap devices on the system.
func (fs FS) Swaps() ([]*Swap, error) {}

func parseSwaps(info []byte) ([]*Swap, error) {}

func parseSwapString(swapString string) (*Swap, error) {}