File: dev_state_autogen.go

package info (click to toggle)
golang-gvisor-gvisor 0.0~20240729.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie, trixie-proposed-updates
  • size: 21,300 kB
  • sloc: asm: 3,361; ansic: 1,197; cpp: 348; makefile: 92; python: 89; sh: 83
file content (34 lines) | stat: -rw-r--r-- 668 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// automatically generated by stateify.

package dev

import (
	"context"

	"gvisor.dev/gvisor/pkg/state"
)

func (fst *FilesystemType) StateTypeName() string {
	return "pkg/sentry/fsimpl/dev.FilesystemType"
}

func (fst *FilesystemType) StateFields() []string {
	return []string{}
}

func (fst *FilesystemType) beforeSave() {}

// +checklocksignore
func (fst *FilesystemType) StateSave(stateSinkObject state.Sink) {
	fst.beforeSave()
}

func (fst *FilesystemType) afterLoad(context.Context) {}

// +checklocksignore
func (fst *FilesystemType) StateLoad(ctx context.Context, stateSourceObject state.Source) {
}

func init() {
	state.Register((*FilesystemType)(nil))
}