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