]>
git.proxmox.com Git - rustc.git/blob - vendor/linux-raw-sys/src/sparc/system.rs
1 /* automatically generated by rust-bindgen 0.66.1 */
3 pub type __s8
= crate::ctypes
::c_schar
;
4 pub type __u8
= crate::ctypes
::c_uchar
;
5 pub type __s16
= crate::ctypes
::c_short
;
6 pub type __u16
= crate::ctypes
::c_ushort
;
7 pub type __s32
= crate::ctypes
::c_int
;
8 pub type __u32
= crate::ctypes
::c_uint
;
9 pub type __s64
= crate::ctypes
::c_longlong
;
10 pub type __u64
= crate::ctypes
::c_ulonglong
;
11 pub type __kernel_key_t
= crate::ctypes
::c_int
;
12 pub type __kernel_mqd_t
= crate::ctypes
::c_int
;
13 pub type __kernel_size_t
= crate::ctypes
::c_uint
;
14 pub type __kernel_ssize_t
= crate::ctypes
::c_int
;
15 pub type __kernel_ptrdiff_t
= crate::ctypes
::c_long
;
16 pub type __kernel_ipc_pid_t
= crate::ctypes
::c_ushort
;
17 pub type __kernel_uid_t
= crate::ctypes
::c_ushort
;
18 pub type __kernel_gid_t
= crate::ctypes
::c_ushort
;
19 pub type __kernel_mode_t
= crate::ctypes
::c_ushort
;
20 pub type __kernel_daddr_t
= crate::ctypes
::c_long
;
21 pub type __kernel_old_dev_t
= crate::ctypes
::c_ushort
;
22 pub type __kernel_long_t
= crate::ctypes
::c_long
;
23 pub type __kernel_ulong_t
= crate::ctypes
::c_ulong
;
24 pub type __kernel_ino_t
= __kernel_ulong_t
;
25 pub type __kernel_pid_t
= crate::ctypes
::c_int
;
26 pub type __kernel_suseconds_t
= __kernel_long_t
;
27 pub type __kernel_uid32_t
= crate::ctypes
::c_uint
;
28 pub type __kernel_gid32_t
= crate::ctypes
::c_uint
;
29 pub type __kernel_old_uid_t
= __kernel_uid_t
;
30 pub type __kernel_old_gid_t
= __kernel_gid_t
;
31 pub type __kernel_off_t
= __kernel_long_t
;
32 pub type __kernel_loff_t
= crate::ctypes
::c_longlong
;
33 pub type __kernel_old_time_t
= __kernel_long_t
;
34 pub type __kernel_time_t
= __kernel_long_t
;
35 pub type __kernel_time64_t
= crate::ctypes
::c_longlong
;
36 pub type __kernel_clock_t
= __kernel_long_t
;
37 pub type __kernel_timer_t
= crate::ctypes
::c_int
;
38 pub type __kernel_clockid_t
= crate::ctypes
::c_int
;
39 pub type __kernel_caddr_t
= *mut crate::ctypes
::c_char
;
40 pub type __kernel_uid16_t
= crate::ctypes
::c_ushort
;
41 pub type __kernel_gid16_t
= crate::ctypes
::c_ushort
;
42 pub type __le16
= __u16
;
43 pub type __be16
= __u16
;
44 pub type __le32
= __u32
;
45 pub type __be32
= __u32
;
46 pub type __le64
= __u64
;
47 pub type __be64
= __u64
;
48 pub type __sum16
= __u16
;
49 pub type __wsum
= __u32
;
50 pub type __poll_t
= crate::ctypes
::c_uint
;
52 #[derive(Debug, Copy, Clone)]
54 pub uptime
: __kernel_long_t
,
55 pub loads
: [__kernel_ulong_t
; 3usize
],
56 pub totalram
: __kernel_ulong_t
,
57 pub freeram
: __kernel_ulong_t
,
58 pub sharedram
: __kernel_ulong_t
,
59 pub bufferram
: __kernel_ulong_t
,
60 pub totalswap
: __kernel_ulong_t
,
61 pub freeswap
: __kernel_ulong_t
,
64 pub totalhigh
: __kernel_ulong_t
,
65 pub freehigh
: __kernel_ulong_t
,
67 pub _f
: [crate::ctypes
::c_char
; 8usize
],
70 #[derive(Debug, Copy, Clone)]
71 pub struct oldold_utsname
{
72 pub sysname
: [crate::ctypes
::c_char
; 9usize
],
73 pub nodename
: [crate::ctypes
::c_char
; 9usize
],
74 pub release
: [crate::ctypes
::c_char
; 9usize
],
75 pub version
: [crate::ctypes
::c_char
; 9usize
],
76 pub machine
: [crate::ctypes
::c_char
; 9usize
],
79 #[derive(Debug, Copy, Clone)]
80 pub struct old_utsname
{
81 pub sysname
: [crate::ctypes
::c_char
; 65usize
],
82 pub nodename
: [crate::ctypes
::c_char
; 65usize
],
83 pub release
: [crate::ctypes
::c_char
; 65usize
],
84 pub version
: [crate::ctypes
::c_char
; 65usize
],
85 pub machine
: [crate::ctypes
::c_char
; 65usize
],
88 #[derive(Debug, Copy, Clone)]
89 pub struct new_utsname
{
90 pub sysname
: [crate::ctypes
::c_char
; 65usize
],
91 pub nodename
: [crate::ctypes
::c_char
; 65usize
],
92 pub release
: [crate::ctypes
::c_char
; 65usize
],
93 pub version
: [crate::ctypes
::c_char
; 65usize
],
94 pub machine
: [crate::ctypes
::c_char
; 65usize
],
95 pub domainname
: [crate::ctypes
::c_char
; 65usize
],
97 pub const SI_LOAD_SHIFT
: u32 = 16;
98 pub const __OLD_UTS_LEN
: u32 = 8;
99 pub const __NEW_UTS_LEN
: u32 = 64;