summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/time
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/sentry/kernel/time
parent0fea1c57d9bc63416cc366720b2f53139468352f (diff)
parentacb4c62885629d6d3ee977b93c27282abed0b33f (diff)
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/sentry/kernel/time')
-rw-r--r--pkg/sentry/kernel/time/time_state_autogen.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/time/time_state_autogen.go b/pkg/sentry/kernel/time/time_state_autogen.go
index 1a30539f0..855751953 100644
--- a/pkg/sentry/kernel/time/time_state_autogen.go
+++ b/pkg/sentry/kernel/time/time_state_autogen.go
@@ -18,6 +18,7 @@ func (t *Time) StateFields() []string {
func (t *Time) beforeSave() {}
+// +checklocksignore
func (t *Time) StateSave(stateSinkObject state.Sink) {
t.beforeSave()
stateSinkObject.Save(0, &t.ns)
@@ -25,6 +26,7 @@ func (t *Time) StateSave(stateSinkObject state.Sink) {
func (t *Time) afterLoad() {}
+// +checklocksignore
func (t *Time) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &t.ns)
}
@@ -43,6 +45,7 @@ func (s *Setting) StateFields() []string {
func (s *Setting) beforeSave() {}
+// +checklocksignore
func (s *Setting) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.Enabled)
@@ -52,6 +55,7 @@ func (s *Setting) StateSave(stateSinkObject state.Sink) {
func (s *Setting) afterLoad() {}
+// +checklocksignore
func (s *Setting) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.Enabled)
stateSourceObject.Load(1, &s.Next)
@@ -73,6 +77,7 @@ func (t *Timer) StateFields() []string {
func (t *Timer) beforeSave() {}
+// +checklocksignore
func (t *Timer) StateSave(stateSinkObject state.Sink) {
t.beforeSave()
stateSinkObject.Save(0, &t.clock)
@@ -83,6 +88,7 @@ func (t *Timer) StateSave(stateSinkObject state.Sink) {
func (t *Timer) afterLoad() {}
+// +checklocksignore
func (t *Timer) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &t.clock)
stateSourceObject.Load(1, &t.listener)