diff options
Diffstat (limited to 'vendor/linux-raw-sys/src/sparc')
-rw-r--r-- | vendor/linux-raw-sys/src/sparc/general.rs | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/vendor/linux-raw-sys/src/sparc/general.rs b/vendor/linux-raw-sys/src/sparc/general.rs index b72b1b611..bdc5eb04f 100644 --- a/vendor/linux-raw-sys/src/sparc/general.rs +++ b/vendor/linux-raw-sys/src/sparc/general.rs @@ -895,6 +895,33 @@ pub const ASI_BLK_PL: u32 = 248; pub const ASI_BLK_SL: u32 = 249; pub const ASI_ST_BLKINIT_MRU_PL: u32 = 250; pub const ASI_ST_BLKINIT_MRU_SL: u32 = 251; +pub const IN_ACCESS: u32 = 1; +pub const IN_MODIFY: u32 = 2; +pub const IN_ATTRIB: u32 = 4; +pub const IN_CLOSE_WRITE: u32 = 8; +pub const IN_CLOSE_NOWRITE: u32 = 16; +pub const IN_OPEN: u32 = 32; +pub const IN_MOVED_FROM: u32 = 64; +pub const IN_MOVED_TO: u32 = 128; +pub const IN_CREATE: u32 = 256; +pub const IN_DELETE: u32 = 512; +pub const IN_DELETE_SELF: u32 = 1024; +pub const IN_MOVE_SELF: u32 = 2048; +pub const IN_UNMOUNT: u32 = 8192; +pub const IN_Q_OVERFLOW: u32 = 16384; +pub const IN_IGNORED: u32 = 32768; +pub const IN_CLOSE: u32 = 24; +pub const IN_MOVE: u32 = 192; +pub const IN_ONLYDIR: u32 = 16777216; +pub const IN_DONT_FOLLOW: u32 = 33554432; +pub const IN_EXCL_UNLINK: u32 = 67108864; +pub const IN_MASK_CREATE: u32 = 268435456; +pub const IN_MASK_ADD: u32 = 536870912; +pub const IN_ISDIR: u32 = 1073741824; +pub const IN_ONESHOT: u32 = 2147483648; +pub const IN_ALL_EVENTS: u32 = 4095; +pub const IN_CLOEXEC: u32 = 4194304; +pub const IN_NONBLOCK: u32 = 16384; pub const IPTOS_TOS_MASK: u32 = 30; pub const IPTOS_LOWDELAY: u32 = 16; pub const IPTOS_THROUGHPUT: u32 = 8; @@ -1829,6 +1856,7 @@ pub const STATX_ATTR_AUTOMOUNT: u32 = 4096; pub const STATX_ATTR_MOUNT_ROOT: u32 = 8192; pub const STATX_ATTR_VERITY: u32 = 1048576; pub const STATX_ATTR_DAX: u32 = 2097152; +pub const SI_LOAD_SHIFT: u32 = 16; pub const TCP_MSS_DEFAULT: u32 = 536; pub const TCP_MSS_DESIRED: u32 = 1220; pub const TCP_NODELAY: u32 = 1; @@ -2700,6 +2728,10 @@ pub const UFFDIO_REGISTER_MODE_MINOR: u32 = 4; pub const UFFDIO_COPY_MODE_DONTWAKE: u32 = 1; pub const UFFDIO_COPY_MODE_WP: u32 = 2; pub const UFFDIO_ZEROPAGE_MODE_DONTWAKE: u32 = 1; +pub const SPLICE_F_MOVE: u32 = 1; +pub const SPLICE_F_NONBLOCK: u32 = 2; +pub const SPLICE_F_MORE: u32 = 4; +pub const SPLICE_F_GIFT: u32 = 8; pub type size_t = crate::ctypes::c_uint; pub type ssize_t = crate::ctypes::c_int; pub type __s8 = crate::ctypes::c_schar; @@ -3173,6 +3205,15 @@ pub sin_addr: in_addr, pub __pad: [crate::ctypes::c_uchar; 8usize], } #[repr(C)] +#[derive(Debug)] +pub struct inotify_event { +pub wd: __s32, +pub mask: __u32, +pub cookie: __u32, +pub len: __u32, +pub name: __IncompleteArrayField<crate::ctypes::c_char>, +} +#[repr(C)] #[derive(Debug, Copy, Clone)] pub struct iphdr { pub _bitfield_align_1: [u8; 0], @@ -3959,6 +4000,24 @@ pub __spare3: [__u64; 12usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] +pub struct sysinfo { +pub uptime: __kernel_long_t, +pub loads: [__kernel_ulong_t; 3usize], +pub totalram: __kernel_ulong_t, +pub freeram: __kernel_ulong_t, +pub sharedram: __kernel_ulong_t, +pub bufferram: __kernel_ulong_t, +pub totalswap: __kernel_ulong_t, +pub freeswap: __kernel_ulong_t, +pub procs: __u16, +pub pad: __u16, +pub totalhigh: __kernel_ulong_t, +pub freehigh: __kernel_ulong_t, +pub mem_unit: __u32, +pub _f: [crate::ctypes::c_char; 8usize], +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct tcphdr { pub source: __be16, pub dest: __be16, |