equal
deleted
inserted
replaced
1 // cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/linux/types.go | go run mkpost.go |
1 // cgo -godefs -objdir=/tmp/s390x/cgo -- -Wall -Werror -static -I/tmp/s390x/include -fsigned-char 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 s390x && linux |
4 //go:build s390x && linux |
5 // +build s390x,linux |
5 // +build s390x,linux |
6 |
6 |
171 Len uint64 |
171 Len uint64 |
172 Level int32 |
172 Level int32 |
173 Type int32 |
173 Type int32 |
174 } |
174 } |
175 |
175 |
|
176 type ifreq struct { |
|
177 Ifrn [16]byte |
|
178 Ifru [24]byte |
|
179 } |
|
180 |
176 const ( |
181 const ( |
177 SizeofSockaddrNFCLLCP = 0x60 |
182 SizeofSockaddrNFCLLCP = 0x60 |
178 SizeofIovec = 0x10 |
183 SizeofIovec = 0x10 |
179 SizeofMsghdr = 0x38 |
184 SizeofMsghdr = 0x38 |
180 SizeofCmsghdr = 0x10 |
185 SizeofCmsghdr = 0x10 |
203 Fpc uint32 |
208 Fpc uint32 |
204 Fprs [16]float64 |
209 Fprs [16]float64 |
205 } |
210 } |
206 |
211 |
207 type PtracePer struct { |
212 type PtracePer struct { |
208 _ [0]uint64 |
213 Control_regs [3]uint64 |
209 _ [32]byte |
214 _ [8]byte |
210 Starting_addr uint64 |
215 Starting_addr uint64 |
211 Ending_addr uint64 |
216 Ending_addr uint64 |
212 Perc_atmid uint16 |
217 Perc_atmid uint16 |
213 Address uint64 |
218 Address uint64 |
214 Access_id uint8 |
219 Access_id uint8 |
251 Fd int32 |
256 Fd int32 |
252 Pad int32 |
257 Pad int32 |
253 } |
258 } |
254 |
259 |
255 const ( |
260 const ( |
|
261 OPEN_TREE_CLOEXEC = 0x80000 |
|
262 ) |
|
263 |
|
264 const ( |
256 POLLRDHUP = 0x2000 |
265 POLLRDHUP = 0x2000 |
257 ) |
266 ) |
258 |
267 |
259 type Sigset_t struct { |
268 type Sigset_t struct { |
260 Val [16]uint64 |
269 Val [16]uint64 |
261 } |
270 } |
262 |
271 |
263 const _C__NSIG = 0x41 |
272 const _C__NSIG = 0x41 |
|
273 |
|
274 type Siginfo struct { |
|
275 Signo int32 |
|
276 Errno int32 |
|
277 Code int32 |
|
278 _ int32 |
|
279 _ [112]byte |
|
280 } |
264 |
281 |
265 type Termios struct { |
282 type Termios struct { |
266 Iflag uint32 |
283 Iflag uint32 |
267 Oflag uint32 |
284 Oflag uint32 |
268 Cflag uint32 |
285 Cflag uint32 |
319 Freepages_count uint64 |
336 Freepages_count uint64 |
320 Freepages_delay_total uint64 |
337 Freepages_delay_total uint64 |
321 Thrashing_count uint64 |
338 Thrashing_count uint64 |
322 Thrashing_delay_total uint64 |
339 Thrashing_delay_total uint64 |
323 Ac_btime64 uint64 |
340 Ac_btime64 uint64 |
|
341 Compact_count uint64 |
|
342 Compact_delay_total uint64 |
|
343 Ac_tgid uint32 |
|
344 Ac_tgetime uint64 |
|
345 Ac_exe_dev uint64 |
|
346 Ac_exe_inode uint64 |
|
347 Wpcopy_count uint64 |
|
348 Wpcopy_delay_total uint64 |
324 } |
349 } |
325 |
350 |
326 type cpuMask uint64 |
351 type cpuMask uint64 |
327 |
352 |
328 const ( |
353 const ( |
649 PPS_GETPARAMS = 0x800870a1 |
674 PPS_GETPARAMS = 0x800870a1 |
650 PPS_SETPARAMS = 0x400870a2 |
675 PPS_SETPARAMS = 0x400870a2 |
651 PPS_GETCAP = 0x800870a3 |
676 PPS_GETCAP = 0x800870a3 |
652 PPS_FETCH = 0xc00870a4 |
677 PPS_FETCH = 0xc00870a4 |
653 ) |
678 ) |
|
679 |
|
680 const ( |
|
681 PIDFD_NONBLOCK = 0x800 |
|
682 ) |
|
683 |
|
684 type SysvIpcPerm struct { |
|
685 Key int32 |
|
686 Uid uint32 |
|
687 Gid uint32 |
|
688 Cuid uint32 |
|
689 Cgid uint32 |
|
690 Mode uint32 |
|
691 _ uint16 |
|
692 Seq uint16 |
|
693 _ uint64 |
|
694 _ uint64 |
|
695 } |
|
696 type SysvShmDesc struct { |
|
697 Perm SysvIpcPerm |
|
698 Segsz uint64 |
|
699 Atime int64 |
|
700 Dtime int64 |
|
701 Ctime int64 |
|
702 Cpid int32 |
|
703 Lpid int32 |
|
704 Nattch uint64 |
|
705 _ uint64 |
|
706 _ uint64 |
|
707 } |