summaryrefslogtreecommitdiffhomepage
path: root/pkg/ilist
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-08 01:32:17 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-08 01:32:17 +0000
commit8f70c8003e9d132fc766ed7d92ce805c093d518b (patch)
tree6d77a3246e3f04605790d410e7630cb910704ced /pkg/ilist
parent8f9d99c812b7599c52ed98f80c1a33717758a5c6 (diff)
parenta55bd73d4802112a7055de8663e947b9c0f42a2e (diff)
Merge release-20200928.0-66-ga55bd73d4 (automated)
Diffstat (limited to 'pkg/ilist')
-rw-r--r--pkg/ilist/ilist_state_autogen.go44
1 files changed, 22 insertions, 22 deletions
diff --git a/pkg/ilist/ilist_state_autogen.go b/pkg/ilist/ilist_state_autogen.go
index d175c965e..378b7a895 100644
--- a/pkg/ilist/ilist_state_autogen.go
+++ b/pkg/ilist/ilist_state_autogen.go
@@ -6,56 +6,56 @@ import (
"gvisor.dev/gvisor/pkg/state"
)
-func (x *List) StateTypeName() string {
+func (l *List) StateTypeName() string {
return "pkg/ilist.List"
}
-func (x *List) StateFields() []string {
+func (l *List) StateFields() []string {
return []string{
"head",
"tail",
}
}
-func (x *List) beforeSave() {}
+func (l *List) beforeSave() {}
-func (x *List) StateSave(m state.Sink) {
- x.beforeSave()
- m.Save(0, &x.head)
- m.Save(1, &x.tail)
+func (l *List) StateSave(stateSinkObject state.Sink) {
+ l.beforeSave()
+ stateSinkObject.Save(0, &l.head)
+ stateSinkObject.Save(1, &l.tail)
}
-func (x *List) afterLoad() {}
+func (l *List) afterLoad() {}
-func (x *List) StateLoad(m state.Source) {
- m.Load(0, &x.head)
- m.Load(1, &x.tail)
+func (l *List) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &l.head)
+ stateSourceObject.Load(1, &l.tail)
}
-func (x *Entry) StateTypeName() string {
+func (e *Entry) StateTypeName() string {
return "pkg/ilist.Entry"
}
-func (x *Entry) StateFields() []string {
+func (e *Entry) StateFields() []string {
return []string{
"next",
"prev",
}
}
-func (x *Entry) beforeSave() {}
+func (e *Entry) beforeSave() {}
-func (x *Entry) StateSave(m state.Sink) {
- x.beforeSave()
- m.Save(0, &x.next)
- m.Save(1, &x.prev)
+func (e *Entry) StateSave(stateSinkObject state.Sink) {
+ e.beforeSave()
+ stateSinkObject.Save(0, &e.next)
+ stateSinkObject.Save(1, &e.prev)
}
-func (x *Entry) afterLoad() {}
+func (e *Entry) afterLoad() {}
-func (x *Entry) StateLoad(m state.Source) {
- m.Load(0, &x.next)
- m.Load(1, &x.prev)
+func (e *Entry) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &e.next)
+ stateSourceObject.Load(1, &e.prev)
}
func init() {