super

package
v0.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FsSuper

type FsSuper struct {
	Disk disk.Disk
	Size uint64

	NBlockBitmap uint64
	NInodeBitmap uint64

	Maxaddr uint64
	// contains filtered or unexported fields
}

func MkFsSuper

func MkFsSuper(d disk.Disk) *FsSuper

func (*FsSuper) BitmapBlockStart

func (fs *FsSuper) BitmapBlockStart() common.Bnum

func (*FsSuper) BitmapInodeStart

func (fs *FsSuper) BitmapInodeStart() common.Bnum

func (*FsSuper) Block2addr

func (fs *FsSuper) Block2addr(blkno common.Bnum) addr.Addr

func (*FsSuper) DataStart

func (fs *FsSuper) DataStart() common.Bnum

func (*FsSuper) InodeStart

func (fs *FsSuper) InodeStart() common.Bnum

func (*FsSuper) Inum2Addr

func (fs *FsSuper) Inum2Addr(inum common.Inum) addr.Addr

func (*FsSuper) MaxBnum

func (fs *FsSuper) MaxBnum() common.Bnum

func (*FsSuper) NInode

func (fs *FsSuper) NInode() common.Inum

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL