summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/fasync/fasync_state_autogen.go
blob: e162e0033413a9e076ba7cfa920997970aef5658 (plain)
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
// automatically generated by stateify.

package fasync

import (
	"gvisor.googlesource.com/gvisor/pkg/state"
)

func (x *FileAsync) beforeSave() {}
func (x *FileAsync) save(m state.Map) {
	x.beforeSave()
	m.Save("e", &x.e)
	m.Save("requester", &x.requester)
	m.Save("recipientPG", &x.recipientPG)
	m.Save("recipientTG", &x.recipientTG)
	m.Save("recipientT", &x.recipientT)
}

func (x *FileAsync) afterLoad() {}
func (x *FileAsync) load(m state.Map) {
	m.Load("e", &x.e)
	m.Load("requester", &x.requester)
	m.Load("recipientPG", &x.recipientPG)
	m.Load("recipientTG", &x.recipientTG)
	m.Load("recipientT", &x.recipientT)
}

func init() {
	state.Register("fasync.FileAsync", (*FileAsync)(nil), state.Fns{Save: (*FileAsync).save, Load: (*FileAsync).load})
}