.gitignore added
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / sys@v0.0.0-20210124154548-22da62e12c0c / unix / ztypes_linux_arm64.go
1 // cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/linux/types.go | go run mkpost.go
2 // Code generated by the command above; see README.md. DO NOT EDIT.
3
4 // +build arm64,linux
5
6 package unix
7
8 const (
9         SizeofPtr  = 0x8
10         SizeofLong = 0x8
11 )
12
13 type (
14         _C_long int64
15 )
16
17 type Timespec struct {
18         Sec  int64
19         Nsec int64
20 }
21
22 type Timeval struct {
23         Sec  int64
24         Usec int64
25 }
26
27 type Timex struct {
28         Modes     uint32
29         Offset    int64
30         Freq      int64
31         Maxerror  int64
32         Esterror  int64
33         Status    int32
34         Constant  int64
35         Precision int64
36         Tolerance int64
37         Time      Timeval
38         Tick      int64
39         Ppsfreq   int64
40         Jitter    int64
41         Shift     int32
42         Stabil    int64
43         Jitcnt    int64
44         Calcnt    int64
45         Errcnt    int64
46         Stbcnt    int64
47         Tai       int32
48         _         [44]byte
49 }
50
51 type Time_t int64
52
53 type Tms struct {
54         Utime  int64
55         Stime  int64
56         Cutime int64
57         Cstime int64
58 }
59
60 type Utimbuf struct {
61         Actime  int64
62         Modtime int64
63 }
64
65 type Rusage struct {
66         Utime    Timeval
67         Stime    Timeval
68         Maxrss   int64
69         Ixrss    int64
70         Idrss    int64
71         Isrss    int64
72         Minflt   int64
73         Majflt   int64
74         Nswap    int64
75         Inblock  int64
76         Oublock  int64
77         Msgsnd   int64
78         Msgrcv   int64
79         Nsignals int64
80         Nvcsw    int64
81         Nivcsw   int64
82 }
83
84 type Stat_t struct {
85         Dev     uint64
86         Ino     uint64
87         Mode    uint32
88         Nlink   uint32
89         Uid     uint32
90         Gid     uint32
91         Rdev    uint64
92         _       uint64
93         Size    int64
94         Blksize int32
95         _       int32
96         Blocks  int64
97         Atim    Timespec
98         Mtim    Timespec
99         Ctim    Timespec
100         _       [2]int32
101 }
102
103 type Dirent struct {
104         Ino    uint64
105         Off    int64
106         Reclen uint16
107         Type   uint8
108         Name   [256]int8
109         _      [5]byte
110 }
111
112 type Flock_t struct {
113         Type   int16
114         Whence int16
115         Start  int64
116         Len    int64
117         Pid    int32
118         _      [4]byte
119 }
120
121 type DmNameList struct {
122         Dev  uint64
123         Next uint32
124         Name [0]byte
125         _    [4]byte
126 }
127
128 const (
129         FADV_DONTNEED = 0x4
130         FADV_NOREUSE  = 0x5
131 )
132
133 type RawSockaddr struct {
134         Family uint16
135         Data   [14]int8
136 }
137
138 type RawSockaddrAny struct {
139         Addr RawSockaddr
140         Pad  [96]int8
141 }
142
143 type Iovec struct {
144         Base *byte
145         Len  uint64
146 }
147
148 type Msghdr struct {
149         Name       *byte
150         Namelen    uint32
151         Iov        *Iovec
152         Iovlen     uint64
153         Control    *byte
154         Controllen uint64
155         Flags      int32
156         _          [4]byte
157 }
158
159 type Cmsghdr struct {
160         Len   uint64
161         Level int32
162         Type  int32
163 }
164
165 const (
166         SizeofIovec   = 0x10
167         SizeofMsghdr  = 0x38
168         SizeofCmsghdr = 0x10
169 )
170
171 const (
172         SizeofSockFprog = 0x10
173 )
174
175 type PtraceRegs struct {
176         Regs   [31]uint64
177         Sp     uint64
178         Pc     uint64
179         Pstate uint64
180 }
181
182 type FdSet struct {
183         Bits [16]int64
184 }
185
186 type Sysinfo_t struct {
187         Uptime    int64
188         Loads     [3]uint64
189         Totalram  uint64
190         Freeram   uint64
191         Sharedram uint64
192         Bufferram uint64
193         Totalswap uint64
194         Freeswap  uint64
195         Procs     uint16
196         Pad       uint16
197         Totalhigh uint64
198         Freehigh  uint64
199         Unit      uint32
200         _         [0]int8
201         _         [4]byte
202 }
203
204 type Ustat_t struct {
205         Tfree  int32
206         Tinode uint64
207         Fname  [6]int8
208         Fpack  [6]int8
209         _      [4]byte
210 }
211
212 type EpollEvent struct {
213         Events uint32
214         PadFd  int32
215         Fd     int32
216         Pad    int32
217 }
218
219 const (
220         POLLRDHUP = 0x2000
221 )
222
223 type Sigset_t struct {
224         Val [16]uint64
225 }
226
227 const _C__NSIG = 0x41
228
229 type Termios struct {
230         Iflag  uint32
231         Oflag  uint32
232         Cflag  uint32
233         Lflag  uint32
234         Line   uint8
235         Cc     [19]uint8
236         Ispeed uint32
237         Ospeed uint32
238 }
239
240 type Taskstats struct {
241         Version                   uint16
242         Ac_exitcode               uint32
243         Ac_flag                   uint8
244         Ac_nice                   uint8
245         Cpu_count                 uint64
246         Cpu_delay_total           uint64
247         Blkio_count               uint64
248         Blkio_delay_total         uint64
249         Swapin_count              uint64
250         Swapin_delay_total        uint64
251         Cpu_run_real_total        uint64
252         Cpu_run_virtual_total     uint64
253         Ac_comm                   [32]int8
254         Ac_sched                  uint8
255         Ac_pad                    [3]uint8
256         _                         [4]byte
257         Ac_uid                    uint32
258         Ac_gid                    uint32
259         Ac_pid                    uint32
260         Ac_ppid                   uint32
261         Ac_btime                  uint32
262         Ac_etime                  uint64
263         Ac_utime                  uint64
264         Ac_stime                  uint64
265         Ac_minflt                 uint64
266         Ac_majflt                 uint64
267         Coremem                   uint64
268         Virtmem                   uint64
269         Hiwater_rss               uint64
270         Hiwater_vm                uint64
271         Read_char                 uint64
272         Write_char                uint64
273         Read_syscalls             uint64
274         Write_syscalls            uint64
275         Read_bytes                uint64
276         Write_bytes               uint64
277         Cancelled_write_bytes     uint64
278         Nvcsw                     uint64
279         Nivcsw                    uint64
280         Ac_utimescaled            uint64
281         Ac_stimescaled            uint64
282         Cpu_scaled_run_real_total uint64
283         Freepages_count           uint64
284         Freepages_delay_total     uint64
285         Thrashing_count           uint64
286         Thrashing_delay_total     uint64
287         Ac_btime64                uint64
288 }
289
290 type cpuMask uint64
291
292 const (
293         _NCPUBITS = 0x40
294 )
295
296 const (
297         CBitFieldMaskBit0  = 0x1
298         CBitFieldMaskBit1  = 0x2
299         CBitFieldMaskBit2  = 0x4
300         CBitFieldMaskBit3  = 0x8
301         CBitFieldMaskBit4  = 0x10
302         CBitFieldMaskBit5  = 0x20
303         CBitFieldMaskBit6  = 0x40
304         CBitFieldMaskBit7  = 0x80
305         CBitFieldMaskBit8  = 0x100
306         CBitFieldMaskBit9  = 0x200
307         CBitFieldMaskBit10 = 0x400
308         CBitFieldMaskBit11 = 0x800
309         CBitFieldMaskBit12 = 0x1000
310         CBitFieldMaskBit13 = 0x2000
311         CBitFieldMaskBit14 = 0x4000
312         CBitFieldMaskBit15 = 0x8000
313         CBitFieldMaskBit16 = 0x10000
314         CBitFieldMaskBit17 = 0x20000
315         CBitFieldMaskBit18 = 0x40000
316         CBitFieldMaskBit19 = 0x80000
317         CBitFieldMaskBit20 = 0x100000
318         CBitFieldMaskBit21 = 0x200000
319         CBitFieldMaskBit22 = 0x400000
320         CBitFieldMaskBit23 = 0x800000
321         CBitFieldMaskBit24 = 0x1000000
322         CBitFieldMaskBit25 = 0x2000000
323         CBitFieldMaskBit26 = 0x4000000
324         CBitFieldMaskBit27 = 0x8000000
325         CBitFieldMaskBit28 = 0x10000000
326         CBitFieldMaskBit29 = 0x20000000
327         CBitFieldMaskBit30 = 0x40000000
328         CBitFieldMaskBit31 = 0x80000000
329         CBitFieldMaskBit32 = 0x100000000
330         CBitFieldMaskBit33 = 0x200000000
331         CBitFieldMaskBit34 = 0x400000000
332         CBitFieldMaskBit35 = 0x800000000
333         CBitFieldMaskBit36 = 0x1000000000
334         CBitFieldMaskBit37 = 0x2000000000
335         CBitFieldMaskBit38 = 0x4000000000
336         CBitFieldMaskBit39 = 0x8000000000
337         CBitFieldMaskBit40 = 0x10000000000
338         CBitFieldMaskBit41 = 0x20000000000
339         CBitFieldMaskBit42 = 0x40000000000
340         CBitFieldMaskBit43 = 0x80000000000
341         CBitFieldMaskBit44 = 0x100000000000
342         CBitFieldMaskBit45 = 0x200000000000
343         CBitFieldMaskBit46 = 0x400000000000
344         CBitFieldMaskBit47 = 0x800000000000
345         CBitFieldMaskBit48 = 0x1000000000000
346         CBitFieldMaskBit49 = 0x2000000000000
347         CBitFieldMaskBit50 = 0x4000000000000
348         CBitFieldMaskBit51 = 0x8000000000000
349         CBitFieldMaskBit52 = 0x10000000000000
350         CBitFieldMaskBit53 = 0x20000000000000
351         CBitFieldMaskBit54 = 0x40000000000000
352         CBitFieldMaskBit55 = 0x80000000000000
353         CBitFieldMaskBit56 = 0x100000000000000
354         CBitFieldMaskBit57 = 0x200000000000000
355         CBitFieldMaskBit58 = 0x400000000000000
356         CBitFieldMaskBit59 = 0x800000000000000
357         CBitFieldMaskBit60 = 0x1000000000000000
358         CBitFieldMaskBit61 = 0x2000000000000000
359         CBitFieldMaskBit62 = 0x4000000000000000
360         CBitFieldMaskBit63 = 0x8000000000000000
361 )
362
363 type SockaddrStorage struct {
364         Family uint16
365         _      [118]int8
366         _      uint64
367 }
368
369 type HDGeometry struct {
370         Heads     uint8
371         Sectors   uint8
372         Cylinders uint16
373         Start     uint64
374 }
375
376 type Statfs_t struct {
377         Type    int64
378         Bsize   int64
379         Blocks  uint64
380         Bfree   uint64
381         Bavail  uint64
382         Files   uint64
383         Ffree   uint64
384         Fsid    Fsid
385         Namelen int64
386         Frsize  int64
387         Flags   int64
388         Spare   [4]int64
389 }
390
391 type TpacketHdr struct {
392         Status  uint64
393         Len     uint32
394         Snaplen uint32
395         Mac     uint16
396         Net     uint16
397         Sec     uint32
398         Usec    uint32
399         _       [4]byte
400 }
401
402 const (
403         SizeofTpacketHdr = 0x20
404 )
405
406 type RTCPLLInfo struct {
407         Ctrl    int32
408         Value   int32
409         Max     int32
410         Min     int32
411         Posmult int32
412         Negmult int32
413         Clock   int64
414 }
415
416 type BlkpgPartition struct {
417         Start   int64
418         Length  int64
419         Pno     int32
420         Devname [64]uint8
421         Volname [64]uint8
422         _       [4]byte
423 }
424
425 const (
426         BLKPG = 0x1269
427 )
428
429 type XDPUmemReg struct {
430         Addr     uint64
431         Len      uint64
432         Size     uint32
433         Headroom uint32
434         Flags    uint32
435         _        [4]byte
436 }
437
438 type CryptoUserAlg struct {
439         Name        [64]int8
440         Driver_name [64]int8
441         Module_name [64]int8
442         Type        uint32
443         Mask        uint32
444         Refcnt      uint32
445         Flags       uint32
446 }
447
448 type CryptoStatAEAD struct {
449         Type         [64]int8
450         Encrypt_cnt  uint64
451         Encrypt_tlen uint64
452         Decrypt_cnt  uint64
453         Decrypt_tlen uint64
454         Err_cnt      uint64
455 }
456
457 type CryptoStatAKCipher struct {
458         Type         [64]int8
459         Encrypt_cnt  uint64
460         Encrypt_tlen uint64
461         Decrypt_cnt  uint64
462         Decrypt_tlen uint64
463         Verify_cnt   uint64
464         Sign_cnt     uint64
465         Err_cnt      uint64
466 }
467
468 type CryptoStatCipher struct {
469         Type         [64]int8
470         Encrypt_cnt  uint64
471         Encrypt_tlen uint64
472         Decrypt_cnt  uint64
473         Decrypt_tlen uint64
474         Err_cnt      uint64
475 }
476
477 type CryptoStatCompress struct {
478         Type            [64]int8
479         Compress_cnt    uint64
480         Compress_tlen   uint64
481         Decompress_cnt  uint64
482         Decompress_tlen uint64
483         Err_cnt         uint64
484 }
485
486 type CryptoStatHash struct {
487         Type      [64]int8
488         Hash_cnt  uint64
489         Hash_tlen uint64
490         Err_cnt   uint64
491 }
492
493 type CryptoStatKPP struct {
494         Type                      [64]int8
495         Setsecret_cnt             uint64
496         Generate_public_key_cnt   uint64
497         Compute_shared_secret_cnt uint64
498         Err_cnt                   uint64
499 }
500
501 type CryptoStatRNG struct {
502         Type          [64]int8
503         Generate_cnt  uint64
504         Generate_tlen uint64
505         Seed_cnt      uint64
506         Err_cnt       uint64
507 }
508
509 type CryptoStatLarval struct {
510         Type [64]int8
511 }
512
513 type CryptoReportLarval struct {
514         Type [64]int8
515 }
516
517 type CryptoReportHash struct {
518         Type       [64]int8
519         Blocksize  uint32
520         Digestsize uint32
521 }
522
523 type CryptoReportCipher struct {
524         Type        [64]int8
525         Blocksize   uint32
526         Min_keysize uint32
527         Max_keysize uint32
528 }
529
530 type CryptoReportBlkCipher struct {
531         Type        [64]int8
532         Geniv       [64]int8
533         Blocksize   uint32
534         Min_keysize uint32
535         Max_keysize uint32
536         Ivsize      uint32
537 }
538
539 type CryptoReportAEAD struct {
540         Type        [64]int8
541         Geniv       [64]int8
542         Blocksize   uint32
543         Maxauthsize uint32
544         Ivsize      uint32
545 }
546
547 type CryptoReportComp struct {
548         Type [64]int8
549 }
550
551 type CryptoReportRNG struct {
552         Type     [64]int8
553         Seedsize uint32
554 }
555
556 type CryptoReportAKCipher struct {
557         Type [64]int8
558 }
559
560 type CryptoReportKPP struct {
561         Type [64]int8
562 }
563
564 type CryptoReportAcomp struct {
565         Type [64]int8
566 }
567
568 type LoopInfo struct {
569         Number           int32
570         Device           uint32
571         Inode            uint64
572         Rdevice          uint32
573         Offset           int32
574         Encrypt_type     int32
575         Encrypt_key_size int32
576         Flags            int32
577         Name             [64]int8
578         Encrypt_key      [32]uint8
579         Init             [2]uint64
580         Reserved         [4]int8
581         _                [4]byte
582 }
583
584 type TIPCSubscr struct {
585         Seq     TIPCServiceRange
586         Timeout uint32
587         Filter  uint32
588         Handle  [8]int8
589 }
590
591 type TIPCSIOCLNReq struct {
592         Peer     uint32
593         Id       uint32
594         Linkname [68]int8
595 }
596
597 type TIPCSIOCNodeIDReq struct {
598         Peer uint32
599         Id   [16]int8
600 }
601
602 type PPSKInfo struct {
603         Assert_sequence uint32
604         Clear_sequence  uint32
605         Assert_tu       PPSKTime
606         Clear_tu        PPSKTime
607         Current_mode    int32
608         _               [4]byte
609 }
610
611 const (
612         PPS_GETPARAMS = 0x800870a1
613         PPS_SETPARAMS = 0x400870a2
614         PPS_GETCAP    = 0x800870a3
615         PPS_FETCH     = 0xc00870a4
616 )