equal
deleted
inserted
replaced
1 // cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/linux/types.go | go run mkpost.go |
1 // cgo -godefs -objdir=/tmp/ppc64/cgo -- -Wall -Werror -static -I/tmp/ppc64/include linux/types.go | go run mkpost.go |
2 // Code generated by the command above; see README.md. DO NOT EDIT. |
2 // Code generated by the command above; see README.md. DO NOT EDIT. |
3 |
3 |
4 //go:build ppc64 && linux |
4 //go:build ppc64 && linux |
5 // +build ppc64,linux |
5 // +build ppc64,linux |
6 |
6 |
173 Len uint64 |
173 Len uint64 |
174 Level int32 |
174 Level int32 |
175 Type int32 |
175 Type int32 |
176 } |
176 } |
177 |
177 |
|
178 type ifreq struct { |
|
179 Ifrn [16]byte |
|
180 Ifru [24]byte |
|
181 } |
|
182 |
178 const ( |
183 const ( |
179 SizeofSockaddrNFCLLCP = 0x60 |
184 SizeofSockaddrNFCLLCP = 0x60 |
180 SizeofIovec = 0x10 |
185 SizeofIovec = 0x10 |
181 SizeofMsghdr = 0x38 |
186 SizeofMsghdr = 0x38 |
182 SizeofCmsghdr = 0x10 |
187 SizeofCmsghdr = 0x10 |
238 Fd int32 |
243 Fd int32 |
239 Pad int32 |
244 Pad int32 |
240 } |
245 } |
241 |
246 |
242 const ( |
247 const ( |
|
248 OPEN_TREE_CLOEXEC = 0x80000 |
|
249 ) |
|
250 |
|
251 const ( |
243 POLLRDHUP = 0x2000 |
252 POLLRDHUP = 0x2000 |
244 ) |
253 ) |
245 |
254 |
246 type Sigset_t struct { |
255 type Sigset_t struct { |
247 Val [16]uint64 |
256 Val [16]uint64 |
248 } |
257 } |
249 |
258 |
250 const _C__NSIG = 0x41 |
259 const _C__NSIG = 0x41 |
|
260 |
|
261 type Siginfo struct { |
|
262 Signo int32 |
|
263 Errno int32 |
|
264 Code int32 |
|
265 _ int32 |
|
266 _ [112]byte |
|
267 } |
251 |
268 |
252 type Termios struct { |
269 type Termios struct { |
253 Iflag uint32 |
270 Iflag uint32 |
254 Oflag uint32 |
271 Oflag uint32 |
255 Cflag uint32 |
272 Cflag uint32 |
306 Freepages_count uint64 |
323 Freepages_count uint64 |
307 Freepages_delay_total uint64 |
324 Freepages_delay_total uint64 |
308 Thrashing_count uint64 |
325 Thrashing_count uint64 |
309 Thrashing_delay_total uint64 |
326 Thrashing_delay_total uint64 |
310 Ac_btime64 uint64 |
327 Ac_btime64 uint64 |
|
328 Compact_count uint64 |
|
329 Compact_delay_total uint64 |
|
330 Ac_tgid uint32 |
|
331 Ac_tgetime uint64 |
|
332 Ac_exe_dev uint64 |
|
333 Ac_exe_inode uint64 |
|
334 Wpcopy_count uint64 |
|
335 Wpcopy_delay_total uint64 |
311 } |
336 } |
312 |
337 |
313 type cpuMask uint64 |
338 type cpuMask uint64 |
314 |
339 |
315 const ( |
340 const ( |
635 PPS_GETPARAMS = 0x400870a1 |
660 PPS_GETPARAMS = 0x400870a1 |
636 PPS_SETPARAMS = 0x800870a2 |
661 PPS_SETPARAMS = 0x800870a2 |
637 PPS_GETCAP = 0x400870a3 |
662 PPS_GETCAP = 0x400870a3 |
638 PPS_FETCH = 0xc00870a4 |
663 PPS_FETCH = 0xc00870a4 |
639 ) |
664 ) |
|
665 |
|
666 const ( |
|
667 PIDFD_NONBLOCK = 0x800 |
|
668 ) |
|
669 |
|
670 type SysvIpcPerm struct { |
|
671 Key int32 |
|
672 Uid uint32 |
|
673 Gid uint32 |
|
674 Cuid uint32 |
|
675 Cgid uint32 |
|
676 Mode uint32 |
|
677 Seq uint32 |
|
678 _ uint32 |
|
679 _ uint64 |
|
680 _ uint64 |
|
681 } |
|
682 type SysvShmDesc struct { |
|
683 Perm SysvIpcPerm |
|
684 Atime int64 |
|
685 Dtime int64 |
|
686 Ctime int64 |
|
687 Segsz uint64 |
|
688 Cpid int32 |
|
689 Lpid int32 |
|
690 Nattch uint64 |
|
691 _ uint64 |
|
692 _ uint64 |
|
693 } |