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