vendor/golang.org/x/sys/unix/ztypes_linux_mips.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/mips/cgo -- -Wall -Werror -static -I/tmp/mips/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 mips && linux
     4 //go:build mips && linux
     5 // +build mips,linux
     5 // +build mips,linux
     6 
     6 
   173 	Len   uint32
   173 	Len   uint32
   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 [16]byte
       
   181 }
       
   182 
   178 const (
   183 const (
   179 	SizeofSockaddrNFCLLCP = 0x58
   184 	SizeofSockaddrNFCLLCP = 0x58
   180 	SizeofIovec           = 0x8
   185 	SizeofIovec           = 0x8
   181 	SizeofMsghdr          = 0x1c
   186 	SizeofMsghdr          = 0x1c
   182 	SizeofCmsghdr         = 0xc
   187 	SizeofCmsghdr         = 0xc
   230 	Fd     int32
   235 	Fd     int32
   231 	Pad    int32
   236 	Pad    int32
   232 }
   237 }
   233 
   238 
   234 const (
   239 const (
       
   240 	OPEN_TREE_CLOEXEC = 0x80000
       
   241 )
       
   242 
       
   243 const (
   235 	POLLRDHUP = 0x2000
   244 	POLLRDHUP = 0x2000
   236 )
   245 )
   237 
   246 
   238 type Sigset_t struct {
   247 type Sigset_t struct {
   239 	Val [32]uint32
   248 	Val [32]uint32
   240 }
   249 }
   241 
   250 
   242 const _C__NSIG = 0x80
   251 const _C__NSIG = 0x80
       
   252 
       
   253 type Siginfo struct {
       
   254 	Signo int32
       
   255 	Code  int32
       
   256 	Errno int32
       
   257 	_     [116]byte
       
   258 }
   243 
   259 
   244 type Termios struct {
   260 type Termios struct {
   245 	Iflag  uint32
   261 	Iflag  uint32
   246 	Oflag  uint32
   262 	Oflag  uint32
   247 	Cflag  uint32
   263 	Cflag  uint32
   300 	Freepages_count           uint64
   316 	Freepages_count           uint64
   301 	Freepages_delay_total     uint64
   317 	Freepages_delay_total     uint64
   302 	Thrashing_count           uint64
   318 	Thrashing_count           uint64
   303 	Thrashing_delay_total     uint64
   319 	Thrashing_delay_total     uint64
   304 	Ac_btime64                uint64
   320 	Ac_btime64                uint64
       
   321 	Compact_count             uint64
       
   322 	Compact_delay_total       uint64
       
   323 	Ac_tgid                   uint32
       
   324 	_                         [4]byte
       
   325 	Ac_tgetime                uint64
       
   326 	Ac_exe_dev                uint64
       
   327 	Ac_exe_inode              uint64
       
   328 	Wpcopy_count              uint64
       
   329 	Wpcopy_delay_total        uint64
   305 }
   330 }
   306 
   331 
   307 type cpuMask uint32
   332 type cpuMask uint32
   308 
   333 
   309 const (
   334 const (
   629 	PPS_GETPARAMS = 0x400470a1
   654 	PPS_GETPARAMS = 0x400470a1
   630 	PPS_SETPARAMS = 0x800470a2
   655 	PPS_SETPARAMS = 0x800470a2
   631 	PPS_GETCAP    = 0x400470a3
   656 	PPS_GETCAP    = 0x400470a3
   632 	PPS_FETCH     = 0xc00470a4
   657 	PPS_FETCH     = 0xc00470a4
   633 )
   658 )
       
   659 
       
   660 const (
       
   661 	PIDFD_NONBLOCK = 0x80
       
   662 )
       
   663 
       
   664 type SysvIpcPerm struct {
       
   665 	Key  int32
       
   666 	Uid  uint32
       
   667 	Gid  uint32
       
   668 	Cuid uint32
       
   669 	Cgid uint32
       
   670 	Mode uint32
       
   671 	_    [0]uint8
       
   672 	Seq  uint16
       
   673 	_    uint16
       
   674 	_    uint32
       
   675 	_    uint32
       
   676 }
       
   677 type SysvShmDesc struct {
       
   678 	Perm       SysvIpcPerm
       
   679 	Segsz      uint32
       
   680 	Atime      uint32
       
   681 	Dtime      uint32
       
   682 	Ctime      uint32
       
   683 	Cpid       int32
       
   684 	Lpid       int32
       
   685 	Nattch     uint32
       
   686 	Atime_high uint16
       
   687 	Dtime_high uint16
       
   688 	Ctime_high uint16
       
   689 	_          uint16
       
   690 }