vendor/golang.org/x/sys/unix/ztypes_linux_arm.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 /build/linux/types.go | go run mkpost.go
     1 // cgo -godefs -objdir=/tmp/arm/cgo -- -Wall -Werror -static -I/tmp/arm/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 arm && linux
     4 //go:build arm && linux
     5 // +build arm,linux
     5 // +build arm,linux
     6 
     6 
   174 	Len   uint32
   174 	Len   uint32
   175 	Level int32
   175 	Level int32
   176 	Type  int32
   176 	Type  int32
   177 }
   177 }
   178 
   178 
       
   179 type ifreq struct {
       
   180 	Ifrn [16]byte
       
   181 	Ifru [16]byte
       
   182 }
       
   183 
   179 const (
   184 const (
   180 	SizeofSockaddrNFCLLCP = 0x58
   185 	SizeofSockaddrNFCLLCP = 0x58
   181 	SizeofIovec           = 0x8
   186 	SizeofIovec           = 0x8
   182 	SizeofMsghdr          = 0x1c
   187 	SizeofMsghdr          = 0x1c
   183 	SizeofCmsghdr         = 0xc
   188 	SizeofCmsghdr         = 0xc
   225 	Fd     int32
   230 	Fd     int32
   226 	Pad    int32
   231 	Pad    int32
   227 }
   232 }
   228 
   233 
   229 const (
   234 const (
       
   235 	OPEN_TREE_CLOEXEC = 0x80000
       
   236 )
       
   237 
       
   238 const (
   230 	POLLRDHUP = 0x2000
   239 	POLLRDHUP = 0x2000
   231 )
   240 )
   232 
   241 
   233 type Sigset_t struct {
   242 type Sigset_t struct {
   234 	Val [32]uint32
   243 	Val [32]uint32
   235 }
   244 }
   236 
   245 
   237 const _C__NSIG = 0x41
   246 const _C__NSIG = 0x41
       
   247 
       
   248 type Siginfo struct {
       
   249 	Signo int32
       
   250 	Errno int32
       
   251 	Code  int32
       
   252 	_     [116]byte
       
   253 }
   238 
   254 
   239 type Termios struct {
   255 type Termios struct {
   240 	Iflag  uint32
   256 	Iflag  uint32
   241 	Oflag  uint32
   257 	Oflag  uint32
   242 	Cflag  uint32
   258 	Cflag  uint32
   295 	Freepages_count           uint64
   311 	Freepages_count           uint64
   296 	Freepages_delay_total     uint64
   312 	Freepages_delay_total     uint64
   297 	Thrashing_count           uint64
   313 	Thrashing_count           uint64
   298 	Thrashing_delay_total     uint64
   314 	Thrashing_delay_total     uint64
   299 	Ac_btime64                uint64
   315 	Ac_btime64                uint64
       
   316 	Compact_count             uint64
       
   317 	Compact_delay_total       uint64
       
   318 	Ac_tgid                   uint32
       
   319 	_                         [4]byte
       
   320 	Ac_tgetime                uint64
       
   321 	Ac_exe_dev                uint64
       
   322 	Ac_exe_inode              uint64
       
   323 	Wpcopy_count              uint64
       
   324 	Wpcopy_delay_total        uint64
   300 }
   325 }
   301 
   326 
   302 type cpuMask uint32
   327 type cpuMask uint32
   303 
   328 
   304 const (
   329 const (
   623 	PPS_GETPARAMS = 0x800470a1
   648 	PPS_GETPARAMS = 0x800470a1
   624 	PPS_SETPARAMS = 0x400470a2
   649 	PPS_SETPARAMS = 0x400470a2
   625 	PPS_GETCAP    = 0x800470a3
   650 	PPS_GETCAP    = 0x800470a3
   626 	PPS_FETCH     = 0xc00470a4
   651 	PPS_FETCH     = 0xc00470a4
   627 )
   652 )
       
   653 
       
   654 const (
       
   655 	PIDFD_NONBLOCK = 0x800
       
   656 )
       
   657 
       
   658 type SysvIpcPerm struct {
       
   659 	Key  int32
       
   660 	Uid  uint32
       
   661 	Gid  uint32
       
   662 	Cuid uint32
       
   663 	Cgid uint32
       
   664 	Mode uint16
       
   665 	_    [2]uint8
       
   666 	Seq  uint16
       
   667 	_    uint16
       
   668 	_    uint32
       
   669 	_    uint32
       
   670 }
       
   671 type SysvShmDesc struct {
       
   672 	Perm       SysvIpcPerm
       
   673 	Segsz      uint32
       
   674 	Atime      uint32
       
   675 	Atime_high uint32
       
   676 	Dtime      uint32
       
   677 	Dtime_high uint32
       
   678 	Ctime      uint32
       
   679 	Ctime_high uint32
       
   680 	Cpid       int32
       
   681 	Lpid       int32
       
   682 	Nattch     uint32
       
   683 	_          uint32
       
   684 	_          uint32
       
   685 }