Debian Codegraph @

crit/images/mm/mm.pb.go

raw symbols SCIP
1 // SPDX-License-Identifier: MIT
2
3 // Code generated by protoc-gen-go. DO NOT EDIT.
4 // versions:
5 // protoc-gen-go v1.30.0
6 // protoc v4.23.4
7 // source: mm.proto
8
9 package mm
10
11 import (
12 _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts"
13 vma "github.com/checkpoint-restore/go-criu/v7/crit/images/vma"
14 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16 reflect "reflect"
17 sync "sync"
18 )
19
20 const (
21 // Verify that this generated code is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23 // Verify that runtime/protoimpl is sufficiently up-to-date.
24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25 )
26
27 type AioRingEntry struct {
28 state protoimpl.MessageState
29 sizeCache protoimpl.SizeCache
30 unknownFields protoimpl.UnknownFields
31
32 Id *uint64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
33 NrReq *uint32 `protobuf:"varint,2,req,name=nr_req,json=nrReq" json:"nr_req,omitempty"`
34 RingLen *uint32 `protobuf:"varint,3,req,name=ring_len,json=ringLen" json:"ring_len,omitempty"`
35 }
36
37 func (x *AioRingEntry) Reset() {
38 *x = AioRingEntry{}
39 if protoimpl.UnsafeEnabled {
40 mi := &file_mm_proto_msgTypes[0]
41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42 ms.StoreMessageInfo(mi)
43 }
44 }
45
46 func (x *AioRingEntry) String() string {
47 return protoimpl.X.MessageStringOf(x)
48 }
49
50 func (*AioRingEntry) ProtoMessage() {}
51
52 func (x *AioRingEntry) ProtoReflect() protoreflect.Message {
53 mi := &file_mm_proto_msgTypes[0]
54 if protoimpl.UnsafeEnabled && x != nil {
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 if ms.LoadMessageInfo() == nil {
57 ms.StoreMessageInfo(mi)
58 }
59 return ms
60 }
61 return mi.MessageOf(x)
62 }
63
64 // Deprecated: Use AioRingEntry.ProtoReflect.Descriptor instead.
65 func (*AioRingEntry) Descriptor() ([]byte, []int) {
66 return file_mm_proto_rawDescGZIP(), []int{0}
67 }
68
69 func (x *AioRingEntry) GetId() uint64 {
70 if x != nil && x.Id != nil {
71 return *x.Id
72 }
73 return 0
74 }
75
76 func (x *AioRingEntry) GetNrReq() uint32 {
77 if x != nil && x.NrReq != nil {
78 return *x.NrReq
79 }
80 return 0
81 }
82
83 func (x *AioRingEntry) GetRingLen() uint32 {
84 if x != nil && x.RingLen != nil {
85 return *x.RingLen
86 }
87 return 0
88 }
89
90 type MmEntry struct {
91 state protoimpl.MessageState
92 sizeCache protoimpl.SizeCache
93 unknownFields protoimpl.UnknownFields
94
95 MmStartCode *uint64 `protobuf:"varint,1,req,name=mm_start_code,json=mmStartCode" json:"mm_start_code,omitempty"`
96 MmEndCode *uint64 `protobuf:"varint,2,req,name=mm_end_code,json=mmEndCode" json:"mm_end_code,omitempty"`
97 MmStartData *uint64 `protobuf:"varint,3,req,name=mm_start_data,json=mmStartData" json:"mm_start_data,omitempty"`
98 MmEndData *uint64 `protobuf:"varint,4,req,name=mm_end_data,json=mmEndData" json:"mm_end_data,omitempty"`
99 MmStartStack *uint64 `protobuf:"varint,5,req,name=mm_start_stack,json=mmStartStack" json:"mm_start_stack,omitempty"`
100 MmStartBrk *uint64 `protobuf:"varint,6,req,name=mm_start_brk,json=mmStartBrk" json:"mm_start_brk,omitempty"`
101 MmBrk *uint64 `protobuf:"varint,7,req,name=mm_brk,json=mmBrk" json:"mm_brk,omitempty"`
102 MmArgStart *uint64 `protobuf:"varint,8,req,name=mm_arg_start,json=mmArgStart" json:"mm_arg_start,omitempty"`
103 MmArgEnd *uint64 `protobuf:"varint,9,req,name=mm_arg_end,json=mmArgEnd" json:"mm_arg_end,omitempty"`
104 MmEnvStart *uint64 `protobuf:"varint,10,req,name=mm_env_start,json=mmEnvStart" json:"mm_env_start,omitempty"`
105 MmEnvEnd *uint64 `protobuf:"varint,11,req,name=mm_env_end,json=mmEnvEnd" json:"mm_env_end,omitempty"`
106 ExeFileId *uint32 `protobuf:"varint,12,req,name=exe_file_id,json=exeFileId" json:"exe_file_id,omitempty"`
107 MmSavedAuxv []uint64 `protobuf:"varint,13,rep,name=mm_saved_auxv,json=mmSavedAuxv" json:"mm_saved_auxv,omitempty"`
108 Vmas []*vma.VmaEntry `protobuf:"bytes,14,rep,name=vmas" json:"vmas,omitempty"`
109 Dumpable *int32 `protobuf:"varint,15,opt,name=dumpable" json:"dumpable,omitempty"`
110 Aios []*AioRingEntry `protobuf:"bytes,16,rep,name=aios" json:"aios,omitempty"`
111 ThpDisabled *bool `protobuf:"varint,17,opt,name=thp_disabled,json=thpDisabled" json:"thp_disabled,omitempty"`
112 }
113
114 func (x *MmEntry) Reset() {
115 *x = MmEntry{}
116 if protoimpl.UnsafeEnabled {
117 mi := &file_mm_proto_msgTypes[1]
118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
119 ms.StoreMessageInfo(mi)
120 }
121 }
122
123 func (x *MmEntry) String() string {
124 return protoimpl.X.MessageStringOf(x)
125 }
126
127 func (*MmEntry) ProtoMessage() {}
128
129 func (x *MmEntry) ProtoReflect() protoreflect.Message {
130 mi := &file_mm_proto_msgTypes[1]
131 if protoimpl.UnsafeEnabled && x != nil {
132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133 if ms.LoadMessageInfo() == nil {
134 ms.StoreMessageInfo(mi)
135 }
136 return ms
137 }
138 return mi.MessageOf(x)
139 }
140
141 // Deprecated: Use MmEntry.ProtoReflect.Descriptor instead.
142 func (*MmEntry) Descriptor() ([]byte, []int) {
143 return file_mm_proto_rawDescGZIP(), []int{1}
144 }
145
146 func (x *MmEntry) GetMmStartCode() uint64 {
147 if x != nil && x.MmStartCode != nil {
148 return *x.MmStartCode
149 }
150 return 0
151 }
152
153 func (x *MmEntry) GetMmEndCode() uint64 {
154 if x != nil && x.MmEndCode != nil {
155 return *x.MmEndCode
156 }
157 return 0
158 }
159
160 func (x *MmEntry) GetMmStartData() uint64 {
161 if x != nil && x.MmStartData != nil {
162 return *x.MmStartData
163 }
164 return 0
165 }
166
167 func (x *MmEntry) GetMmEndData() uint64 {
168 if x != nil && x.MmEndData != nil {
169 return *x.MmEndData
170 }
171 return 0
172 }
173
174 func (x *MmEntry) GetMmStartStack() uint64 {
175 if x != nil && x.MmStartStack != nil {
176 return *x.MmStartStack
177 }
178 return 0
179 }
180
181 func (x *MmEntry) GetMmStartBrk() uint64 {
182 if x != nil && x.MmStartBrk != nil {
183 return *x.MmStartBrk
184 }
185 return 0
186 }
187
188 func (x *MmEntry) GetMmBrk() uint64 {
189 if x != nil && x.MmBrk != nil {
190 return *x.MmBrk
191 }
192 return 0
193 }
194
195 func (x *MmEntry) GetMmArgStart() uint64 {
196 if x != nil && x.MmArgStart != nil {
197 return *x.MmArgStart
198 }
199 return 0
200 }
201
202 func (x *MmEntry) GetMmArgEnd() uint64 {
203 if x != nil && x.MmArgEnd != nil {
204 return *x.MmArgEnd
205 }
206 return 0
207 }
208
209 func (x *MmEntry) GetMmEnvStart() uint64 {
210 if x != nil && x.MmEnvStart != nil {
211 return *x.MmEnvStart
212 }
213 return 0
214 }
215
216 func (x *MmEntry) GetMmEnvEnd() uint64 {
217 if x != nil && x.MmEnvEnd != nil {
218 return *x.MmEnvEnd
219 }
220 return 0
221 }
222
223 func (x *MmEntry) GetExeFileId() uint32 {
224 if x != nil && x.ExeFileId != nil {
225 return *x.ExeFileId
226 }
227 return 0
228 }
229
230 func (x *MmEntry) GetMmSavedAuxv() []uint64 {
231 if x != nil {
232 return x.MmSavedAuxv
233 }
234 return nil
235 }
236
237 func (x *MmEntry) GetVmas() []*vma.VmaEntry {
238 if x != nil {
239 return x.Vmas
240 }
241 return nil
242 }
243
244 func (x *MmEntry) GetDumpable() int32 {
245 if x != nil && x.Dumpable != nil {
246 return *x.Dumpable
247 }
248 return 0
249 }
250
251 func (x *MmEntry) GetAios() []*AioRingEntry {
252 if x != nil {
253 return x.Aios
254 }
255 return nil
256 }
257
258 func (x *MmEntry) GetThpDisabled() bool {
259 if x != nil && x.ThpDisabled != nil {
260 return *x.ThpDisabled
261 }
262 return false
263 }
264
265 var File_mm_proto protoreflect.FileDescriptor
266
267 var file_mm_proto_rawDesc = []byte{
268 0x0a, 0x08, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6f, 0x70, 0x74, 0x73,
269 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x09, 0x76, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74,
270 0x6f, 0x22, 0x52, 0x0a, 0x0e, 0x61, 0x69, 0x6f, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6e,
271 0x74, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52,
272 0x02, 0x69, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x72, 0x5f, 0x72, 0x65, 0x71, 0x18, 0x02, 0x20,
273 0x02, 0x28, 0x0d, 0x52, 0x05, 0x6e, 0x72, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x69,
274 0x6e, 0x67, 0x5f, 0x6c, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x72, 0x69,
275 0x6e, 0x67, 0x4c, 0x65, 0x6e, 0x22, 0x86, 0x05, 0x0a, 0x08, 0x6d, 0x6d, 0x5f, 0x65, 0x6e, 0x74,
276 0x72, 0x79, 0x12, 0x29, 0x0a, 0x0d, 0x6d, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x63,
277 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x42, 0x05, 0xd2, 0x3f, 0x02, 0x08, 0x01,
278 0x52, 0x0b, 0x6d, 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a,
279 0x0b, 0x6d, 0x6d, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x02,
280 0x28, 0x04, 0x42, 0x05, 0xd2, 0x3f, 0x02, 0x08, 0x01, 0x52, 0x09, 0x6d, 0x6d, 0x45, 0x6e, 0x64,
281 0x43, 0x6f, 0x64, 0x65, 0x12, 0x29, 0x0a, 0x0d, 0x6d, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74,
282 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x42, 0x05, 0xd2, 0x3f, 0x02,
283 0x08, 0x01, 0x52, 0x0b, 0x6d, 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12,
284 0x25, 0x0a, 0x0b, 0x6d, 0x6d, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04,
285 0x20, 0x02, 0x28, 0x04, 0x42, 0x05, 0xd2, 0x3f, 0x02, 0x08, 0x01, 0x52, 0x09, 0x6d, 0x6d, 0x45,
286 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2b, 0x0a, 0x0e, 0x6d, 0x6d, 0x5f, 0x73, 0x74, 0x61,
287 0x72, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x02, 0x28, 0x04, 0x42, 0x05,
288 0xd2, 0x3f, 0x02, 0x08, 0x01, 0x52, 0x0c, 0x6d, 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x74,
289 0x61, 0x63, 0x6b, 0x12, 0x27, 0x0a, 0x0c, 0x6d, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f,
290 0x62, 0x72, 0x6b, 0x18, 0x06, 0x20, 0x02, 0x28, 0x04, 0x42, 0x05, 0xd2, 0x3f, 0x02, 0x08, 0x01,
291 0x52, 0x0a, 0x6d, 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x6b, 0x12, 0x1c, 0x0a, 0x06,
292 0x6d, 0x6d, 0x5f, 0x62, 0x72, 0x6b, 0x18, 0x07, 0x20, 0x02, 0x28, 0x04, 0x42, 0x05, 0xd2, 0x3f,
293 0x02, 0x08, 0x01, 0x52, 0x05, 0x6d, 0x6d, 0x42, 0x72, 0x6b, 0x12, 0x27, 0x0a, 0x0c, 0x6d, 0x6d,
294 0x5f, 0x61, 0x72, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x08, 0x20, 0x02, 0x28, 0x04,
295 0x42, 0x05, 0xd2, 0x3f, 0x02, 0x08, 0x01, 0x52, 0x0a, 0x6d, 0x6d, 0x41, 0x72, 0x67, 0x53, 0x74,
296 0x61, 0x72, 0x74, 0x12, 0x23, 0x0a, 0x0a, 0x6d, 0x6d, 0x5f, 0x61, 0x72, 0x67, 0x5f, 0x65, 0x6e,
297 0x64, 0x18, 0x09, 0x20, 0x02, 0x28, 0x04, 0x42, 0x05, 0xd2, 0x3f, 0x02, 0x08, 0x01, 0x52, 0x08,
298 0x6d, 0x6d, 0x41, 0x72, 0x67, 0x45, 0x6e, 0x64, 0x12, 0x27, 0x0a, 0x0c, 0x6d, 0x6d, 0x5f, 0x65,
299 0x6e, 0x76, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x0a, 0x20, 0x02, 0x28, 0x04, 0x42, 0x05,
300 0xd2, 0x3f, 0x02, 0x08, 0x01, 0x52, 0x0a, 0x6d, 0x6d, 0x45, 0x6e, 0x76, 0x53, 0x74, 0x61, 0x72,
301 0x74, 0x12, 0x23, 0x0a, 0x0a, 0x6d, 0x6d, 0x5f, 0x65, 0x6e, 0x76, 0x5f, 0x65, 0x6e, 0x64, 0x18,
302 0x0b, 0x20, 0x02, 0x28, 0x04, 0x42, 0x05, 0xd2, 0x3f, 0x02, 0x08, 0x01, 0x52, 0x08, 0x6d, 0x6d,
303 0x45, 0x6e, 0x76, 0x45, 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x65, 0x78, 0x65, 0x5f, 0x66, 0x69,
304 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x78, 0x65,
305 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x6d, 0x5f, 0x73, 0x61, 0x76,
306 0x65, 0x64, 0x5f, 0x61, 0x75, 0x78, 0x76, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0b, 0x6d,
307 0x6d, 0x53, 0x61, 0x76, 0x65, 0x64, 0x41, 0x75, 0x78, 0x76, 0x12, 0x1e, 0x0a, 0x04, 0x76, 0x6d,
308 0x61, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x76, 0x6d, 0x61, 0x5f, 0x65,
309 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x76, 0x6d, 0x61, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75,
310 0x6d, 0x70, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x75,
311 0x6d, 0x70, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x61, 0x69, 0x6f, 0x73, 0x18, 0x10,
312 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x61, 0x69, 0x6f, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x5f,
313 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x61, 0x69, 0x6f, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74,
314 0x68, 0x70, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28,
315 0x08, 0x52, 0x0b, 0x74, 0x68, 0x70, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64,
316 }
317
318 var (
319 file_mm_proto_rawDescOnce sync.Once
320 file_mm_proto_rawDescData = file_mm_proto_rawDesc
321 )
322
323 func file_mm_proto_rawDescGZIP() []byte {
324 file_mm_proto_rawDescOnce.Do(func() {
325 file_mm_proto_rawDescData = protoimpl.X.CompressGZIP(file_mm_proto_rawDescData)
326 })
327 return file_mm_proto_rawDescData
328 }
329
330 var file_mm_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
331 var file_mm_proto_goTypes = []interface{}{
332 (*AioRingEntry)(nil), // 0: aio_ring_entry
333 (*MmEntry)(nil), // 1: mm_entry
334 (*vma.VmaEntry)(nil), // 2: vma_entry
335 }
336 var file_mm_proto_depIdxs = []int32{
337 2, // 0: mm_entry.vmas:type_name -> vma_entry
338 0, // 1: mm_entry.aios:type_name -> aio_ring_entry
339 2, // [2:2] is the sub-list for method output_type
340 2, // [2:2] is the sub-list for method input_type
341 2, // [2:2] is the sub-list for extension type_name
342 2, // [2:2] is the sub-list for extension extendee
343 0, // [0:2] is the sub-list for field type_name
344 }
345
346 func init() { file_mm_proto_init() }
347 func file_mm_proto_init() {
348 if File_mm_proto != nil {
349 return
350 }
351 if !protoimpl.UnsafeEnabled {
352 file_mm_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
353 switch v := v.(*AioRingEntry); i {
354 case 0:
355 return &v.state
356 case 1:
357 return &v.sizeCache
358 case 2:
359 return &v.unknownFields
360 default:
361 return nil
362 }
363 }
364 file_mm_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
365 switch v := v.(*MmEntry); i {
366 case 0:
367 return &v.state
368 case 1:
369 return &v.sizeCache
370 case 2:
371 return &v.unknownFields
372 default:
373 return nil
374 }
375 }
376 }
377 type x struct{}
378 out := protoimpl.TypeBuilder{
379 File: protoimpl.DescBuilder{
380 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
381 RawDescriptor: file_mm_proto_rawDesc,
382 NumEnums: 0,
383 NumMessages: 2,
384 NumExtensions: 0,
385 NumServices: 0,
386 },
387 GoTypes: file_mm_proto_goTypes,
388 DependencyIndexes: file_mm_proto_depIdxs,
389 MessageInfos: file_mm_proto_msgTypes,
390 }.Build()
391 File_mm_proto = out.File
392 file_mm_proto_rawDesc = nil
393 file_mm_proto_goTypes = nil
394 file_mm_proto_depIdxs = nil
395 }