diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-10-09 19:26:05 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-09 19:26:05 +0000 |
commit | 69aa120d401c6d6028aebe4c050cefb4794a60f1 (patch) | |
tree | 9b57d56a75d3900b35c7814bf1417057f8fac933 /pkg/abi/linux/linux_state_autogen.go | |
parent | 578aece760dd47a06a686f82efab5b650807d4c5 (diff) | |
parent | 743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff) |
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/abi/linux/linux_state_autogen.go')
-rw-r--r-- | pkg/abi/linux/linux_state_autogen.go | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/pkg/abi/linux/linux_state_autogen.go b/pkg/abi/linux/linux_state_autogen.go index 53477bee5..9f49af7ff 100644 --- a/pkg/abi/linux/linux_state_autogen.go +++ b/pkg/abi/linux/linux_state_autogen.go @@ -70,11 +70,11 @@ func (b *BPFInstruction) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(3, &b.K) } -func (k *KernelTermios) StateTypeName() string { +func (t *KernelTermios) StateTypeName() string { return "pkg/abi/linux.KernelTermios" } -func (k *KernelTermios) StateFields() []string { +func (t *KernelTermios) StateFields() []string { return []string{ "InputFlags", "OutputFlags", @@ -87,31 +87,31 @@ func (k *KernelTermios) StateFields() []string { } } -func (k *KernelTermios) beforeSave() {} +func (t *KernelTermios) beforeSave() {} -func (k *KernelTermios) StateSave(stateSinkObject state.Sink) { - k.beforeSave() - stateSinkObject.Save(0, &k.InputFlags) - stateSinkObject.Save(1, &k.OutputFlags) - stateSinkObject.Save(2, &k.ControlFlags) - stateSinkObject.Save(3, &k.LocalFlags) - stateSinkObject.Save(4, &k.LineDiscipline) - stateSinkObject.Save(5, &k.ControlCharacters) - stateSinkObject.Save(6, &k.InputSpeed) - stateSinkObject.Save(7, &k.OutputSpeed) +func (t *KernelTermios) StateSave(stateSinkObject state.Sink) { + t.beforeSave() + stateSinkObject.Save(0, &t.InputFlags) + stateSinkObject.Save(1, &t.OutputFlags) + stateSinkObject.Save(2, &t.ControlFlags) + stateSinkObject.Save(3, &t.LocalFlags) + stateSinkObject.Save(4, &t.LineDiscipline) + stateSinkObject.Save(5, &t.ControlCharacters) + stateSinkObject.Save(6, &t.InputSpeed) + stateSinkObject.Save(7, &t.OutputSpeed) } -func (k *KernelTermios) afterLoad() {} +func (t *KernelTermios) afterLoad() {} -func (k *KernelTermios) StateLoad(stateSourceObject state.Source) { - stateSourceObject.Load(0, &k.InputFlags) - stateSourceObject.Load(1, &k.OutputFlags) - stateSourceObject.Load(2, &k.ControlFlags) - stateSourceObject.Load(3, &k.LocalFlags) - stateSourceObject.Load(4, &k.LineDiscipline) - stateSourceObject.Load(5, &k.ControlCharacters) - stateSourceObject.Load(6, &k.InputSpeed) - stateSourceObject.Load(7, &k.OutputSpeed) +func (t *KernelTermios) StateLoad(stateSourceObject state.Source) { + stateSourceObject.Load(0, &t.InputFlags) + stateSourceObject.Load(1, &t.OutputFlags) + stateSourceObject.Load(2, &t.ControlFlags) + stateSourceObject.Load(3, &t.LocalFlags) + stateSourceObject.Load(4, &t.LineDiscipline) + stateSourceObject.Load(5, &t.ControlCharacters) + stateSourceObject.Load(6, &t.InputSpeed) + stateSourceObject.Load(7, &t.OutputSpeed) } func (w *WindowSize) StateTypeName() string { |