summaryrefslogtreecommitdiffhomepage
path: root/pkg/ilist
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-03-23 19:03:20 +0000
committergVisor bot <gvisor-bot@google.com>2021-03-23 19:03:20 +0000
commite48ad2ada0357cb8ee9185074aaff7ab44d84631 (patch)
treef8848b871cd5e3a0d07853083e024a231438085c /pkg/ilist
parent0fea1c57d9bc63416cc366720b2f53139468352f (diff)
parentacb4c62885629d6d3ee977b93c27282abed0b33f (diff)
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/ilist')
-rw-r--r--pkg/ilist/ilist_state_autogen.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/ilist/ilist_state_autogen.go b/pkg/ilist/ilist_state_autogen.go
index 378b7a895..d329cb299 100644
--- a/pkg/ilist/ilist_state_autogen.go
+++ b/pkg/ilist/ilist_state_autogen.go
@@ -19,6 +19,7 @@ func (l *List) StateFields() []string {
func (l *List) beforeSave() {}
+// +checklocksignore
func (l *List) StateSave(stateSinkObject state.Sink) {
l.beforeSave()
stateSinkObject.Save(0, &l.head)
@@ -27,6 +28,7 @@ func (l *List) StateSave(stateSinkObject state.Sink) {
func (l *List) afterLoad() {}
+// +checklocksignore
func (l *List) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &l.head)
stateSourceObject.Load(1, &l.tail)
@@ -45,6 +47,7 @@ func (e *Entry) StateFields() []string {
func (e *Entry) beforeSave() {}
+// +checklocksignore
func (e *Entry) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
stateSinkObject.Save(0, &e.next)
@@ -53,6 +56,7 @@ func (e *Entry) StateSave(stateSinkObject state.Sink) {
func (e *Entry) afterLoad() {}
+// +checklocksignore
func (e *Entry) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.next)
stateSourceObject.Load(1, &e.prev)