vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
changeset 260 445e01aede7e
parent 256 6d9efbef00a9
child 265 05c40b36d3b2
equal deleted inserted replaced
259:db4911b0c721 260:445e01aede7e
     1 // cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 /build/linux/types.go | go run mkpost.go
     1 // cgo -godefs -objdir=/tmp/amd64/cgo -- -Wall -Werror -static -I/tmp/amd64/include -m64 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 amd64 && linux
     4 //go:build amd64 && linux
     5 // +build amd64,linux
     5 // +build amd64,linux
     6 
     6 
   169 
   169 
   170 type Cmsghdr struct {
   170 type Cmsghdr struct {
   171 	Len   uint64
   171 	Len   uint64
   172 	Level int32
   172 	Level int32
   173 	Type  int32
   173 	Type  int32
       
   174 }
       
   175 
       
   176 type ifreq struct {
       
   177 	Ifrn [16]byte
       
   178 	Ifru [24]byte
   174 }
   179 }
   175 
   180 
   176 const (
   181 const (
   177 	SizeofSockaddrNFCLLCP = 0x60
   182 	SizeofSockaddrNFCLLCP = 0x60
   178 	SizeofIovec           = 0x10
   183 	SizeofIovec           = 0x10
   249 	Fd     int32
   254 	Fd     int32
   250 	Pad    int32
   255 	Pad    int32
   251 }
   256 }
   252 
   257 
   253 const (
   258 const (
       
   259 	OPEN_TREE_CLOEXEC = 0x80000
       
   260 )
       
   261 
       
   262 const (
   254 	POLLRDHUP = 0x2000
   263 	POLLRDHUP = 0x2000
   255 )
   264 )
   256 
   265 
   257 type Sigset_t struct {
   266 type Sigset_t struct {
   258 	Val [16]uint64
   267 	Val [16]uint64
   259 }
   268 }
   260 
   269 
   261 const _C__NSIG = 0x41
   270 const _C__NSIG = 0x41
       
   271 
       
   272 type Siginfo struct {
       
   273 	Signo int32
       
   274 	Errno int32
       
   275 	Code  int32
       
   276 	_     int32
       
   277 	_     [112]byte
       
   278 }
   262 
   279 
   263 type Termios struct {
   280 type Termios struct {
   264 	Iflag  uint32
   281 	Iflag  uint32
   265 	Oflag  uint32
   282 	Oflag  uint32
   266 	Cflag  uint32
   283 	Cflag  uint32
   317 	Freepages_count           uint64
   334 	Freepages_count           uint64
   318 	Freepages_delay_total     uint64
   335 	Freepages_delay_total     uint64
   319 	Thrashing_count           uint64
   336 	Thrashing_count           uint64
   320 	Thrashing_delay_total     uint64
   337 	Thrashing_delay_total     uint64
   321 	Ac_btime64                uint64
   338 	Ac_btime64                uint64
       
   339 	Compact_count             uint64
       
   340 	Compact_delay_total       uint64
       
   341 	Ac_tgid                   uint32
       
   342 	Ac_tgetime                uint64
       
   343 	Ac_exe_dev                uint64
       
   344 	Ac_exe_inode              uint64
       
   345 	Wpcopy_count              uint64
       
   346 	Wpcopy_delay_total        uint64
   322 }
   347 }
   323 
   348 
   324 type cpuMask uint64
   349 type cpuMask uint64
   325 
   350 
   326 const (
   351 const (
   646 	PPS_GETPARAMS = 0x800870a1
   671 	PPS_GETPARAMS = 0x800870a1
   647 	PPS_SETPARAMS = 0x400870a2
   672 	PPS_SETPARAMS = 0x400870a2
   648 	PPS_GETCAP    = 0x800870a3
   673 	PPS_GETCAP    = 0x800870a3
   649 	PPS_FETCH     = 0xc00870a4
   674 	PPS_FETCH     = 0xc00870a4
   650 )
   675 )
       
   676 
       
   677 const (
       
   678 	PIDFD_NONBLOCK = 0x800
       
   679 )
       
   680 
       
   681 type SysvIpcPerm struct {
       
   682 	Key  int32
       
   683 	Uid  uint32
       
   684 	Gid  uint32
       
   685 	Cuid uint32
       
   686 	Cgid uint32
       
   687 	Mode uint32
       
   688 	_    [0]uint8
       
   689 	Seq  uint16
       
   690 	_    uint16
       
   691 	_    uint64
       
   692 	_    uint64
       
   693 }
       
   694 type SysvShmDesc struct {
       
   695 	Perm   SysvIpcPerm
       
   696 	Segsz  uint64
       
   697 	Atime  int64
       
   698 	Dtime  int64
       
   699 	Ctime  int64
       
   700 	Cpid   int32
       
   701 	Lpid   int32
       
   702 	Nattch uint64
       
   703 	_      uint64
       
   704 	_      uint64
       
   705 }