Created
April 17, 2016 02:02
-
-
Save tbelaire/5826287263fd3e95e6ad39b45a2cfa25 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* automatically generated by rust-bindgen */ | |
| pub type __int128_t = ::std::os::raw::c_void; | |
| pub type __uint128_t = ::std::os::raw::c_void; | |
| pub type __builtin_va_list = [__va_list_tag; 1usize]; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ftrace_branch_data { | |
| pub func: *const ::std::os::raw::c_char, | |
| pub file: *const ::std::os::raw::c_char, | |
| pub line: ::std::os::raw::c_uint, | |
| pub _bindgen_data_1_: [u64; 2usize], | |
| } | |
| impl Struct_ftrace_branch_data { | |
| pub unsafe fn correct(&mut self) -> *mut ::std::os::raw::c_ulong { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn incorrect(&mut self) -> *mut ::std::os::raw::c_ulong { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| pub unsafe fn miss(&mut self) -> *mut ::std::os::raw::c_ulong { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn hit(&mut self) -> *mut ::std::os::raw::c_ulong { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| pub unsafe fn miss_hit(&mut self) | |
| -> *mut [::std::os::raw::c_ulong; 2usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_ftrace_branch_data { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ftrace_branch_data { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type __s8 = ::std::os::raw::c_char; | |
| pub type __u8 = ::std::os::raw::c_uchar; | |
| pub type __s16 = ::std::os::raw::c_short; | |
| pub type __u16 = ::std::os::raw::c_ushort; | |
| pub type __s32 = ::std::os::raw::c_int; | |
| pub type __u32 = ::std::os::raw::c_uint; | |
| pub type __s64 = ::std::os::raw::c_longlong; | |
| pub type __u64 = ::std::os::raw::c_ulonglong; | |
| pub type s8 = ::std::os::raw::c_char; | |
| pub type _u8 = ::std::os::raw::c_uchar; | |
| pub type s16 = ::std::os::raw::c_short; | |
| pub type _u16 = ::std::os::raw::c_ushort; | |
| pub type s32 = ::std::os::raw::c_int; | |
| pub type _u32 = ::std::os::raw::c_uint; | |
| pub type s64 = ::std::os::raw::c_longlong; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed1 { __false = 0, __true = 1, } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed2 { | |
| pub fds_bits: [::std::os::raw::c_ulong; 16usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed2 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed2 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type __kernel_fd_set = Struct_Unnamed2; | |
| pub type __kernel_sighandler_t = | |
| ::std::option::Option<extern "C" fn(arg1: ::std::os::raw::c_int)>; | |
| pub type __kernel_key_t = ::std::os::raw::c_int; | |
| pub type __kernel_mqd_t = ::std::os::raw::c_int; | |
| pub type __kernel_old_uid_t = ::std::os::raw::c_ushort; | |
| pub type __kernel_old_gid_t = ::std::os::raw::c_ushort; | |
| pub type __kernel_old_dev_t = ::std::os::raw::c_ulong; | |
| pub type __kernel_long_t = ::std::os::raw::c_long; | |
| pub type __kernel_ulong_t = ::std::os::raw::c_ulong; | |
| pub type __kernel_ino_t = __kernel_ulong_t; | |
| pub type __kernel_mode_t = ::std::os::raw::c_uint; | |
| pub type __kernel_pid_t = ::std::os::raw::c_int; | |
| pub type __kernel_ipc_pid_t = ::std::os::raw::c_int; | |
| pub type __kernel_uid_t = ::std::os::raw::c_uint; | |
| pub type __kernel_gid_t = ::std::os::raw::c_uint; | |
| pub type __kernel_suseconds_t = __kernel_long_t; | |
| pub type __kernel_daddr_t = ::std::os::raw::c_int; | |
| pub type __kernel_uid32_t = ::std::os::raw::c_uint; | |
| pub type __kernel_gid32_t = ::std::os::raw::c_uint; | |
| pub type __kernel_size_t = __kernel_ulong_t; | |
| pub type __kernel_ssize_t = __kernel_long_t; | |
| pub type __kernel_ptrdiff_t = __kernel_long_t; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed3 { | |
| pub val: [::std::os::raw::c_int; 2usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed3 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed3 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type __kernel_fsid_t = Struct_Unnamed3; | |
| pub type __kernel_off_t = __kernel_long_t; | |
| pub type __kernel_loff_t = ::std::os::raw::c_longlong; | |
| pub type __kernel_time_t = __kernel_long_t; | |
| pub type __kernel_clock_t = __kernel_long_t; | |
| pub type __kernel_timer_t = ::std::os::raw::c_int; | |
| pub type __kernel_clockid_t = ::std::os::raw::c_int; | |
| pub type __kernel_caddr_t = *mut ::std::os::raw::c_char; | |
| pub type __kernel_uid16_t = ::std::os::raw::c_ushort; | |
| pub type __kernel_gid16_t = ::std::os::raw::c_ushort; | |
| pub type __le16 = __u16; | |
| pub type __be16 = __u16; | |
| pub type __le32 = __u32; | |
| pub type __be32 = __u32; | |
| pub type __le64 = __u64; | |
| pub type __be64 = __u64; | |
| pub type __sum16 = __u16; | |
| pub type __wsum = __u32; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kernel_symbol { | |
| pub value: ::std::os::raw::c_ulong, | |
| pub name: *const ::std::os::raw::c_char, | |
| } | |
| impl ::std::clone::Clone for Struct_kernel_symbol { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kernel_symbol { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type __kernel_dev_t = __u32; | |
| pub type fd_set = __kernel_fd_set; | |
| pub type dev_t = __kernel_dev_t; | |
| pub type ino_t = __kernel_ino_t; | |
| pub type mode_t = __kernel_mode_t; | |
| pub type umode_t = ::std::os::raw::c_ushort; | |
| pub type nlink_t = __u32; | |
| pub type off_t = __kernel_off_t; | |
| pub type pid_t = __kernel_pid_t; | |
| pub type daddr_t = __kernel_daddr_t; | |
| pub type key_t = __kernel_key_t; | |
| pub type suseconds_t = __kernel_suseconds_t; | |
| pub type timer_t = __kernel_timer_t; | |
| pub type clockid_t = __kernel_clockid_t; | |
| pub type mqd_t = __kernel_mqd_t; | |
| pub type _bool = u8; | |
| pub type uid_t = __kernel_uid32_t; | |
| pub type gid_t = __kernel_gid32_t; | |
| pub type uid16_t = __kernel_uid16_t; | |
| pub type gid16_t = __kernel_gid16_t; | |
| pub type uintptr_t = ::std::os::raw::c_ulong; | |
| pub type old_uid_t = __kernel_old_uid_t; | |
| pub type old_gid_t = __kernel_old_gid_t; | |
| pub type loff_t = __kernel_loff_t; | |
| pub type size_t = __kernel_size_t; | |
| pub type ssize_t = __kernel_ssize_t; | |
| pub type ptrdiff_t = __kernel_ptrdiff_t; | |
| pub type time_t = __kernel_time_t; | |
| pub type clock_t = __kernel_clock_t; | |
| pub type caddr_t = __kernel_caddr_t; | |
| pub type u_char = ::std::os::raw::c_uchar; | |
| pub type u_short = ::std::os::raw::c_ushort; | |
| pub type u_int = ::std::os::raw::c_uint; | |
| pub type u_long = ::std::os::raw::c_ulong; | |
| pub type unchar = ::std::os::raw::c_uchar; | |
| pub type ushort = ::std::os::raw::c_ushort; | |
| pub type _uint = ::std::os::raw::c_uint; | |
| pub type ulong = ::std::os::raw::c_ulong; | |
| pub type u_int8_t = __u8; | |
| pub type int8_t = __s8; | |
| pub type u_int16_t = __u16; | |
| pub type int16_t = __s16; | |
| pub type u_int32_t = __u32; | |
| pub type int32_t = __s32; | |
| pub type uint8_t = __u8; | |
| pub type uint16_t = __u16; | |
| pub type uint32_t = __u32; | |
| pub type uint64_t = __u64; | |
| pub type u_int64_t = __u64; | |
| pub type int64_t = __s64; | |
| pub type sector_t = ::std::os::raw::c_ulong; | |
| pub type blkcnt_t = ::std::os::raw::c_ulong; | |
| pub type dma_addr_t = __u64; | |
| pub type gfp_t = ::std::os::raw::c_uint; | |
| pub type fmode_t = ::std::os::raw::c_uint; | |
| pub type oom_flags_t = ::std::os::raw::c_uint; | |
| pub type phys_addr_t = __u64; | |
| pub type resource_size_t = phys_addr_t; | |
| pub type irq_hw_number_t = ::std::os::raw::c_ulong; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed4 { | |
| pub counter: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed4 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed4 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type atomic_t = Struct_Unnamed4; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed5 { | |
| pub counter: ::std::os::raw::c_long, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed5 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed5 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type atomic64_t = Struct_Unnamed5; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_list_head { | |
| pub next: *mut Struct_list_head, | |
| pub prev: *mut Struct_list_head, | |
| } | |
| impl ::std::clone::Clone for Struct_list_head { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_list_head { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_hlist_head { | |
| pub first: *mut Struct_hlist_node, | |
| } | |
| impl ::std::clone::Clone for Struct_hlist_head { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_hlist_head { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_hlist_node { | |
| pub next: *mut Struct_hlist_node, | |
| pub pprev: *mut *mut Struct_hlist_node, | |
| } | |
| impl ::std::clone::Clone for Struct_hlist_node { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_hlist_node { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ustat { | |
| pub f_tfree: __kernel_daddr_t, | |
| pub f_tinode: __kernel_ino_t, | |
| pub f_fname: [::std::os::raw::c_char; 6usize], | |
| pub f_fpack: [::std::os::raw::c_char; 6usize], | |
| } | |
| impl ::std::clone::Clone for Struct_ustat { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ustat { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_callback_head { | |
| pub next: *mut Struct_callback_head, | |
| pub func: ::std::option::Option<unsafe extern "C" fn(head: | |
| *mut Struct_callback_head)>, | |
| } | |
| impl ::std::clone::Clone for Struct_callback_head { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_callback_head { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type rcu_callback_t = | |
| ::std::option::Option<unsafe extern "C" fn(head: | |
| *mut Struct_callback_head)>; | |
| pub type call_rcu_func_t = | |
| ::std::option::Option<unsafe extern "C" fn(head: | |
| *mut Struct_callback_head, | |
| func: rcu_callback_t)>; | |
| pub type cycle_t = __u64; | |
| pub type __gnuc_va_list = __builtin_va_list; | |
| pub type va_list = __gnuc_va_list; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pt_regs { | |
| pub r15: ::std::os::raw::c_ulong, | |
| pub r14: ::std::os::raw::c_ulong, | |
| pub r13: ::std::os::raw::c_ulong, | |
| pub r12: ::std::os::raw::c_ulong, | |
| pub bp: ::std::os::raw::c_ulong, | |
| pub bx: ::std::os::raw::c_ulong, | |
| pub r11: ::std::os::raw::c_ulong, | |
| pub r10: ::std::os::raw::c_ulong, | |
| pub r9: ::std::os::raw::c_ulong, | |
| pub r8: ::std::os::raw::c_ulong, | |
| pub ax: ::std::os::raw::c_ulong, | |
| pub cx: ::std::os::raw::c_ulong, | |
| pub dx: ::std::os::raw::c_ulong, | |
| pub si: ::std::os::raw::c_ulong, | |
| pub di: ::std::os::raw::c_ulong, | |
| pub orig_ax: ::std::os::raw::c_ulong, | |
| pub ip: ::std::os::raw::c_ulong, | |
| pub cs: ::std::os::raw::c_ulong, | |
| pub flags: ::std::os::raw::c_ulong, | |
| pub sp: ::std::os::raw::c_ulong, | |
| pub ss: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_pt_regs { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pt_regs { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_desc_struct { | |
| pub _bindgen_data_1_: [u32; 2usize], | |
| } | |
| impl Struct_desc_struct { | |
| pub unsafe fn a(&mut self) -> *mut ::std::os::raw::c_uint { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn b(&mut self) -> *mut ::std::os::raw::c_uint { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(4)) | |
| } | |
| pub unsafe fn limit0(&mut self) -> *mut _u16 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn base0(&mut self) -> *mut _u16 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(2)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_desc_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_desc_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed6 { | |
| GATE_INTERRUPT = 14, | |
| GATE_TRAP = 15, | |
| GATE_CALL = 12, | |
| GATE_TASK = 5, | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_gate_struct64 { | |
| pub offset_low: _u16, | |
| pub segment: _u16, | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub offset_middle: _u16, | |
| pub offset_high: _u32, | |
| pub zero1: _u32, | |
| } | |
| impl ::std::clone::Clone for Struct_gate_struct64 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_gate_struct64 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed7 { DESC_TSS = 9, DESC_LDT = 2, DESCTYPE_S = 16, } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_ldttss_desc64 { | |
| pub limit0: _u16, | |
| pub base0: _u16, | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub base3: _u32, | |
| pub zero1: _u32, | |
| } | |
| impl ::std::clone::Clone for Struct_ldttss_desc64 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ldttss_desc64 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type gate_desc = Struct_gate_struct64; | |
| pub type ldt_desc = Struct_ldttss_desc64; | |
| pub type tss_desc = Struct_ldttss_desc64; | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_desc_ptr { | |
| pub size: ::std::os::raw::c_ushort, | |
| pub address: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_desc_ptr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_desc_ptr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_page_cache_mode { | |
| _PAGE_CACHE_MODE_WB = 0, | |
| _PAGE_CACHE_MODE_WC = 1, | |
| _PAGE_CACHE_MODE_UC_MINUS = 2, | |
| _PAGE_CACHE_MODE_UC = 3, | |
| _PAGE_CACHE_MODE_WT = 4, | |
| _PAGE_CACHE_MODE_WP = 5, | |
| _PAGE_CACHE_MODE_NUM = 8, | |
| } | |
| pub type pteval_t = ::std::os::raw::c_ulong; | |
| pub type pmdval_t = ::std::os::raw::c_ulong; | |
| pub type pudval_t = ::std::os::raw::c_ulong; | |
| pub type pgdval_t = ::std::os::raw::c_ulong; | |
| pub type pgprotval_t = ::std::os::raw::c_ulong; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed8 { | |
| pub pte: pteval_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed8 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed8 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type pte_t = Struct_Unnamed8; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pgprot { | |
| pub pgprot: pgprotval_t, | |
| } | |
| impl ::std::clone::Clone for Struct_pgprot { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pgprot { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type pgprot_t = Struct_pgprot; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed9 { | |
| pub pgd: pgdval_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed9 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed9 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type pgd_t = Struct_Unnamed9; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed10 { | |
| pub pud: pudval_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed10 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed10 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type pud_t = Struct_Unnamed10; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed11 { | |
| pub pmd: pmdval_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed11 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed11 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type pmd_t = Struct_Unnamed11; | |
| pub type pgtable_t = *mut Struct_page; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_pg_level { | |
| PG_LEVEL_NONE = 0, | |
| PG_LEVEL_4K = 1, | |
| PG_LEVEL_2M = 2, | |
| PG_LEVEL_1G = 3, | |
| PG_LEVEL_NUM = 4, | |
| } | |
| pub enum Struct_task_struct { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_paravirt_callee_save { | |
| pub func: *mut ::std::os::raw::c_void, | |
| } | |
| impl ::std::clone::Clone for Struct_paravirt_callee_save { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_paravirt_callee_save { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pv_info { | |
| pub kernel_rpl: ::std::os::raw::c_uint, | |
| pub shared_kernel_pmd: ::std::os::raw::c_int, | |
| pub extra_user_64bit_cs: _u16, | |
| pub paravirt_enabled: ::std::os::raw::c_int, | |
| pub features: ::std::os::raw::c_uint, | |
| pub name: *const ::std::os::raw::c_char, | |
| } | |
| impl ::std::clone::Clone for Struct_pv_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pv_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pv_init_ops { | |
| pub patch: ::std::option::Option<unsafe extern "C" fn(_type: _u8, | |
| clobber: _u16, | |
| insnbuf: | |
| *mut ::std::os::raw::c_void, | |
| addr: | |
| ::std::os::raw::c_ulong, | |
| len: | |
| ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint>, | |
| } | |
| impl ::std::clone::Clone for Struct_pv_init_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pv_init_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pv_lazy_ops { | |
| pub enter: ::std::option::Option<extern "C" fn()>, | |
| pub leave: ::std::option::Option<extern "C" fn()>, | |
| pub flush: ::std::option::Option<extern "C" fn()>, | |
| } | |
| impl ::std::clone::Clone for Struct_pv_lazy_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pv_lazy_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pv_time_ops { | |
| pub sched_clock: ::std::option::Option<extern "C" fn() | |
| -> | |
| ::std::os::raw::c_ulonglong>, | |
| pub steal_clock: ::std::option::Option<extern "C" fn(cpu: | |
| ::std::os::raw::c_int) | |
| -> | |
| ::std::os::raw::c_ulonglong>, | |
| } | |
| impl ::std::clone::Clone for Struct_pv_time_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pv_time_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pv_cpu_ops { | |
| pub get_debugreg: ::std::option::Option<extern "C" fn(regno: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_ulong>, | |
| pub set_debugreg: ::std::option::Option<extern "C" fn(regno: | |
| ::std::os::raw::c_int, | |
| value: | |
| ::std::os::raw::c_ulong)>, | |
| pub clts: ::std::option::Option<extern "C" fn()>, | |
| pub read_cr0: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_ulong>, | |
| pub write_cr0: ::std::option::Option<extern "C" fn(arg1: | |
| ::std::os::raw::c_ulong)>, | |
| pub read_cr4_safe: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_ulong>, | |
| pub read_cr4: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_ulong>, | |
| pub write_cr4: ::std::option::Option<extern "C" fn(arg1: | |
| ::std::os::raw::c_ulong)>, | |
| pub read_cr8: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_ulong>, | |
| pub write_cr8: ::std::option::Option<extern "C" fn(arg1: | |
| ::std::os::raw::c_ulong)>, | |
| pub load_tr_desc: ::std::option::Option<extern "C" fn()>, | |
| pub load_gdt: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *const Struct_desc_ptr)>, | |
| pub load_idt: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *const Struct_desc_ptr)>, | |
| pub store_idt: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_desc_ptr)>, | |
| pub set_ldt: ::std::option::Option<unsafe extern "C" fn(desc: | |
| *const ::std::os::raw::c_void, | |
| entries: | |
| ::std::os::raw::c_uint)>, | |
| pub store_tr: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_ulong>, | |
| pub load_tls: ::std::option::Option<unsafe extern "C" fn(t: | |
| *mut Struct_thread_struct, | |
| cpu: | |
| ::std::os::raw::c_uint)>, | |
| pub load_gs_index: ::std::option::Option<extern "C" fn(idx: | |
| ::std::os::raw::c_uint)>, | |
| pub write_ldt_entry: ::std::option::Option<unsafe extern "C" fn(ldt: | |
| *mut Struct_desc_struct, | |
| entrynum: | |
| ::std::os::raw::c_int, | |
| desc: | |
| *const ::std::os::raw::c_void)>, | |
| pub write_gdt_entry: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_desc_struct, | |
| entrynum: | |
| ::std::os::raw::c_int, | |
| desc: | |
| *const ::std::os::raw::c_void, | |
| size: | |
| ::std::os::raw::c_int)>, | |
| pub write_idt_entry: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut gate_desc, | |
| entrynum: | |
| ::std::os::raw::c_int, | |
| gate: | |
| *const gate_desc)>, | |
| pub alloc_ldt: ::std::option::Option<unsafe extern "C" fn(ldt: | |
| *mut Struct_desc_struct, | |
| entries: | |
| ::std::os::raw::c_uint)>, | |
| pub free_ldt: ::std::option::Option<unsafe extern "C" fn(ldt: | |
| *mut Struct_desc_struct, | |
| entries: | |
| ::std::os::raw::c_uint)>, | |
| pub load_sp0: ::std::option::Option<unsafe extern "C" fn(tss: | |
| *mut Struct_tss_struct, | |
| t: | |
| *mut Struct_thread_struct)>, | |
| pub set_iopl_mask: ::std::option::Option<extern "C" fn(mask: | |
| ::std::os::raw::c_uint)>, | |
| pub wbinvd: ::std::option::Option<extern "C" fn()>, | |
| pub io_delay: ::std::option::Option<extern "C" fn()>, | |
| pub cpuid: ::std::option::Option<unsafe extern "C" fn(eax: | |
| *mut ::std::os::raw::c_uint, | |
| ebx: | |
| *mut ::std::os::raw::c_uint, | |
| ecx: | |
| *mut ::std::os::raw::c_uint, | |
| edx: | |
| *mut ::std::os::raw::c_uint)>, | |
| pub read_msr: ::std::option::Option<unsafe extern "C" fn(msr: | |
| ::std::os::raw::c_uint, | |
| err: | |
| *mut ::std::os::raw::c_int) | |
| -> __u64>, | |
| pub write_msr: ::std::option::Option<extern "C" fn(msr: | |
| ::std::os::raw::c_uint, | |
| low: | |
| ::std::os::raw::c_uint, | |
| high: | |
| ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int>, | |
| pub read_pmc: ::std::option::Option<extern "C" fn(counter: | |
| ::std::os::raw::c_int) | |
| -> __u64>, | |
| pub usergs_sysret64: ::std::option::Option<extern "C" fn()>, | |
| pub usergs_sysret32: ::std::option::Option<extern "C" fn()>, | |
| pub iret: ::std::option::Option<extern "C" fn()>, | |
| pub swapgs: ::std::option::Option<extern "C" fn()>, | |
| pub start_context_switch: ::std::option::Option<unsafe extern "C" fn(prev: | |
| *mut Struct_task_struct)>, | |
| pub end_context_switch: ::std::option::Option<unsafe extern "C" fn(next: | |
| *mut Struct_task_struct)>, | |
| } | |
| impl ::std::clone::Clone for Struct_pv_cpu_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pv_cpu_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pv_irq_ops { | |
| pub save_fl: Struct_paravirt_callee_save, | |
| pub restore_fl: Struct_paravirt_callee_save, | |
| pub irq_disable: Struct_paravirt_callee_save, | |
| pub irq_enable: Struct_paravirt_callee_save, | |
| pub safe_halt: ::std::option::Option<extern "C" fn()>, | |
| pub halt: ::std::option::Option<extern "C" fn()>, | |
| pub adjust_exception_frame: ::std::option::Option<extern "C" fn()>, | |
| } | |
| impl ::std::clone::Clone for Struct_pv_irq_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pv_irq_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pv_apic_ops { | |
| pub startup_ipi_hook: ::std::option::Option<extern "C" fn(phys_apicid: | |
| ::std::os::raw::c_int, | |
| start_eip: | |
| ::std::os::raw::c_ulong, | |
| start_esp: | |
| ::std::os::raw::c_ulong)>, | |
| } | |
| impl ::std::clone::Clone for Struct_pv_apic_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pv_apic_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pv_mmu_ops { | |
| pub read_cr2: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_ulong>, | |
| pub write_cr2: ::std::option::Option<extern "C" fn(arg1: | |
| ::std::os::raw::c_ulong)>, | |
| pub read_cr3: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_ulong>, | |
| pub write_cr3: ::std::option::Option<extern "C" fn(arg1: | |
| ::std::os::raw::c_ulong)>, | |
| pub activate_mm: ::std::option::Option<unsafe extern "C" fn(prev: | |
| *mut Struct_mm_struct, | |
| next: | |
| *mut Struct_mm_struct)>, | |
| pub dup_mmap: ::std::option::Option<unsafe extern "C" fn(oldmm: | |
| *mut Struct_mm_struct, | |
| mm: | |
| *mut Struct_mm_struct)>, | |
| pub exit_mmap: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct)>, | |
| pub flush_tlb_user: ::std::option::Option<extern "C" fn()>, | |
| pub flush_tlb_kernel: ::std::option::Option<extern "C" fn()>, | |
| pub flush_tlb_single: ::std::option::Option<extern "C" fn(addr: | |
| ::std::os::raw::c_ulong)>, | |
| pub flush_tlb_others: ::std::option::Option<unsafe extern "C" fn(cpus: | |
| *const Struct_cpumask, | |
| mm: | |
| *mut Struct_mm_struct, | |
| start: | |
| ::std::os::raw::c_ulong, | |
| end: | |
| ::std::os::raw::c_ulong)>, | |
| pub pgd_alloc: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct) | |
| -> ::std::os::raw::c_int>, | |
| pub pgd_free: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct, | |
| pgd: | |
| *mut pgd_t)>, | |
| pub alloc_pte: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct, | |
| pfn: | |
| ::std::os::raw::c_ulong)>, | |
| pub alloc_pmd: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct, | |
| pfn: | |
| ::std::os::raw::c_ulong)>, | |
| pub alloc_pud: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct, | |
| pfn: | |
| ::std::os::raw::c_ulong)>, | |
| pub release_pte: ::std::option::Option<extern "C" fn(pfn: | |
| ::std::os::raw::c_ulong)>, | |
| pub release_pmd: ::std::option::Option<extern "C" fn(pfn: | |
| ::std::os::raw::c_ulong)>, | |
| pub release_pud: ::std::option::Option<extern "C" fn(pfn: | |
| ::std::os::raw::c_ulong)>, | |
| pub set_pte: ::std::option::Option<unsafe extern "C" fn(ptep: *mut pte_t, | |
| pteval: pte_t)>, | |
| pub set_pte_at: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct, | |
| addr: | |
| ::std::os::raw::c_ulong, | |
| ptep: | |
| *mut pte_t, | |
| pteval: | |
| pte_t)>, | |
| pub set_pmd: ::std::option::Option<unsafe extern "C" fn(pmdp: *mut pmd_t, | |
| pmdval: pmd_t)>, | |
| pub set_pmd_at: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct, | |
| addr: | |
| ::std::os::raw::c_ulong, | |
| pmdp: | |
| *mut pmd_t, | |
| pmdval: | |
| pmd_t)>, | |
| pub pte_update: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct, | |
| addr: | |
| ::std::os::raw::c_ulong, | |
| ptep: | |
| *mut pte_t)>, | |
| pub pte_update_defer: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct, | |
| addr: | |
| ::std::os::raw::c_ulong, | |
| ptep: | |
| *mut pte_t)>, | |
| pub pmd_update: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct, | |
| addr: | |
| ::std::os::raw::c_ulong, | |
| pmdp: | |
| *mut pmd_t)>, | |
| pub pmd_update_defer: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct, | |
| addr: | |
| ::std::os::raw::c_ulong, | |
| pmdp: | |
| *mut pmd_t)>, | |
| pub ptep_modify_prot_start: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct, | |
| addr: | |
| ::std::os::raw::c_ulong, | |
| ptep: | |
| *mut pte_t) | |
| -> pte_t>, | |
| pub ptep_modify_prot_commit: ::std::option::Option<unsafe extern "C" fn(mm: | |
| *mut Struct_mm_struct, | |
| addr: | |
| ::std::os::raw::c_ulong, | |
| ptep: | |
| *mut pte_t, | |
| pte: | |
| pte_t)>, | |
| pub pte_val: Struct_paravirt_callee_save, | |
| pub make_pte: Struct_paravirt_callee_save, | |
| pub pgd_val: Struct_paravirt_callee_save, | |
| pub make_pgd: Struct_paravirt_callee_save, | |
| pub set_pud: ::std::option::Option<unsafe extern "C" fn(pudp: *mut pud_t, | |
| pudval: pud_t)>, | |
| pub pmd_val: Struct_paravirt_callee_save, | |
| pub make_pmd: Struct_paravirt_callee_save, | |
| pub pud_val: Struct_paravirt_callee_save, | |
| pub make_pud: Struct_paravirt_callee_save, | |
| pub set_pgd: ::std::option::Option<unsafe extern "C" fn(pudp: *mut pgd_t, | |
| pgdval: pgd_t)>, | |
| pub lazy_mode: Struct_pv_lazy_ops, | |
| pub set_fixmap: ::std::option::Option<extern "C" fn(idx: | |
| ::std::os::raw::c_uint, | |
| phys: phys_addr_t, | |
| flags: pgprot_t)>, | |
| } | |
| impl ::std::clone::Clone for Struct_pv_mmu_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pv_mmu_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_arch_spinlock { } | |
| pub type __ticket_t = _u16; | |
| pub type __ticketpair_t = _u32; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_qspinlock { | |
| pub val: atomic_t, | |
| } | |
| impl ::std::clone::Clone for Struct_qspinlock { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_qspinlock { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type arch_spinlock_t = Struct_qspinlock; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_qrwlock { | |
| pub cnts: atomic_t, | |
| pub wait_lock: arch_spinlock_t, | |
| } | |
| impl ::std::clone::Clone for Struct_qrwlock { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_qrwlock { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type arch_rwlock_t = Struct_qrwlock; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pv_lock_ops { | |
| pub queued_spin_lock_slowpath: ::std::option::Option<unsafe extern "C" fn(lock: | |
| *mut Struct_qspinlock, | |
| val: | |
| _u32)>, | |
| pub queued_spin_unlock: Struct_paravirt_callee_save, | |
| pub wait: ::std::option::Option<unsafe extern "C" fn(ptr: *mut _u8, | |
| val: _u8)>, | |
| pub kick: ::std::option::Option<extern "C" fn(cpu: | |
| ::std::os::raw::c_int)>, | |
| } | |
| impl ::std::clone::Clone for Struct_pv_lock_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pv_lock_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_paravirt_patch_template { | |
| pub pv_init_ops: Struct_pv_init_ops, | |
| pub pv_time_ops: Struct_pv_time_ops, | |
| pub pv_cpu_ops: Struct_pv_cpu_ops, | |
| pub pv_irq_ops: Struct_pv_irq_ops, | |
| pub pv_apic_ops: Struct_pv_apic_ops, | |
| pub pv_mmu_ops: Struct_pv_mmu_ops, | |
| pub pv_lock_ops: Struct_pv_lock_ops, | |
| } | |
| impl ::std::clone::Clone for Struct_paravirt_patch_template { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_paravirt_patch_template { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_paravirt_lazy_mode { | |
| PARAVIRT_LAZY_NONE = 0, | |
| PARAVIRT_LAZY_MMU = 1, | |
| PARAVIRT_LAZY_CPU = 2, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_paravirt_patch_site { | |
| pub instr: *mut _u8, | |
| pub instrtype: _u8, | |
| pub len: _u8, | |
| pub clobbers: _u16, | |
| } | |
| impl ::std::clone::Clone for Struct_paravirt_patch_site { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_paravirt_patch_site { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_user_desc { } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_alt_instr { | |
| pub instr_offset: s32, | |
| pub repl_offset: s32, | |
| pub cpuid: _u16, | |
| pub instrlen: _u8, | |
| pub replacementlen: _u8, | |
| pub padlen: _u8, | |
| } | |
| impl ::std::clone::Clone for Struct_alt_instr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_alt_instr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type initcall_t = | |
| ::std::option::Option<extern "C" fn() -> ::std::os::raw::c_int>; | |
| pub type exitcall_t = ::std::option::Option<extern "C" fn()>; | |
| pub type ctor_fn_t = ::std::option::Option<extern "C" fn()>; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct 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: [::std::os::raw::c_char; 0usize], | |
| } | |
| impl ::std::clone::Clone for Struct_sysinfo { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_sysinfo { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_va_format { | |
| pub fmt: *const ::std::os::raw::c_char, | |
| pub va: *mut va_list, | |
| } | |
| impl ::std::clone::Clone for Struct_va_format { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_va_format { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type printk_func_t = | |
| ::std::option::Option<unsafe extern "C" fn(fmt: | |
| *const ::std::os::raw::c_char, | |
| args: va_list) | |
| -> ::std::os::raw::c_int>; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct__ddebug { | |
| pub modname: *const ::std::os::raw::c_char, | |
| pub function: *const ::std::os::raw::c_char, | |
| pub filename: *const ::std::os::raw::c_char, | |
| pub format: *const ::std::os::raw::c_char, | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| } | |
| impl ::std::clone::Clone for Struct__ddebug { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct__ddebug { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_net_device { } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed12 { | |
| DUMP_PREFIX_NONE = 0, | |
| DUMP_PREFIX_ADDRESS = 1, | |
| DUMP_PREFIX_OFFSET = 2, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_lockdep_ok { LOCKDEP_STILL_OK = 0, LOCKDEP_NOW_UNRELIABLE = 1, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_system_states { | |
| SYSTEM_BOOTING = 0, | |
| SYSTEM_RUNNING = 1, | |
| SYSTEM_HALT = 2, | |
| SYSTEM_POWER_OFF = 3, | |
| SYSTEM_RESTART = 4, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_ftrace_dump_mode { DUMP_NONE = 0, DUMP_ALL = 1, DUMP_ORIG = 2, } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_bug_entry { | |
| pub bug_addr_disp: ::std::os::raw::c_int, | |
| pub file_disp: ::std::os::raw::c_int, | |
| pub line: ::std::os::raw::c_ushort, | |
| pub flags: ::std::os::raw::c_ushort, | |
| } | |
| impl ::std::clone::Clone for Struct_bug_entry { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_bug_entry { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_bug_trap_type { | |
| BUG_TRAP_TYPE_NONE = 0, | |
| BUG_TRAP_TYPE_WARN = 1, | |
| BUG_TRAP_TYPE_BUG = 2, | |
| } | |
| pub enum Struct_compat_timespec { } | |
| pub enum Struct_pollfd { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_restart_block { | |
| pub _fn: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_restart_block) | |
| -> ::std::os::raw::c_long>, | |
| pub _bindgen_data_1_: [u64; 5usize], | |
| } | |
| impl Struct_restart_block { | |
| pub unsafe fn futex(&mut self) -> *mut Struct_Unnamed13 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn nanosleep(&mut self) -> *mut Struct_Unnamed14 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn poll(&mut self) -> *mut Struct_Unnamed15 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_restart_block { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_restart_block { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed13 { | |
| pub uaddr: *mut _u32, | |
| pub val: _u32, | |
| pub flags: _u32, | |
| pub bitset: _u32, | |
| pub time: __u64, | |
| pub uaddr2: *mut _u32, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed13 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed13 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed14 { | |
| pub clockid: clockid_t, | |
| pub rmtp: *mut Struct_timespec, | |
| pub compat_rmtp: *mut Struct_compat_timespec, | |
| pub expires: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed14 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed14 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed15 { | |
| pub ufds: *mut Struct_pollfd, | |
| pub nfds: ::std::os::raw::c_int, | |
| pub has_timeout: ::std::os::raw::c_int, | |
| pub tv_sec: ::std::os::raw::c_ulong, | |
| pub tv_nsec: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed15 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed15 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_range { | |
| pub start: __u64, | |
| pub end: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_range { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_range { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_vm86 { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_math_emu_info { | |
| pub ___orig_eip: ::std::os::raw::c_long, | |
| pub regs: *mut Struct_pt_regs, | |
| } | |
| impl ::std::clone::Clone for Struct_math_emu_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_math_emu_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct__fpx_sw_bytes { | |
| pub magic1: __u32, | |
| pub extended_size: __u32, | |
| pub xfeatures: __u64, | |
| pub xstate_size: __u32, | |
| pub padding: [__u32; 7usize], | |
| } | |
| impl ::std::clone::Clone for Struct__fpx_sw_bytes { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct__fpx_sw_bytes { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct__fpreg { | |
| pub significand: [__u16; 4usize], | |
| pub exponent: __u16, | |
| } | |
| impl ::std::clone::Clone for Struct__fpreg { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct__fpreg { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct__fpxreg { | |
| pub significand: [__u16; 4usize], | |
| pub exponent: __u16, | |
| pub padding: [__u16; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct__fpxreg { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct__fpxreg { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct__xmmreg { | |
| pub element: [__u32; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct__xmmreg { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct__xmmreg { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct__fpstate_32 { | |
| pub cw: __u32, | |
| pub sw: __u32, | |
| pub tag: __u32, | |
| pub ipoff: __u32, | |
| pub cssel: __u32, | |
| pub dataoff: __u32, | |
| pub datasel: __u32, | |
| pub _st: [Struct__fpreg; 8usize], | |
| pub status: __u16, | |
| pub magic: __u16, | |
| pub _fxsr_env: [__u32; 6usize], | |
| pub mxcsr: __u32, | |
| pub reserved: __u32, | |
| pub _fxsr_st: [Struct__fpxreg; 8usize], | |
| pub _xmm: [Struct__xmmreg; 8usize], | |
| pub _bindgen_data_1_: [u32; 44usize], | |
| pub _bindgen_data_2_: [u64; 6usize], | |
| } | |
| impl Struct__fpstate_32 { | |
| pub unsafe fn padding1(&mut self) -> *mut [__u32; 44usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn padding(&mut self) -> *mut [__u32; 44usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn padding2(&mut self) -> *mut [__u32; 12usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn sw_reserved(&mut self) -> *mut Struct__fpx_sw_bytes { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct__fpstate_32 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct__fpstate_32 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct__fpstate_64 { | |
| pub cwd: __u16, | |
| pub swd: __u16, | |
| pub twd: __u16, | |
| pub fop: __u16, | |
| pub rip: __u64, | |
| pub rdp: __u64, | |
| pub mxcsr: __u32, | |
| pub mxcsr_mask: __u32, | |
| pub st_space: [__u32; 32usize], | |
| pub xmm_space: [__u32; 64usize], | |
| pub reserved2: [__u32; 12usize], | |
| pub _bindgen_data_1_: [u64; 6usize], | |
| } | |
| impl Struct__fpstate_64 { | |
| pub unsafe fn reserved3(&mut self) -> *mut [__u32; 12usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn sw_reserved(&mut self) -> *mut Struct__fpx_sw_bytes { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct__fpstate_64 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct__fpstate_64 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct__header { | |
| pub xfeatures: __u64, | |
| pub reserved1: [__u64; 2usize], | |
| pub reserved2: [__u64; 5usize], | |
| } | |
| impl ::std::clone::Clone for Struct__header { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct__header { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct__ymmh_state { | |
| pub ymmh_space: [__u32; 64usize], | |
| } | |
| impl ::std::clone::Clone for Struct__ymmh_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct__ymmh_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct__xstate { | |
| pub fpstate: Struct__fpstate_64, | |
| pub xstate_hdr: Struct__header, | |
| pub ymmh: Struct__ymmh_state, | |
| } | |
| impl ::std::clone::Clone for Struct__xstate { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct__xstate { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_sigcontext_32 { | |
| pub gs: __u16, | |
| pub __gsh: __u16, | |
| pub fs: __u16, | |
| pub __fsh: __u16, | |
| pub es: __u16, | |
| pub __esh: __u16, | |
| pub ds: __u16, | |
| pub __dsh: __u16, | |
| pub di: __u32, | |
| pub si: __u32, | |
| pub bp: __u32, | |
| pub sp: __u32, | |
| pub bx: __u32, | |
| pub dx: __u32, | |
| pub cx: __u32, | |
| pub ax: __u32, | |
| pub trapno: __u32, | |
| pub err: __u32, | |
| pub ip: __u32, | |
| pub cs: __u16, | |
| pub __csh: __u16, | |
| pub flags: __u32, | |
| pub sp_at_signal: __u32, | |
| pub ss: __u16, | |
| pub __ssh: __u16, | |
| pub fpstate: __u32, | |
| pub oldmask: __u32, | |
| pub cr2: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_sigcontext_32 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_sigcontext_32 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_sigcontext_64 { | |
| pub r8: __u64, | |
| pub r9: __u64, | |
| pub r10: __u64, | |
| pub r11: __u64, | |
| pub r12: __u64, | |
| pub r13: __u64, | |
| pub r14: __u64, | |
| pub r15: __u64, | |
| pub di: __u64, | |
| pub si: __u64, | |
| pub bp: __u64, | |
| pub bx: __u64, | |
| pub dx: __u64, | |
| pub ax: __u64, | |
| pub cx: __u64, | |
| pub sp: __u64, | |
| pub ip: __u64, | |
| pub flags: __u64, | |
| pub cs: __u16, | |
| pub gs: __u16, | |
| pub fs: __u16, | |
| pub __pad0: __u16, | |
| pub err: __u64, | |
| pub trapno: __u64, | |
| pub oldmask: __u64, | |
| pub cr2: __u64, | |
| pub fpstate: __u64, | |
| pub reserved1: [__u64; 8usize], | |
| } | |
| impl ::std::clone::Clone for Struct_sigcontext_64 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_sigcontext_64 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_cpumask { | |
| pub bits: [::std::os::raw::c_ulong; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_cpumask { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_cpumask { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type cpumask_t = Struct_cpumask; | |
| pub type cpumask_var_t = [Struct_cpumask; 1usize]; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_msr { | |
| pub _bindgen_data_1_: [u64; 1usize], | |
| } | |
| impl Struct_msr { | |
| pub unsafe fn l(&mut self) -> *mut _u32 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn h(&mut self) -> *mut _u32 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(4)) | |
| } | |
| pub unsafe fn q(&mut self) -> *mut __u64 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_msr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_msr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_msr_info { | |
| pub msr_no: _u32, | |
| pub reg: Struct_msr, | |
| pub msrs: *mut Struct_msr, | |
| pub err: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_msr_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_msr_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_msr_regs_info { | |
| pub regs: *mut _u32, | |
| pub err: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_msr_regs_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_msr_regs_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fregs_state { | |
| pub cwd: _u32, | |
| pub swd: _u32, | |
| pub twd: _u32, | |
| pub fip: _u32, | |
| pub fcs: _u32, | |
| pub foo: _u32, | |
| pub fos: _u32, | |
| pub st_space: [_u32; 20usize], | |
| pub status: _u32, | |
| } | |
| impl ::std::clone::Clone for Struct_fregs_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fregs_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fxregs_state { | |
| pub cwd: _u16, | |
| pub swd: _u16, | |
| pub twd: _u16, | |
| pub fop: _u16, | |
| pub _bindgen_data_1_: [u64; 2usize], | |
| pub mxcsr: _u32, | |
| pub mxcsr_mask: _u32, | |
| pub st_space: [_u32; 32usize], | |
| pub xmm_space: [_u32; 64usize], | |
| pub padding: [_u32; 12usize], | |
| pub _bindgen_data_2_: [u32; 12usize], | |
| } | |
| impl Struct_fxregs_state { | |
| pub unsafe fn rip(&mut self) -> *mut __u64 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn rdp(&mut self) -> *mut __u64 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| pub unsafe fn fip(&mut self) -> *mut _u32 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn fcs(&mut self) -> *mut _u32 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(4)) | |
| } | |
| pub unsafe fn foo(&mut self) -> *mut _u32 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| pub unsafe fn fos(&mut self) -> *mut _u32 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(12)) | |
| } | |
| pub unsafe fn padding1(&mut self) -> *mut [_u32; 12usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn sw_reserved(&mut self) -> *mut [_u32; 12usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_fxregs_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fxregs_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_swregs_state { | |
| pub cwd: _u32, | |
| pub swd: _u32, | |
| pub twd: _u32, | |
| pub fip: _u32, | |
| pub fcs: _u32, | |
| pub foo: _u32, | |
| pub fos: _u32, | |
| pub st_space: [_u32; 20usize], | |
| pub ftop: _u8, | |
| pub changed: _u8, | |
| pub lookahead: _u8, | |
| pub no_update: _u8, | |
| pub rm: _u8, | |
| pub alimit: _u8, | |
| pub info: *mut Struct_math_emu_info, | |
| pub entry_eip: _u32, | |
| } | |
| impl ::std::clone::Clone for Struct_swregs_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_swregs_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_xfeature { | |
| XFEATURE_FP = 0, | |
| XFEATURE_SSE = 1, | |
| XFEATURE_YMM = 2, | |
| XFEATURE_BNDREGS = 3, | |
| XFEATURE_BNDCSR = 4, | |
| XFEATURE_OPMASK = 5, | |
| XFEATURE_ZMM_Hi256 = 6, | |
| XFEATURE_Hi16_ZMM = 7, | |
| XFEATURE_MAX = 8, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_reg_128_bit { | |
| pub regbytes: [_u8; 16usize], | |
| } | |
| impl ::std::clone::Clone for Struct_reg_128_bit { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_reg_128_bit { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_reg_256_bit { | |
| pub regbytes: [_u8; 32usize], | |
| } | |
| impl ::std::clone::Clone for Struct_reg_256_bit { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_reg_256_bit { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_reg_512_bit { | |
| pub regbytes: [_u8; 64usize], | |
| } | |
| impl ::std::clone::Clone for Struct_reg_512_bit { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_reg_512_bit { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_ymmh_struct { | |
| pub hi_ymm: [Struct_reg_128_bit; 16usize], | |
| } | |
| impl ::std::clone::Clone for Struct_ymmh_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ymmh_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_mpx_bndreg { | |
| pub lower_bound: __u64, | |
| pub upper_bound: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_mpx_bndreg { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mpx_bndreg { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_mpx_bndreg_state { | |
| pub bndreg: [Struct_mpx_bndreg; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_mpx_bndreg_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mpx_bndreg_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_mpx_bndcsr { | |
| pub bndcfgu: __u64, | |
| pub bndstatus: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_mpx_bndcsr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mpx_bndcsr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_mpx_bndcsr_state { | |
| pub _bindgen_data_1_: [u8; 64usize], | |
| } | |
| impl Struct_mpx_bndcsr_state { | |
| pub unsafe fn bndcsr(&mut self) -> *mut Struct_mpx_bndcsr { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn pad_to_64_bytes(&mut self) -> *mut [_u8; 64usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_mpx_bndcsr_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mpx_bndcsr_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_avx_512_opmask_state { | |
| pub opmask_reg: [__u64; 8usize], | |
| } | |
| impl ::std::clone::Clone for Struct_avx_512_opmask_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_avx_512_opmask_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_avx_512_zmm_uppers_state { | |
| pub zmm_upper: [Struct_reg_256_bit; 16usize], | |
| } | |
| impl ::std::clone::Clone for Struct_avx_512_zmm_uppers_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_avx_512_zmm_uppers_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_avx_512_hi16_state { | |
| pub hi16_zmm: [Struct_reg_512_bit; 16usize], | |
| } | |
| impl ::std::clone::Clone for Struct_avx_512_hi16_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_avx_512_hi16_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_xstate_header { | |
| pub xfeatures: __u64, | |
| pub xcomp_bv: __u64, | |
| pub reserved: [__u64; 6usize], | |
| } | |
| impl ::std::clone::Clone for Struct_xstate_header { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_xstate_header { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_xregs_state { | |
| pub i387: Struct_fxregs_state, | |
| pub header: Struct_xstate_header, | |
| pub extended_state_area: [_u8; 0usize], | |
| } | |
| impl ::std::clone::Clone for Struct_xregs_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_xregs_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_fpregs_state { | |
| pub _bindgen_data_: [u8; 4096usize], | |
| } | |
| impl Union_fpregs_state { | |
| pub unsafe fn fsave(&mut self) -> *mut Struct_fregs_state { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn fxsave(&mut self) -> *mut Struct_fxregs_state { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn soft(&mut self) -> *mut Struct_swregs_state { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn xsave(&mut self) -> *mut Struct_xregs_state { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn __padding(&mut self) -> *mut [_u8; 4096usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_fpregs_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_fpregs_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fpu { | |
| pub last_cpu: ::std::os::raw::c_uint, | |
| pub fpstate_active: ::std::os::raw::c_uchar, | |
| pub fpregs_active: ::std::os::raw::c_uchar, | |
| pub counter: ::std::os::raw::c_uchar, | |
| pub state: Union_fpregs_state, | |
| } | |
| impl ::std::clone::Clone for Struct_fpu { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fpu { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed16 { | |
| UNAME26 = 131072, | |
| ADDR_NO_RANDOMIZE = 262144, | |
| FDPIC_FUNCPTRS = 524288, | |
| MMAP_PAGE_ZERO = 1048576, | |
| ADDR_COMPAT_LAYOUT = 2097152, | |
| READ_IMPLIES_EXEC = 4194304, | |
| ADDR_LIMIT_32BIT = 8388608, | |
| SHORT_INODE = 16777216, | |
| WHOLE_SECONDS = 33554432, | |
| STICKY_TIMEOUTS = 67108864, | |
| ADDR_LIMIT_3GB = 134217728, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed17 { | |
| PER_LINUX = 0, | |
| PER_LINUX_32BIT = 8388608, | |
| PER_LINUX_FDPIC = 524288, | |
| PER_SVR4 = 68157441, | |
| PER_SVR3 = 83886082, | |
| PER_SCOSVR3 = 117440515, | |
| PER_OSR5 = 100663299, | |
| PER_WYSEV386 = 83886084, | |
| PER_ISCR4 = 67108869, | |
| PER_BSD = 6, | |
| PER_SUNOS = 67108870, | |
| PER_XENIX = 83886087, | |
| PER_LINUX32 = 8, | |
| PER_LINUX32_3GB = 134217736, | |
| PER_IRIX32 = 67108873, | |
| PER_IRIXN32 = 67108874, | |
| PER_IRIX64 = 67108875, | |
| PER_RISCOS = 12, | |
| PER_SOLARIS = 67108877, | |
| PER_UW7 = 68157454, | |
| PER_OSF4 = 15, | |
| PER_HPUX = 16, | |
| PER_MASK = 255, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_tlb_infos { ENTRIES = 0, NR_INFO = 1, } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_cpuinfo_x86 { | |
| pub x86: __u8, | |
| pub x86_vendor: __u8, | |
| pub x86_model: __u8, | |
| pub x86_mask: __u8, | |
| pub x86_tlbsize: ::std::os::raw::c_int, | |
| pub x86_virt_bits: __u8, | |
| pub x86_phys_bits: __u8, | |
| pub x86_coreid_bits: __u8, | |
| pub extended_cpuid_level: __u32, | |
| pub cpuid_level: ::std::os::raw::c_int, | |
| pub x86_capability: [__u32; 15usize], | |
| pub x86_vendor_id: [::std::os::raw::c_char; 16usize], | |
| pub x86_model_id: [::std::os::raw::c_char; 64usize], | |
| pub x86_cache_size: ::std::os::raw::c_int, | |
| pub x86_cache_alignment: ::std::os::raw::c_int, | |
| pub x86_cache_max_rmid: ::std::os::raw::c_int, | |
| pub x86_cache_occ_scale: ::std::os::raw::c_int, | |
| pub x86_power: ::std::os::raw::c_int, | |
| pub loops_per_jiffy: ::std::os::raw::c_ulong, | |
| pub x86_max_cores: _u16, | |
| pub apicid: _u16, | |
| pub initial_apicid: _u16, | |
| pub x86_clflush_size: _u16, | |
| pub booted_cores: _u16, | |
| pub phys_proc_id: _u16, | |
| pub cpu_core_id: _u16, | |
| pub compute_unit_id: _u8, | |
| pub cpu_index: _u16, | |
| pub microcode: _u32, | |
| } | |
| impl ::std::clone::Clone for Struct_cpuinfo_x86 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_cpuinfo_x86 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_hw_tss { | |
| pub reserved1: _u32, | |
| pub sp0: __u64, | |
| pub sp1: __u64, | |
| pub sp2: __u64, | |
| pub reserved2: __u64, | |
| pub ist: [__u64; 7usize], | |
| pub reserved3: _u32, | |
| pub reserved4: _u32, | |
| pub reserved5: _u16, | |
| pub io_bitmap_base: _u16, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_hw_tss { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_hw_tss { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_tss_struct { | |
| pub x86_tss: Struct_x86_hw_tss, | |
| pub io_bitmap: [::std::os::raw::c_ulong; 1025usize], | |
| pub SYSENTER_stack: [::std::os::raw::c_ulong; 64usize], | |
| } | |
| impl ::std::clone::Clone for Struct_tss_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_tss_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_orig_ist { | |
| pub ist: [::std::os::raw::c_ulong; 7usize], | |
| } | |
| impl ::std::clone::Clone for Struct_orig_ist { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_orig_ist { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_irq_stack_union { | |
| pub _bindgen_data_: [u64; 2048usize], | |
| } | |
| impl Union_irq_stack_union { | |
| pub unsafe fn irq_stack(&mut self) | |
| -> *mut [::std::os::raw::c_char; 16384usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn gs_base(&mut self) | |
| -> *mut [::std::os::raw::c_char; 40usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn stack_canary(&mut self) -> *mut ::std::os::raw::c_ulong { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(40)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_irq_stack_union { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_irq_stack_union { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_perf_event { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_thread_struct { | |
| pub tls_array: [Struct_desc_struct; 3usize], | |
| pub sp0: ::std::os::raw::c_ulong, | |
| pub sp: ::std::os::raw::c_ulong, | |
| pub es: ::std::os::raw::c_ushort, | |
| pub ds: ::std::os::raw::c_ushort, | |
| pub fsindex: ::std::os::raw::c_ushort, | |
| pub gsindex: ::std::os::raw::c_ushort, | |
| pub fs: ::std::os::raw::c_ulong, | |
| pub gs: ::std::os::raw::c_ulong, | |
| pub ptrace_bps: [*mut Struct_perf_event; 4usize], | |
| pub debugreg6: ::std::os::raw::c_ulong, | |
| pub ptrace_dr7: ::std::os::raw::c_ulong, | |
| pub cr2: ::std::os::raw::c_ulong, | |
| pub trap_nr: ::std::os::raw::c_ulong, | |
| pub error_code: ::std::os::raw::c_ulong, | |
| pub io_bitmap_ptr: *mut ::std::os::raw::c_ulong, | |
| pub iopl: ::std::os::raw::c_ulong, | |
| pub io_bitmap_max: ::std::os::raw::c_uint, | |
| pub fpu: Struct_fpu, | |
| } | |
| impl ::std::clone::Clone for Struct_thread_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_thread_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed18 { | |
| pub seg: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed18 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed18 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type mm_segment_t = Struct_Unnamed18; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_idle_boot_override { | |
| IDLE_NO_OVERRIDE = 0, | |
| IDLE_HALT = 1, | |
| IDLE_NOMWAIT = 2, | |
| IDLE_POLL = 3, | |
| } | |
| pub type atomic_long_t = atomic64_t; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_thread_info { | |
| pub task: *mut Struct_task_struct, | |
| pub flags: __u32, | |
| pub status: __u32, | |
| pub cpu: __u32, | |
| pub addr_limit: mm_segment_t, | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| } | |
| impl ::std::clone::Clone for Struct_thread_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_thread_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_preempt_ops { | |
| pub sched_in: ::std::option::Option<unsafe extern "C" fn(notifier: | |
| *mut Struct_preempt_notifier, | |
| cpu: | |
| ::std::os::raw::c_int)>, | |
| pub sched_out: ::std::option::Option<unsafe extern "C" fn(notifier: | |
| *mut Struct_preempt_notifier, | |
| next: | |
| *mut Struct_task_struct)>, | |
| } | |
| impl ::std::clone::Clone for Struct_preempt_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_preempt_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_preempt_notifier { | |
| pub link: Struct_hlist_node, | |
| pub ops: *mut Struct_preempt_ops, | |
| } | |
| impl ::std::clone::Clone for Struct_preempt_notifier { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_preempt_notifier { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_lockdep_map { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_lock_class_key { | |
| } | |
| impl ::std::clone::Clone for Struct_lock_class_key { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_lock_class_key { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_raw_spinlock { | |
| pub raw_lock: arch_spinlock_t, | |
| } | |
| impl ::std::clone::Clone for Struct_raw_spinlock { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_raw_spinlock { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type raw_spinlock_t = Struct_raw_spinlock; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_spinlock { | |
| pub _bindgen_data_1_: [u32; 1usize], | |
| } | |
| impl Struct_spinlock { | |
| pub unsafe fn rlock(&mut self) -> *mut Struct_raw_spinlock { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_spinlock { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_spinlock { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type spinlock_t = Struct_spinlock; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed19 { | |
| pub raw_lock: arch_rwlock_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed19 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed19 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type rwlock_t = Struct_Unnamed19; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_static_key { | |
| pub enabled: atomic_t, | |
| } | |
| impl ::std::clone::Clone for Struct_static_key { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_static_key { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_jump_label_type { JUMP_LABEL_NOP = 0, JUMP_LABEL_JMP = 1, } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_static_key_true { | |
| pub key: Struct_static_key, | |
| } | |
| impl ::std::clone::Clone for Struct_static_key_true { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_static_key_true { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_static_key_false { | |
| pub key: Struct_static_key, | |
| } | |
| impl ::std::clone::Clone for Struct_static_key_false { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_static_key_false { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type wait_queue_t = Struct___wait_queue; | |
| pub type wait_queue_func_t = | |
| ::std::option::Option<unsafe extern "C" fn(wait: *mut wait_queue_t, | |
| mode: ::std::os::raw::c_uint, | |
| flags: ::std::os::raw::c_int, | |
| key: | |
| *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int>; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct___wait_queue { | |
| pub flags: ::std::os::raw::c_uint, | |
| pub private: *mut ::std::os::raw::c_void, | |
| pub func: wait_queue_func_t, | |
| pub task_list: Struct_list_head, | |
| } | |
| impl ::std::clone::Clone for Struct___wait_queue { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct___wait_queue { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_wait_bit_key { | |
| pub flags: *mut ::std::os::raw::c_void, | |
| pub bit_nr: ::std::os::raw::c_int, | |
| pub timeout: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_wait_bit_key { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_wait_bit_key { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_wait_bit_queue { | |
| pub key: Struct_wait_bit_key, | |
| pub wait: wait_queue_t, | |
| } | |
| impl ::std::clone::Clone for Struct_wait_bit_queue { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_wait_bit_queue { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct___wait_queue_head { | |
| pub lock: spinlock_t, | |
| pub task_list: Struct_list_head, | |
| } | |
| impl ::std::clone::Clone for Struct___wait_queue_head { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct___wait_queue_head { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type wait_queue_head_t = Struct___wait_queue_head; | |
| pub type wait_bit_action_f = | |
| unsafe extern "C" fn(arg1: *mut Struct_wait_bit_key, | |
| mode: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_seqcount { | |
| pub sequence: ::std::os::raw::c_uint, | |
| } | |
| impl ::std::clone::Clone for Struct_seqcount { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_seqcount { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type seqcount_t = Struct_seqcount; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed20 { | |
| pub seqcount: Struct_seqcount, | |
| pub lock: spinlock_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed20 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed20 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type seqlock_t = Struct_Unnamed20; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_completion { | |
| pub done: ::std::os::raw::c_uint, | |
| pub wait: wait_queue_head_t, | |
| } | |
| impl ::std::clone::Clone for Struct_completion { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_completion { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_debug_obj_state { | |
| ODEBUG_STATE_NONE = 0, | |
| ODEBUG_STATE_INIT = 1, | |
| ODEBUG_STATE_INACTIVE = 2, | |
| ODEBUG_STATE_ACTIVE = 3, | |
| ODEBUG_STATE_DESTROYED = 4, | |
| ODEBUG_STATE_NOTAVAILABLE = 5, | |
| ODEBUG_STATE_MAX = 6, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_debug_obj { | |
| pub node: Struct_hlist_node, | |
| pub state: Enum_debug_obj_state, | |
| pub astate: ::std::os::raw::c_uint, | |
| pub object: *mut ::std::os::raw::c_void, | |
| pub descr: *mut Struct_debug_obj_descr, | |
| } | |
| impl ::std::clone::Clone for Struct_debug_obj { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_debug_obj { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_debug_obj_descr { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub debug_hint: ::std::option::Option<unsafe extern "C" fn(addr: | |
| *mut ::std::os::raw::c_void) | |
| -> *mut ::std::os::raw::c_void>, | |
| pub fixup_init: ::std::option::Option<unsafe extern "C" fn(addr: | |
| *mut ::std::os::raw::c_void, | |
| state: | |
| Enum_debug_obj_state) | |
| -> ::std::os::raw::c_int>, | |
| pub fixup_activate: ::std::option::Option<unsafe extern "C" fn(addr: | |
| *mut ::std::os::raw::c_void, | |
| state: | |
| Enum_debug_obj_state) | |
| -> ::std::os::raw::c_int>, | |
| pub fixup_destroy: ::std::option::Option<unsafe extern "C" fn(addr: | |
| *mut ::std::os::raw::c_void, | |
| state: | |
| Enum_debug_obj_state) | |
| -> ::std::os::raw::c_int>, | |
| pub fixup_free: ::std::option::Option<unsafe extern "C" fn(addr: | |
| *mut ::std::os::raw::c_void, | |
| state: | |
| Enum_debug_obj_state) | |
| -> ::std::os::raw::c_int>, | |
| pub fixup_assert_init: ::std::option::Option<unsafe extern "C" fn(addr: | |
| *mut ::std::os::raw::c_void, | |
| state: | |
| Enum_debug_obj_state) | |
| -> | |
| ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_debug_obj_descr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_debug_obj_descr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_timespec { | |
| pub tv_sec: __kernel_time_t, | |
| pub tv_nsec: ::std::os::raw::c_long, | |
| } | |
| impl ::std::clone::Clone for Struct_timespec { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_timespec { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_timeval { | |
| pub tv_sec: __kernel_time_t, | |
| pub tv_usec: __kernel_suseconds_t, | |
| } | |
| impl ::std::clone::Clone for Struct_timeval { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_timeval { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_timezone { | |
| pub tz_minuteswest: ::std::os::raw::c_int, | |
| pub tz_dsttime: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_timezone { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_timezone { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_itimerspec { | |
| pub it_interval: Struct_timespec, | |
| pub it_value: Struct_timespec, | |
| } | |
| impl ::std::clone::Clone for Struct_itimerspec { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_itimerspec { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_itimerval { | |
| pub it_interval: Struct_timeval, | |
| pub it_value: Struct_timeval, | |
| } | |
| impl ::std::clone::Clone for Struct_itimerval { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_itimerval { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type time64_t = __s64; | |
| pub enum Struct_tms { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_tm { | |
| pub tm_sec: ::std::os::raw::c_int, | |
| pub tm_min: ::std::os::raw::c_int, | |
| pub tm_hour: ::std::os::raw::c_int, | |
| pub tm_mday: ::std::os::raw::c_int, | |
| pub tm_mon: ::std::os::raw::c_int, | |
| pub tm_year: ::std::os::raw::c_long, | |
| pub tm_wday: ::std::os::raw::c_int, | |
| pub tm_yday: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_tm { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_tm { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_timex { | |
| pub modes: ::std::os::raw::c_uint, | |
| pub offset: __kernel_long_t, | |
| pub freq: __kernel_long_t, | |
| pub maxerror: __kernel_long_t, | |
| pub esterror: __kernel_long_t, | |
| pub status: ::std::os::raw::c_int, | |
| pub constant: __kernel_long_t, | |
| pub precision: __kernel_long_t, | |
| pub tolerance: __kernel_long_t, | |
| pub time: Struct_timeval, | |
| pub tick: __kernel_long_t, | |
| pub ppsfreq: __kernel_long_t, | |
| pub jitter: __kernel_long_t, | |
| pub shift: ::std::os::raw::c_int, | |
| pub stabil: __kernel_long_t, | |
| pub jitcnt: __kernel_long_t, | |
| pub calcnt: __kernel_long_t, | |
| pub errcnt: __kernel_long_t, | |
| pub stbcnt: __kernel_long_t, | |
| pub tai: ::std::os::raw::c_int, | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_int, | |
| pub _bindgen_bitfield_2_: ::std::os::raw::c_int, | |
| pub _bindgen_bitfield_3_: ::std::os::raw::c_int, | |
| pub _bindgen_bitfield_4_: ::std::os::raw::c_int, | |
| pub _bindgen_bitfield_5_: ::std::os::raw::c_int, | |
| pub _bindgen_bitfield_6_: ::std::os::raw::c_int, | |
| pub _bindgen_bitfield_7_: ::std::os::raw::c_int, | |
| pub _bindgen_bitfield_8_: ::std::os::raw::c_int, | |
| pub _bindgen_bitfield_9_: ::std::os::raw::c_int, | |
| pub _bindgen_bitfield_10_: ::std::os::raw::c_int, | |
| pub _bindgen_bitfield_11_: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_timex { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_timex { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type cycles_t = ::std::os::raw::c_ulonglong; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_ktime { | |
| pub _bindgen_data_: [u64; 1usize], | |
| } | |
| impl Union_ktime { | |
| pub unsafe fn tv64(&mut self) -> *mut s64 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_ktime { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_ktime { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type ktime_t = Union_ktime; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_tk_offsets { | |
| TK_OFFS_REAL = 0, | |
| TK_OFFS_BOOT = 1, | |
| TK_OFFS_TAI = 2, | |
| TK_OFFS_MAX = 3, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_rcutorture_type { | |
| RCU_FLAVOR = 0, | |
| RCU_BH_FLAVOR = 1, | |
| RCU_SCHED_FLAVOR = 2, | |
| RCU_TASKS_FLAVOR = 3, | |
| SRCU_FLAVOR = 4, | |
| INVALID_RCU_FLAVOR = 5, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_rcu_synchronize { | |
| pub head: Struct_callback_head, | |
| pub completion: Struct_completion, | |
| } | |
| impl ::std::clone::Clone for Struct_rcu_synchronize { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_rcu_synchronize { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_hlist_bl_head { | |
| pub first: *mut Struct_hlist_bl_node, | |
| } | |
| impl ::std::clone::Clone for Struct_hlist_bl_head { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_hlist_bl_head { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_hlist_bl_node { | |
| pub next: *mut Struct_hlist_bl_node, | |
| pub pprev: *mut *mut Struct_hlist_bl_node, | |
| } | |
| impl ::std::clone::Clone for Struct_hlist_bl_node { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_hlist_bl_node { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_lockref { | |
| pub _bindgen_data_1_: [u64; 1usize], | |
| } | |
| impl Struct_lockref { | |
| pub unsafe fn lock_count(&mut self) -> *mut __u64 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn lock(&mut self) -> *mut spinlock_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn count(&mut self) -> *mut ::std::os::raw::c_int { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(4)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_lockref { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_lockref { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_vfsmount { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_qstr { | |
| pub _bindgen_data_1_: [u64; 1usize], | |
| pub name: *const ::std::os::raw::c_uchar, | |
| } | |
| impl Struct_qstr { | |
| pub unsafe fn hash(&mut self) -> *mut _u32 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn len(&mut self) -> *mut _u32 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(4)) | |
| } | |
| pub unsafe fn hash_len(&mut self) -> *mut __u64 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_qstr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_qstr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dentry_stat_t { | |
| pub nr_dentry: ::std::os::raw::c_long, | |
| pub nr_unused: ::std::os::raw::c_long, | |
| pub age_limit: ::std::os::raw::c_long, | |
| pub want_pages: ::std::os::raw::c_long, | |
| pub dummy: [::std::os::raw::c_long; 2usize], | |
| } | |
| impl ::std::clone::Clone for Struct_dentry_stat_t { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dentry_stat_t { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dentry { | |
| pub d_flags: ::std::os::raw::c_uint, | |
| pub d_seq: seqcount_t, | |
| pub d_hash: Struct_hlist_bl_node, | |
| pub d_parent: *mut Struct_dentry, | |
| pub d_name: Struct_qstr, | |
| pub d_inode: *mut Struct_inode, | |
| pub d_iname: [::std::os::raw::c_uchar; 32usize], | |
| pub d_lockref: Struct_lockref, | |
| pub d_op: *const Struct_dentry_operations, | |
| pub d_sb: *mut Struct_super_block, | |
| pub d_time: ::std::os::raw::c_ulong, | |
| pub d_fsdata: *mut ::std::os::raw::c_void, | |
| pub d_lru: Struct_list_head, | |
| pub d_child: Struct_list_head, | |
| pub d_subdirs: Struct_list_head, | |
| pub d_u: Union_Unnamed21, | |
| } | |
| impl ::std::clone::Clone for Struct_dentry { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dentry { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed21 { | |
| pub _bindgen_data_: [u64; 2usize], | |
| } | |
| impl Union_Unnamed21 { | |
| pub unsafe fn d_alias(&mut self) -> *mut Struct_hlist_node { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn d_rcu(&mut self) -> *mut Struct_callback_head { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed21 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed21 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_dentry_d_lock_class { | |
| DENTRY_D_LOCK_NORMAL = 0, | |
| DENTRY_D_LOCK_NESTED = 1, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dentry_operations { | |
| pub d_revalidate: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int>, | |
| pub d_weak_revalidate: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| ::std::os::raw::c_uint) | |
| -> | |
| ::std::os::raw::c_int>, | |
| pub d_hash: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *const Struct_dentry, | |
| arg2: | |
| *mut Struct_qstr) | |
| -> ::std::os::raw::c_int>, | |
| pub d_compare: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *const Struct_dentry, | |
| arg2: | |
| *const Struct_dentry, | |
| arg3: | |
| ::std::os::raw::c_uint, | |
| arg4: | |
| *const ::std::os::raw::c_char, | |
| arg5: | |
| *const Struct_qstr) | |
| -> ::std::os::raw::c_int>, | |
| pub d_delete: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *const Struct_dentry) | |
| -> ::std::os::raw::c_int>, | |
| pub d_release: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry)>, | |
| pub d_prune: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry)>, | |
| pub d_iput: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| *mut Struct_inode)>, | |
| pub d_dname: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| *mut ::std::os::raw::c_char, | |
| arg3: | |
| ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_char>, | |
| pub d_automount: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_path) | |
| -> *mut Struct_vfsmount>, | |
| pub d_manage: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: _bool) | |
| -> ::std::os::raw::c_int>, | |
| pub d_select_inode: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| ::std::os::raw::c_uint) | |
| -> *mut Struct_inode>, | |
| } | |
| impl ::std::clone::Clone for Struct_dentry_operations { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dentry_operations { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_path { | |
| pub mnt: *mut Struct_vfsmount, | |
| pub dentry: *mut Struct_dentry, | |
| } | |
| impl ::std::clone::Clone for Struct_path { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_path { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_stat { | |
| pub st_dev: __kernel_ulong_t, | |
| pub st_ino: __kernel_ulong_t, | |
| pub st_nlink: __kernel_ulong_t, | |
| pub st_mode: ::std::os::raw::c_uint, | |
| pub st_uid: ::std::os::raw::c_uint, | |
| pub st_gid: ::std::os::raw::c_uint, | |
| pub __pad0: ::std::os::raw::c_uint, | |
| pub st_rdev: __kernel_ulong_t, | |
| pub st_size: __kernel_long_t, | |
| pub st_blksize: __kernel_long_t, | |
| pub st_blocks: __kernel_long_t, | |
| pub st_atime: __kernel_ulong_t, | |
| pub st_atime_nsec: __kernel_ulong_t, | |
| pub st_mtime: __kernel_ulong_t, | |
| pub st_mtime_nsec: __kernel_ulong_t, | |
| pub st_ctime: __kernel_ulong_t, | |
| pub st_ctime_nsec: __kernel_ulong_t, | |
| pub __unused: [__kernel_long_t; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_stat { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_stat { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct___old_kernel_stat { | |
| pub st_dev: ::std::os::raw::c_ushort, | |
| pub st_ino: ::std::os::raw::c_ushort, | |
| pub st_mode: ::std::os::raw::c_ushort, | |
| pub st_nlink: ::std::os::raw::c_ushort, | |
| pub st_uid: ::std::os::raw::c_ushort, | |
| pub st_gid: ::std::os::raw::c_ushort, | |
| pub st_rdev: ::std::os::raw::c_ushort, | |
| pub st_size: ::std::os::raw::c_uint, | |
| pub st_atime: ::std::os::raw::c_uint, | |
| pub st_mtime: ::std::os::raw::c_uint, | |
| pub st_ctime: ::std::os::raw::c_uint, | |
| } | |
| impl ::std::clone::Clone for Struct___old_kernel_stat { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct___old_kernel_stat { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_user_namespace { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed22 { | |
| pub val: uid_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed22 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed22 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type kuid_t = Struct_Unnamed22; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed23 { | |
| pub val: gid_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed23 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed23 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type kgid_t = Struct_Unnamed23; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kstat { | |
| pub ino: __u64, | |
| pub dev: dev_t, | |
| pub mode: umode_t, | |
| pub nlink: ::std::os::raw::c_uint, | |
| pub uid: kuid_t, | |
| pub gid: kgid_t, | |
| pub rdev: dev_t, | |
| pub size: loff_t, | |
| pub atime: Struct_timespec, | |
| pub mtime: Struct_timespec, | |
| pub ctime: Struct_timespec, | |
| pub blksize: ::std::os::raw::c_ulong, | |
| pub blocks: ::std::os::raw::c_ulonglong, | |
| } | |
| impl ::std::clone::Clone for Struct_kstat { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kstat { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed24 { | |
| pub bits: [::std::os::raw::c_ulong; 1usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed24 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed24 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type nodemask_t = Struct_Unnamed24; | |
| pub const N_HIGH_MEMORY: Enum_node_states = Enum_node_states::N_NORMAL_MEMORY; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_node_states { | |
| N_POSSIBLE = 0, | |
| N_ONLINE = 1, | |
| N_NORMAL_MEMORY = 2, | |
| N_MEMORY = 3, | |
| N_CPU = 4, | |
| NR_NODE_STATES = 5, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_nodemask_scratch { | |
| pub mask1: nodemask_t, | |
| pub mask2: nodemask_t, | |
| } | |
| impl ::std::clone::Clone for Struct_nodemask_scratch { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_nodemask_scratch { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_mem_cgroup { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_shrink_control { | |
| pub gfp_mask: gfp_t, | |
| pub nr_to_scan: ::std::os::raw::c_ulong, | |
| pub nid: ::std::os::raw::c_int, | |
| pub memcg: *mut Struct_mem_cgroup, | |
| } | |
| impl ::std::clone::Clone for Struct_shrink_control { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_shrink_control { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_shrinker { | |
| pub count_objects: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_shrinker, | |
| sc: | |
| *mut Struct_shrink_control) | |
| -> ::std::os::raw::c_ulong>, | |
| pub scan_objects: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_shrinker, | |
| sc: | |
| *mut Struct_shrink_control) | |
| -> ::std::os::raw::c_ulong>, | |
| pub seeks: ::std::os::raw::c_int, | |
| pub batch: ::std::os::raw::c_long, | |
| pub flags: ::std::os::raw::c_ulong, | |
| pub list: Struct_list_head, | |
| pub nr_deferred: *mut atomic_long_t, | |
| } | |
| impl ::std::clone::Clone for Struct_shrinker { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_shrinker { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_lru_status { | |
| LRU_REMOVED = 0, | |
| LRU_REMOVED_RETRY = 1, | |
| LRU_ROTATE = 2, | |
| LRU_SKIP = 3, | |
| LRU_RETRY = 4, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_list_lru_one { | |
| pub list: Struct_list_head, | |
| pub nr_items: ::std::os::raw::c_long, | |
| } | |
| impl ::std::clone::Clone for Struct_list_lru_one { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_list_lru_one { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_list_lru_memcg { | |
| pub lru: [*mut Struct_list_lru_one; 0usize], | |
| } | |
| impl ::std::clone::Clone for Struct_list_lru_memcg { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_list_lru_memcg { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_list_lru_node { | |
| pub lock: spinlock_t, | |
| pub lru: Struct_list_lru_one, | |
| pub memcg_lrus: *mut Struct_list_lru_memcg, | |
| } | |
| impl ::std::clone::Clone for Struct_list_lru_node { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_list_lru_node { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_list_lru { | |
| pub node: *mut Struct_list_lru_node, | |
| pub list: Struct_list_head, | |
| } | |
| impl ::std::clone::Clone for Struct_list_lru { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_list_lru { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type list_lru_walk_cb = | |
| ::std::option::Option<unsafe extern "C" fn(item: *mut Struct_list_head, | |
| list: *mut Struct_list_lru_one, | |
| lock: *mut spinlock_t, | |
| cb_arg: | |
| *mut ::std::os::raw::c_void) | |
| -> Enum_lru_status>; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_llist_head { | |
| pub first: *mut Struct_llist_node, | |
| } | |
| impl ::std::clone::Clone for Struct_llist_head { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_llist_head { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_llist_node { | |
| pub next: *mut Struct_llist_node, | |
| } | |
| impl ::std::clone::Clone for Struct_llist_node { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_llist_node { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_radix_tree_node { | |
| pub path: ::std::os::raw::c_uint, | |
| pub count: ::std::os::raw::c_uint, | |
| pub _bindgen_data_1_: [u64; 2usize], | |
| pub private_list: Struct_list_head, | |
| pub slots: [*mut ::std::os::raw::c_void; 64usize], | |
| pub tags: [[::std::os::raw::c_ulong; 1usize]; 3usize], | |
| } | |
| impl Struct_radix_tree_node { | |
| pub unsafe fn parent(&mut self) -> *mut *mut Struct_radix_tree_node { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn private_data(&mut self) | |
| -> *mut *mut ::std::os::raw::c_void { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| pub unsafe fn callback_head(&mut self) -> *mut Struct_callback_head { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_radix_tree_node { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_radix_tree_node { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_radix_tree_root { | |
| pub height: ::std::os::raw::c_uint, | |
| pub gfp_mask: gfp_t, | |
| pub rnode: *mut Struct_radix_tree_node, | |
| } | |
| impl ::std::clone::Clone for Struct_radix_tree_root { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_radix_tree_root { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_radix_tree_iter { | |
| pub index: ::std::os::raw::c_ulong, | |
| pub next_index: ::std::os::raw::c_ulong, | |
| pub tags: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_radix_tree_iter { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_radix_tree_iter { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_rb_node { | |
| pub __rb_parent_color: ::std::os::raw::c_ulong, | |
| pub rb_right: *mut Struct_rb_node, | |
| pub rb_left: *mut Struct_rb_node, | |
| } | |
| impl ::std::clone::Clone for Struct_rb_node { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_rb_node { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_rb_root { | |
| pub rb_node: *mut Struct_rb_node, | |
| } | |
| impl ::std::clone::Clone for Struct_rb_root { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_rb_root { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_pid_type { | |
| PIDTYPE_PID = 0, | |
| PIDTYPE_PGID = 1, | |
| PIDTYPE_SID = 2, | |
| PIDTYPE_MAX = 3, | |
| } | |
| pub enum Struct_pid_namespace { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_upid { | |
| pub nr: ::std::os::raw::c_int, | |
| pub ns: *mut Struct_pid_namespace, | |
| pub pid_chain: Struct_hlist_node, | |
| } | |
| impl ::std::clone::Clone for Struct_upid { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_upid { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pid { | |
| pub count: atomic_t, | |
| pub level: ::std::os::raw::c_uint, | |
| pub tasks: [Struct_hlist_head; 3usize], | |
| pub rcu: Struct_callback_head, | |
| pub numbers: [Struct_upid; 1usize], | |
| } | |
| impl ::std::clone::Clone for Struct_pid { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pid { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pid_link { | |
| pub node: Struct_hlist_node, | |
| pub pid: *mut Struct_pid, | |
| } | |
| impl ::std::clone::Clone for Struct_pid_link { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pid_link { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_optimistic_spin_node { | |
| pub next: *mut Struct_optimistic_spin_node, | |
| pub prev: *mut Struct_optimistic_spin_node, | |
| pub locked: ::std::os::raw::c_int, | |
| pub cpu: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_optimistic_spin_node { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_optimistic_spin_node { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_optimistic_spin_queue { | |
| pub tail: atomic_t, | |
| } | |
| impl ::std::clone::Clone for Struct_optimistic_spin_queue { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_optimistic_spin_queue { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mutex { | |
| pub count: atomic_t, | |
| pub wait_lock: spinlock_t, | |
| pub wait_list: Struct_list_head, | |
| pub owner: *mut Struct_task_struct, | |
| pub osq: Struct_optimistic_spin_queue, | |
| } | |
| impl ::std::clone::Clone for Struct_mutex { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mutex { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mutex_waiter { | |
| pub list: Struct_list_head, | |
| pub task: *mut Struct_task_struct, | |
| } | |
| impl ::std::clone::Clone for Struct_mutex_waiter { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mutex_waiter { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_rw_semaphore { | |
| pub count: ::std::os::raw::c_long, | |
| pub wait_list: Struct_list_head, | |
| pub wait_lock: raw_spinlock_t, | |
| pub osq: Struct_optimistic_spin_queue, | |
| pub owner: *mut Struct_task_struct, | |
| } | |
| impl ::std::clone::Clone for Struct_rw_semaphore { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_rw_semaphore { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct___user_cap_header_struct { | |
| pub version: __u32, | |
| pub pid: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct___user_cap_header_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct___user_cap_header_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type cap_user_header_t = *mut Struct___user_cap_header_struct; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct___user_cap_data_struct { | |
| pub effective: __u32, | |
| pub permitted: __u32, | |
| pub inheritable: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct___user_cap_data_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct___user_cap_data_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type cap_user_data_t = *mut Struct___user_cap_data_struct; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_vfs_cap_data { | |
| pub magic_etc: __le32, | |
| pub data: [Struct_Unnamed25; 2usize], | |
| } | |
| impl ::std::clone::Clone for Struct_vfs_cap_data { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_vfs_cap_data { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed25 { | |
| pub permitted: __le32, | |
| pub inheritable: __le32, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed25 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed25 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kernel_cap_struct { | |
| pub cap: [__u32; 2usize], | |
| } | |
| impl ::std::clone::Clone for Struct_kernel_cap_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kernel_cap_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type kernel_cap_t = Struct_kernel_cap_struct; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_cpu_vfs_cap_data { | |
| pub magic_etc: __u32, | |
| pub permitted: kernel_cap_t, | |
| pub inheritable: kernel_cap_t, | |
| } | |
| impl ::std::clone::Clone for Struct_cpu_vfs_cap_data { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_cpu_vfs_cap_data { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_semaphore { | |
| pub lock: raw_spinlock_t, | |
| pub count: ::std::os::raw::c_uint, | |
| pub wait_list: Struct_list_head, | |
| } | |
| impl ::std::clone::Clone for Struct_semaphore { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_semaphore { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fiemap_extent { | |
| pub fe_logical: __u64, | |
| pub fe_physical: __u64, | |
| pub fe_length: __u64, | |
| pub fe_reserved64: [__u64; 2usize], | |
| pub fe_flags: __u32, | |
| pub fe_reserved: [__u32; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_fiemap_extent { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fiemap_extent { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fiemap { | |
| pub fm_start: __u64, | |
| pub fm_length: __u64, | |
| pub fm_flags: __u32, | |
| pub fm_mapped_extents: __u32, | |
| pub fm_extent_count: __u32, | |
| pub fm_reserved: __u32, | |
| pub fm_extents: [Struct_fiemap_extent; 0usize], | |
| } | |
| impl ::std::clone::Clone for Struct_fiemap { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fiemap { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_migrate_mode { | |
| MIGRATE_ASYNC = 0, | |
| MIGRATE_SYNC_LIGHT = 1, | |
| MIGRATE_SYNC = 2, | |
| } | |
| pub type smp_call_func_t = | |
| ::std::option::Option<unsafe extern "C" fn(info: | |
| *mut ::std::os::raw::c_void)>; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_call_single_data { | |
| pub llist: Struct_llist_node, | |
| pub func: smp_call_func_t, | |
| pub info: *mut ::std::os::raw::c_void, | |
| pub flags: ::std::os::raw::c_uint, | |
| } | |
| impl ::std::clone::Clone for Struct_call_single_data { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_call_single_data { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mpf_intel { | |
| pub signature: [::std::os::raw::c_char; 4usize], | |
| pub physptr: ::std::os::raw::c_uint, | |
| pub length: ::std::os::raw::c_uchar, | |
| pub specification: ::std::os::raw::c_uchar, | |
| pub checksum: ::std::os::raw::c_uchar, | |
| pub feature1: ::std::os::raw::c_uchar, | |
| pub feature2: ::std::os::raw::c_uchar, | |
| pub feature3: ::std::os::raw::c_uchar, | |
| pub feature4: ::std::os::raw::c_uchar, | |
| pub feature5: ::std::os::raw::c_uchar, | |
| } | |
| impl ::std::clone::Clone for Struct_mpf_intel { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mpf_intel { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mpc_table { | |
| pub signature: [::std::os::raw::c_char; 4usize], | |
| pub length: ::std::os::raw::c_ushort, | |
| pub spec: ::std::os::raw::c_char, | |
| pub checksum: ::std::os::raw::c_char, | |
| pub oem: [::std::os::raw::c_char; 8usize], | |
| pub productid: [::std::os::raw::c_char; 12usize], | |
| pub oemptr: ::std::os::raw::c_uint, | |
| pub oemsize: ::std::os::raw::c_ushort, | |
| pub oemcount: ::std::os::raw::c_ushort, | |
| pub lapic: ::std::os::raw::c_uint, | |
| pub reserved: ::std::os::raw::c_uint, | |
| } | |
| impl ::std::clone::Clone for Struct_mpc_table { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mpc_table { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mpc_cpu { | |
| pub _type: ::std::os::raw::c_uchar, | |
| pub apicid: ::std::os::raw::c_uchar, | |
| pub apicver: ::std::os::raw::c_uchar, | |
| pub cpuflag: ::std::os::raw::c_uchar, | |
| pub cpufeature: ::std::os::raw::c_uint, | |
| pub featureflag: ::std::os::raw::c_uint, | |
| pub reserved: [::std::os::raw::c_uint; 2usize], | |
| } | |
| impl ::std::clone::Clone for Struct_mpc_cpu { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mpc_cpu { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mpc_bus { | |
| pub _type: ::std::os::raw::c_uchar, | |
| pub busid: ::std::os::raw::c_uchar, | |
| pub bustype: [::std::os::raw::c_uchar; 6usize], | |
| } | |
| impl ::std::clone::Clone for Struct_mpc_bus { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mpc_bus { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mpc_ioapic { | |
| pub _type: ::std::os::raw::c_uchar, | |
| pub apicid: ::std::os::raw::c_uchar, | |
| pub apicver: ::std::os::raw::c_uchar, | |
| pub flags: ::std::os::raw::c_uchar, | |
| pub apicaddr: ::std::os::raw::c_uint, | |
| } | |
| impl ::std::clone::Clone for Struct_mpc_ioapic { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mpc_ioapic { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mpc_intsrc { | |
| pub _type: ::std::os::raw::c_uchar, | |
| pub irqtype: ::std::os::raw::c_uchar, | |
| pub irqflag: ::std::os::raw::c_ushort, | |
| pub srcbus: ::std::os::raw::c_uchar, | |
| pub srcbusirq: ::std::os::raw::c_uchar, | |
| pub dstapic: ::std::os::raw::c_uchar, | |
| pub dstirq: ::std::os::raw::c_uchar, | |
| } | |
| impl ::std::clone::Clone for Struct_mpc_intsrc { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mpc_intsrc { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_mp_irq_source_types { | |
| mp_INT = 0, | |
| mp_NMI = 1, | |
| mp_SMI = 2, | |
| mp_ExtINT = 3, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mpc_lintsrc { | |
| pub _type: ::std::os::raw::c_uchar, | |
| pub irqtype: ::std::os::raw::c_uchar, | |
| pub irqflag: ::std::os::raw::c_ushort, | |
| pub srcbusid: ::std::os::raw::c_uchar, | |
| pub srcbusirq: ::std::os::raw::c_uchar, | |
| pub destapic: ::std::os::raw::c_uchar, | |
| pub destapiclint: ::std::os::raw::c_uchar, | |
| } | |
| impl ::std::clone::Clone for Struct_mpc_lintsrc { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mpc_lintsrc { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mpc_oemtable { | |
| pub signature: [::std::os::raw::c_char; 4usize], | |
| pub length: ::std::os::raw::c_ushort, | |
| pub rev: ::std::os::raw::c_char, | |
| pub checksum: ::std::os::raw::c_char, | |
| pub mpc: [::std::os::raw::c_char; 8usize], | |
| } | |
| impl ::std::clone::Clone for Struct_mpc_oemtable { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mpc_oemtable { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_mp_bustype { MP_BUS_ISA = 1, MP_BUS_EISA = 2, MP_BUS_PCI = 3, } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_screen_info { | |
| pub orig_x: __u8, | |
| pub orig_y: __u8, | |
| pub ext_mem_k: __u16, | |
| pub orig_video_page: __u16, | |
| pub orig_video_mode: __u8, | |
| pub orig_video_cols: __u8, | |
| pub flags: __u8, | |
| pub unused2: __u8, | |
| pub orig_video_ega_bx: __u16, | |
| pub unused3: __u16, | |
| pub orig_video_lines: __u8, | |
| pub orig_video_isVGA: __u8, | |
| pub orig_video_points: __u16, | |
| pub lfb_width: __u16, | |
| pub lfb_height: __u16, | |
| pub lfb_depth: __u16, | |
| pub lfb_base: __u32, | |
| pub lfb_size: __u32, | |
| pub cl_magic: __u16, | |
| pub cl_offset: __u16, | |
| pub lfb_linelength: __u16, | |
| pub red_size: __u8, | |
| pub red_pos: __u8, | |
| pub green_size: __u8, | |
| pub green_pos: __u8, | |
| pub blue_size: __u8, | |
| pub blue_pos: __u8, | |
| pub rsvd_size: __u8, | |
| pub rsvd_pos: __u8, | |
| pub vesapm_seg: __u16, | |
| pub vesapm_off: __u16, | |
| pub pages: __u16, | |
| pub vesa_attributes: __u16, | |
| pub capabilities: __u32, | |
| pub ext_lfb_base: __u32, | |
| pub _reserved: [__u8; 2usize], | |
| } | |
| impl ::std::clone::Clone for Struct_screen_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_screen_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type apm_event_t = ::std::os::raw::c_ushort; | |
| pub type apm_eventinfo_t = ::std::os::raw::c_ushort; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_apm_bios_info { | |
| pub version: __u16, | |
| pub cseg: __u16, | |
| pub offset: __u32, | |
| pub cseg_16: __u16, | |
| pub dseg: __u16, | |
| pub flags: __u16, | |
| pub cseg_len: __u16, | |
| pub cseg_16_len: __u16, | |
| pub dseg_len: __u16, | |
| } | |
| impl ::std::clone::Clone for Struct_apm_bios_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_apm_bios_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_apm_info { | |
| pub bios: Struct_apm_bios_info, | |
| pub connection_version: ::std::os::raw::c_ushort, | |
| pub get_power_status_broken: ::std::os::raw::c_int, | |
| pub get_power_status_swabinminutes: ::std::os::raw::c_int, | |
| pub allow_ints: ::std::os::raw::c_int, | |
| pub forbid_idle: ::std::os::raw::c_int, | |
| pub realmode_power_off: ::std::os::raw::c_int, | |
| pub disabled: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_apm_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_apm_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_edd_device_params { | |
| pub length: __u16, | |
| pub info_flags: __u16, | |
| pub num_default_cylinders: __u32, | |
| pub num_default_heads: __u32, | |
| pub sectors_per_track: __u32, | |
| pub number_of_sectors: __u64, | |
| pub bytes_per_sector: __u16, | |
| pub dpte_ptr: __u32, | |
| pub key: __u16, | |
| pub device_path_info_length: __u8, | |
| pub reserved2: __u8, | |
| pub reserved3: __u16, | |
| pub host_bus_type: [__u8; 4usize], | |
| pub interface_type: [__u8; 8usize], | |
| pub interface_path: Union_Unnamed26, | |
| pub device_path: Union_Unnamed33, | |
| pub reserved4: __u8, | |
| pub checksum: __u8, | |
| } | |
| impl ::std::clone::Clone for Struct_edd_device_params { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_edd_device_params { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed26 { | |
| pub _bindgen_data_: [u8; 8usize], | |
| } | |
| impl Union_Unnamed26 { | |
| pub unsafe fn isa(&mut self) -> *mut Struct_Unnamed27 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn pci(&mut self) -> *mut Struct_Unnamed28 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn ibnd(&mut self) -> *mut Struct_Unnamed29 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn xprs(&mut self) -> *mut Struct_Unnamed30 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn htpt(&mut self) -> *mut Struct_Unnamed31 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn unknown(&mut self) -> *mut Struct_Unnamed32 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed26 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed26 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed27 { | |
| pub base_address: __u16, | |
| pub reserved1: __u16, | |
| pub reserved2: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed27 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed27 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed28 { | |
| pub bus: __u8, | |
| pub slot: __u8, | |
| pub function: __u8, | |
| pub channel: __u8, | |
| pub reserved: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed28 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed28 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed29 { | |
| pub reserved: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed29 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed29 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed30 { | |
| pub reserved: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed30 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed30 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed31 { | |
| pub reserved: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed31 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed31 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed32 { | |
| pub reserved: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed32 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed32 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed33 { | |
| pub _bindgen_data_: [u8; 16usize], | |
| } | |
| impl Union_Unnamed33 { | |
| pub unsafe fn ata(&mut self) -> *mut Struct_Unnamed34 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn atapi(&mut self) -> *mut Struct_Unnamed35 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn scsi(&mut self) -> *mut Struct_Unnamed36 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn usb(&mut self) -> *mut Struct_Unnamed37 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn i1394(&mut self) -> *mut Struct_Unnamed38 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn fibre(&mut self) -> *mut Struct_Unnamed39 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn i2o(&mut self) -> *mut Struct_Unnamed40 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn raid(&mut self) -> *mut Struct_Unnamed41 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn sata(&mut self) -> *mut Struct_Unnamed42 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn unknown(&mut self) -> *mut Struct_Unnamed43 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed33 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed33 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed34 { | |
| pub device: __u8, | |
| pub reserved1: __u8, | |
| pub reserved2: __u16, | |
| pub reserved3: __u32, | |
| pub reserved4: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed34 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed34 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed35 { | |
| pub device: __u8, | |
| pub lun: __u8, | |
| pub reserved1: __u8, | |
| pub reserved2: __u8, | |
| pub reserved3: __u32, | |
| pub reserved4: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed35 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed35 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed36 { | |
| pub id: __u16, | |
| pub lun: __u64, | |
| pub reserved1: __u16, | |
| pub reserved2: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed36 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed36 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed37 { | |
| pub serial_number: __u64, | |
| pub reserved: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed37 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed37 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed38 { | |
| pub eui: __u64, | |
| pub reserved: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed38 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed38 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed39 { | |
| pub wwid: __u64, | |
| pub lun: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed39 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed39 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed40 { | |
| pub identity_tag: __u64, | |
| pub reserved: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed40 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed40 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed41 { | |
| pub array_number: __u32, | |
| pub reserved1: __u32, | |
| pub reserved2: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed41 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed41 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed42 { | |
| pub device: __u8, | |
| pub reserved1: __u8, | |
| pub reserved2: __u16, | |
| pub reserved3: __u32, | |
| pub reserved4: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed42 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed42 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed43 { | |
| pub reserved1: __u64, | |
| pub reserved2: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed43 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed43 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_edd_info { | |
| pub device: __u8, | |
| pub version: __u8, | |
| pub interface_support: __u16, | |
| pub legacy_max_cylinder: __u16, | |
| pub legacy_max_head: __u8, | |
| pub legacy_sectors_per_track: __u8, | |
| pub params: Struct_edd_device_params, | |
| } | |
| impl ::std::clone::Clone for Struct_edd_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_edd_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_edd { | |
| pub mbr_signature: [::std::os::raw::c_uint; 16usize], | |
| pub edd_info: [Struct_edd_info; 6usize], | |
| pub mbr_signature_nr: ::std::os::raw::c_uchar, | |
| pub edd_info_nr: ::std::os::raw::c_uchar, | |
| } | |
| impl ::std::clone::Clone for Struct_edd { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_edd { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_e820entry { | |
| pub addr: __u64, | |
| pub size: __u64, | |
| pub _type: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_e820entry { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_e820entry { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_e820map { | |
| pub nr_map: __u32, | |
| pub map: [Struct_e820entry; 320usize], | |
| } | |
| impl ::std::clone::Clone for Struct_e820map { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_e820map { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_resource { | |
| pub start: resource_size_t, | |
| pub end: resource_size_t, | |
| pub name: *const ::std::os::raw::c_char, | |
| pub flags: ::std::os::raw::c_ulong, | |
| pub parent: *mut Struct_resource, | |
| pub sibling: *mut Struct_resource, | |
| pub child: *mut Struct_resource, | |
| } | |
| impl ::std::clone::Clone for Struct_resource { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_resource { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ist_info { | |
| pub signature: __u32, | |
| pub command: __u32, | |
| pub event: __u32, | |
| pub perf_level: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_ist_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ist_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_edid_info { | |
| pub dummy: [::std::os::raw::c_uchar; 128usize], | |
| } | |
| impl ::std::clone::Clone for Struct_edid_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_edid_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_setup_data { | |
| pub next: __u64, | |
| pub _type: __u32, | |
| pub len: __u32, | |
| pub data: [__u8; 0usize], | |
| } | |
| impl ::std::clone::Clone for Struct_setup_data { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_setup_data { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_setup_header { | |
| pub setup_sects: __u8, | |
| pub root_flags: __u16, | |
| pub syssize: __u32, | |
| pub ram_size: __u16, | |
| pub vid_mode: __u16, | |
| pub root_dev: __u16, | |
| pub boot_flag: __u16, | |
| pub jump: __u16, | |
| pub header: __u32, | |
| pub version: __u16, | |
| pub realmode_swtch: __u32, | |
| pub start_sys: __u16, | |
| pub kernel_version: __u16, | |
| pub type_of_loader: __u8, | |
| pub loadflags: __u8, | |
| pub setup_move_size: __u16, | |
| pub code32_start: __u32, | |
| pub ramdisk_image: __u32, | |
| pub ramdisk_size: __u32, | |
| pub bootsect_kludge: __u32, | |
| pub heap_end_ptr: __u16, | |
| pub ext_loader_ver: __u8, | |
| pub ext_loader_type: __u8, | |
| pub cmd_line_ptr: __u32, | |
| pub initrd_addr_max: __u32, | |
| pub kernel_alignment: __u32, | |
| pub relocatable_kernel: __u8, | |
| pub min_alignment: __u8, | |
| pub xloadflags: __u16, | |
| pub cmdline_size: __u32, | |
| pub hardware_subarch: __u32, | |
| pub hardware_subarch_data: __u64, | |
| pub payload_offset: __u32, | |
| pub payload_length: __u32, | |
| pub setup_data: __u64, | |
| pub pref_address: __u64, | |
| pub init_size: __u32, | |
| pub handover_offset: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_setup_header { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_setup_header { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_sys_desc_table { | |
| pub length: __u16, | |
| pub table: [__u8; 14usize], | |
| } | |
| impl ::std::clone::Clone for Struct_sys_desc_table { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_sys_desc_table { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_olpc_ofw_header { | |
| pub ofw_magic: __u32, | |
| pub ofw_version: __u32, | |
| pub cif_handler: __u32, | |
| pub irq_desc_table: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_olpc_ofw_header { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_olpc_ofw_header { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_efi_info { | |
| pub efi_loader_signature: __u32, | |
| pub efi_systab: __u32, | |
| pub efi_memdesc_size: __u32, | |
| pub efi_memdesc_version: __u32, | |
| pub efi_memmap: __u32, | |
| pub efi_memmap_size: __u32, | |
| pub efi_systab_hi: __u32, | |
| pub efi_memmap_hi: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_efi_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_efi_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_boot_params { | |
| pub screen_info: Struct_screen_info, | |
| pub apm_bios_info: Struct_apm_bios_info, | |
| pub _pad2: [__u8; 4usize], | |
| pub tboot_addr: __u64, | |
| pub ist_info: Struct_ist_info, | |
| pub _pad3: [__u8; 16usize], | |
| pub hd0_info: [__u8; 16usize], | |
| pub hd1_info: [__u8; 16usize], | |
| pub sys_desc_table: Struct_sys_desc_table, | |
| pub olpc_ofw_header: Struct_olpc_ofw_header, | |
| pub ext_ramdisk_image: __u32, | |
| pub ext_ramdisk_size: __u32, | |
| pub ext_cmd_line_ptr: __u32, | |
| pub _pad4: [__u8; 116usize], | |
| pub edid_info: Struct_edid_info, | |
| pub efi_info: Struct_efi_info, | |
| pub alt_mem_k: __u32, | |
| pub scratch: __u32, | |
| pub e820_entries: __u8, | |
| pub eddbuf_entries: __u8, | |
| pub edd_mbr_sig_buf_entries: __u8, | |
| pub kbd_status: __u8, | |
| pub _pad5: [__u8; 3usize], | |
| pub sentinel: __u8, | |
| pub _pad6: [__u8; 1usize], | |
| pub hdr: Struct_setup_header, | |
| pub _pad7: [__u8; 40usize], | |
| pub edd_mbr_sig_buffer: [__u32; 16usize], | |
| pub e820_map: [Struct_e820entry; 128usize], | |
| pub _pad8: [__u8; 48usize], | |
| pub eddbuf: [Struct_edd_info; 6usize], | |
| pub _pad9: [__u8; 276usize], | |
| } | |
| impl ::std::clone::Clone for Struct_boot_params { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_boot_params { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed44 { | |
| X86_SUBARCH_PC = 0, | |
| X86_SUBARCH_LGUEST = 1, | |
| X86_SUBARCH_XEN = 2, | |
| X86_SUBARCH_INTEL_MID = 3, | |
| X86_SUBARCH_CE4100 = 4, | |
| X86_NR_SUBARCHS = 5, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_init_mpparse { | |
| pub mpc_record: ::std::option::Option<extern "C" fn(mode: | |
| ::std::os::raw::c_uint)>, | |
| pub setup_ioapic_ids: ::std::option::Option<extern "C" fn()>, | |
| pub mpc_apic_id: ::std::option::Option<unsafe extern "C" fn(m: | |
| *mut Struct_mpc_cpu) | |
| -> ::std::os::raw::c_int>, | |
| pub smp_read_mpc_oem: ::std::option::Option<unsafe extern "C" fn(mpc: | |
| *mut Struct_mpc_table)>, | |
| pub mpc_oem_pci_bus: ::std::option::Option<unsafe extern "C" fn(m: | |
| *mut Struct_mpc_bus)>, | |
| pub mpc_oem_bus_info: ::std::option::Option<unsafe extern "C" fn(m: | |
| *mut Struct_mpc_bus, | |
| name: | |
| *mut ::std::os::raw::c_char)>, | |
| pub find_smp_config: ::std::option::Option<extern "C" fn()>, | |
| pub get_smp_config: ::std::option::Option<extern "C" fn(early: | |
| ::std::os::raw::c_uint)>, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_init_mpparse { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_init_mpparse { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_init_resources { | |
| pub probe_roms: ::std::option::Option<extern "C" fn()>, | |
| pub reserve_resources: ::std::option::Option<extern "C" fn()>, | |
| pub memory_setup: ::std::option::Option<extern "C" fn() | |
| -> | |
| *mut ::std::os::raw::c_char>, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_init_resources { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_init_resources { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_init_irqs { | |
| pub pre_vector_init: ::std::option::Option<extern "C" fn()>, | |
| pub intr_init: ::std::option::Option<extern "C" fn()>, | |
| pub trap_init: ::std::option::Option<extern "C" fn()>, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_init_irqs { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_init_irqs { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_init_oem { | |
| pub arch_setup: ::std::option::Option<extern "C" fn()>, | |
| pub banner: ::std::option::Option<extern "C" fn()>, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_init_oem { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_init_oem { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_init_paging { | |
| pub pagetable_init: ::std::option::Option<extern "C" fn()>, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_init_paging { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_init_paging { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_init_timers { | |
| pub setup_percpu_clockev: ::std::option::Option<extern "C" fn()>, | |
| pub tsc_pre_init: ::std::option::Option<extern "C" fn()>, | |
| pub timer_init: ::std::option::Option<extern "C" fn()>, | |
| pub wallclock_init: ::std::option::Option<extern "C" fn()>, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_init_timers { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_init_timers { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_init_iommu { | |
| pub iommu_init: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_init_iommu { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_init_iommu { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_init_pci { | |
| pub arch_init: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_int>, | |
| pub init: ::std::option::Option<extern "C" fn() -> ::std::os::raw::c_int>, | |
| pub init_irq: ::std::option::Option<extern "C" fn()>, | |
| pub fixup_irqs: ::std::option::Option<extern "C" fn()>, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_init_pci { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_init_pci { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_init_ops { | |
| pub resources: Struct_x86_init_resources, | |
| pub mpparse: Struct_x86_init_mpparse, | |
| pub irqs: Struct_x86_init_irqs, | |
| pub oem: Struct_x86_init_oem, | |
| pub paging: Struct_x86_init_paging, | |
| pub timers: Struct_x86_init_timers, | |
| pub iommu: Struct_x86_init_iommu, | |
| pub pci: Struct_x86_init_pci, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_init_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_init_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_cpuinit_ops { | |
| pub setup_percpu_clockev: ::std::option::Option<extern "C" fn()>, | |
| pub early_percpu_clock_init: ::std::option::Option<extern "C" fn()>, | |
| pub fixup_cpu_id: ::std::option::Option<unsafe extern "C" fn(c: | |
| *mut Struct_cpuinfo_x86, | |
| node: | |
| ::std::os::raw::c_int)>, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_cpuinit_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_cpuinit_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_platform_ops { | |
| pub calibrate_tsc: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_ulong>, | |
| pub get_wallclock: ::std::option::Option<unsafe extern "C" fn(ts: | |
| *mut Struct_timespec)>, | |
| pub set_wallclock: ::std::option::Option<unsafe extern "C" fn(ts: | |
| *const Struct_timespec) | |
| -> ::std::os::raw::c_int>, | |
| pub iommu_shutdown: ::std::option::Option<extern "C" fn()>, | |
| pub is_untracked_pat_range: ::std::option::Option<extern "C" fn(start: | |
| __u64, | |
| end: | |
| __u64) | |
| -> _bool>, | |
| pub nmi_init: ::std::option::Option<extern "C" fn()>, | |
| pub get_nmi_reason: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_uchar>, | |
| pub i8042_detect: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_int>, | |
| pub save_sched_clock_state: ::std::option::Option<extern "C" fn()>, | |
| pub restore_sched_clock_state: ::std::option::Option<extern "C" fn()>, | |
| pub apic_post_init: ::std::option::Option<extern "C" fn()>, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_platform_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_platform_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_pci_dev { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_msi_ops { | |
| pub setup_msi_irqs: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_pci_dev, | |
| nvec: | |
| ::std::os::raw::c_int, | |
| _type: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub teardown_msi_irq: ::std::option::Option<extern "C" fn(irq: | |
| ::std::os::raw::c_uint)>, | |
| pub teardown_msi_irqs: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_pci_dev)>, | |
| pub restore_msi_irqs: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_pci_dev)>, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_msi_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_msi_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_x86_io_apic_ops { | |
| pub read: ::std::option::Option<extern "C" fn(apic: | |
| ::std::os::raw::c_uint, | |
| reg: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint>, | |
| pub disable: ::std::option::Option<extern "C" fn()>, | |
| } | |
| impl ::std::clone::Clone for Struct_x86_io_apic_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_x86_io_apic_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_local_apic { | |
| pub __reserved_01: Struct_Unnamed45, | |
| pub __reserved_02: Struct_Unnamed46, | |
| pub id: Struct_Unnamed47, | |
| pub version: Struct_Unnamed48, | |
| pub __reserved_03: Struct_Unnamed49, | |
| pub __reserved_04: Struct_Unnamed50, | |
| pub __reserved_05: Struct_Unnamed51, | |
| pub __reserved_06: Struct_Unnamed52, | |
| pub tpr: Struct_Unnamed53, | |
| pub apr: Struct_Unnamed54, | |
| pub ppr: Struct_Unnamed55, | |
| pub eoi: Struct_Unnamed56, | |
| pub __reserved_07: Struct_Unnamed57, | |
| pub ldr: Struct_Unnamed58, | |
| pub dfr: Struct_Unnamed59, | |
| pub svr: Struct_Unnamed60, | |
| pub isr: [Struct_Unnamed61; 8usize], | |
| pub tmr: [Struct_Unnamed62; 8usize], | |
| pub irr: [Struct_Unnamed63; 8usize], | |
| pub esr: Union_Unnamed64, | |
| pub __reserved_08: Struct_Unnamed67, | |
| pub __reserved_09: Struct_Unnamed68, | |
| pub __reserved_10: Struct_Unnamed69, | |
| pub __reserved_11: Struct_Unnamed70, | |
| pub __reserved_12: Struct_Unnamed71, | |
| pub __reserved_13: Struct_Unnamed72, | |
| pub __reserved_14: Struct_Unnamed73, | |
| pub icr1: Struct_Unnamed74, | |
| pub icr2: Struct_Unnamed75, | |
| pub lvt_timer: Struct_Unnamed77, | |
| pub lvt_thermal: Struct_Unnamed78, | |
| pub lvt_pc: Struct_Unnamed79, | |
| pub lvt_lint0: Struct_Unnamed80, | |
| pub lvt_lint1: Struct_Unnamed81, | |
| pub lvt_error: Struct_Unnamed82, | |
| pub timer_icr: Struct_Unnamed83, | |
| pub timer_ccr: Struct_Unnamed84, | |
| pub __reserved_16: Struct_Unnamed85, | |
| pub __reserved_17: Struct_Unnamed86, | |
| pub __reserved_18: Struct_Unnamed87, | |
| pub __reserved_19: Struct_Unnamed88, | |
| pub timer_dcr: Struct_Unnamed89, | |
| pub __reserved_20: Struct_Unnamed90, | |
| } | |
| impl ::std::clone::Clone for Struct_local_apic { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_local_apic { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed45 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed45 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed45 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed46 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed46 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed46 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed47 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed47 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed47 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed48 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed48 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed48 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed49 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed49 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed49 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed50 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed50 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed50 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed51 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed51 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed51 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed52 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed52 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed52 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed53 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_2: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed53 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed53 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed54 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_2: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed54 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed54 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed55 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_2: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed55 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed55 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed56 { | |
| pub eoi: ::std::os::raw::c_uint, | |
| pub __reserved: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed56 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed56 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed57 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed57 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed57 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed58 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_2: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed58 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed58 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed59 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_2: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed59 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed59 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed60 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_3: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed60 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed60 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed61 { | |
| pub bitfield: ::std::os::raw::c_uint, | |
| pub __reserved: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed61 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed61 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed62 { | |
| pub bitfield: ::std::os::raw::c_uint, | |
| pub __reserved: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed62 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed62 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed63 { | |
| pub bitfield: ::std::os::raw::c_uint, | |
| pub __reserved: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed63 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed63 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed64 { | |
| pub _bindgen_data_: [u32; 4usize], | |
| } | |
| impl Union_Unnamed64 { | |
| pub unsafe fn error_bits(&mut self) -> *mut Struct_Unnamed65 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn all_errors(&mut self) -> *mut Struct_Unnamed66 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed64 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed64 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed65 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_3: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed65 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed65 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed66 { | |
| pub errors: ::std::os::raw::c_uint, | |
| pub __reserved_3: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed66 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed66 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed67 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed67 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed67 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed68 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed68 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed68 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed69 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed69 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed69 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed70 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed70 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed70 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed71 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed71 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed71 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed72 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed72 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed72 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed73 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed73 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed73 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed74 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_4: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed74 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed74 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed75 { | |
| pub dest: Union_Unnamed76, | |
| pub __reserved_4: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed75 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed75 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed76 { | |
| pub _bindgen_data_: [u32; 1usize], | |
| } | |
| impl Union_Unnamed76 { } | |
| impl ::std::clone::Clone for Union_Unnamed76 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed76 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed77 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_4: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed77 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed77 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed78 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_4: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed78 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed78 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed79 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_4: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed79 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed79 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed80 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_3: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed80 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed80 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed81 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_3: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed81 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed81 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed82 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_4: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed82 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed82 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed83 { | |
| pub initial_count: ::std::os::raw::c_uint, | |
| pub __reserved_2: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed83 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed83 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed84 { | |
| pub curr_count: ::std::os::raw::c_uint, | |
| pub __reserved_2: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed84 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed84 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed85 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed85 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed85 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed86 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed86 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed86 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed87 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed87 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed87 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed88 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed88 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed88 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed89 { | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub __reserved_2: [::std::os::raw::c_uint; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed89 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed89 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed90 { | |
| pub __reserved: [::std::os::raw::c_uint; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed90 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed90 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_ioapic_irq_destination_types { | |
| dest_Fixed = 0, | |
| dest_LowestPrio = 1, | |
| dest_SMI = 2, | |
| dest__reserved_1 = 3, | |
| dest_NMI = 4, | |
| dest_INIT = 5, | |
| dest__reserved_2 = 6, | |
| dest_ExtINT = 7, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_physid_mask { | |
| pub mask: [::std::os::raw::c_ulong; 512usize], | |
| } | |
| impl ::std::clone::Clone for Struct_physid_mask { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_physid_mask { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type physid_mask_t = Struct_physid_mask; | |
| pub enum Struct_tvec_base { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_timer_list { | |
| pub entry: Struct_hlist_node, | |
| pub expires: ::std::os::raw::c_ulong, | |
| pub function: ::std::option::Option<extern "C" fn(arg1: | |
| ::std::os::raw::c_ulong)>, | |
| pub data: ::std::os::raw::c_ulong, | |
| pub flags: _u32, | |
| pub slack: ::std::os::raw::c_int, | |
| pub start_pid: ::std::os::raw::c_int, | |
| pub start_site: *mut ::std::os::raw::c_void, | |
| pub start_comm: [::std::os::raw::c_char; 16usize], | |
| } | |
| impl ::std::clone::Clone for Struct_timer_list { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_timer_list { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct___sysctl_args { | |
| pub name: *mut ::std::os::raw::c_int, | |
| pub nlen: ::std::os::raw::c_int, | |
| pub oldval: *mut ::std::os::raw::c_void, | |
| pub oldlenp: *mut size_t, | |
| pub newval: *mut ::std::os::raw::c_void, | |
| pub newlen: size_t, | |
| pub __unused: [::std::os::raw::c_ulong; 4usize], | |
| } | |
| impl ::std::clone::Clone for Struct___sysctl_args { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct___sysctl_args { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed91 { | |
| CTL_KERN = 1, | |
| CTL_VM = 2, | |
| CTL_NET = 3, | |
| CTL_PROC = 4, | |
| CTL_FS = 5, | |
| CTL_DEBUG = 6, | |
| CTL_DEV = 7, | |
| CTL_BUS = 8, | |
| CTL_ABI = 9, | |
| CTL_CPU = 10, | |
| CTL_ARLAN = 254, | |
| CTL_S390DBF = 5677, | |
| CTL_SUNRPC = 7249, | |
| CTL_PM = 9899, | |
| CTL_FRV = 9898, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed92 { CTL_BUS_ISA = 1, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed93 { | |
| INOTIFY_MAX_USER_INSTANCES = 1, | |
| INOTIFY_MAX_USER_WATCHES = 2, | |
| INOTIFY_MAX_QUEUED_EVENTS = 3, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed94 { | |
| KERN_OSTYPE = 1, | |
| KERN_OSRELEASE = 2, | |
| KERN_OSREV = 3, | |
| KERN_VERSION = 4, | |
| KERN_SECUREMASK = 5, | |
| KERN_PROF = 6, | |
| KERN_NODENAME = 7, | |
| KERN_DOMAINNAME = 8, | |
| KERN_PANIC = 15, | |
| KERN_REALROOTDEV = 16, | |
| KERN_SPARC_REBOOT = 21, | |
| KERN_CTLALTDEL = 22, | |
| KERN_PRINTK = 23, | |
| KERN_NAMETRANS = 24, | |
| KERN_PPC_HTABRECLAIM = 25, | |
| KERN_PPC_ZEROPAGED = 26, | |
| KERN_PPC_POWERSAVE_NAP = 27, | |
| KERN_MODPROBE = 28, | |
| KERN_SG_BIG_BUFF = 29, | |
| KERN_ACCT = 30, | |
| KERN_PPC_L2CR = 31, | |
| KERN_RTSIGNR = 32, | |
| KERN_RTSIGMAX = 33, | |
| KERN_SHMMAX = 34, | |
| KERN_MSGMAX = 35, | |
| KERN_MSGMNB = 36, | |
| KERN_MSGPOOL = 37, | |
| KERN_SYSRQ = 38, | |
| KERN_MAX_THREADS = 39, | |
| KERN_RANDOM = 40, | |
| KERN_SHMALL = 41, | |
| KERN_MSGMNI = 42, | |
| KERN_SEM = 43, | |
| KERN_SPARC_STOP_A = 44, | |
| KERN_SHMMNI = 45, | |
| KERN_OVERFLOWUID = 46, | |
| KERN_OVERFLOWGID = 47, | |
| KERN_SHMPATH = 48, | |
| KERN_HOTPLUG = 49, | |
| KERN_IEEE_EMULATION_WARNINGS = 50, | |
| KERN_S390_USER_DEBUG_LOGGING = 51, | |
| KERN_CORE_USES_PID = 52, | |
| KERN_TAINTED = 53, | |
| KERN_CADPID = 54, | |
| KERN_PIDMAX = 55, | |
| KERN_CORE_PATTERN = 56, | |
| KERN_PANIC_ON_OOPS = 57, | |
| KERN_HPPA_PWRSW = 58, | |
| KERN_HPPA_UNALIGNED = 59, | |
| KERN_PRINTK_RATELIMIT = 60, | |
| KERN_PRINTK_RATELIMIT_BURST = 61, | |
| KERN_PTY = 62, | |
| KERN_NGROUPS_MAX = 63, | |
| KERN_SPARC_SCONS_PWROFF = 64, | |
| KERN_HZ_TIMER = 65, | |
| KERN_UNKNOWN_NMI_PANIC = 66, | |
| KERN_BOOTLOADER_TYPE = 67, | |
| KERN_RANDOMIZE = 68, | |
| KERN_SETUID_DUMPABLE = 69, | |
| KERN_SPIN_RETRY = 70, | |
| KERN_ACPI_VIDEO_FLAGS = 71, | |
| KERN_IA64_UNALIGNED = 72, | |
| KERN_COMPAT_LOG = 73, | |
| KERN_MAX_LOCK_DEPTH = 74, | |
| KERN_NMI_WATCHDOG = 75, | |
| KERN_PANIC_ON_NMI = 76, | |
| KERN_PANIC_ON_WARN = 77, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed95 { | |
| VM_UNUSED1 = 1, | |
| VM_UNUSED2 = 2, | |
| VM_UNUSED3 = 3, | |
| VM_UNUSED4 = 4, | |
| VM_OVERCOMMIT_MEMORY = 5, | |
| VM_UNUSED5 = 6, | |
| VM_UNUSED7 = 7, | |
| VM_UNUSED8 = 8, | |
| VM_UNUSED9 = 9, | |
| VM_PAGE_CLUSTER = 10, | |
| VM_DIRTY_BACKGROUND = 11, | |
| VM_DIRTY_RATIO = 12, | |
| VM_DIRTY_WB_CS = 13, | |
| VM_DIRTY_EXPIRE_CS = 14, | |
| VM_NR_PDFLUSH_THREADS = 15, | |
| VM_OVERCOMMIT_RATIO = 16, | |
| VM_PAGEBUF = 17, | |
| VM_HUGETLB_PAGES = 18, | |
| VM_SWAPPINESS = 19, | |
| VM_LOWMEM_RESERVE_RATIO = 20, | |
| VM_MIN_FREE_KBYTES = 21, | |
| VM_MAX_MAP_COUNT = 22, | |
| VM_LAPTOP_MODE = 23, | |
| VM_BLOCK_DUMP = 24, | |
| VM_HUGETLB_GROUP = 25, | |
| VM_VFS_CACHE_PRESSURE = 26, | |
| VM_LEGACY_VA_LAYOUT = 27, | |
| VM_SWAP_TOKEN_TIMEOUT = 28, | |
| VM_DROP_PAGECACHE = 29, | |
| VM_PERCPU_PAGELIST_FRACTION = 30, | |
| VM_ZONE_RECLAIM_MODE = 31, | |
| VM_MIN_UNMAPPED = 32, | |
| VM_PANIC_ON_OOM = 33, | |
| VM_VDSO_ENABLED = 34, | |
| VM_MIN_SLAB = 35, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed96 { | |
| NET_CORE = 1, | |
| NET_ETHER = 2, | |
| NET_802 = 3, | |
| NET_UNIX = 4, | |
| NET_IPV4 = 5, | |
| NET_IPX = 6, | |
| NET_ATALK = 7, | |
| NET_NETROM = 8, | |
| NET_AX25 = 9, | |
| NET_BRIDGE = 10, | |
| NET_ROSE = 11, | |
| NET_IPV6 = 12, | |
| NET_X25 = 13, | |
| NET_TR = 14, | |
| NET_DECNET = 15, | |
| NET_ECONET = 16, | |
| NET_SCTP = 17, | |
| NET_LLC = 18, | |
| NET_NETFILTER = 19, | |
| NET_DCCP = 20, | |
| NET_IRDA = 412, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed97 { | |
| RANDOM_POOLSIZE = 1, | |
| RANDOM_ENTROPY_COUNT = 2, | |
| RANDOM_READ_THRESH = 3, | |
| RANDOM_WRITE_THRESH = 4, | |
| RANDOM_BOOT_ID = 5, | |
| RANDOM_UUID = 6, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed98 { PTY_MAX = 1, PTY_NR = 2, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed99 { | |
| BUS_ISA_MEM_BASE = 1, | |
| BUS_ISA_PORT_BASE = 2, | |
| BUS_ISA_PORT_SHIFT = 3, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed100 { | |
| NET_CORE_WMEM_MAX = 1, | |
| NET_CORE_RMEM_MAX = 2, | |
| NET_CORE_WMEM_DEFAULT = 3, | |
| NET_CORE_RMEM_DEFAULT = 4, | |
| NET_CORE_MAX_BACKLOG = 6, | |
| NET_CORE_FASTROUTE = 7, | |
| NET_CORE_MSG_COST = 8, | |
| NET_CORE_MSG_BURST = 9, | |
| NET_CORE_OPTMEM_MAX = 10, | |
| NET_CORE_HOT_LIST_LENGTH = 11, | |
| NET_CORE_DIVERT_VERSION = 12, | |
| NET_CORE_NO_CONG_THRESH = 13, | |
| NET_CORE_NO_CONG = 14, | |
| NET_CORE_LO_CONG = 15, | |
| NET_CORE_MOD_CONG = 16, | |
| NET_CORE_DEV_WEIGHT = 17, | |
| NET_CORE_SOMAXCONN = 18, | |
| NET_CORE_BUDGET = 19, | |
| NET_CORE_AEVENT_ETIME = 20, | |
| NET_CORE_AEVENT_RSEQTH = 21, | |
| NET_CORE_WARNINGS = 22, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed101 { | |
| NET_UNIX_DESTROY_DELAY = 1, | |
| NET_UNIX_DELETE_DELAY = 2, | |
| NET_UNIX_MAX_DGRAM_QLEN = 3, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed102 { | |
| NET_NF_CONNTRACK_MAX = 1, | |
| NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT = 2, | |
| NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV = 3, | |
| NET_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED = 4, | |
| NET_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT = 5, | |
| NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT = 6, | |
| NET_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK = 7, | |
| NET_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT = 8, | |
| NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE = 9, | |
| NET_NF_CONNTRACK_UDP_TIMEOUT = 10, | |
| NET_NF_CONNTRACK_UDP_TIMEOUT_STREAM = 11, | |
| NET_NF_CONNTRACK_ICMP_TIMEOUT = 12, | |
| NET_NF_CONNTRACK_GENERIC_TIMEOUT = 13, | |
| NET_NF_CONNTRACK_BUCKETS = 14, | |
| NET_NF_CONNTRACK_LOG_INVALID = 15, | |
| NET_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS = 16, | |
| NET_NF_CONNTRACK_TCP_LOOSE = 17, | |
| NET_NF_CONNTRACK_TCP_BE_LIBERAL = 18, | |
| NET_NF_CONNTRACK_TCP_MAX_RETRANS = 19, | |
| NET_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED = 20, | |
| NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT = 21, | |
| NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED = 22, | |
| NET_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED = 23, | |
| NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT = 24, | |
| NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD = 25, | |
| NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT = 26, | |
| NET_NF_CONNTRACK_COUNT = 27, | |
| NET_NF_CONNTRACK_ICMPV6_TIMEOUT = 28, | |
| NET_NF_CONNTRACK_FRAG6_TIMEOUT = 29, | |
| NET_NF_CONNTRACK_FRAG6_LOW_THRESH = 30, | |
| NET_NF_CONNTRACK_FRAG6_HIGH_THRESH = 31, | |
| NET_NF_CONNTRACK_CHECKSUM = 32, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed103 { | |
| NET_IPV4_FORWARD = 8, | |
| NET_IPV4_DYNADDR = 9, | |
| NET_IPV4_CONF = 16, | |
| NET_IPV4_NEIGH = 17, | |
| NET_IPV4_ROUTE = 18, | |
| NET_IPV4_FIB_HASH = 19, | |
| NET_IPV4_NETFILTER = 20, | |
| NET_IPV4_TCP_TIMESTAMPS = 33, | |
| NET_IPV4_TCP_WINDOW_SCALING = 34, | |
| NET_IPV4_TCP_SACK = 35, | |
| NET_IPV4_TCP_RETRANS_COLLAPSE = 36, | |
| NET_IPV4_DEFAULT_TTL = 37, | |
| NET_IPV4_AUTOCONFIG = 38, | |
| NET_IPV4_NO_PMTU_DISC = 39, | |
| NET_IPV4_TCP_SYN_RETRIES = 40, | |
| NET_IPV4_IPFRAG_HIGH_THRESH = 41, | |
| NET_IPV4_IPFRAG_LOW_THRESH = 42, | |
| NET_IPV4_IPFRAG_TIME = 43, | |
| NET_IPV4_TCP_MAX_KA_PROBES = 44, | |
| NET_IPV4_TCP_KEEPALIVE_TIME = 45, | |
| NET_IPV4_TCP_KEEPALIVE_PROBES = 46, | |
| NET_IPV4_TCP_RETRIES1 = 47, | |
| NET_IPV4_TCP_RETRIES2 = 48, | |
| NET_IPV4_TCP_FIN_TIMEOUT = 49, | |
| NET_IPV4_IP_MASQ_DEBUG = 50, | |
| NET_TCP_SYNCOOKIES = 51, | |
| NET_TCP_STDURG = 52, | |
| NET_TCP_RFC1337 = 53, | |
| NET_TCP_SYN_TAILDROP = 54, | |
| NET_TCP_MAX_SYN_BACKLOG = 55, | |
| NET_IPV4_LOCAL_PORT_RANGE = 56, | |
| NET_IPV4_ICMP_ECHO_IGNORE_ALL = 57, | |
| NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS = 58, | |
| NET_IPV4_ICMP_SOURCEQUENCH_RATE = 59, | |
| NET_IPV4_ICMP_DESTUNREACH_RATE = 60, | |
| NET_IPV4_ICMP_TIMEEXCEED_RATE = 61, | |
| NET_IPV4_ICMP_PARAMPROB_RATE = 62, | |
| NET_IPV4_ICMP_ECHOREPLY_RATE = 63, | |
| NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES = 64, | |
| NET_IPV4_IGMP_MAX_MEMBERSHIPS = 65, | |
| NET_TCP_TW_RECYCLE = 66, | |
| NET_IPV4_ALWAYS_DEFRAG = 67, | |
| NET_IPV4_TCP_KEEPALIVE_INTVL = 68, | |
| NET_IPV4_INET_PEER_THRESHOLD = 69, | |
| NET_IPV4_INET_PEER_MINTTL = 70, | |
| NET_IPV4_INET_PEER_MAXTTL = 71, | |
| NET_IPV4_INET_PEER_GC_MINTIME = 72, | |
| NET_IPV4_INET_PEER_GC_MAXTIME = 73, | |
| NET_TCP_ORPHAN_RETRIES = 74, | |
| NET_TCP_ABORT_ON_OVERFLOW = 75, | |
| NET_TCP_SYNACK_RETRIES = 76, | |
| NET_TCP_MAX_ORPHANS = 77, | |
| NET_TCP_MAX_TW_BUCKETS = 78, | |
| NET_TCP_FACK = 79, | |
| NET_TCP_REORDERING = 80, | |
| NET_TCP_ECN = 81, | |
| NET_TCP_DSACK = 82, | |
| NET_TCP_MEM = 83, | |
| NET_TCP_WMEM = 84, | |
| NET_TCP_RMEM = 85, | |
| NET_TCP_APP_WIN = 86, | |
| NET_TCP_ADV_WIN_SCALE = 87, | |
| NET_IPV4_NONLOCAL_BIND = 88, | |
| NET_IPV4_ICMP_RATELIMIT = 89, | |
| NET_IPV4_ICMP_RATEMASK = 90, | |
| NET_TCP_TW_REUSE = 91, | |
| NET_TCP_FRTO = 92, | |
| NET_TCP_LOW_LATENCY = 93, | |
| NET_IPV4_IPFRAG_SECRET_INTERVAL = 94, | |
| NET_IPV4_IGMP_MAX_MSF = 96, | |
| NET_TCP_NO_METRICS_SAVE = 97, | |
| NET_TCP_DEFAULT_WIN_SCALE = 105, | |
| NET_TCP_MODERATE_RCVBUF = 106, | |
| NET_TCP_TSO_WIN_DIVISOR = 107, | |
| NET_TCP_BIC_BETA = 108, | |
| NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR = 109, | |
| NET_TCP_CONG_CONTROL = 110, | |
| NET_TCP_ABC = 111, | |
| NET_IPV4_IPFRAG_MAX_DIST = 112, | |
| NET_TCP_MTU_PROBING = 113, | |
| NET_TCP_BASE_MSS = 114, | |
| NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS = 115, | |
| NET_TCP_DMA_COPYBREAK = 116, | |
| NET_TCP_SLOW_START_AFTER_IDLE = 117, | |
| NET_CIPSOV4_CACHE_ENABLE = 118, | |
| NET_CIPSOV4_CACHE_BUCKET_SIZE = 119, | |
| NET_CIPSOV4_RBM_OPTFMT = 120, | |
| NET_CIPSOV4_RBM_STRICTVALID = 121, | |
| NET_TCP_AVAIL_CONG_CONTROL = 122, | |
| NET_TCP_ALLOWED_CONG_CONTROL = 123, | |
| NET_TCP_MAX_SSTHRESH = 124, | |
| NET_TCP_FRTO_RESPONSE = 125, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed104 { | |
| NET_IPV4_ROUTE_FLUSH = 1, | |
| NET_IPV4_ROUTE_MIN_DELAY = 2, | |
| NET_IPV4_ROUTE_MAX_DELAY = 3, | |
| NET_IPV4_ROUTE_GC_THRESH = 4, | |
| NET_IPV4_ROUTE_MAX_SIZE = 5, | |
| NET_IPV4_ROUTE_GC_MIN_INTERVAL = 6, | |
| NET_IPV4_ROUTE_GC_TIMEOUT = 7, | |
| NET_IPV4_ROUTE_GC_INTERVAL = 8, | |
| NET_IPV4_ROUTE_REDIRECT_LOAD = 9, | |
| NET_IPV4_ROUTE_REDIRECT_NUMBER = 10, | |
| NET_IPV4_ROUTE_REDIRECT_SILENCE = 11, | |
| NET_IPV4_ROUTE_ERROR_COST = 12, | |
| NET_IPV4_ROUTE_ERROR_BURST = 13, | |
| NET_IPV4_ROUTE_GC_ELASTICITY = 14, | |
| NET_IPV4_ROUTE_MTU_EXPIRES = 15, | |
| NET_IPV4_ROUTE_MIN_PMTU = 16, | |
| NET_IPV4_ROUTE_MIN_ADVMSS = 17, | |
| NET_IPV4_ROUTE_SECRET_INTERVAL = 18, | |
| NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS = 19, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(i32)] | |
| pub enum Enum_Unnamed105 { | |
| NET_PROTO_CONF_ALL = -2, | |
| NET_PROTO_CONF_DEFAULT = -3, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed106 { | |
| NET_IPV4_CONF_FORWARDING = 1, | |
| NET_IPV4_CONF_MC_FORWARDING = 2, | |
| NET_IPV4_CONF_PROXY_ARP = 3, | |
| NET_IPV4_CONF_ACCEPT_REDIRECTS = 4, | |
| NET_IPV4_CONF_SECURE_REDIRECTS = 5, | |
| NET_IPV4_CONF_SEND_REDIRECTS = 6, | |
| NET_IPV4_CONF_SHARED_MEDIA = 7, | |
| NET_IPV4_CONF_RP_FILTER = 8, | |
| NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE = 9, | |
| NET_IPV4_CONF_BOOTP_RELAY = 10, | |
| NET_IPV4_CONF_LOG_MARTIANS = 11, | |
| NET_IPV4_CONF_TAG = 12, | |
| NET_IPV4_CONF_ARPFILTER = 13, | |
| NET_IPV4_CONF_MEDIUM_ID = 14, | |
| NET_IPV4_CONF_NOXFRM = 15, | |
| NET_IPV4_CONF_NOPOLICY = 16, | |
| NET_IPV4_CONF_FORCE_IGMP_VERSION = 17, | |
| NET_IPV4_CONF_ARP_ANNOUNCE = 18, | |
| NET_IPV4_CONF_ARP_IGNORE = 19, | |
| NET_IPV4_CONF_PROMOTE_SECONDARIES = 20, | |
| NET_IPV4_CONF_ARP_ACCEPT = 21, | |
| NET_IPV4_CONF_ARP_NOTIFY = 22, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed107 { | |
| NET_IPV4_NF_CONNTRACK_MAX = 1, | |
| NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT = 2, | |
| NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV = 3, | |
| NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED = 4, | |
| NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT = 5, | |
| NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT = 6, | |
| NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK = 7, | |
| NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT = 8, | |
| NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE = 9, | |
| NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT = 10, | |
| NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT_STREAM = 11, | |
| NET_IPV4_NF_CONNTRACK_ICMP_TIMEOUT = 12, | |
| NET_IPV4_NF_CONNTRACK_GENERIC_TIMEOUT = 13, | |
| NET_IPV4_NF_CONNTRACK_BUCKETS = 14, | |
| NET_IPV4_NF_CONNTRACK_LOG_INVALID = 15, | |
| NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS = 16, | |
| NET_IPV4_NF_CONNTRACK_TCP_LOOSE = 17, | |
| NET_IPV4_NF_CONNTRACK_TCP_BE_LIBERAL = 18, | |
| NET_IPV4_NF_CONNTRACK_TCP_MAX_RETRANS = 19, | |
| NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED = 20, | |
| NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT = 21, | |
| NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED = 22, | |
| NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED = 23, | |
| NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT = 24, | |
| NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD = 25, | |
| NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT = 26, | |
| NET_IPV4_NF_CONNTRACK_COUNT = 27, | |
| NET_IPV4_NF_CONNTRACK_CHECKSUM = 28, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed108 { | |
| NET_IPV6_CONF = 16, | |
| NET_IPV6_NEIGH = 17, | |
| NET_IPV6_ROUTE = 18, | |
| NET_IPV6_ICMP = 19, | |
| NET_IPV6_BINDV6ONLY = 20, | |
| NET_IPV6_IP6FRAG_HIGH_THRESH = 21, | |
| NET_IPV6_IP6FRAG_LOW_THRESH = 22, | |
| NET_IPV6_IP6FRAG_TIME = 23, | |
| NET_IPV6_IP6FRAG_SECRET_INTERVAL = 24, | |
| NET_IPV6_MLD_MAX_MSF = 25, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed109 { | |
| NET_IPV6_ROUTE_FLUSH = 1, | |
| NET_IPV6_ROUTE_GC_THRESH = 2, | |
| NET_IPV6_ROUTE_MAX_SIZE = 3, | |
| NET_IPV6_ROUTE_GC_MIN_INTERVAL = 4, | |
| NET_IPV6_ROUTE_GC_TIMEOUT = 5, | |
| NET_IPV6_ROUTE_GC_INTERVAL = 6, | |
| NET_IPV6_ROUTE_GC_ELASTICITY = 7, | |
| NET_IPV6_ROUTE_MTU_EXPIRES = 8, | |
| NET_IPV6_ROUTE_MIN_ADVMSS = 9, | |
| NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS = 10, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed110 { | |
| NET_IPV6_FORWARDING = 1, | |
| NET_IPV6_HOP_LIMIT = 2, | |
| NET_IPV6_MTU = 3, | |
| NET_IPV6_ACCEPT_RA = 4, | |
| NET_IPV6_ACCEPT_REDIRECTS = 5, | |
| NET_IPV6_AUTOCONF = 6, | |
| NET_IPV6_DAD_TRANSMITS = 7, | |
| NET_IPV6_RTR_SOLICITS = 8, | |
| NET_IPV6_RTR_SOLICIT_INTERVAL = 9, | |
| NET_IPV6_RTR_SOLICIT_DELAY = 10, | |
| NET_IPV6_USE_TEMPADDR = 11, | |
| NET_IPV6_TEMP_VALID_LFT = 12, | |
| NET_IPV6_TEMP_PREFERED_LFT = 13, | |
| NET_IPV6_REGEN_MAX_RETRY = 14, | |
| NET_IPV6_MAX_DESYNC_FACTOR = 15, | |
| NET_IPV6_MAX_ADDRESSES = 16, | |
| NET_IPV6_FORCE_MLD_VERSION = 17, | |
| NET_IPV6_ACCEPT_RA_DEFRTR = 18, | |
| NET_IPV6_ACCEPT_RA_PINFO = 19, | |
| NET_IPV6_ACCEPT_RA_RTR_PREF = 20, | |
| NET_IPV6_RTR_PROBE_INTERVAL = 21, | |
| NET_IPV6_ACCEPT_RA_RT_INFO_MAX_PLEN = 22, | |
| NET_IPV6_PROXY_NDP = 23, | |
| NET_IPV6_ACCEPT_SOURCE_ROUTE = 25, | |
| NET_IPV6_ACCEPT_RA_FROM_LOCAL = 26, | |
| __NET_IPV6_MAX = 27, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed111 { NET_IPV6_ICMP_RATELIMIT = 1, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed112 { | |
| NET_NEIGH_MCAST_SOLICIT = 1, | |
| NET_NEIGH_UCAST_SOLICIT = 2, | |
| NET_NEIGH_APP_SOLICIT = 3, | |
| NET_NEIGH_RETRANS_TIME = 4, | |
| NET_NEIGH_REACHABLE_TIME = 5, | |
| NET_NEIGH_DELAY_PROBE_TIME = 6, | |
| NET_NEIGH_GC_STALE_TIME = 7, | |
| NET_NEIGH_UNRES_QLEN = 8, | |
| NET_NEIGH_PROXY_QLEN = 9, | |
| NET_NEIGH_ANYCAST_DELAY = 10, | |
| NET_NEIGH_PROXY_DELAY = 11, | |
| NET_NEIGH_LOCKTIME = 12, | |
| NET_NEIGH_GC_INTERVAL = 13, | |
| NET_NEIGH_GC_THRESH1 = 14, | |
| NET_NEIGH_GC_THRESH2 = 15, | |
| NET_NEIGH_GC_THRESH3 = 16, | |
| NET_NEIGH_RETRANS_TIME_MS = 17, | |
| NET_NEIGH_REACHABLE_TIME_MS = 18, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed113 { NET_DCCP_DEFAULT = 1, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed114 { | |
| NET_IPX_PPROP_BROADCASTING = 1, | |
| NET_IPX_FORWARDING = 2, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed115 { NET_LLC2 = 1, NET_LLC_STATION = 2, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed116 { NET_LLC2_TIMEOUT = 1, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed117 { NET_LLC_STATION_ACK_TIMEOUT = 1, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed118 { | |
| NET_LLC2_ACK_TIMEOUT = 1, | |
| NET_LLC2_P_TIMEOUT = 2, | |
| NET_LLC2_REJ_TIMEOUT = 3, | |
| NET_LLC2_BUSY_TIMEOUT = 4, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed119 { | |
| NET_ATALK_AARP_EXPIRY_TIME = 1, | |
| NET_ATALK_AARP_TICK_TIME = 2, | |
| NET_ATALK_AARP_RETRANSMIT_LIMIT = 3, | |
| NET_ATALK_AARP_RESOLVE_TIME = 4, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed120 { | |
| NET_NETROM_DEFAULT_PATH_QUALITY = 1, | |
| NET_NETROM_OBSOLESCENCE_COUNT_INITIALISER = 2, | |
| NET_NETROM_NETWORK_TTL_INITIALISER = 3, | |
| NET_NETROM_TRANSPORT_TIMEOUT = 4, | |
| NET_NETROM_TRANSPORT_MAXIMUM_TRIES = 5, | |
| NET_NETROM_TRANSPORT_ACKNOWLEDGE_DELAY = 6, | |
| NET_NETROM_TRANSPORT_BUSY_DELAY = 7, | |
| NET_NETROM_TRANSPORT_REQUESTED_WINDOW_SIZE = 8, | |
| NET_NETROM_TRANSPORT_NO_ACTIVITY_TIMEOUT = 9, | |
| NET_NETROM_ROUTING_CONTROL = 10, | |
| NET_NETROM_LINK_FAILS_COUNT = 11, | |
| NET_NETROM_RESET = 12, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed121 { | |
| NET_AX25_IP_DEFAULT_MODE = 1, | |
| NET_AX25_DEFAULT_MODE = 2, | |
| NET_AX25_BACKOFF_TYPE = 3, | |
| NET_AX25_CONNECT_MODE = 4, | |
| NET_AX25_STANDARD_WINDOW = 5, | |
| NET_AX25_EXTENDED_WINDOW = 6, | |
| NET_AX25_T1_TIMEOUT = 7, | |
| NET_AX25_T2_TIMEOUT = 8, | |
| NET_AX25_T3_TIMEOUT = 9, | |
| NET_AX25_IDLE_TIMEOUT = 10, | |
| NET_AX25_N2 = 11, | |
| NET_AX25_PACLEN = 12, | |
| NET_AX25_PROTOCOL = 13, | |
| NET_AX25_DAMA_SLAVE_TIMEOUT = 14, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed122 { | |
| NET_ROSE_RESTART_REQUEST_TIMEOUT = 1, | |
| NET_ROSE_CALL_REQUEST_TIMEOUT = 2, | |
| NET_ROSE_RESET_REQUEST_TIMEOUT = 3, | |
| NET_ROSE_CLEAR_REQUEST_TIMEOUT = 4, | |
| NET_ROSE_ACK_HOLD_BACK_TIMEOUT = 5, | |
| NET_ROSE_ROUTING_CONTROL = 6, | |
| NET_ROSE_LINK_FAIL_TIMEOUT = 7, | |
| NET_ROSE_MAX_VCS = 8, | |
| NET_ROSE_WINDOW_SIZE = 9, | |
| NET_ROSE_NO_ACTIVITY_TIMEOUT = 10, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed123 { | |
| NET_X25_RESTART_REQUEST_TIMEOUT = 1, | |
| NET_X25_CALL_REQUEST_TIMEOUT = 2, | |
| NET_X25_RESET_REQUEST_TIMEOUT = 3, | |
| NET_X25_CLEAR_REQUEST_TIMEOUT = 4, | |
| NET_X25_ACK_HOLD_BACK_TIMEOUT = 5, | |
| NET_X25_FORWARD = 6, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed124 { NET_TR_RIF_TIMEOUT = 1, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed125 { | |
| NET_DECNET_NODE_TYPE = 1, | |
| NET_DECNET_NODE_ADDRESS = 2, | |
| NET_DECNET_NODE_NAME = 3, | |
| NET_DECNET_DEFAULT_DEVICE = 4, | |
| NET_DECNET_TIME_WAIT = 5, | |
| NET_DECNET_DN_COUNT = 6, | |
| NET_DECNET_DI_COUNT = 7, | |
| NET_DECNET_DR_COUNT = 8, | |
| NET_DECNET_DST_GC_INTERVAL = 9, | |
| NET_DECNET_CONF = 10, | |
| NET_DECNET_NO_FC_MAX_CWND = 11, | |
| NET_DECNET_MEM = 12, | |
| NET_DECNET_RMEM = 13, | |
| NET_DECNET_WMEM = 14, | |
| NET_DECNET_DEBUG_LEVEL = 255, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(i32)] | |
| pub enum Enum_Unnamed126 { | |
| NET_DECNET_CONF_LOOPBACK = -2, | |
| NET_DECNET_CONF_DDCMP = -3, | |
| NET_DECNET_CONF_PPP = -4, | |
| NET_DECNET_CONF_X25 = -5, | |
| NET_DECNET_CONF_GRE = -6, | |
| NET_DECNET_CONF_ETHER = -7, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed127 { | |
| NET_DECNET_CONF_DEV_PRIORITY = 1, | |
| NET_DECNET_CONF_DEV_T1 = 2, | |
| NET_DECNET_CONF_DEV_T2 = 3, | |
| NET_DECNET_CONF_DEV_T3 = 4, | |
| NET_DECNET_CONF_DEV_FORWARDING = 5, | |
| NET_DECNET_CONF_DEV_BLKSIZE = 6, | |
| NET_DECNET_CONF_DEV_STATE = 7, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed128 { | |
| NET_SCTP_RTO_INITIAL = 1, | |
| NET_SCTP_RTO_MIN = 2, | |
| NET_SCTP_RTO_MAX = 3, | |
| NET_SCTP_RTO_ALPHA = 4, | |
| NET_SCTP_RTO_BETA = 5, | |
| NET_SCTP_VALID_COOKIE_LIFE = 6, | |
| NET_SCTP_ASSOCIATION_MAX_RETRANS = 7, | |
| NET_SCTP_PATH_MAX_RETRANS = 8, | |
| NET_SCTP_MAX_INIT_RETRANSMITS = 9, | |
| NET_SCTP_HB_INTERVAL = 10, | |
| NET_SCTP_PRESERVE_ENABLE = 11, | |
| NET_SCTP_MAX_BURST = 12, | |
| NET_SCTP_ADDIP_ENABLE = 13, | |
| NET_SCTP_PRSCTP_ENABLE = 14, | |
| NET_SCTP_SNDBUF_POLICY = 15, | |
| NET_SCTP_SACK_TIMEOUT = 16, | |
| NET_SCTP_RCVBUF_POLICY = 17, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed129 { | |
| NET_BRIDGE_NF_CALL_ARPTABLES = 1, | |
| NET_BRIDGE_NF_CALL_IPTABLES = 2, | |
| NET_BRIDGE_NF_CALL_IP6TABLES = 3, | |
| NET_BRIDGE_NF_FILTER_VLAN_TAGGED = 4, | |
| NET_BRIDGE_NF_FILTER_PPPOE_TAGGED = 5, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed130 { | |
| NET_IRDA_DISCOVERY = 1, | |
| NET_IRDA_DEVNAME = 2, | |
| NET_IRDA_DEBUG = 3, | |
| NET_IRDA_FAST_POLL = 4, | |
| NET_IRDA_DISCOVERY_SLOTS = 5, | |
| NET_IRDA_DISCOVERY_TIMEOUT = 6, | |
| NET_IRDA_SLOT_TIMEOUT = 7, | |
| NET_IRDA_MAX_BAUD_RATE = 8, | |
| NET_IRDA_MIN_TX_TURN_TIME = 9, | |
| NET_IRDA_MAX_TX_DATA_SIZE = 10, | |
| NET_IRDA_MAX_TX_WINDOW = 11, | |
| NET_IRDA_MAX_NOREPLY_TIME = 12, | |
| NET_IRDA_WARN_NOREPLY_TIME = 13, | |
| NET_IRDA_LAP_KEEPALIVE_TIME = 14, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed131 { | |
| FS_NRINODE = 1, | |
| FS_STATINODE = 2, | |
| FS_MAXINODE = 3, | |
| FS_NRDQUOT = 4, | |
| FS_MAXDQUOT = 5, | |
| FS_NRFILE = 6, | |
| FS_MAXFILE = 7, | |
| FS_DENTRY = 8, | |
| FS_NRSUPER = 9, | |
| FS_MAXSUPER = 10, | |
| FS_OVERFLOWUID = 11, | |
| FS_OVERFLOWGID = 12, | |
| FS_LEASES = 13, | |
| FS_DIR_NOTIFY = 14, | |
| FS_LEASE_TIME = 15, | |
| FS_DQSTATS = 16, | |
| FS_XFS = 17, | |
| FS_AIO_NR = 18, | |
| FS_AIO_MAX_NR = 19, | |
| FS_INOTIFY = 20, | |
| FS_OCFS2 = 988, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed132 { | |
| FS_DQ_LOOKUPS = 1, | |
| FS_DQ_DROPS = 2, | |
| FS_DQ_READS = 3, | |
| FS_DQ_WRITES = 4, | |
| FS_DQ_CACHE_HITS = 5, | |
| FS_DQ_ALLOCATED = 6, | |
| FS_DQ_FREE = 7, | |
| FS_DQ_SYNCS = 8, | |
| FS_DQ_WARNINGS = 9, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed133 { | |
| DEV_CDROM = 1, | |
| DEV_HWMON = 2, | |
| DEV_PARPORT = 3, | |
| DEV_RAID = 4, | |
| DEV_MAC_HID = 5, | |
| DEV_SCSI = 6, | |
| DEV_IPMI = 7, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed134 { | |
| DEV_CDROM_INFO = 1, | |
| DEV_CDROM_AUTOCLOSE = 2, | |
| DEV_CDROM_AUTOEJECT = 3, | |
| DEV_CDROM_DEBUG = 4, | |
| DEV_CDROM_LOCK = 5, | |
| DEV_CDROM_CHECK_MEDIA = 6, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(i32)] | |
| pub enum Enum_Unnamed135 { DEV_PARPORT_DEFAULT = -3, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed136 { | |
| DEV_RAID_SPEED_LIMIT_MIN = 1, | |
| DEV_RAID_SPEED_LIMIT_MAX = 2, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed137 { | |
| DEV_PARPORT_DEFAULT_TIMESLICE = 1, | |
| DEV_PARPORT_DEFAULT_SPINTIME = 2, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed138 { | |
| DEV_PARPORT_SPINTIME = 1, | |
| DEV_PARPORT_BASE_ADDR = 2, | |
| DEV_PARPORT_IRQ = 3, | |
| DEV_PARPORT_DMA = 4, | |
| DEV_PARPORT_MODES = 5, | |
| DEV_PARPORT_DEVICES = 6, | |
| DEV_PARPORT_AUTOPROBE = 16, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(i32)] | |
| pub enum Enum_Unnamed139 { DEV_PARPORT_DEVICES_ACTIVE = -3, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed140 { DEV_PARPORT_DEVICE_TIMESLICE = 1, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed141 { | |
| DEV_MAC_HID_KEYBOARD_SENDS_LINUX_KEYCODES = 1, | |
| DEV_MAC_HID_KEYBOARD_LOCK_KEYCODES = 2, | |
| DEV_MAC_HID_MOUSE_BUTTON_EMULATION = 3, | |
| DEV_MAC_HID_MOUSE_BUTTON2_KEYCODE = 4, | |
| DEV_MAC_HID_MOUSE_BUTTON3_KEYCODE = 5, | |
| DEV_MAC_HID_ADB_MOUSE_SENDS_KEYCODES = 6, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed142 { DEV_SCSI_LOGGING_LEVEL = 1, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed143 { DEV_IPMI_POWEROFF_POWERCYCLE = 1, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed144 { | |
| ABI_DEFHANDLER_COFF = 1, | |
| ABI_DEFHANDLER_ELF = 2, | |
| ABI_DEFHANDLER_LCALL7 = 3, | |
| ABI_DEFHANDLER_LIBCSO = 4, | |
| ABI_TRACE = 5, | |
| ABI_FAKE_UTSNAME = 6, | |
| } | |
| pub enum Struct_nsproxy { } | |
| pub type proc_handler = | |
| unsafe extern "C" fn(ctl: *mut Struct_ctl_table, | |
| write: ::std::os::raw::c_int, | |
| buffer: *mut ::std::os::raw::c_void, | |
| lenp: *mut size_t, ppos: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ctl_table_poll { | |
| pub event: atomic_t, | |
| pub wait: wait_queue_head_t, | |
| } | |
| impl ::std::clone::Clone for Struct_ctl_table_poll { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ctl_table_poll { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ctl_table { | |
| pub procname: *const ::std::os::raw::c_char, | |
| pub data: *mut ::std::os::raw::c_void, | |
| pub maxlen: ::std::os::raw::c_int, | |
| pub mode: umode_t, | |
| pub child: *mut Struct_ctl_table, | |
| pub proc_handler: *mut ::std::option::Option<extern "C" fn() | |
| -> | |
| ::std::os::raw::c_int>, | |
| pub poll: *mut Struct_ctl_table_poll, | |
| pub extra1: *mut ::std::os::raw::c_void, | |
| pub extra2: *mut ::std::os::raw::c_void, | |
| } | |
| impl ::std::clone::Clone for Struct_ctl_table { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ctl_table { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ctl_node { | |
| pub node: Struct_rb_node, | |
| pub header: *mut Struct_ctl_table_header, | |
| } | |
| impl ::std::clone::Clone for Struct_ctl_node { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ctl_node { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ctl_table_header { | |
| pub _bindgen_data_1_: [u64; 3usize], | |
| pub unregistering: *mut Struct_completion, | |
| pub ctl_table_arg: *mut Struct_ctl_table, | |
| pub root: *mut Struct_ctl_table_root, | |
| pub set: *mut Struct_ctl_table_set, | |
| pub parent: *mut Struct_ctl_dir, | |
| pub node: *mut Struct_ctl_node, | |
| } | |
| impl Struct_ctl_table_header { | |
| pub unsafe fn ctl_table(&mut self) -> *mut *mut Struct_ctl_table { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn used(&mut self) -> *mut ::std::os::raw::c_int { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| pub unsafe fn count(&mut self) -> *mut ::std::os::raw::c_int { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(12)) | |
| } | |
| pub unsafe fn nreg(&mut self) -> *mut ::std::os::raw::c_int { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(16)) | |
| } | |
| pub unsafe fn rcu(&mut self) -> *mut Struct_callback_head { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_ctl_table_header { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ctl_table_header { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ctl_dir { | |
| pub header: Struct_ctl_table_header, | |
| pub root: Struct_rb_root, | |
| } | |
| impl ::std::clone::Clone for Struct_ctl_dir { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ctl_dir { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ctl_table_set { | |
| pub is_seen: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_ctl_table_set) | |
| -> ::std::os::raw::c_int>, | |
| pub dir: Struct_ctl_dir, | |
| } | |
| impl ::std::clone::Clone for Struct_ctl_table_set { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ctl_table_set { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ctl_table_root { | |
| pub default_set: Struct_ctl_table_set, | |
| pub lookup: ::std::option::Option<unsafe extern "C" fn(root: | |
| *mut Struct_ctl_table_root, | |
| namespaces: | |
| *mut Struct_nsproxy) | |
| -> *mut Struct_ctl_table_set>, | |
| pub permissions: ::std::option::Option<unsafe extern "C" fn(head: | |
| *mut Struct_ctl_table_header, | |
| table: | |
| *mut Struct_ctl_table) | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_ctl_table_root { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ctl_table_root { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ctl_path { | |
| pub procname: *const ::std::os::raw::c_char, | |
| } | |
| impl ::std::clone::Clone for Struct_ctl_path { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ctl_path { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_workqueue_struct { } | |
| pub type work_func_t = | |
| ::std::option::Option<unsafe extern "C" fn(work: | |
| *mut Struct_work_struct)>; | |
| pub const WORK_STRUCT_COLOR_BITS: Enum_Unnamed145 = | |
| Enum_Unnamed145::WORK_STRUCT_COLOR_SHIFT; | |
| pub const WORK_STRUCT_PENDING: Enum_Unnamed145 = | |
| Enum_Unnamed145::WORK_STRUCT_DELAYED_BIT; | |
| pub const WORK_STRUCT_DELAYED: Enum_Unnamed145 = | |
| Enum_Unnamed145::WORK_STRUCT_PWQ_BIT; | |
| pub const WORK_STRUCT_PWQ: Enum_Unnamed145 = | |
| Enum_Unnamed145::WORK_STRUCT_COLOR_SHIFT; | |
| pub const WORK_STRUCT_STATIC: Enum_Unnamed145 = | |
| Enum_Unnamed145::WORK_STRUCT_PENDING_BIT; | |
| pub const WORK_NO_COLOR: Enum_Unnamed145 = Enum_Unnamed145::WORK_NR_COLORS; | |
| pub const WORK_STRUCT_FLAG_BITS: Enum_Unnamed145 = | |
| Enum_Unnamed145::WORK_STRUCT_LINKED; | |
| pub const WORK_OFFQ_FLAG_BASE: Enum_Unnamed145 = | |
| Enum_Unnamed145::WORK_STRUCT_COLOR_SHIFT; | |
| pub const __WORK_OFFQ_CANCELING: Enum_Unnamed145 = | |
| Enum_Unnamed145::WORK_STRUCT_COLOR_SHIFT; | |
| pub const WORK_OFFQ_FLAG_BITS: Enum_Unnamed145 = | |
| Enum_Unnamed145::WORK_STRUCT_DELAYED_BIT; | |
| pub const WORK_BUSY_PENDING: Enum_Unnamed145 = | |
| Enum_Unnamed145::WORK_STRUCT_DELAYED_BIT; | |
| pub const WORK_BUSY_RUNNING: Enum_Unnamed145 = | |
| Enum_Unnamed145::WORK_STRUCT_PWQ_BIT; | |
| #[derive(Clone, Copy)] | |
| #[repr(i64)] | |
| pub enum Enum_Unnamed145 { | |
| WORK_STRUCT_PENDING_BIT = 0, | |
| WORK_STRUCT_DELAYED_BIT = 1, | |
| WORK_STRUCT_PWQ_BIT = 2, | |
| WORK_STRUCT_LINKED_BIT = 3, | |
| WORK_STRUCT_COLOR_SHIFT = 4, | |
| WORK_STRUCT_LINKED = 8, | |
| WORK_NR_COLORS = 15, | |
| WORK_CPU_UNBOUND = 256, | |
| WORK_OFFQ_CANCELING = 16, | |
| WORK_OFFQ_POOL_SHIFT = 5, | |
| WORK_OFFQ_LEFT = 59, | |
| WORK_OFFQ_POOL_BITS = 31, | |
| WORK_OFFQ_POOL_NONE = 2147483647, | |
| WORK_STRUCT_FLAG_MASK = 255, | |
| WORK_STRUCT_WQ_DATA_MASK = -256, | |
| WORK_STRUCT_NO_POOL = 68719476704, | |
| WORKER_DESC_LEN = 24, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_work_struct { | |
| pub data: atomic_long_t, | |
| pub entry: Struct_list_head, | |
| pub func: work_func_t, | |
| } | |
| impl ::std::clone::Clone for Struct_work_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_work_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_delayed_work { | |
| pub work: Struct_work_struct, | |
| pub timer: Struct_timer_list, | |
| pub wq: *mut Struct_workqueue_struct, | |
| pub cpu: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_delayed_work { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_delayed_work { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_workqueue_attrs { | |
| pub nice: ::std::os::raw::c_int, | |
| pub cpumask: cpumask_var_t, | |
| pub no_numa: _bool, | |
| } | |
| impl ::std::clone::Clone for Struct_workqueue_attrs { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_workqueue_attrs { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_execute_work { | |
| pub work: Struct_work_struct, | |
| } | |
| impl ::std::clone::Clone for Struct_execute_work { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_execute_work { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub const WQ_MAX_UNBOUND_PER_CPU: Enum_Unnamed146 = | |
| Enum_Unnamed146::WQ_FREEZABLE; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed146 { | |
| WQ_UNBOUND = 2, | |
| WQ_FREEZABLE = 4, | |
| WQ_MEM_RECLAIM = 8, | |
| WQ_HIGHPRI = 16, | |
| WQ_CPU_INTENSIVE = 32, | |
| WQ_SYSFS = 64, | |
| WQ_POWER_EFFICIENT = 128, | |
| __WQ_DRAINING = 65536, | |
| __WQ_ORDERED = 131072, | |
| WQ_MAX_ACTIVE = 512, | |
| WQ_DFL_ACTIVE = 256, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pm_message { | |
| pub event: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_pm_message { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pm_message { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type pm_message_t = Struct_pm_message; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dev_pm_ops { | |
| pub prepare: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub complete: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device)>, | |
| pub suspend: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub resume: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub freeze: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub thaw: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub poweroff: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub restore: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub suspend_late: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub resume_early: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub freeze_late: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub thaw_early: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub poweroff_late: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub restore_early: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub suspend_noirq: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub resume_noirq: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub freeze_noirq: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub thaw_noirq: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub poweroff_noirq: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub restore_noirq: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub runtime_suspend: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub runtime_resume: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub runtime_idle: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_dev_pm_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dev_pm_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_rpm_status { | |
| RPM_ACTIVE = 0, | |
| RPM_RESUMING = 1, | |
| RPM_SUSPENDED = 2, | |
| RPM_SUSPENDING = 3, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_rpm_request { | |
| RPM_REQ_NONE = 0, | |
| RPM_REQ_IDLE = 1, | |
| RPM_REQ_SUSPEND = 2, | |
| RPM_REQ_AUTOSUSPEND = 3, | |
| RPM_REQ_RESUME = 4, | |
| } | |
| pub enum Struct_wake_irq { } | |
| pub enum Struct_pm_domain_data { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pm_subsys_data { | |
| pub lock: spinlock_t, | |
| pub refcount: ::std::os::raw::c_uint, | |
| pub clock_list: Struct_list_head, | |
| } | |
| impl ::std::clone::Clone for Struct_pm_subsys_data { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pm_subsys_data { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_dev_pm_qos { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dev_pm_info { | |
| pub power_state: pm_message_t, | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub _bindgen_bitfield_2_: _bool, | |
| pub _bindgen_bitfield_3_: _bool, | |
| pub _bindgen_bitfield_4_: _bool, | |
| pub _bindgen_bitfield_5_: _bool, | |
| pub _bindgen_bitfield_6_: _bool, | |
| pub _bindgen_bitfield_7_: _bool, | |
| pub _bindgen_bitfield_8_: _bool, | |
| pub lock: spinlock_t, | |
| pub entry: Struct_list_head, | |
| pub completion: Struct_completion, | |
| pub wakeup: *mut Struct_wakeup_source, | |
| pub _bindgen_bitfield_9_: _bool, | |
| pub _bindgen_bitfield_10_: _bool, | |
| pub suspend_timer: Struct_timer_list, | |
| pub timer_expires: ::std::os::raw::c_ulong, | |
| pub work: Struct_work_struct, | |
| pub wait_queue: wait_queue_head_t, | |
| pub wakeirq: *mut Struct_wake_irq, | |
| pub usage_count: atomic_t, | |
| pub child_count: atomic_t, | |
| pub _bindgen_bitfield_11_: ::std::os::raw::c_uint, | |
| pub request: Enum_rpm_request, | |
| pub runtime_status: Enum_rpm_status, | |
| pub runtime_error: ::std::os::raw::c_int, | |
| pub autosuspend_delay: ::std::os::raw::c_int, | |
| pub last_busy: ::std::os::raw::c_ulong, | |
| pub active_jiffies: ::std::os::raw::c_ulong, | |
| pub suspended_jiffies: ::std::os::raw::c_ulong, | |
| pub accounting_timestamp: ::std::os::raw::c_ulong, | |
| pub subsys_data: *mut Struct_pm_subsys_data, | |
| pub set_latency_tolerance: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_device, | |
| arg2: | |
| s32)>, | |
| pub qos: *mut Struct_dev_pm_qos, | |
| } | |
| impl ::std::clone::Clone for Struct_dev_pm_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dev_pm_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dev_pm_domain { | |
| pub ops: Struct_dev_pm_ops, | |
| pub detach: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| power_off: _bool)>, | |
| pub activate: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub sync: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device)>, | |
| pub dismiss: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device)>, | |
| } | |
| impl ::std::clone::Clone for Struct_dev_pm_domain { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dev_pm_domain { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_dpm_order { | |
| DPM_ORDER_NONE = 0, | |
| DPM_ORDER_DEV_AFTER_PARENT = 1, | |
| DPM_ORDER_PARENT_BEFORE_DEV = 2, | |
| DPM_ORDER_DEV_LAST = 3, | |
| } | |
| pub enum Struct_pci_bus { } | |
| pub enum Struct_ldt_struct { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed147 { | |
| pub ldt: *mut Struct_ldt_struct, | |
| pub ia32_compat: ::std::os::raw::c_ushort, | |
| pub lock: Struct_mutex, | |
| pub vdso: *mut ::std::os::raw::c_void, | |
| pub perf_rdpmc_allowed: atomic_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed147 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed147 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type mm_context_t = Struct_Unnamed147; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_xen_domain_type { | |
| XEN_NATIVE = 0, | |
| XEN_PV_DOMAIN = 1, | |
| XEN_HVM_DOMAIN = 2, | |
| } | |
| pub type xen_pfn_t = ::std::os::raw::c_ulong; | |
| pub type xen_ulong_t = ::std::os::raw::c_ulong; | |
| pub type xen_long_t = ::std::os::raw::c_long; | |
| pub type __guest_handle_uchar = *mut ::std::os::raw::c_uchar; | |
| pub type __guest_handle_uint = *mut ::std::os::raw::c_uint; | |
| pub type __guest_handle_char = *mut ::std::os::raw::c_char; | |
| pub type __guest_handle_int = *mut ::std::os::raw::c_int; | |
| pub type __guest_handle_void = *mut ::std::os::raw::c_void; | |
| pub type __guest_handle_uint64_t = *mut uint64_t; | |
| pub type __guest_handle_uint32_t = *mut uint32_t; | |
| pub type __guest_handle_xen_pfn_t = *mut xen_pfn_t; | |
| pub type __guest_handle_xen_ulong_t = *mut xen_ulong_t; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_trap_info { | |
| pub vector: uint8_t, | |
| pub flags: uint8_t, | |
| pub cs: uint16_t, | |
| pub address: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_trap_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_trap_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type __guest_handle_trap_info = *mut Struct_trap_info; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_arch_shared_info { | |
| pub max_pfn: ::std::os::raw::c_ulong, | |
| pub pfn_to_mfn_frame_list_list: xen_pfn_t, | |
| pub nmi_reason: ::std::os::raw::c_ulong, | |
| pub p2m_cr3: ::std::os::raw::c_ulong, | |
| pub p2m_vaddr: ::std::os::raw::c_ulong, | |
| pub p2m_generation: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_arch_shared_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_arch_shared_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_iret_context { | |
| pub rax: uint64_t, | |
| pub r11: uint64_t, | |
| pub rcx: uint64_t, | |
| pub flags: uint64_t, | |
| pub rip: uint64_t, | |
| pub cs: uint64_t, | |
| pub rflags: uint64_t, | |
| pub rsp: uint64_t, | |
| pub ss: uint64_t, | |
| } | |
| impl ::std::clone::Clone for Struct_iret_context { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_iret_context { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_cpu_user_regs { | |
| pub r15: uint64_t, | |
| pub r14: uint64_t, | |
| pub r13: uint64_t, | |
| pub r12: uint64_t, | |
| pub _bindgen_data_1_: [u64; 1usize], | |
| pub _bindgen_data_2_: [u64; 1usize], | |
| pub r11: uint64_t, | |
| pub r10: uint64_t, | |
| pub r9: uint64_t, | |
| pub r8: uint64_t, | |
| pub _bindgen_data_3_: [u64; 1usize], | |
| pub _bindgen_data_4_: [u64; 1usize], | |
| pub _bindgen_data_5_: [u64; 1usize], | |
| pub _bindgen_data_6_: [u64; 1usize], | |
| pub _bindgen_data_7_: [u64; 1usize], | |
| pub error_code: uint32_t, | |
| pub entry_vector: uint32_t, | |
| pub _bindgen_data_8_: [u64; 1usize], | |
| pub cs: uint16_t, | |
| pub _pad0: [uint16_t; 1usize], | |
| pub saved_upcall_mask: uint8_t, | |
| pub _pad1: [uint8_t; 3usize], | |
| pub _bindgen_data_9_: [u64; 1usize], | |
| pub _bindgen_data_10_: [u64; 1usize], | |
| pub ss: uint16_t, | |
| pub _pad2: [uint16_t; 3usize], | |
| pub es: uint16_t, | |
| pub _pad3: [uint16_t; 3usize], | |
| pub ds: uint16_t, | |
| pub _pad4: [uint16_t; 3usize], | |
| pub fs: uint16_t, | |
| pub _pad5: [uint16_t; 3usize], | |
| pub gs: uint16_t, | |
| pub _pad6: [uint16_t; 3usize], | |
| } | |
| impl Struct_cpu_user_regs { | |
| pub unsafe fn rbp(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn ebp(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn _ebp(&mut self) -> *mut uint32_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn rbx(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn ebx(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn _ebx(&mut self) -> *mut uint32_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn rax(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn eax(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn _eax(&mut self) -> *mut uint32_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn rcx(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_4_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn ecx(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_4_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn _ecx(&mut self) -> *mut uint32_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_4_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn rdx(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_5_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn edx(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_5_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn _edx(&mut self) -> *mut uint32_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_5_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn rsi(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_6_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn esi(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_6_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn _esi(&mut self) -> *mut uint32_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_6_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn rdi(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_7_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn edi(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_7_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn _edi(&mut self) -> *mut uint32_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_7_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn rip(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_8_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn eip(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_8_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn _eip(&mut self) -> *mut uint32_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_8_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn rflags(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_9_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn eflags(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_9_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn _eflags(&mut self) -> *mut uint32_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_9_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn rsp(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_10_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn esp(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_10_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn _esp(&mut self) -> *mut uint32_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_10_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_cpu_user_regs { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_cpu_user_regs { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type __guest_handle_cpu_user_regs = *mut Struct_cpu_user_regs; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_arch_vcpu_info { | |
| pub cr2: ::std::os::raw::c_ulong, | |
| pub pad: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_arch_vcpu_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_arch_vcpu_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type xen_callback_t = ::std::os::raw::c_ulong; | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_pvclock_vcpu_time_info { | |
| pub version: _u32, | |
| pub pad0: _u32, | |
| pub tsc_timestamp: __u64, | |
| pub system_time: __u64, | |
| pub tsc_to_system_mul: _u32, | |
| pub tsc_shift: s8, | |
| pub flags: _u8, | |
| pub pad: [_u8; 2usize], | |
| } | |
| impl ::std::clone::Clone for Struct_pvclock_vcpu_time_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pvclock_vcpu_time_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_pvclock_wall_clock { | |
| pub version: _u32, | |
| pub sec: _u32, | |
| pub nsec: _u32, | |
| } | |
| impl ::std::clone::Clone for Struct_pvclock_wall_clock { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pvclock_wall_clock { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_vcpu_guest_context { | |
| pub fpu_ctxt: Struct_Unnamed148, | |
| pub flags: ::std::os::raw::c_ulong, | |
| pub user_regs: Struct_cpu_user_regs, | |
| pub trap_ctxt: [Struct_trap_info; 256usize], | |
| pub ldt_base: ::std::os::raw::c_ulong, | |
| pub ldt_ents: ::std::os::raw::c_ulong, | |
| pub gdt_frames: [::std::os::raw::c_ulong; 16usize], | |
| pub gdt_ents: ::std::os::raw::c_ulong, | |
| pub kernel_ss: ::std::os::raw::c_ulong, | |
| pub kernel_sp: ::std::os::raw::c_ulong, | |
| pub ctrlreg: [::std::os::raw::c_ulong; 8usize], | |
| pub debugreg: [::std::os::raw::c_ulong; 8usize], | |
| pub event_callback_eip: ::std::os::raw::c_ulong, | |
| pub failsafe_callback_eip: ::std::os::raw::c_ulong, | |
| pub syscall_callback_eip: ::std::os::raw::c_ulong, | |
| pub vm_assist: ::std::os::raw::c_ulong, | |
| pub fs_base: uint64_t, | |
| pub gs_base_kernel: uint64_t, | |
| pub gs_base_user: uint64_t, | |
| } | |
| impl ::std::clone::Clone for Struct_vcpu_guest_context { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_vcpu_guest_context { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed148 { | |
| pub x: [::std::os::raw::c_char; 512usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed148 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed148 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type __guest_handle_vcpu_guest_context = *mut Struct_vcpu_guest_context; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_xen_pmu_amd_ctxt { | |
| pub counters: uint32_t, | |
| pub ctrls: uint32_t, | |
| pub regs: [uint64_t; 0usize], | |
| } | |
| impl ::std::clone::Clone for Struct_xen_pmu_amd_ctxt { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_xen_pmu_amd_ctxt { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_xen_pmu_cntr_pair { | |
| pub counter: uint64_t, | |
| pub control: uint64_t, | |
| } | |
| impl ::std::clone::Clone for Struct_xen_pmu_cntr_pair { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_xen_pmu_cntr_pair { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_xen_pmu_intel_ctxt { | |
| pub fixed_counters: uint32_t, | |
| pub arch_counters: uint32_t, | |
| pub global_ctrl: uint64_t, | |
| pub global_ovf_ctrl: uint64_t, | |
| pub global_status: uint64_t, | |
| pub fixed_ctrl: uint64_t, | |
| pub ds_area: uint64_t, | |
| pub pebs_enable: uint64_t, | |
| pub debugctl: uint64_t, | |
| pub regs: [uint64_t; 0usize], | |
| } | |
| impl ::std::clone::Clone for Struct_xen_pmu_intel_ctxt { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_xen_pmu_intel_ctxt { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_xen_pmu_regs { | |
| pub ip: uint64_t, | |
| pub sp: uint64_t, | |
| pub flags: uint64_t, | |
| pub cs: uint16_t, | |
| pub ss: uint16_t, | |
| pub cpl: uint8_t, | |
| pub pad: [uint8_t; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_xen_pmu_regs { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_xen_pmu_regs { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_xen_pmu_arch { | |
| pub r: Union_Unnamed149, | |
| pub pmu_flags: uint64_t, | |
| pub l: Union_Unnamed150, | |
| pub c: Union_Unnamed151, | |
| } | |
| impl ::std::clone::Clone for Struct_xen_pmu_arch { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_xen_pmu_arch { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed149 { | |
| pub _bindgen_data_: [u64; 8usize], | |
| } | |
| impl Union_Unnamed149 { | |
| pub unsafe fn regs(&mut self) -> *mut Struct_xen_pmu_regs { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn pad(&mut self) -> *mut [uint8_t; 64usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed149 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed149 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed150 { | |
| pub _bindgen_data_: [u64; 1usize], | |
| } | |
| impl Union_Unnamed150 { | |
| pub unsafe fn lapic_lvtpc(&mut self) -> *mut uint32_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn pad(&mut self) -> *mut uint64_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed150 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed150 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed151 { | |
| pub _bindgen_data_: [u64; 16usize], | |
| } | |
| impl Union_Unnamed151 { | |
| pub unsafe fn amd(&mut self) -> *mut Struct_xen_pmu_amd_ctxt { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn intel(&mut self) -> *mut Struct_xen_pmu_intel_ctxt { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn pad(&mut self) -> *mut [uint8_t; 128usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed151 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed151 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mmuext_op { | |
| pub cmd: ::std::os::raw::c_uint, | |
| pub arg1: Union_Unnamed152, | |
| pub arg2: Union_Unnamed153, | |
| } | |
| impl ::std::clone::Clone for Struct_mmuext_op { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mmuext_op { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed152 { | |
| pub _bindgen_data_: [u64; 1usize], | |
| } | |
| impl Union_Unnamed152 { | |
| pub unsafe fn mfn(&mut self) -> *mut xen_pfn_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn linear_addr(&mut self) -> *mut ::std::os::raw::c_ulong { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed152 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed152 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed153 { | |
| pub _bindgen_data_: [u64; 1usize], | |
| } | |
| impl Union_Unnamed153 { | |
| pub unsafe fn nr_ents(&mut self) -> *mut ::std::os::raw::c_uint { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn vcpumask(&mut self) -> *mut *mut ::std::os::raw::c_void { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn src_mfn(&mut self) -> *mut xen_pfn_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed153 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed153 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type __guest_handle_mmuext_op = *mut Struct_mmuext_op; | |
| pub type domid_t = uint16_t; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mmu_update { | |
| pub ptr: uint64_t, | |
| pub val: uint64_t, | |
| } | |
| impl ::std::clone::Clone for Struct_mmu_update { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mmu_update { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type __guest_handle_mmu_update = *mut Struct_mmu_update; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_multicall_entry { | |
| pub op: xen_ulong_t, | |
| pub result: xen_long_t, | |
| pub args: [xen_ulong_t; 6usize], | |
| } | |
| impl ::std::clone::Clone for Struct_multicall_entry { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_multicall_entry { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type __guest_handle_multicall_entry = *mut Struct_multicall_entry; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_vcpu_time_info { | |
| pub version: uint32_t, | |
| pub pad0: uint32_t, | |
| pub tsc_timestamp: uint64_t, | |
| pub system_time: uint64_t, | |
| pub tsc_to_system_mul: uint32_t, | |
| pub tsc_shift: int8_t, | |
| pub pad1: [int8_t; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_vcpu_time_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_vcpu_time_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_vcpu_info { | |
| pub evtchn_upcall_pending: uint8_t, | |
| pub evtchn_upcall_mask: uint8_t, | |
| pub evtchn_pending_sel: xen_ulong_t, | |
| pub arch: Struct_arch_vcpu_info, | |
| pub time: Struct_pvclock_vcpu_time_info, | |
| } | |
| impl ::std::clone::Clone for Struct_vcpu_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_vcpu_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_shared_info { | |
| pub vcpu_info: [Struct_vcpu_info; 32usize], | |
| pub evtchn_pending: [xen_ulong_t; 64usize], | |
| pub evtchn_mask: [xen_ulong_t; 64usize], | |
| pub wc: Struct_pvclock_wall_clock, | |
| pub arch: Struct_arch_shared_info, | |
| } | |
| impl ::std::clone::Clone for Struct_shared_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_shared_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_start_info { | |
| pub magic: [::std::os::raw::c_char; 32usize], | |
| pub nr_pages: ::std::os::raw::c_ulong, | |
| pub shared_info: ::std::os::raw::c_ulong, | |
| pub flags: uint32_t, | |
| pub store_mfn: xen_pfn_t, | |
| pub store_evtchn: uint32_t, | |
| pub console: Union_Unnamed154, | |
| pub pt_base: ::std::os::raw::c_ulong, | |
| pub nr_pt_frames: ::std::os::raw::c_ulong, | |
| pub mfn_list: ::std::os::raw::c_ulong, | |
| pub mod_start: ::std::os::raw::c_ulong, | |
| pub mod_len: ::std::os::raw::c_ulong, | |
| pub cmd_line: [int8_t; 1024usize], | |
| pub first_p2m_pfn: ::std::os::raw::c_ulong, | |
| pub nr_p2m_frames: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_start_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_start_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed154 { | |
| pub _bindgen_data_: [u64; 2usize], | |
| } | |
| impl Union_Unnamed154 { | |
| pub unsafe fn domU(&mut self) -> *mut Struct_Unnamed155 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn dom0(&mut self) -> *mut Struct_Unnamed156 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed154 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed154 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed155 { | |
| pub mfn: xen_pfn_t, | |
| pub evtchn: uint32_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed155 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed155 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed156 { | |
| pub info_off: uint32_t, | |
| pub info_size: uint32_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed156 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed156 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_xen_multiboot_mod_list { | |
| pub mod_start: uint32_t, | |
| pub mod_end: uint32_t, | |
| pub cmdline: uint32_t, | |
| pub pad: uint32_t, | |
| } | |
| impl ::std::clone::Clone for Struct_xen_multiboot_mod_list { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_xen_multiboot_mod_list { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dom0_vga_console_info { | |
| pub video_type: uint8_t, | |
| pub u: Union_Unnamed157, | |
| } | |
| impl ::std::clone::Clone for Struct_dom0_vga_console_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dom0_vga_console_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed157 { | |
| pub _bindgen_data_: [u32; 8usize], | |
| } | |
| impl Union_Unnamed157 { | |
| pub unsafe fn text_mode_3(&mut self) -> *mut Struct_Unnamed158 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn vesa_lfb(&mut self) -> *mut Struct_Unnamed159 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed157 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed157 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed158 { | |
| pub font_height: uint16_t, | |
| pub cursor_x: uint16_t, | |
| pub cursor_y: uint16_t, | |
| pub rows: uint16_t, | |
| pub columns: uint16_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed158 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed158 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed159 { | |
| pub width: uint16_t, | |
| pub height: uint16_t, | |
| pub bytes_per_line: uint16_t, | |
| pub bits_per_pixel: uint16_t, | |
| pub lfb_base: uint32_t, | |
| pub lfb_size: uint32_t, | |
| pub red_pos: uint8_t, | |
| pub red_size: uint8_t, | |
| pub green_pos: uint8_t, | |
| pub green_size: uint8_t, | |
| pub blue_pos: uint8_t, | |
| pub blue_size: uint8_t, | |
| pub rsvd_pos: uint8_t, | |
| pub rsvd_size: uint8_t, | |
| pub gbl_caps: uint32_t, | |
| pub mode_attrs: uint16_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed159 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed159 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type cpumap_t = uint64_t; | |
| pub type xen_domain_handle_t = [uint8_t; 16usize]; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_tmem_op { | |
| pub cmd: uint32_t, | |
| pub pool_id: int32_t, | |
| pub u: Union_Unnamed160, | |
| } | |
| impl ::std::clone::Clone for Struct_tmem_op { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_tmem_op { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed160 { | |
| pub _bindgen_data_: [u64; 6usize], | |
| } | |
| impl Union_Unnamed160 { | |
| pub unsafe fn new(&mut self) -> *mut Struct_Unnamed161 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn gen(&mut self) -> *mut Struct_Unnamed162 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed160 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed160 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed161 { | |
| pub uuid: [uint64_t; 2usize], | |
| pub flags: uint32_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed161 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed161 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed162 { | |
| pub oid: [uint64_t; 3usize], | |
| pub index: uint32_t, | |
| pub tmem_offset: uint32_t, | |
| pub pfn_offset: uint32_t, | |
| pub len: uint32_t, | |
| pub gmfn: __guest_handle_void, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed162 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed162 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type __guest_handle___u64 = *mut __u64; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_real_mode_header { | |
| pub text_start: _u32, | |
| pub ro_end: _u32, | |
| pub trampoline_start: _u32, | |
| pub trampoline_status: _u32, | |
| pub trampoline_header: _u32, | |
| pub trampoline_pgd: _u32, | |
| pub wakeup_start: _u32, | |
| pub wakeup_header: _u32, | |
| pub machine_real_restart_asm: _u32, | |
| pub machine_real_restart_seg: _u32, | |
| } | |
| impl ::std::clone::Clone for Struct_real_mode_header { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_real_mode_header { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_trampoline_header { | |
| pub start: __u64, | |
| pub efer: __u64, | |
| pub cr4: _u32, | |
| } | |
| impl ::std::clone::Clone for Struct_trampoline_header { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_trampoline_header { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_arch_clocksource_data { | |
| pub vclock_mode: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_arch_clocksource_data { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_arch_clocksource_data { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_clocksource { | |
| pub read: ::std::option::Option<unsafe extern "C" fn(cs: | |
| *mut Struct_clocksource) | |
| -> cycle_t>, | |
| pub mask: cycle_t, | |
| pub mult: _u32, | |
| pub shift: _u32, | |
| pub max_idle_ns: __u64, | |
| pub maxadj: _u32, | |
| pub archdata: Struct_arch_clocksource_data, | |
| pub max_cycles: __u64, | |
| pub name: *const ::std::os::raw::c_char, | |
| pub list: Struct_list_head, | |
| pub rating: ::std::os::raw::c_int, | |
| pub enable: ::std::option::Option<unsafe extern "C" fn(cs: | |
| *mut Struct_clocksource) | |
| -> ::std::os::raw::c_int>, | |
| pub disable: ::std::option::Option<unsafe extern "C" fn(cs: | |
| *mut Struct_clocksource)>, | |
| pub flags: ::std::os::raw::c_ulong, | |
| pub suspend: ::std::option::Option<unsafe extern "C" fn(cs: | |
| *mut Struct_clocksource)>, | |
| pub resume: ::std::option::Option<unsafe extern "C" fn(cs: | |
| *mut Struct_clocksource)>, | |
| pub wd_list: Struct_list_head, | |
| pub cs_last: cycle_t, | |
| pub wd_last: cycle_t, | |
| pub owner: *mut Struct_module, | |
| } | |
| impl ::std::clone::Clone for Struct_clocksource { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_clocksource { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pvclock_vsyscall_time_info { | |
| pub pvti: Struct_pvclock_vcpu_time_info, | |
| } | |
| impl ::std::clone::Clone for Struct_pvclock_vsyscall_time_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pvclock_vsyscall_time_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_vsyscall_num { | |
| __NR_vgettimeofday = 0, | |
| __NR_vtime = 1, | |
| __NR_vgetcpu = 2, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_fixed_addresses { | |
| VSYSCALL_PAGE = 511, | |
| PVCLOCK_FIXMAP_BEGIN = 512, | |
| PVCLOCK_FIXMAP_END = 515, | |
| FIX_DBGP_BASE = 516, | |
| FIX_EARLYCON_MEM_BASE = 517, | |
| FIX_APIC_BASE = 518, | |
| FIX_IO_APIC_BASE_0 = 519, | |
| FIX_IO_APIC_BASE_END = 646, | |
| FIX_RO_IDT = 647, | |
| FIX_PARAVIRT_BOOTMAP = 648, | |
| FIX_TEXT_POKE1 = 649, | |
| FIX_TEXT_POKE0 = 650, | |
| __end_of_permanent_fixed_addresses = 651, | |
| FIX_BTMAP_END = 1024, | |
| FIX_BTMAP_BEGIN = 1535, | |
| FIX_TBOOT_BASE = 1536, | |
| __end_of_fixed_addresses = 1537, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_apic { | |
| pub name: *mut ::std::os::raw::c_char, | |
| pub probe: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_int>, | |
| pub acpi_madt_oem_check: ::std::option::Option<unsafe extern "C" fn(oem_id: | |
| *mut ::std::os::raw::c_char, | |
| oem_table_id: | |
| *mut ::std::os::raw::c_char) | |
| -> | |
| ::std::os::raw::c_int>, | |
| pub apic_id_valid: ::std::option::Option<extern "C" fn(apicid: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub apic_id_registered: ::std::option::Option<extern "C" fn() | |
| -> | |
| ::std::os::raw::c_int>, | |
| pub irq_delivery_mode: _u32, | |
| pub irq_dest_mode: _u32, | |
| pub target_cpus: ::std::option::Option<extern "C" fn() | |
| -> *const Struct_cpumask>, | |
| pub disable_esr: ::std::os::raw::c_int, | |
| pub dest_logical: ::std::os::raw::c_int, | |
| pub check_apicid_used: ::std::option::Option<unsafe extern "C" fn(map: | |
| *mut physid_mask_t, | |
| apicid: | |
| ::std::os::raw::c_int) | |
| -> | |
| ::std::os::raw::c_ulong>, | |
| pub vector_allocation_domain: ::std::option::Option<unsafe extern "C" fn(cpu: | |
| ::std::os::raw::c_int, | |
| retmask: | |
| *mut Struct_cpumask, | |
| mask: | |
| *const Struct_cpumask)>, | |
| pub init_apic_ldr: ::std::option::Option<extern "C" fn()>, | |
| pub ioapic_phys_id_map: ::std::option::Option<unsafe extern "C" fn(phys_map: | |
| *mut physid_mask_t, | |
| retmap: | |
| *mut physid_mask_t)>, | |
| pub setup_apic_routing: ::std::option::Option<extern "C" fn()>, | |
| pub cpu_present_to_apicid: ::std::option::Option<extern "C" fn(mps_cpu: | |
| ::std::os::raw::c_int) | |
| -> | |
| ::std::os::raw::c_int>, | |
| pub apicid_to_cpu_present: ::std::option::Option<unsafe extern "C" fn(phys_apicid: | |
| ::std::os::raw::c_int, | |
| retmap: | |
| *mut physid_mask_t)>, | |
| pub check_phys_apicid_present: ::std::option::Option<extern "C" fn(phys_apicid: | |
| ::std::os::raw::c_int) | |
| -> | |
| ::std::os::raw::c_int>, | |
| pub phys_pkg_id: ::std::option::Option<extern "C" fn(cpuid_apic: | |
| ::std::os::raw::c_int, | |
| index_msb: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub get_apic_id: ::std::option::Option<extern "C" fn(x: | |
| ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_uint>, | |
| pub set_apic_id: ::std::option::Option<extern "C" fn(id: | |
| ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong>, | |
| pub apic_id_mask: ::std::os::raw::c_ulong, | |
| pub cpu_mask_to_apicid_and: ::std::option::Option<unsafe extern "C" fn(cpumask: | |
| *const Struct_cpumask, | |
| andmask: | |
| *const Struct_cpumask, | |
| apicid: | |
| *mut ::std::os::raw::c_uint) | |
| -> | |
| ::std::os::raw::c_int>, | |
| pub send_IPI_mask: ::std::option::Option<unsafe extern "C" fn(mask: | |
| *const Struct_cpumask, | |
| vector: | |
| ::std::os::raw::c_int)>, | |
| pub send_IPI_mask_allbutself: ::std::option::Option<unsafe extern "C" fn(mask: | |
| *const Struct_cpumask, | |
| vector: | |
| ::std::os::raw::c_int)>, | |
| pub send_IPI_allbutself: ::std::option::Option<extern "C" fn(vector: | |
| ::std::os::raw::c_int)>, | |
| pub send_IPI_all: ::std::option::Option<extern "C" fn(vector: | |
| ::std::os::raw::c_int)>, | |
| pub send_IPI_self: ::std::option::Option<extern "C" fn(vector: | |
| ::std::os::raw::c_int)>, | |
| pub wakeup_secondary_cpu: ::std::option::Option<extern "C" fn(apicid: | |
| ::std::os::raw::c_int, | |
| start_eip: | |
| ::std::os::raw::c_ulong) | |
| -> | |
| ::std::os::raw::c_int>, | |
| pub inquire_remote_apic: ::std::option::Option<extern "C" fn(apicid: | |
| ::std::os::raw::c_int)>, | |
| pub read: ::std::option::Option<extern "C" fn(reg: _u32) -> _u32>, | |
| pub write: ::std::option::Option<extern "C" fn(reg: _u32, v: _u32)>, | |
| pub eoi_write: ::std::option::Option<extern "C" fn(reg: _u32, v: _u32)>, | |
| pub icr_read: ::std::option::Option<extern "C" fn() -> __u64>, | |
| pub icr_write: ::std::option::Option<extern "C" fn(low: _u32, | |
| high: _u32)>, | |
| pub wait_icr_idle: ::std::option::Option<extern "C" fn()>, | |
| pub safe_wait_icr_idle: ::std::option::Option<extern "C" fn() -> _u32>, | |
| } | |
| impl ::std::clone::Clone for Struct_apic { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_apic { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_IO_APIC_reg_00 { | |
| pub _bindgen_data_: [u32; 1usize], | |
| } | |
| impl Union_IO_APIC_reg_00 { | |
| pub unsafe fn raw(&mut self) -> *mut _u32 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn bits(&mut self) -> *mut Struct_Unnamed163 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_IO_APIC_reg_00 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_IO_APIC_reg_00 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed163 { | |
| pub _bindgen_bitfield_1_: _u32, | |
| pub _bindgen_bitfield_2_: _u32, | |
| pub _bindgen_bitfield_3_: _u32, | |
| pub _bindgen_bitfield_4_: _u32, | |
| pub _bindgen_bitfield_5_: _u32, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed163 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed163 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_IO_APIC_reg_01 { | |
| pub _bindgen_data_: [u32; 1usize], | |
| } | |
| impl Union_IO_APIC_reg_01 { | |
| pub unsafe fn raw(&mut self) -> *mut _u32 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn bits(&mut self) -> *mut Struct_Unnamed164 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_IO_APIC_reg_01 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_IO_APIC_reg_01 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed164 { | |
| pub _bindgen_bitfield_1_: _u32, | |
| pub _bindgen_bitfield_2_: _u32, | |
| pub _bindgen_bitfield_3_: _u32, | |
| pub _bindgen_bitfield_4_: _u32, | |
| pub _bindgen_bitfield_5_: _u32, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed164 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed164 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_IO_APIC_reg_02 { | |
| pub _bindgen_data_: [u32; 1usize], | |
| } | |
| impl Union_IO_APIC_reg_02 { | |
| pub unsafe fn raw(&mut self) -> *mut _u32 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn bits(&mut self) -> *mut Struct_Unnamed165 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_IO_APIC_reg_02 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_IO_APIC_reg_02 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed165 { | |
| pub _bindgen_bitfield_1_: _u32, | |
| pub _bindgen_bitfield_2_: _u32, | |
| pub _bindgen_bitfield_3_: _u32, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed165 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed165 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_IO_APIC_reg_03 { | |
| pub _bindgen_data_: [u32; 1usize], | |
| } | |
| impl Union_IO_APIC_reg_03 { | |
| pub unsafe fn raw(&mut self) -> *mut _u32 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn bits(&mut self) -> *mut Struct_Unnamed166 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_IO_APIC_reg_03 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_IO_APIC_reg_03 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed166 { | |
| pub _bindgen_bitfield_1_: _u32, | |
| pub _bindgen_bitfield_2_: _u32, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed166 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed166 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_IO_APIC_route_entry { | |
| pub _bindgen_bitfield_1_: __u32, | |
| pub _bindgen_bitfield_2_: __u32, | |
| pub _bindgen_bitfield_3_: __u32, | |
| pub _bindgen_bitfield_4_: __u32, | |
| pub _bindgen_bitfield_5_: __u32, | |
| pub _bindgen_bitfield_6_: __u32, | |
| pub _bindgen_bitfield_7_: __u32, | |
| pub _bindgen_bitfield_8_: __u32, | |
| pub _bindgen_bitfield_9_: __u32, | |
| pub _bindgen_bitfield_10_: __u32, | |
| pub _bindgen_bitfield_11_: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_IO_APIC_route_entry { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_IO_APIC_route_entry { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C, packed)] | |
| #[derive(Copy)] | |
| pub struct Struct_IR_IO_APIC_route_entry { | |
| pub _bindgen_bitfield_1_: __u64, | |
| pub _bindgen_bitfield_2_: __u64, | |
| pub _bindgen_bitfield_3_: __u64, | |
| pub _bindgen_bitfield_4_: __u64, | |
| pub _bindgen_bitfield_5_: __u64, | |
| pub _bindgen_bitfield_6_: __u64, | |
| pub _bindgen_bitfield_7_: __u64, | |
| pub _bindgen_bitfield_8_: __u64, | |
| pub _bindgen_bitfield_9_: __u64, | |
| pub _bindgen_bitfield_10_: __u64, | |
| pub _bindgen_bitfield_11_: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_IR_IO_APIC_route_entry { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_IR_IO_APIC_route_entry { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_irq_alloc_info { } | |
| pub enum Struct_ioapic_domain_cfg { } | |
| pub enum Struct_irq_cfg { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_smp_ops { | |
| pub smp_prepare_boot_cpu: ::std::option::Option<extern "C" fn()>, | |
| pub smp_prepare_cpus: ::std::option::Option<extern "C" fn(max_cpus: | |
| ::std::os::raw::c_uint)>, | |
| pub smp_cpus_done: ::std::option::Option<extern "C" fn(max_cpus: | |
| ::std::os::raw::c_uint)>, | |
| pub stop_other_cpus: ::std::option::Option<extern "C" fn(wait: | |
| ::std::os::raw::c_int)>, | |
| pub smp_send_reschedule: ::std::option::Option<extern "C" fn(cpu: | |
| ::std::os::raw::c_int)>, | |
| pub cpu_up: ::std::option::Option<unsafe extern "C" fn(cpu: | |
| ::std::os::raw::c_uint, | |
| tidle: | |
| *mut Struct_task_struct) | |
| -> ::std::os::raw::c_int>, | |
| pub cpu_disable: ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_int>, | |
| pub cpu_die: ::std::option::Option<extern "C" fn(cpu: | |
| ::std::os::raw::c_uint)>, | |
| pub play_dead: ::std::option::Option<extern "C" fn()>, | |
| pub send_call_func_ipi: ::std::option::Option<unsafe extern "C" fn(mask: | |
| *const Struct_cpumask)>, | |
| pub send_call_func_single_ipi: ::std::option::Option<extern "C" fn(cpu: | |
| ::std::os::raw::c_int)>, | |
| } | |
| impl ::std::clone::Clone for Struct_smp_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_smp_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pcpu_group_info { | |
| pub nr_units: ::std::os::raw::c_int, | |
| pub base_offset: ::std::os::raw::c_ulong, | |
| pub cpu_map: *mut ::std::os::raw::c_uint, | |
| } | |
| impl ::std::clone::Clone for Struct_pcpu_group_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pcpu_group_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pcpu_alloc_info { | |
| pub static_size: size_t, | |
| pub reserved_size: size_t, | |
| pub dyn_size: size_t, | |
| pub unit_size: size_t, | |
| pub atom_size: size_t, | |
| pub alloc_size: size_t, | |
| pub __ai_size: size_t, | |
| pub nr_groups: ::std::os::raw::c_int, | |
| pub groups: *mut Struct_pcpu_group_info, | |
| } | |
| impl ::std::clone::Clone for Struct_pcpu_alloc_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pcpu_alloc_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_pcpu_fc { | |
| PCPU_FC_AUTO = 0, | |
| PCPU_FC_EMBED = 1, | |
| PCPU_FC_PAGE = 2, | |
| PCPU_FC_NR = 3, | |
| } | |
| pub type pcpu_fc_alloc_fn_t = | |
| ::std::option::Option<extern "C" fn(cpu: ::std::os::raw::c_uint, | |
| size: size_t, align: size_t) | |
| -> *mut ::std::os::raw::c_void>; | |
| pub type pcpu_fc_free_fn_t = | |
| ::std::option::Option<unsafe extern "C" fn(ptr: | |
| *mut ::std::os::raw::c_void, | |
| size: size_t)>; | |
| pub type pcpu_fc_populate_pte_fn_t = | |
| ::std::option::Option<extern "C" fn(addr: ::std::os::raw::c_ulong)>; | |
| pub type pcpu_fc_cpu_distance_fn_t = | |
| extern "C" fn(from: ::std::os::raw::c_uint, to: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_rcu_sync_type { | |
| RCU_SYNC = 0, | |
| RCU_SCHED_SYNC = 1, | |
| RCU_BH_SYNC = 2, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_rcu_sync { | |
| pub gp_state: ::std::os::raw::c_int, | |
| pub gp_count: ::std::os::raw::c_int, | |
| pub gp_wait: wait_queue_head_t, | |
| pub cb_state: ::std::os::raw::c_int, | |
| pub cb_head: Struct_callback_head, | |
| pub gp_type: Enum_rcu_sync_type, | |
| } | |
| impl ::std::clone::Clone for Struct_rcu_sync { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_rcu_sync { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_percpu_rw_semaphore { | |
| pub rss: Struct_rcu_sync, | |
| pub fast_read_ctr: *mut ::std::os::raw::c_uint, | |
| pub rw_sem: Struct_rw_semaphore, | |
| pub slow_read_ctr: atomic_t, | |
| pub write_waitq: wait_queue_head_t, | |
| } | |
| impl ::std::clone::Clone for Struct_percpu_rw_semaphore { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_percpu_rw_semaphore { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_bio_set { } | |
| pub enum Struct_bio_integrity_payload { } | |
| pub enum Struct_io_context { } | |
| pub enum Struct_cgroup_subsys_state { } | |
| pub type bio_end_io_t = unsafe extern "C" fn(arg1: *mut Struct_bio); | |
| pub type bio_destructor_t = unsafe extern "C" fn(arg1: *mut Struct_bio); | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_bio_vec { | |
| pub bv_page: *mut Struct_page, | |
| pub bv_len: ::std::os::raw::c_uint, | |
| pub bv_offset: ::std::os::raw::c_uint, | |
| } | |
| impl ::std::clone::Clone for Struct_bio_vec { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_bio_vec { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_bvec_iter { | |
| pub bi_sector: sector_t, | |
| pub bi_size: ::std::os::raw::c_uint, | |
| pub bi_idx: ::std::os::raw::c_uint, | |
| pub bi_bvec_done: ::std::os::raw::c_uint, | |
| } | |
| impl ::std::clone::Clone for Struct_bvec_iter { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_bvec_iter { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_bio { | |
| pub bi_next: *mut Struct_bio, | |
| pub bi_bdev: *mut Struct_block_device, | |
| pub bi_flags: ::std::os::raw::c_uint, | |
| pub bi_error: ::std::os::raw::c_int, | |
| pub bi_rw: ::std::os::raw::c_ulong, | |
| pub bi_iter: Struct_bvec_iter, | |
| pub bi_phys_segments: ::std::os::raw::c_uint, | |
| pub bi_seg_front_size: ::std::os::raw::c_uint, | |
| pub bi_seg_back_size: ::std::os::raw::c_uint, | |
| pub __bi_remaining: atomic_t, | |
| pub bi_end_io: *mut bio_end_io_t, | |
| pub bi_private: *mut ::std::os::raw::c_void, | |
| pub bi_ioc: *mut Struct_io_context, | |
| pub bi_css: *mut Struct_cgroup_subsys_state, | |
| pub _bindgen_data_1_: [u64; 1usize], | |
| pub bi_vcnt: ::std::os::raw::c_ushort, | |
| pub bi_max_vecs: ::std::os::raw::c_ushort, | |
| pub __bi_cnt: atomic_t, | |
| pub bi_io_vec: *mut Struct_bio_vec, | |
| pub bi_pool: *mut Struct_bio_set, | |
| pub bi_inline_vecs: [Struct_bio_vec; 0usize], | |
| } | |
| impl Struct_bio { | |
| pub unsafe fn bi_integrity(&mut self) | |
| -> *mut *mut Struct_bio_integrity_payload { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_bio { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_bio { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_rq_flag_bits { | |
| __REQ_WRITE = 0, | |
| __REQ_FAILFAST_DEV = 1, | |
| __REQ_FAILFAST_TRANSPORT = 2, | |
| __REQ_FAILFAST_DRIVER = 3, | |
| __REQ_SYNC = 4, | |
| __REQ_META = 5, | |
| __REQ_PRIO = 6, | |
| __REQ_DISCARD = 7, | |
| __REQ_SECURE = 8, | |
| __REQ_WRITE_SAME = 9, | |
| __REQ_NOIDLE = 10, | |
| __REQ_INTEGRITY = 11, | |
| __REQ_FUA = 12, | |
| __REQ_FLUSH = 13, | |
| __REQ_RAHEAD = 14, | |
| __REQ_THROTTLED = 15, | |
| __REQ_SORTED = 16, | |
| __REQ_SOFTBARRIER = 17, | |
| __REQ_NOMERGE = 18, | |
| __REQ_STARTED = 19, | |
| __REQ_DONTPREP = 20, | |
| __REQ_QUEUED = 21, | |
| __REQ_ELVPRIV = 22, | |
| __REQ_FAILED = 23, | |
| __REQ_QUIET = 24, | |
| __REQ_PREEMPT = 25, | |
| __REQ_ALLOCED = 26, | |
| __REQ_COPY_USER = 27, | |
| __REQ_FLUSH_SEQ = 28, | |
| __REQ_IO_STAT = 29, | |
| __REQ_MIXED_MERGE = 30, | |
| __REQ_PM = 31, | |
| __REQ_HASHED = 32, | |
| __REQ_MQ_INFLIGHT = 33, | |
| __REQ_NO_TIMEOUT = 34, | |
| __REQ_NR_BITS = 35, | |
| } | |
| pub type blk_qc_t = ::std::os::raw::c_uint; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fstrim_range { | |
| pub start: __u64, | |
| pub len: __u64, | |
| pub minlen: __u64, | |
| } | |
| impl ::std::clone::Clone for Struct_fstrim_range { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fstrim_range { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_files_stat_struct { | |
| pub nr_files: ::std::os::raw::c_ulong, | |
| pub nr_free_files: ::std::os::raw::c_ulong, | |
| pub max_files: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_files_stat_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_files_stat_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_inodes_stat_t { | |
| pub nr_inodes: ::std::os::raw::c_long, | |
| pub nr_unused: ::std::os::raw::c_long, | |
| pub dummy: [::std::os::raw::c_long; 5usize], | |
| } | |
| impl ::std::clone::Clone for Struct_inodes_stat_t { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_inodes_stat_t { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_backing_dev_info { } | |
| pub enum Struct_bdi_writeback { } | |
| pub enum Struct_export_operations { } | |
| pub enum Struct_hd_geometry { } | |
| pub enum Struct_iovec { } | |
| pub enum Struct_pipe_inode_info { } | |
| pub enum Struct_poll_table_struct { } | |
| pub enum Struct_kstatfs { } | |
| pub enum Struct_cred { } | |
| pub enum Struct_swap_info_struct { } | |
| pub enum Struct_iov_iter { } | |
| pub enum Struct_buffer_head { } | |
| pub type get_block_t = | |
| unsafe extern "C" fn(inode: *mut Struct_inode, iblock: sector_t, | |
| bh_result: *mut Struct_buffer_head, | |
| create: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub type dio_iodone_t = | |
| unsafe extern "C" fn(iocb: *mut Struct_kiocb, offset: loff_t, | |
| bytes: ssize_t, | |
| private: *mut ::std::os::raw::c_void); | |
| pub type dax_iodone_t = | |
| unsafe extern "C" fn(bh_map: *mut Struct_buffer_head, | |
| uptodate: ::std::os::raw::c_int); | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_iattr { | |
| pub ia_valid: ::std::os::raw::c_uint, | |
| pub ia_mode: umode_t, | |
| pub ia_uid: kuid_t, | |
| pub ia_gid: kgid_t, | |
| pub ia_size: loff_t, | |
| pub ia_atime: Struct_timespec, | |
| pub ia_mtime: Struct_timespec, | |
| pub ia_ctime: Struct_timespec, | |
| pub ia_file: *mut Struct_file, | |
| } | |
| impl ::std::clone::Clone for Struct_iattr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_iattr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_pageblock_bits { | |
| PB_migrate = 0, | |
| PB_migrate_end = 2, | |
| PB_migrate_skip = 3, | |
| NR_PAGEBLOCK_BITS = 4, | |
| } | |
| pub const MIGRATE_HIGHATOMIC: Enum_Unnamed167 = | |
| Enum_Unnamed167::MIGRATE_PCPTYPES; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed167 { | |
| MIGRATE_UNMOVABLE = 0, | |
| MIGRATE_MOVABLE = 1, | |
| MIGRATE_RECLAIMABLE = 2, | |
| MIGRATE_PCPTYPES = 3, | |
| MIGRATE_CMA = 4, | |
| MIGRATE_ISOLATE = 5, | |
| MIGRATE_TYPES = 6, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_free_area { | |
| pub free_list: [Struct_list_head; 6usize], | |
| pub nr_free: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_free_area { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_free_area { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_zone_padding { | |
| pub x: [::std::os::raw::c_char; 0usize], | |
| } | |
| impl ::std::clone::Clone for Struct_zone_padding { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_zone_padding { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub const NR_INACTIVE_ANON: Enum_zone_stat_item = | |
| Enum_zone_stat_item::NR_LRU_BASE; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_zone_stat_item { | |
| NR_FREE_PAGES = 0, | |
| NR_ALLOC_BATCH = 1, | |
| NR_LRU_BASE = 2, | |
| NR_ACTIVE_ANON = 3, | |
| NR_INACTIVE_FILE = 4, | |
| NR_ACTIVE_FILE = 5, | |
| NR_UNEVICTABLE = 6, | |
| NR_MLOCK = 7, | |
| NR_ANON_PAGES = 8, | |
| NR_FILE_MAPPED = 9, | |
| NR_FILE_PAGES = 10, | |
| NR_FILE_DIRTY = 11, | |
| NR_WRITEBACK = 12, | |
| NR_SLAB_RECLAIMABLE = 13, | |
| NR_SLAB_UNRECLAIMABLE = 14, | |
| NR_PAGETABLE = 15, | |
| NR_KERNEL_STACK = 16, | |
| NR_UNSTABLE_NFS = 17, | |
| NR_BOUNCE = 18, | |
| NR_VMSCAN_WRITE = 19, | |
| NR_VMSCAN_IMMEDIATE = 20, | |
| NR_WRITEBACK_TEMP = 21, | |
| NR_ISOLATED_ANON = 22, | |
| NR_ISOLATED_FILE = 23, | |
| NR_SHMEM = 24, | |
| NR_DIRTIED = 25, | |
| NR_WRITTEN = 26, | |
| NR_PAGES_SCANNED = 27, | |
| NUMA_HIT = 28, | |
| NUMA_MISS = 29, | |
| NUMA_FOREIGN = 30, | |
| NUMA_INTERLEAVE_HIT = 31, | |
| NUMA_LOCAL = 32, | |
| NUMA_OTHER = 33, | |
| WORKINGSET_REFAULT = 34, | |
| WORKINGSET_ACTIVATE = 35, | |
| WORKINGSET_NODERECLAIM = 36, | |
| NR_ANON_TRANSPARENT_HUGEPAGES = 37, | |
| NR_FREE_CMA_PAGES = 38, | |
| NR_VM_ZONE_STAT_ITEMS = 39, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_lru_list { | |
| LRU_INACTIVE_ANON = 0, | |
| LRU_ACTIVE_ANON = 1, | |
| LRU_INACTIVE_FILE = 2, | |
| LRU_ACTIVE_FILE = 3, | |
| LRU_UNEVICTABLE = 4, | |
| NR_LRU_LISTS = 5, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_zone_reclaim_stat { | |
| pub recent_rotated: [::std::os::raw::c_ulong; 2usize], | |
| pub recent_scanned: [::std::os::raw::c_ulong; 2usize], | |
| } | |
| impl ::std::clone::Clone for Struct_zone_reclaim_stat { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_zone_reclaim_stat { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_lruvec { | |
| pub lists: [Struct_list_head; 5usize], | |
| pub reclaim_stat: Struct_zone_reclaim_stat, | |
| pub zone: *mut Struct_zone, | |
| } | |
| impl ::std::clone::Clone for Struct_lruvec { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_lruvec { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type isolate_mode_t = ::std::os::raw::c_uint; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_zone_watermarks { | |
| WMARK_MIN = 0, | |
| WMARK_LOW = 1, | |
| WMARK_HIGH = 2, | |
| NR_WMARK = 3, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_per_cpu_pages { | |
| pub count: ::std::os::raw::c_int, | |
| pub high: ::std::os::raw::c_int, | |
| pub batch: ::std::os::raw::c_int, | |
| pub lists: [Struct_list_head; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_per_cpu_pages { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_per_cpu_pages { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_per_cpu_pageset { | |
| pub pcp: Struct_per_cpu_pages, | |
| pub expire: s8, | |
| pub stat_threshold: s8, | |
| pub vm_stat_diff: [s8; 39usize], | |
| } | |
| impl ::std::clone::Clone for Struct_per_cpu_pageset { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_per_cpu_pageset { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_zone_type { | |
| ZONE_DMA = 0, | |
| ZONE_DMA32 = 1, | |
| ZONE_NORMAL = 2, | |
| ZONE_MOVABLE = 3, | |
| ZONE_DEVICE = 4, | |
| __MAX_NR_ZONES = 5, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_zone { | |
| pub watermark: [::std::os::raw::c_ulong; 3usize], | |
| pub nr_reserved_highatomic: ::std::os::raw::c_ulong, | |
| pub lowmem_reserve: [::std::os::raw::c_long; 5usize], | |
| pub node: ::std::os::raw::c_int, | |
| pub inactive_ratio: ::std::os::raw::c_uint, | |
| pub zone_pgdat: *mut Struct_pglist_data, | |
| pub pageset: *mut Struct_per_cpu_pageset, | |
| pub dirty_balance_reserve: ::std::os::raw::c_ulong, | |
| pub min_unmapped_pages: ::std::os::raw::c_ulong, | |
| pub min_slab_pages: ::std::os::raw::c_ulong, | |
| pub zone_start_pfn: ::std::os::raw::c_ulong, | |
| pub managed_pages: ::std::os::raw::c_ulong, | |
| pub spanned_pages: ::std::os::raw::c_ulong, | |
| pub present_pages: ::std::os::raw::c_ulong, | |
| pub name: *const ::std::os::raw::c_char, | |
| pub nr_isolate_pageblock: ::std::os::raw::c_ulong, | |
| pub span_seqlock: seqlock_t, | |
| pub wait_table: *mut wait_queue_head_t, | |
| pub wait_table_hash_nr_entries: ::std::os::raw::c_ulong, | |
| pub wait_table_bits: ::std::os::raw::c_ulong, | |
| pub _pad1_: Struct_zone_padding, | |
| pub free_area: [Struct_free_area; 11usize], | |
| pub flags: ::std::os::raw::c_ulong, | |
| pub lock: spinlock_t, | |
| pub _pad2_: Struct_zone_padding, | |
| pub lru_lock: spinlock_t, | |
| pub lruvec: Struct_lruvec, | |
| pub inactive_age: atomic_long_t, | |
| pub percpu_drift_mark: ::std::os::raw::c_ulong, | |
| pub compact_cached_free_pfn: ::std::os::raw::c_ulong, | |
| pub compact_cached_migrate_pfn: [::std::os::raw::c_ulong; 2usize], | |
| pub compact_considered: ::std::os::raw::c_uint, | |
| pub compact_defer_shift: ::std::os::raw::c_uint, | |
| pub compact_order_failed: ::std::os::raw::c_int, | |
| pub compact_blockskip_flush: _bool, | |
| pub _pad3_: Struct_zone_padding, | |
| pub vm_stat: [atomic_long_t; 39usize], | |
| } | |
| impl ::std::clone::Clone for Struct_zone { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_zone { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_zone_flags { | |
| ZONE_RECLAIM_LOCKED = 0, | |
| ZONE_OOM_LOCKED = 1, | |
| ZONE_CONGESTED = 2, | |
| ZONE_DIRTY = 3, | |
| ZONE_WRITEBACK = 4, | |
| ZONE_FAIR_DEPLETED = 5, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_zoneref { | |
| pub zone: *mut Struct_zone, | |
| pub zone_idx: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_zoneref { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_zoneref { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_zonelist { | |
| pub _zonerefs: [Struct_zoneref; 321usize], | |
| } | |
| impl ::std::clone::Clone for Struct_zonelist { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_zonelist { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_bootmem_data { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pglist_data { | |
| pub node_zones: [Struct_zone; 5usize], | |
| pub node_zonelists: [Struct_zonelist; 2usize], | |
| pub nr_zones: ::std::os::raw::c_int, | |
| pub node_size_lock: spinlock_t, | |
| pub node_start_pfn: ::std::os::raw::c_ulong, | |
| pub node_present_pages: ::std::os::raw::c_ulong, | |
| pub node_spanned_pages: ::std::os::raw::c_ulong, | |
| pub node_id: ::std::os::raw::c_int, | |
| pub kswapd_wait: wait_queue_head_t, | |
| pub pfmemalloc_wait: wait_queue_head_t, | |
| pub kswapd: *mut Struct_task_struct, | |
| pub kswapd_max_order: ::std::os::raw::c_int, | |
| pub classzone_idx: Enum_zone_type, | |
| pub numabalancing_migrate_lock: spinlock_t, | |
| pub numabalancing_migrate_next_window: ::std::os::raw::c_ulong, | |
| pub numabalancing_migrate_nr_pages: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_pglist_data { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pglist_data { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type pg_data_t = Struct_pglist_data; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_srcu_struct_array { | |
| pub c: [::std::os::raw::c_ulong; 2usize], | |
| pub seq: [::std::os::raw::c_ulong; 2usize], | |
| } | |
| impl ::std::clone::Clone for Struct_srcu_struct_array { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_srcu_struct_array { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_rcu_batch { | |
| pub head: *mut Struct_callback_head, | |
| pub tail: *mut *mut Struct_callback_head, | |
| } | |
| impl ::std::clone::Clone for Struct_rcu_batch { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_rcu_batch { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_srcu_struct { | |
| pub completed: ::std::os::raw::c_ulong, | |
| pub per_cpu_ref: *mut Struct_srcu_struct_array, | |
| pub queue_lock: spinlock_t, | |
| pub running: _bool, | |
| pub batch_queue: Struct_rcu_batch, | |
| pub batch_check0: Struct_rcu_batch, | |
| pub batch_check1: Struct_rcu_batch, | |
| pub batch_done: Struct_rcu_batch, | |
| pub work: Struct_delayed_work, | |
| } | |
| impl ::std::clone::Clone for Struct_srcu_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_srcu_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type notifier_fn_t = | |
| ::std::option::Option<unsafe extern "C" fn(nb: *mut Struct_notifier_block, | |
| action: | |
| ::std::os::raw::c_ulong, | |
| data: | |
| *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int>; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_notifier_block { | |
| pub notifier_call: notifier_fn_t, | |
| pub next: *mut Struct_notifier_block, | |
| pub priority: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_notifier_block { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_notifier_block { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_atomic_notifier_head { | |
| pub lock: spinlock_t, | |
| pub head: *mut Struct_notifier_block, | |
| } | |
| impl ::std::clone::Clone for Struct_atomic_notifier_head { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_atomic_notifier_head { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_blocking_notifier_head { | |
| pub rwsem: Struct_rw_semaphore, | |
| pub head: *mut Struct_notifier_block, | |
| } | |
| impl ::std::clone::Clone for Struct_blocking_notifier_head { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_blocking_notifier_head { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_raw_notifier_head { | |
| pub head: *mut Struct_notifier_block, | |
| } | |
| impl ::std::clone::Clone for Struct_raw_notifier_head { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_raw_notifier_head { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_srcu_notifier_head { | |
| pub mutex: Struct_mutex, | |
| pub srcu: Struct_srcu_struct, | |
| pub head: *mut Struct_notifier_block, | |
| } | |
| impl ::std::clone::Clone for Struct_srcu_notifier_head { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_srcu_notifier_head { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_memory_block { } | |
| pub const SECTION_INFO: Enum_Unnamed168 = | |
| Enum_Unnamed168::MEMORY_HOTPLUG_MIN_BOOTMEM_TYPE; | |
| pub const MEMORY_HOTPLUG_MAX_BOOTMEM_TYPE: Enum_Unnamed168 = | |
| Enum_Unnamed168::NODE_INFO; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed168 { | |
| MEMORY_HOTPLUG_MIN_BOOTMEM_TYPE = 12, | |
| MIX_SECTION_INFO = 13, | |
| NODE_INFO = 14, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(i32)] | |
| pub enum Enum_Unnamed169 { | |
| MMOP_OFFLINE = -1, | |
| MMOP_ONLINE_KEEP = 0, | |
| MMOP_ONLINE_KERNEL = 1, | |
| MMOP_ONLINE_MOVABLE = 2, | |
| } | |
| pub type online_page_callback_t = | |
| ::std::option::Option<unsafe extern "C" fn(page: *mut Struct_page)>; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_memmap_context { MEMMAP_EARLY = 0, MEMMAP_HOTPLUG = 1, } | |
| pub enum Struct_page_ext { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mem_section { | |
| pub section_mem_map: ::std::os::raw::c_ulong, | |
| pub pageblock_flags: *mut ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_mem_section { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mem_section { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mminit_pfnnid_cache { | |
| pub last_start: ::std::os::raw::c_ulong, | |
| pub last_end: ::std::os::raw::c_ulong, | |
| pub last_nid: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_mminit_pfnnid_cache { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mminit_pfnnid_cache { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_percpu_counter { | |
| pub lock: raw_spinlock_t, | |
| pub count: s64, | |
| pub list: Struct_list_head, | |
| pub counters: *mut s32, | |
| } | |
| impl ::std::clone::Clone for Struct_percpu_counter { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_percpu_counter { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fs_disk_quota { | |
| pub d_version: __s8, | |
| pub d_flags: __s8, | |
| pub d_fieldmask: __u16, | |
| pub d_id: __u32, | |
| pub d_blk_hardlimit: __u64, | |
| pub d_blk_softlimit: __u64, | |
| pub d_ino_hardlimit: __u64, | |
| pub d_ino_softlimit: __u64, | |
| pub d_bcount: __u64, | |
| pub d_icount: __u64, | |
| pub d_itimer: __s32, | |
| pub d_btimer: __s32, | |
| pub d_iwarns: __u16, | |
| pub d_bwarns: __u16, | |
| pub d_padding2: __s32, | |
| pub d_rtb_hardlimit: __u64, | |
| pub d_rtb_softlimit: __u64, | |
| pub d_rtbcount: __u64, | |
| pub d_rtbtimer: __s32, | |
| pub d_rtbwarns: __u16, | |
| pub d_padding3: __s16, | |
| pub d_padding4: [::std::os::raw::c_char; 8usize], | |
| } | |
| impl ::std::clone::Clone for Struct_fs_disk_quota { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fs_disk_quota { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type fs_disk_quota_t = Struct_fs_disk_quota; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fs_qfilestat { | |
| pub qfs_ino: __u64, | |
| pub qfs_nblks: __u64, | |
| pub qfs_nextents: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_fs_qfilestat { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fs_qfilestat { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type fs_qfilestat_t = Struct_fs_qfilestat; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fs_quota_stat { | |
| pub qs_version: __s8, | |
| pub qs_flags: __u16, | |
| pub qs_pad: __s8, | |
| pub qs_uquota: fs_qfilestat_t, | |
| pub qs_gquota: fs_qfilestat_t, | |
| pub qs_incoredqs: __u32, | |
| pub qs_btimelimit: __s32, | |
| pub qs_itimelimit: __s32, | |
| pub qs_rtbtimelimit: __s32, | |
| pub qs_bwarnlimit: __u16, | |
| pub qs_iwarnlimit: __u16, | |
| } | |
| impl ::std::clone::Clone for Struct_fs_quota_stat { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fs_quota_stat { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type fs_quota_stat_t = Struct_fs_quota_stat; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fs_qfilestatv { | |
| pub qfs_ino: __u64, | |
| pub qfs_nblks: __u64, | |
| pub qfs_nextents: __u32, | |
| pub qfs_pad: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_fs_qfilestatv { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fs_qfilestatv { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fs_quota_statv { | |
| pub qs_version: __s8, | |
| pub qs_pad1: __u8, | |
| pub qs_flags: __u16, | |
| pub qs_incoredqs: __u32, | |
| pub qs_uquota: Struct_fs_qfilestatv, | |
| pub qs_gquota: Struct_fs_qfilestatv, | |
| pub qs_pquota: Struct_fs_qfilestatv, | |
| pub qs_btimelimit: __s32, | |
| pub qs_itimelimit: __s32, | |
| pub qs_rtbtimelimit: __s32, | |
| pub qs_bwarnlimit: __u16, | |
| pub qs_iwarnlimit: __u16, | |
| pub qs_pad2: [__u64; 8usize], | |
| } | |
| impl ::std::clone::Clone for Struct_fs_quota_statv { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fs_quota_statv { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_qtree_fmt_operations { | |
| pub mem2disk_dqblk: ::std::option::Option<unsafe extern "C" fn(disk: | |
| *mut ::std::os::raw::c_void, | |
| dquot: | |
| *mut Struct_dquot) | |
| -> ::std::os::raw::c_int>, | |
| pub disk2mem_dqblk: ::std::option::Option<unsafe extern "C" fn(dquot: | |
| *mut Struct_dquot, | |
| disk: | |
| *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int>, | |
| pub is_id: ::std::option::Option<unsafe extern "C" fn(disk: | |
| *mut ::std::os::raw::c_void, | |
| dquot: | |
| *mut Struct_dquot) | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_qtree_fmt_operations { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_qtree_fmt_operations { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_qtree_mem_dqinfo { | |
| pub dqi_sb: *mut Struct_super_block, | |
| pub dqi_type: ::std::os::raw::c_int, | |
| pub dqi_blocks: ::std::os::raw::c_uint, | |
| pub dqi_free_blk: ::std::os::raw::c_uint, | |
| pub dqi_free_entry: ::std::os::raw::c_uint, | |
| pub dqi_blocksize_bits: ::std::os::raw::c_uint, | |
| pub dqi_entry_size: ::std::os::raw::c_uint, | |
| pub dqi_usable_bs: ::std::os::raw::c_uint, | |
| pub dqi_qtree_depth: ::std::os::raw::c_uint, | |
| pub dqi_ops: *mut Struct_qtree_fmt_operations, | |
| } | |
| impl ::std::clone::Clone for Struct_qtree_mem_dqinfo { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_qtree_mem_dqinfo { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type projid_t = __kernel_uid32_t; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed170 { | |
| pub val: projid_t, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed170 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed170 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type kprojid_t = Struct_Unnamed170; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed171 { | |
| QIF_BLIMITS_B = 0, | |
| QIF_SPACE_B = 1, | |
| QIF_ILIMITS_B = 2, | |
| QIF_INODES_B = 3, | |
| QIF_BTIME_B = 4, | |
| QIF_ITIME_B = 5, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_if_dqblk { | |
| pub dqb_bhardlimit: __u64, | |
| pub dqb_bsoftlimit: __u64, | |
| pub dqb_curspace: __u64, | |
| pub dqb_ihardlimit: __u64, | |
| pub dqb_isoftlimit: __u64, | |
| pub dqb_curinodes: __u64, | |
| pub dqb_btime: __u64, | |
| pub dqb_itime: __u64, | |
| pub dqb_valid: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_if_dqblk { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_if_dqblk { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed172 { | |
| DQF_ROOT_SQUASH_B = 0, | |
| DQF_SYS_FILE_B = 16, | |
| DQF_PRIVATE = 17, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_if_dqinfo { | |
| pub dqi_bgrace: __u64, | |
| pub dqi_igrace: __u64, | |
| pub dqi_flags: __u32, | |
| pub dqi_valid: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_if_dqinfo { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_if_dqinfo { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed173 { | |
| QUOTA_NL_C_UNSPEC = 0, | |
| QUOTA_NL_C_WARNING = 1, | |
| __QUOTA_NL_C_MAX = 2, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed174 { | |
| QUOTA_NL_A_UNSPEC = 0, | |
| QUOTA_NL_A_QTYPE = 1, | |
| QUOTA_NL_A_EXCESS_ID = 2, | |
| QUOTA_NL_A_WARNING = 3, | |
| QUOTA_NL_A_DEV_MAJOR = 4, | |
| QUOTA_NL_A_DEV_MINOR = 5, | |
| QUOTA_NL_A_CAUSED_ID = 6, | |
| __QUOTA_NL_A_MAX = 7, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_quota_type { USRQUOTA = 0, GRPQUOTA = 1, PRJQUOTA = 2, } | |
| pub type qid_t = __kernel_uid32_t; | |
| pub type qsize_t = ::std::os::raw::c_longlong; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kqid { | |
| pub _bindgen_data_1_: [u32; 1usize], | |
| pub _type: Enum_quota_type, | |
| } | |
| impl Struct_kqid { | |
| pub unsafe fn uid(&mut self) -> *mut kuid_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn gid(&mut self) -> *mut kgid_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn projid(&mut self) -> *mut kprojid_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_kqid { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kqid { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mem_dqblk { | |
| pub dqb_bhardlimit: qsize_t, | |
| pub dqb_bsoftlimit: qsize_t, | |
| pub dqb_curspace: qsize_t, | |
| pub dqb_rsvspace: qsize_t, | |
| pub dqb_ihardlimit: qsize_t, | |
| pub dqb_isoftlimit: qsize_t, | |
| pub dqb_curinodes: qsize_t, | |
| pub dqb_btime: time_t, | |
| pub dqb_itime: time_t, | |
| } | |
| impl ::std::clone::Clone for Struct_mem_dqblk { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mem_dqblk { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mem_dqinfo { | |
| pub dqi_format: *mut Struct_quota_format_type, | |
| pub dqi_fmt_id: ::std::os::raw::c_int, | |
| pub dqi_dirty_list: Struct_list_head, | |
| pub dqi_flags: ::std::os::raw::c_ulong, | |
| pub dqi_bgrace: ::std::os::raw::c_uint, | |
| pub dqi_igrace: ::std::os::raw::c_uint, | |
| pub dqi_max_spc_limit: qsize_t, | |
| pub dqi_max_ino_limit: qsize_t, | |
| pub dqi_priv: *mut ::std::os::raw::c_void, | |
| } | |
| impl ::std::clone::Clone for Struct_mem_dqinfo { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mem_dqinfo { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed175 { DQF_INFO_DIRTY_B = 17, } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed176 { | |
| DQST_LOOKUPS = 0, | |
| DQST_DROPS = 1, | |
| DQST_READS = 2, | |
| DQST_WRITES = 3, | |
| DQST_CACHE_HITS = 4, | |
| DQST_ALLOC_DQUOTS = 5, | |
| DQST_FREE_DQUOTS = 6, | |
| DQST_SYNCS = 7, | |
| _DQST_DQSTAT_LAST = 8, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dqstats { | |
| pub stat: [::std::os::raw::c_int; 8usize], | |
| pub counter: [Struct_percpu_counter; 8usize], | |
| } | |
| impl ::std::clone::Clone for Struct_dqstats { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dqstats { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dquot { | |
| pub dq_hash: Struct_hlist_node, | |
| pub dq_inuse: Struct_list_head, | |
| pub dq_free: Struct_list_head, | |
| pub dq_dirty: Struct_list_head, | |
| pub dq_lock: Struct_mutex, | |
| pub dq_count: atomic_t, | |
| pub dq_wait_unused: wait_queue_head_t, | |
| pub dq_sb: *mut Struct_super_block, | |
| pub dq_id: Struct_kqid, | |
| pub dq_off: loff_t, | |
| pub dq_flags: ::std::os::raw::c_ulong, | |
| pub dq_dqb: Struct_mem_dqblk, | |
| } | |
| impl ::std::clone::Clone for Struct_dquot { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dquot { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_quota_format_ops { | |
| pub check_quota_file: ::std::option::Option<unsafe extern "C" fn(sb: | |
| *mut Struct_super_block, | |
| _type: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub read_file_info: ::std::option::Option<unsafe extern "C" fn(sb: | |
| *mut Struct_super_block, | |
| _type: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub write_file_info: ::std::option::Option<unsafe extern "C" fn(sb: | |
| *mut Struct_super_block, | |
| _type: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub free_file_info: ::std::option::Option<unsafe extern "C" fn(sb: | |
| *mut Struct_super_block, | |
| _type: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub read_dqblk: ::std::option::Option<unsafe extern "C" fn(dquot: | |
| *mut Struct_dquot) | |
| -> ::std::os::raw::c_int>, | |
| pub commit_dqblk: ::std::option::Option<unsafe extern "C" fn(dquot: | |
| *mut Struct_dquot) | |
| -> ::std::os::raw::c_int>, | |
| pub release_dqblk: ::std::option::Option<unsafe extern "C" fn(dquot: | |
| *mut Struct_dquot) | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_quota_format_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_quota_format_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dquot_operations { | |
| pub write_dquot: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dquot) | |
| -> ::std::os::raw::c_int>, | |
| pub alloc_dquot: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| ::std::os::raw::c_int) | |
| -> *mut Struct_dquot>, | |
| pub destroy_dquot: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dquot)>, | |
| pub acquire_dquot: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dquot) | |
| -> ::std::os::raw::c_int>, | |
| pub release_dquot: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dquot) | |
| -> ::std::os::raw::c_int>, | |
| pub mark_dirty: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dquot) | |
| -> ::std::os::raw::c_int>, | |
| pub write_info: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub get_reserved_space: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode) | |
| -> *mut qsize_t>, | |
| pub get_projid: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut kprojid_t) | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_dquot_operations { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dquot_operations { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_qc_dqblk { | |
| pub d_fieldmask: ::std::os::raw::c_int, | |
| pub d_spc_hardlimit: __u64, | |
| pub d_spc_softlimit: __u64, | |
| pub d_ino_hardlimit: __u64, | |
| pub d_ino_softlimit: __u64, | |
| pub d_space: __u64, | |
| pub d_ino_count: __u64, | |
| pub d_ino_timer: s64, | |
| pub d_spc_timer: s64, | |
| pub d_ino_warns: ::std::os::raw::c_int, | |
| pub d_spc_warns: ::std::os::raw::c_int, | |
| pub d_rt_spc_hardlimit: __u64, | |
| pub d_rt_spc_softlimit: __u64, | |
| pub d_rt_space: __u64, | |
| pub d_rt_spc_timer: s64, | |
| pub d_rt_spc_warns: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_qc_dqblk { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_qc_dqblk { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_qc_type_state { | |
| pub flags: ::std::os::raw::c_uint, | |
| pub spc_timelimit: ::std::os::raw::c_uint, | |
| pub ino_timelimit: ::std::os::raw::c_uint, | |
| pub rt_spc_timelimit: ::std::os::raw::c_uint, | |
| pub spc_warnlimit: ::std::os::raw::c_uint, | |
| pub ino_warnlimit: ::std::os::raw::c_uint, | |
| pub rt_spc_warnlimit: ::std::os::raw::c_uint, | |
| pub ino: ::std::os::raw::c_ulonglong, | |
| pub blocks: blkcnt_t, | |
| pub nextents: blkcnt_t, | |
| } | |
| impl ::std::clone::Clone for Struct_qc_type_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_qc_type_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_qc_state { | |
| pub s_incoredqs: ::std::os::raw::c_uint, | |
| pub s_state: [Struct_qc_type_state; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_qc_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_qc_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_qc_info { | |
| pub i_fieldmask: ::std::os::raw::c_int, | |
| pub i_flags: ::std::os::raw::c_uint, | |
| pub i_spc_timelimit: ::std::os::raw::c_uint, | |
| pub i_ino_timelimit: ::std::os::raw::c_uint, | |
| pub i_rt_spc_timelimit: ::std::os::raw::c_uint, | |
| pub i_spc_warnlimit: ::std::os::raw::c_uint, | |
| pub i_ino_warnlimit: ::std::os::raw::c_uint, | |
| pub i_rt_spc_warnlimit: ::std::os::raw::c_uint, | |
| } | |
| impl ::std::clone::Clone for Struct_qc_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_qc_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_quotactl_ops { | |
| pub quota_on: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| ::std::os::raw::c_int, | |
| arg3: | |
| ::std::os::raw::c_int, | |
| arg4: | |
| *mut Struct_path) | |
| -> ::std::os::raw::c_int>, | |
| pub quota_off: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub quota_enable: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int>, | |
| pub quota_disable: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int>, | |
| pub quota_sync: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub set_info: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| ::std::os::raw::c_int, | |
| arg3: | |
| *mut Struct_qc_info) | |
| -> ::std::os::raw::c_int>, | |
| pub get_dqblk: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| Struct_kqid, | |
| arg3: | |
| *mut Struct_qc_dqblk) | |
| -> ::std::os::raw::c_int>, | |
| pub set_dqblk: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| Struct_kqid, | |
| arg3: | |
| *mut Struct_qc_dqblk) | |
| -> ::std::os::raw::c_int>, | |
| pub get_state: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut Struct_qc_state) | |
| -> ::std::os::raw::c_int>, | |
| pub rm_xquota: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_quotactl_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_quotactl_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_quota_format_type { | |
| pub qf_fmt_id: ::std::os::raw::c_int, | |
| pub qf_ops: *const Struct_quota_format_ops, | |
| pub qf_owner: *mut Struct_module, | |
| pub qf_next: *mut Struct_quota_format_type, | |
| } | |
| impl ::std::clone::Clone for Struct_quota_format_type { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_quota_format_type { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed177 { | |
| _DQUOT_USAGE_ENABLED = 0, | |
| _DQUOT_LIMITS_ENABLED = 1, | |
| _DQUOT_SUSPENDED = 2, | |
| _DQUOT_STATE_FLAGS = 3, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_quota_info { | |
| pub flags: ::std::os::raw::c_uint, | |
| pub dqio_mutex: Struct_mutex, | |
| pub dqonoff_mutex: Struct_mutex, | |
| pub files: [*mut Struct_inode; 3usize], | |
| pub info: [Struct_mem_dqinfo; 3usize], | |
| pub ops: [*const Struct_quota_format_ops; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_quota_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_quota_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_quota_module_name { | |
| pub qm_fmt_id: ::std::os::raw::c_int, | |
| pub qm_mod_name: *mut ::std::os::raw::c_char, | |
| } | |
| impl ::std::clone::Clone for Struct_quota_module_name { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_quota_module_name { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_positive_aop_returns { | |
| AOP_WRITEPAGE_ACTIVATE = 524288, | |
| AOP_TRUNCATED_PAGE = 524289, | |
| } | |
| pub enum Struct_writeback_control { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kiocb { | |
| pub ki_filp: *mut Struct_file, | |
| pub ki_pos: loff_t, | |
| pub ki_complete: ::std::option::Option<unsafe extern "C" fn(iocb: | |
| *mut Struct_kiocb, | |
| ret: | |
| ::std::os::raw::c_long, | |
| ret2: | |
| ::std::os::raw::c_long)>, | |
| pub private: *mut ::std::os::raw::c_void, | |
| pub ki_flags: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_kiocb { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kiocb { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed178 { | |
| pub written: size_t, | |
| pub count: size_t, | |
| pub arg: Union_Unnamed179, | |
| pub error: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed178 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed178 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed179 { | |
| pub _bindgen_data_: [u64; 1usize], | |
| } | |
| impl Union_Unnamed179 { | |
| pub unsafe fn buf(&mut self) -> *mut *mut ::std::os::raw::c_char { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn data(&mut self) -> *mut *mut ::std::os::raw::c_void { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed179 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed179 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type read_descriptor_t = Struct_Unnamed178; | |
| pub type read_actor_t = | |
| ::std::option::Option<unsafe extern "C" fn(arg1: *mut read_descriptor_t, | |
| arg2: *mut Struct_page, | |
| arg3: ::std::os::raw::c_ulong, | |
| arg4: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int>; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_address_space_operations { | |
| pub writepage: ::std::option::Option<unsafe extern "C" fn(page: | |
| *mut Struct_page, | |
| wbc: | |
| *mut Struct_writeback_control) | |
| -> ::std::os::raw::c_int>, | |
| pub readpage: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| *mut Struct_page) | |
| -> ::std::os::raw::c_int>, | |
| pub writepages: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_address_space, | |
| arg2: | |
| *mut Struct_writeback_control) | |
| -> ::std::os::raw::c_int>, | |
| pub set_page_dirty: ::std::option::Option<unsafe extern "C" fn(page: | |
| *mut Struct_page) | |
| -> ::std::os::raw::c_int>, | |
| pub readpages: ::std::option::Option<unsafe extern "C" fn(filp: | |
| *mut Struct_file, | |
| mapping: | |
| *mut Struct_address_space, | |
| pages: | |
| *mut Struct_list_head, | |
| nr_pages: | |
| ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int>, | |
| pub write_begin: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| mapping: | |
| *mut Struct_address_space, | |
| pos: loff_t, | |
| len: | |
| ::std::os::raw::c_uint, | |
| flags: | |
| ::std::os::raw::c_uint, | |
| pagep: | |
| *mut *mut Struct_page, | |
| fsdata: | |
| *mut *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int>, | |
| pub write_end: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| mapping: | |
| *mut Struct_address_space, | |
| pos: loff_t, | |
| len: | |
| ::std::os::raw::c_uint, | |
| copied: | |
| ::std::os::raw::c_uint, | |
| page: | |
| *mut Struct_page, | |
| fsdata: | |
| *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int>, | |
| pub bmap: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_address_space, | |
| arg2: sector_t) | |
| -> sector_t>, | |
| pub invalidatepage: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_page, | |
| arg2: | |
| ::std::os::raw::c_uint, | |
| arg3: | |
| ::std::os::raw::c_uint)>, | |
| pub releasepage: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_page, | |
| arg2: gfp_t) | |
| -> ::std::os::raw::c_int>, | |
| pub freepage: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_page)>, | |
| pub direct_IO: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_kiocb, | |
| iter: | |
| *mut Struct_iov_iter, | |
| offset: loff_t) | |
| -> ssize_t>, | |
| pub migratepage: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_address_space, | |
| arg2: | |
| *mut Struct_page, | |
| arg3: | |
| *mut Struct_page, | |
| arg4: | |
| Enum_migrate_mode) | |
| -> ::std::os::raw::c_int>, | |
| pub launder_page: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_page) | |
| -> ::std::os::raw::c_int>, | |
| pub is_partially_uptodate: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_page, | |
| arg2: | |
| ::std::os::raw::c_ulong, | |
| arg3: | |
| ::std::os::raw::c_ulong) | |
| -> | |
| ::std::os::raw::c_int>, | |
| pub is_dirty_writeback: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_page, | |
| arg2: | |
| *mut _bool, | |
| arg3: | |
| *mut _bool)>, | |
| pub error_remove_page: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_address_space, | |
| arg2: | |
| *mut Struct_page) | |
| -> | |
| ::std::os::raw::c_int>, | |
| pub swap_activate: ::std::option::Option<unsafe extern "C" fn(sis: | |
| *mut Struct_swap_info_struct, | |
| file: | |
| *mut Struct_file, | |
| span: | |
| *mut sector_t) | |
| -> ::std::os::raw::c_int>, | |
| pub swap_deactivate: ::std::option::Option<unsafe extern "C" fn(file: | |
| *mut Struct_file)>, | |
| } | |
| impl ::std::clone::Clone for Struct_address_space_operations { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_address_space_operations { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_address_space { | |
| pub host: *mut Struct_inode, | |
| pub page_tree: Struct_radix_tree_root, | |
| pub tree_lock: spinlock_t, | |
| pub i_mmap_writable: atomic_t, | |
| pub i_mmap: Struct_rb_root, | |
| pub i_mmap_rwsem: Struct_rw_semaphore, | |
| pub nrpages: ::std::os::raw::c_ulong, | |
| pub nrshadows: ::std::os::raw::c_ulong, | |
| pub writeback_index: ::std::os::raw::c_ulong, | |
| pub a_ops: *const Struct_address_space_operations, | |
| pub flags: ::std::os::raw::c_ulong, | |
| pub private_lock: spinlock_t, | |
| pub private_list: Struct_list_head, | |
| pub private_data: *mut ::std::os::raw::c_void, | |
| } | |
| impl ::std::clone::Clone for Struct_address_space { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_address_space { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_request_queue { } | |
| pub enum Struct_hd_struct { } | |
| pub enum Struct_gendisk { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_block_device { | |
| pub bd_dev: dev_t, | |
| pub bd_openers: ::std::os::raw::c_int, | |
| pub bd_inode: *mut Struct_inode, | |
| pub bd_super: *mut Struct_super_block, | |
| pub bd_mutex: Struct_mutex, | |
| pub bd_inodes: Struct_list_head, | |
| pub bd_claiming: *mut ::std::os::raw::c_void, | |
| pub bd_holder: *mut ::std::os::raw::c_void, | |
| pub bd_holders: ::std::os::raw::c_int, | |
| pub bd_write_holder: _bool, | |
| pub bd_holder_disks: Struct_list_head, | |
| pub bd_contains: *mut Struct_block_device, | |
| pub bd_block_size: ::std::os::raw::c_uint, | |
| pub bd_part: *mut Struct_hd_struct, | |
| pub bd_part_count: ::std::os::raw::c_uint, | |
| pub bd_invalidated: ::std::os::raw::c_int, | |
| pub bd_disk: *mut Struct_gendisk, | |
| pub bd_queue: *mut Struct_request_queue, | |
| pub bd_list: Struct_list_head, | |
| pub bd_private: ::std::os::raw::c_ulong, | |
| pub bd_fsfreeze_count: ::std::os::raw::c_int, | |
| pub bd_fsfreeze_mutex: Struct_mutex, | |
| } | |
| impl ::std::clone::Clone for Struct_block_device { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_block_device { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_posix_acl { } | |
| pub enum Struct_cdev { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_inode { | |
| pub i_mode: umode_t, | |
| pub i_opflags: ::std::os::raw::c_ushort, | |
| pub i_uid: kuid_t, | |
| pub i_gid: kgid_t, | |
| pub i_flags: ::std::os::raw::c_uint, | |
| pub i_acl: *mut Struct_posix_acl, | |
| pub i_default_acl: *mut Struct_posix_acl, | |
| pub i_op: *const Struct_inode_operations, | |
| pub i_sb: *mut Struct_super_block, | |
| pub i_mapping: *mut Struct_address_space, | |
| pub i_security: *mut ::std::os::raw::c_void, | |
| pub i_ino: ::std::os::raw::c_ulong, | |
| pub _bindgen_data_1_: [u32; 1usize], | |
| pub i_rdev: dev_t, | |
| pub i_size: loff_t, | |
| pub i_atime: Struct_timespec, | |
| pub i_mtime: Struct_timespec, | |
| pub i_ctime: Struct_timespec, | |
| pub i_lock: spinlock_t, | |
| pub i_bytes: ::std::os::raw::c_ushort, | |
| pub i_blkbits: ::std::os::raw::c_uint, | |
| pub i_blocks: blkcnt_t, | |
| pub i_state: ::std::os::raw::c_ulong, | |
| pub i_mutex: Struct_mutex, | |
| pub dirtied_when: ::std::os::raw::c_ulong, | |
| pub dirtied_time_when: ::std::os::raw::c_ulong, | |
| pub i_hash: Struct_hlist_node, | |
| pub i_io_list: Struct_list_head, | |
| pub i_wb: *mut Struct_bdi_writeback, | |
| pub i_wb_frn_winner: ::std::os::raw::c_int, | |
| pub i_wb_frn_avg_time: _u16, | |
| pub i_wb_frn_history: _u16, | |
| pub i_lru: Struct_list_head, | |
| pub i_sb_list: Struct_list_head, | |
| pub _bindgen_data_2_: [u64; 2usize], | |
| pub i_version: __u64, | |
| pub i_count: atomic_t, | |
| pub i_dio_count: atomic_t, | |
| pub i_writecount: atomic_t, | |
| pub i_readcount: atomic_t, | |
| pub i_fop: *const Struct_file_operations, | |
| pub i_flctx: *mut Struct_file_lock_context, | |
| pub i_data: Struct_address_space, | |
| pub i_devices: Struct_list_head, | |
| pub _bindgen_data_3_: [u64; 1usize], | |
| pub i_generation: __u32, | |
| pub i_fsnotify_mask: __u32, | |
| pub i_fsnotify_marks: Struct_hlist_head, | |
| pub i_private: *mut ::std::os::raw::c_void, | |
| } | |
| impl Struct_inode { | |
| pub unsafe fn i_nlink(&mut self) -> *mut ::std::os::raw::c_uint { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn __i_nlink(&mut self) -> *mut ::std::os::raw::c_uint { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn i_dentry(&mut self) -> *mut Struct_hlist_head { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn i_rcu(&mut self) -> *mut Struct_callback_head { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn i_pipe(&mut self) -> *mut *mut Struct_pipe_inode_info { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn i_bdev(&mut self) -> *mut *mut Struct_block_device { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn i_cdev(&mut self) -> *mut *mut Struct_cdev { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn i_link(&mut self) -> *mut *mut ::std::os::raw::c_char { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_inode { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_inode { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_inode_i_mutex_lock_class { | |
| I_MUTEX_NORMAL = 0, | |
| I_MUTEX_PARENT = 1, | |
| I_MUTEX_CHILD = 2, | |
| I_MUTEX_XATTR = 3, | |
| I_MUTEX_NONDIR2 = 4, | |
| I_MUTEX_PARENT2 = 5, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fown_struct { | |
| pub lock: rwlock_t, | |
| pub pid: *mut Struct_pid, | |
| pub pid_type: Enum_pid_type, | |
| pub uid: kuid_t, | |
| pub euid: kuid_t, | |
| pub signum: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_fown_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fown_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_file_ra_state { | |
| pub start: ::std::os::raw::c_ulong, | |
| pub size: ::std::os::raw::c_uint, | |
| pub async_size: ::std::os::raw::c_uint, | |
| pub ra_pages: ::std::os::raw::c_uint, | |
| pub mmap_miss: ::std::os::raw::c_uint, | |
| pub prev_pos: loff_t, | |
| } | |
| impl ::std::clone::Clone for Struct_file_ra_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_file_ra_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_file { | |
| pub f_u: Union_Unnamed180, | |
| pub f_path: Struct_path, | |
| pub f_inode: *mut Struct_inode, | |
| pub f_op: *const Struct_file_operations, | |
| pub f_lock: spinlock_t, | |
| pub f_count: atomic_long_t, | |
| pub f_flags: ::std::os::raw::c_uint, | |
| pub f_mode: fmode_t, | |
| pub f_pos_lock: Struct_mutex, | |
| pub f_pos: loff_t, | |
| pub f_owner: Struct_fown_struct, | |
| pub f_cred: *const Struct_cred, | |
| pub f_ra: Struct_file_ra_state, | |
| pub f_version: __u64, | |
| pub f_security: *mut ::std::os::raw::c_void, | |
| pub private_data: *mut ::std::os::raw::c_void, | |
| pub f_ep_links: Struct_list_head, | |
| pub f_tfile_llink: Struct_list_head, | |
| pub f_mapping: *mut Struct_address_space, | |
| } | |
| impl ::std::clone::Clone for Struct_file { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_file { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed180 { | |
| pub _bindgen_data_: [u64; 2usize], | |
| } | |
| impl Union_Unnamed180 { | |
| pub unsafe fn fu_llist(&mut self) -> *mut Struct_llist_node { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn fu_rcuhead(&mut self) -> *mut Struct_callback_head { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed180 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed180 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_file_handle { | |
| pub handle_bytes: __u32, | |
| pub handle_type: ::std::os::raw::c_int, | |
| pub f_handle: [::std::os::raw::c_uchar; 0usize], | |
| } | |
| impl ::std::clone::Clone for Struct_file_handle { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_file_handle { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type fl_owner_t = *mut ::std::os::raw::c_void; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_file_lock_operations { | |
| pub fl_copy_lock: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file_lock, | |
| arg2: | |
| *mut Struct_file_lock)>, | |
| pub fl_release_private: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file_lock)>, | |
| } | |
| impl ::std::clone::Clone for Struct_file_lock_operations { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_file_lock_operations { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_lock_manager_operations { | |
| pub lm_compare_owner: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file_lock, | |
| arg2: | |
| *mut Struct_file_lock) | |
| -> ::std::os::raw::c_int>, | |
| pub lm_owner_key: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file_lock) | |
| -> ::std::os::raw::c_ulong>, | |
| pub lm_get_owner: ::std::option::Option<extern "C" fn(arg1: fl_owner_t) | |
| -> fl_owner_t>, | |
| pub lm_put_owner: ::std::option::Option<extern "C" fn(arg1: fl_owner_t)>, | |
| pub lm_notify: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file_lock)>, | |
| pub lm_grant: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file_lock, | |
| arg2: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub lm_break: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file_lock) | |
| -> _bool>, | |
| pub lm_change: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file_lock, | |
| arg2: | |
| ::std::os::raw::c_int, | |
| arg3: | |
| *mut Struct_list_head) | |
| -> ::std::os::raw::c_int>, | |
| pub lm_setup: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file_lock, | |
| arg2: | |
| *mut *mut ::std::os::raw::c_void)>, | |
| } | |
| impl ::std::clone::Clone for Struct_lock_manager_operations { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_lock_manager_operations { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_lock_manager { | |
| pub list: Struct_list_head, | |
| pub block_opens: _bool, | |
| } | |
| impl ::std::clone::Clone for Struct_lock_manager { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_lock_manager { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_net { } | |
| pub enum Struct_nlm_lockowner { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_nfs_lock_info { | |
| pub state: _u32, | |
| pub owner: *mut Struct_nlm_lockowner, | |
| pub list: Struct_list_head, | |
| } | |
| impl ::std::clone::Clone for Struct_nfs_lock_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_nfs_lock_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_nfs4_lock_state { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_nfs4_lock_info { | |
| pub owner: *mut Struct_nfs4_lock_state, | |
| } | |
| impl ::std::clone::Clone for Struct_nfs4_lock_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_nfs4_lock_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_file_lock { | |
| pub fl_next: *mut Struct_file_lock, | |
| pub fl_list: Struct_list_head, | |
| pub fl_link: Struct_hlist_node, | |
| pub fl_block: Struct_list_head, | |
| pub fl_owner: fl_owner_t, | |
| pub fl_flags: ::std::os::raw::c_uint, | |
| pub fl_type: ::std::os::raw::c_uchar, | |
| pub fl_pid: ::std::os::raw::c_uint, | |
| pub fl_link_cpu: ::std::os::raw::c_int, | |
| pub fl_nspid: *mut Struct_pid, | |
| pub fl_wait: wait_queue_head_t, | |
| pub fl_file: *mut Struct_file, | |
| pub fl_start: loff_t, | |
| pub fl_end: loff_t, | |
| pub fl_fasync: *mut Struct_fasync_struct, | |
| pub fl_break_time: ::std::os::raw::c_ulong, | |
| pub fl_downgrade_time: ::std::os::raw::c_ulong, | |
| pub fl_ops: *const Struct_file_lock_operations, | |
| pub fl_lmops: *const Struct_lock_manager_operations, | |
| pub fl_u: Union_Unnamed181, | |
| } | |
| impl ::std::clone::Clone for Struct_file_lock { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_file_lock { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed181 { | |
| pub _bindgen_data_: [u64; 4usize], | |
| } | |
| impl Union_Unnamed181 { | |
| pub unsafe fn nfs_fl(&mut self) -> *mut Struct_nfs_lock_info { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn nfs4_fl(&mut self) -> *mut Struct_nfs4_lock_info { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn afs(&mut self) -> *mut Struct_Unnamed182 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed181 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed181 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed182 { | |
| pub link: Struct_list_head, | |
| pub state: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed182 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed182 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_file_lock_context { | |
| pub flc_lock: spinlock_t, | |
| pub flc_flock: Struct_list_head, | |
| pub flc_posix: Struct_list_head, | |
| pub flc_lease: Struct_list_head, | |
| } | |
| impl ::std::clone::Clone for Struct_file_lock_context { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_file_lock_context { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_f_owner_ex { | |
| pub _type: ::std::os::raw::c_int, | |
| pub pid: __kernel_pid_t, | |
| } | |
| impl ::std::clone::Clone for Struct_f_owner_ex { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_f_owner_ex { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_flock { | |
| pub l_type: ::std::os::raw::c_short, | |
| pub l_whence: ::std::os::raw::c_short, | |
| pub l_start: __kernel_off_t, | |
| pub l_len: __kernel_off_t, | |
| pub l_pid: __kernel_pid_t, | |
| } | |
| impl ::std::clone::Clone for Struct_flock { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_flock { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_flock64 { | |
| pub l_type: ::std::os::raw::c_short, | |
| pub l_whence: ::std::os::raw::c_short, | |
| pub l_start: __kernel_loff_t, | |
| pub l_len: __kernel_loff_t, | |
| pub l_pid: __kernel_pid_t, | |
| } | |
| impl ::std::clone::Clone for Struct_flock64 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_flock64 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_files_struct { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fasync_struct { | |
| pub fa_lock: spinlock_t, | |
| pub magic: ::std::os::raw::c_int, | |
| pub fa_fd: ::std::os::raw::c_int, | |
| pub fa_next: *mut Struct_fasync_struct, | |
| pub fa_file: *mut Struct_file, | |
| pub fa_rcu: Struct_callback_head, | |
| } | |
| impl ::std::clone::Clone for Struct_fasync_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fasync_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed183 { | |
| SB_UNFROZEN = 0, | |
| SB_FREEZE_WRITE = 1, | |
| SB_FREEZE_PAGEFAULT = 2, | |
| SB_FREEZE_FS = 3, | |
| SB_FREEZE_COMPLETE = 4, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_sb_writers { | |
| pub frozen: ::std::os::raw::c_int, | |
| pub wait_unfrozen: wait_queue_head_t, | |
| pub rw_sem: [Struct_percpu_rw_semaphore; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_sb_writers { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_sb_writers { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_xattr_handler { } | |
| pub enum Struct_mtd_info { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_super_block { | |
| pub s_list: Struct_list_head, | |
| pub s_dev: dev_t, | |
| pub s_blocksize_bits: ::std::os::raw::c_uchar, | |
| pub s_blocksize: ::std::os::raw::c_ulong, | |
| pub s_maxbytes: loff_t, | |
| pub s_type: *mut Struct_file_system_type, | |
| pub s_op: *const Struct_super_operations, | |
| pub dq_op: *const Struct_dquot_operations, | |
| pub s_qcop: *const Struct_quotactl_ops, | |
| pub s_export_op: *const Struct_export_operations, | |
| pub s_flags: ::std::os::raw::c_ulong, | |
| pub s_iflags: ::std::os::raw::c_ulong, | |
| pub s_magic: ::std::os::raw::c_ulong, | |
| pub s_root: *mut Struct_dentry, | |
| pub s_umount: Struct_rw_semaphore, | |
| pub s_count: ::std::os::raw::c_int, | |
| pub s_active: atomic_t, | |
| pub s_security: *mut ::std::os::raw::c_void, | |
| pub s_xattr: *mut *const Struct_xattr_handler, | |
| pub s_anon: Struct_hlist_bl_head, | |
| pub s_mounts: Struct_list_head, | |
| pub s_bdev: *mut Struct_block_device, | |
| pub s_bdi: *mut Struct_backing_dev_info, | |
| pub s_mtd: *mut Struct_mtd_info, | |
| pub s_instances: Struct_hlist_node, | |
| pub s_quota_types: ::std::os::raw::c_uint, | |
| pub s_dquot: Struct_quota_info, | |
| pub s_writers: Struct_sb_writers, | |
| pub s_id: [::std::os::raw::c_char; 32usize], | |
| pub s_uuid: [_u8; 16usize], | |
| pub s_fs_info: *mut ::std::os::raw::c_void, | |
| pub s_max_links: ::std::os::raw::c_uint, | |
| pub s_mode: fmode_t, | |
| pub s_time_gran: _u32, | |
| pub s_vfs_rename_mutex: Struct_mutex, | |
| pub s_subtype: *mut ::std::os::raw::c_char, | |
| pub s_options: *mut ::std::os::raw::c_char, | |
| pub s_d_op: *const Struct_dentry_operations, | |
| pub cleancache_poolid: ::std::os::raw::c_int, | |
| pub s_shrink: Struct_shrinker, | |
| pub s_remove_count: atomic_long_t, | |
| pub s_readonly_remount: ::std::os::raw::c_int, | |
| pub s_dio_done_wq: *mut Struct_workqueue_struct, | |
| pub s_pins: Struct_hlist_head, | |
| pub s_user_ns: *mut Struct_user_namespace, | |
| pub s_dentry_lru: Struct_list_lru, | |
| pub s_inode_lru: Struct_list_lru, | |
| pub rcu: Struct_callback_head, | |
| pub destroy_work: Struct_work_struct, | |
| pub s_sync_lock: Struct_mutex, | |
| pub s_stack_depth: ::std::os::raw::c_int, | |
| pub s_inode_list_lock: spinlock_t, | |
| pub s_inodes: Struct_list_head, | |
| } | |
| impl ::std::clone::Clone for Struct_super_block { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_super_block { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_fiemap_extent_info { | |
| pub fi_flags: ::std::os::raw::c_uint, | |
| pub fi_extents_mapped: ::std::os::raw::c_uint, | |
| pub fi_extents_max: ::std::os::raw::c_uint, | |
| pub fi_extents_start: *mut Struct_fiemap_extent, | |
| } | |
| impl ::std::clone::Clone for Struct_fiemap_extent_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_fiemap_extent_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type filldir_t = | |
| ::std::option::Option<unsafe extern "C" fn(arg1: *mut Struct_dir_context, | |
| arg2: | |
| *const ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_int, | |
| arg4: loff_t, arg5: __u64, | |
| arg6: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int>; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dir_context { | |
| pub actor: filldir_t, | |
| pub pos: loff_t, | |
| } | |
| impl ::std::clone::Clone for Struct_dir_context { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dir_context { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_block_device_operations { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_file_operations { | |
| pub owner: *mut Struct_module, | |
| pub llseek: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: loff_t, | |
| arg3: | |
| ::std::os::raw::c_int) | |
| -> loff_t>, | |
| pub read: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| *mut ::std::os::raw::c_char, | |
| arg3: size_t, | |
| arg4: *mut loff_t) | |
| -> ssize_t>, | |
| pub write: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| *const ::std::os::raw::c_char, | |
| arg3: size_t, | |
| arg4: *mut loff_t) | |
| -> ssize_t>, | |
| pub read_iter: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_kiocb, | |
| arg2: | |
| *mut Struct_iov_iter) | |
| -> ssize_t>, | |
| pub write_iter: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_kiocb, | |
| arg2: | |
| *mut Struct_iov_iter) | |
| -> ssize_t>, | |
| pub iterate: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| *mut Struct_dir_context) | |
| -> ::std::os::raw::c_int>, | |
| pub poll: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| *mut Struct_poll_table_struct) | |
| -> ::std::os::raw::c_uint>, | |
| pub unlocked_ioctl: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| ::std::os::raw::c_uint, | |
| arg3: | |
| ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_long>, | |
| pub compat_ioctl: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| ::std::os::raw::c_uint, | |
| arg3: | |
| ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_long>, | |
| pub mmap: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| *mut Struct_vm_area_struct) | |
| -> ::std::os::raw::c_int>, | |
| pub open: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_file) | |
| -> ::std::os::raw::c_int>, | |
| pub flush: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| id: fl_owner_t) | |
| -> ::std::os::raw::c_int>, | |
| pub release: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_file) | |
| -> ::std::os::raw::c_int>, | |
| pub fsync: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: loff_t, | |
| arg3: loff_t, | |
| datasync: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub aio_fsync: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_kiocb, | |
| datasync: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub fasync: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| ::std::os::raw::c_int, | |
| arg2: | |
| *mut Struct_file, | |
| arg3: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub lock: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| ::std::os::raw::c_int, | |
| arg3: | |
| *mut Struct_file_lock) | |
| -> ::std::os::raw::c_int>, | |
| pub sendpage: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| *mut Struct_page, | |
| arg3: | |
| ::std::os::raw::c_int, | |
| arg4: size_t, | |
| arg5: | |
| *mut loff_t, | |
| arg6: | |
| ::std::os::raw::c_int) | |
| -> ssize_t>, | |
| pub get_unmapped_area: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| ::std::os::raw::c_ulong, | |
| arg3: | |
| ::std::os::raw::c_ulong, | |
| arg4: | |
| ::std::os::raw::c_ulong, | |
| arg5: | |
| ::std::os::raw::c_ulong) | |
| -> | |
| ::std::os::raw::c_ulong>, | |
| pub check_flags: ::std::option::Option<extern "C" fn(arg1: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub flock: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| ::std::os::raw::c_int, | |
| arg3: | |
| *mut Struct_file_lock) | |
| -> ::std::os::raw::c_int>, | |
| pub splice_write: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_pipe_inode_info, | |
| arg2: | |
| *mut Struct_file, | |
| arg3: | |
| *mut loff_t, | |
| arg4: size_t, | |
| arg5: | |
| ::std::os::raw::c_uint) | |
| -> ssize_t>, | |
| pub splice_read: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| *mut loff_t, | |
| arg3: | |
| *mut Struct_pipe_inode_info, | |
| arg4: size_t, | |
| arg5: | |
| ::std::os::raw::c_uint) | |
| -> ssize_t>, | |
| pub setlease: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| ::std::os::raw::c_long, | |
| arg3: | |
| *mut *mut Struct_file_lock, | |
| arg4: | |
| *mut *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int>, | |
| pub fallocate: ::std::option::Option<unsafe extern "C" fn(file: | |
| *mut Struct_file, | |
| mode: | |
| ::std::os::raw::c_int, | |
| offset: loff_t, | |
| len: loff_t) | |
| -> ::std::os::raw::c_long>, | |
| pub show_fdinfo: ::std::option::Option<unsafe extern "C" fn(m: | |
| *mut Struct_seq_file, | |
| f: | |
| *mut Struct_file)>, | |
| } | |
| impl ::std::clone::Clone for Struct_file_operations { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_file_operations { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_inode_operations { | |
| pub lookup: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_dentry, | |
| arg3: | |
| ::std::os::raw::c_uint) | |
| -> *mut Struct_dentry>, | |
| pub follow_link: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| *mut *mut ::std::os::raw::c_void) | |
| -> | |
| *const ::std::os::raw::c_char>, | |
| pub permission: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub get_acl: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| ::std::os::raw::c_int) | |
| -> *mut Struct_posix_acl>, | |
| pub readlink: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| *mut ::std::os::raw::c_char, | |
| arg3: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub put_link: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut ::std::os::raw::c_void)>, | |
| pub create: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_dentry, | |
| arg3: umode_t, | |
| arg4: _bool) | |
| -> ::std::os::raw::c_int>, | |
| pub link: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| *mut Struct_inode, | |
| arg3: | |
| *mut Struct_dentry) | |
| -> ::std::os::raw::c_int>, | |
| pub unlink: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_dentry) | |
| -> ::std::os::raw::c_int>, | |
| pub symlink: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_dentry, | |
| arg3: | |
| *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int>, | |
| pub mkdir: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_dentry, | |
| arg3: umode_t) | |
| -> ::std::os::raw::c_int>, | |
| pub rmdir: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_dentry) | |
| -> ::std::os::raw::c_int>, | |
| pub mknod: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_dentry, | |
| arg3: umode_t, | |
| arg4: dev_t) | |
| -> ::std::os::raw::c_int>, | |
| pub rename: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_dentry, | |
| arg3: | |
| *mut Struct_inode, | |
| arg4: | |
| *mut Struct_dentry) | |
| -> ::std::os::raw::c_int>, | |
| pub rename2: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_dentry, | |
| arg3: | |
| *mut Struct_inode, | |
| arg4: | |
| *mut Struct_dentry, | |
| arg5: | |
| ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int>, | |
| pub setattr: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| *mut Struct_iattr) | |
| -> ::std::os::raw::c_int>, | |
| pub getattr: ::std::option::Option<unsafe extern "C" fn(mnt: | |
| *mut Struct_vfsmount, | |
| arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| *mut Struct_kstat) | |
| -> ::std::os::raw::c_int>, | |
| pub setxattr: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| *const ::std::os::raw::c_char, | |
| arg3: | |
| *const ::std::os::raw::c_void, | |
| arg4: size_t, | |
| arg5: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub getxattr: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| *const ::std::os::raw::c_char, | |
| arg3: | |
| *mut ::std::os::raw::c_void, | |
| arg4: size_t) | |
| -> ssize_t>, | |
| pub listxattr: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| *mut ::std::os::raw::c_char, | |
| arg3: size_t) | |
| -> ssize_t>, | |
| pub removexattr: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int>, | |
| pub fiemap: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_fiemap_extent_info, | |
| start: __u64, | |
| len: __u64) | |
| -> ::std::os::raw::c_int>, | |
| pub update_time: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_timespec, | |
| arg3: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub atomic_open: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_dentry, | |
| arg3: | |
| *mut Struct_file, | |
| open_flag: | |
| ::std::os::raw::c_uint, | |
| create_mode: | |
| umode_t, | |
| opened: | |
| *mut ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub tmpfile: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_dentry, | |
| arg3: umode_t) | |
| -> ::std::os::raw::c_int>, | |
| pub set_acl: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_posix_acl, | |
| arg3: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_inode_operations { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_inode_operations { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type vfs_readf_t = | |
| ::std::option::Option<unsafe extern "C" fn(arg1: *mut Struct_file, | |
| arg2: | |
| *mut ::std::os::raw::c_char, | |
| arg3: size_t, | |
| arg4: *mut loff_t) -> ssize_t>; | |
| pub type vfs_writef_t = | |
| ::std::option::Option<unsafe extern "C" fn(arg1: *mut Struct_file, | |
| arg2: | |
| *const ::std::os::raw::c_char, | |
| arg3: size_t, | |
| arg4: *mut loff_t) -> ssize_t>; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_super_operations { | |
| pub alloc_inode: ::std::option::Option<unsafe extern "C" fn(sb: | |
| *mut Struct_super_block) | |
| -> *mut Struct_inode>, | |
| pub destroy_inode: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode)>, | |
| pub dirty_inode: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| flags: | |
| ::std::os::raw::c_int)>, | |
| pub write_inode: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| wbc: | |
| *mut Struct_writeback_control) | |
| -> ::std::os::raw::c_int>, | |
| pub drop_inode: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode) | |
| -> ::std::os::raw::c_int>, | |
| pub evict_inode: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode)>, | |
| pub put_super: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block)>, | |
| pub sync_fs: ::std::option::Option<unsafe extern "C" fn(sb: | |
| *mut Struct_super_block, | |
| wait: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>, | |
| pub freeze_super: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block) | |
| -> ::std::os::raw::c_int>, | |
| pub freeze_fs: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block) | |
| -> ::std::os::raw::c_int>, | |
| pub thaw_super: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block) | |
| -> ::std::os::raw::c_int>, | |
| pub unfreeze_fs: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block) | |
| -> ::std::os::raw::c_int>, | |
| pub statfs: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_dentry, | |
| arg2: | |
| *mut Struct_kstatfs) | |
| -> ::std::os::raw::c_int>, | |
| pub remount_fs: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut ::std::os::raw::c_int, | |
| arg3: | |
| *mut ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int>, | |
| pub umount_begin: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block)>, | |
| pub show_options: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_seq_file, | |
| arg2: | |
| *mut Struct_dentry) | |
| -> ::std::os::raw::c_int>, | |
| pub show_devname: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_seq_file, | |
| arg2: | |
| *mut Struct_dentry) | |
| -> ::std::os::raw::c_int>, | |
| pub show_path: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_seq_file, | |
| arg2: | |
| *mut Struct_dentry) | |
| -> ::std::os::raw::c_int>, | |
| pub show_stats: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_seq_file, | |
| arg2: | |
| *mut Struct_dentry) | |
| -> ::std::os::raw::c_int>, | |
| pub quota_read: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| ::std::os::raw::c_int, | |
| arg3: | |
| *mut ::std::os::raw::c_char, | |
| arg4: size_t, | |
| arg5: loff_t) | |
| -> ssize_t>, | |
| pub quota_write: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| ::std::os::raw::c_int, | |
| arg3: | |
| *const ::std::os::raw::c_char, | |
| arg4: size_t, | |
| arg5: loff_t) | |
| -> ssize_t>, | |
| pub get_dquots: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode) | |
| -> *mut *mut Struct_dquot>, | |
| pub bdev_try_to_free_page: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut Struct_page, | |
| arg3: | |
| gfp_t) | |
| -> | |
| ::std::os::raw::c_int>, | |
| pub nr_cached_objects: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut Struct_shrink_control) | |
| -> | |
| ::std::os::raw::c_long>, | |
| pub free_cached_objects: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut Struct_shrink_control) | |
| -> | |
| ::std::os::raw::c_long>, | |
| pub real_loop: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file) | |
| -> *mut Struct_file>, | |
| } | |
| impl ::std::clone::Clone for Struct_super_operations { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_super_operations { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_file_time_flags { | |
| S_ATIME = 1, | |
| S_MTIME = 2, | |
| S_CTIME = 4, | |
| S_VERSION = 8, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_file_system_type { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub fs_flags: ::std::os::raw::c_int, | |
| pub mount: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file_system_type, | |
| arg2: | |
| ::std::os::raw::c_int, | |
| arg3: | |
| *const ::std::os::raw::c_char, | |
| arg4: | |
| *mut ::std::os::raw::c_void) | |
| -> *mut Struct_dentry>, | |
| pub kill_sb: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block)>, | |
| pub owner: *mut Struct_module, | |
| pub next: *mut Struct_file_system_type, | |
| pub fs_supers: Struct_hlist_head, | |
| pub s_lock_key: Struct_lock_class_key, | |
| pub s_umount_key: Struct_lock_class_key, | |
| pub s_vfs_rename_key: Struct_lock_class_key, | |
| pub s_writers_key: [Struct_lock_class_key; 3usize], | |
| pub i_lock_key: Struct_lock_class_key, | |
| pub i_mutex_key: Struct_lock_class_key, | |
| pub i_mutex_dir_key: Struct_lock_class_key, | |
| } | |
| impl ::std::clone::Clone for Struct_file_system_type { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_file_system_type { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_audit_names { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_filename { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub uptr: *const ::std::os::raw::c_char, | |
| pub aname: *mut Struct_audit_names, | |
| pub refcnt: ::std::os::raw::c_int, | |
| pub iname: *const ::std::os::raw::c_char, | |
| } | |
| impl ::std::clone::Clone for Struct_filename { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_filename { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed184 { FILE_CREATED = 1, FILE_OPENED = 2, } | |
| pub enum Struct_kmem_cache { } | |
| pub type dio_submit_t = | |
| unsafe extern "C" fn(rw: ::std::os::raw::c_int, bio: *mut Struct_bio, | |
| inode: *mut Struct_inode, file_offset: loff_t); | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed185 { | |
| DIO_LOCKING = 1, | |
| DIO_SKIP_HOLES = 2, | |
| DIO_ASYNC_EXTEND = 4, | |
| DIO_SKIP_DIO_COUNT = 8, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_tree_descr { | |
| pub name: *mut ::std::os::raw::c_char, | |
| pub ops: *const Struct_file_operations, | |
| pub mode: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_tree_descr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_tree_descr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_simple_transaction_argresp { | |
| pub size: ssize_t, | |
| pub data: [::std::os::raw::c_char; 0usize], | |
| } | |
| impl ::std::clone::Clone for Struct_simple_transaction_argresp { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_simple_transaction_argresp { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_exception_table_entry { | |
| pub insn: ::std::os::raw::c_int, | |
| pub fixup: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_exception_table_entry { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_exception_table_entry { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct___large_struct { | |
| pub buf: [::std::os::raw::c_ulong; 100usize], | |
| } | |
| impl ::std::clone::Clone for Struct___large_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct___large_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_idr_layer { | |
| pub prefix: ::std::os::raw::c_int, | |
| pub layer: ::std::os::raw::c_int, | |
| pub ary: [*mut Struct_idr_layer; 256usize], | |
| pub count: ::std::os::raw::c_int, | |
| pub _bindgen_data_1_: [u64; 4usize], | |
| } | |
| impl Struct_idr_layer { | |
| pub unsafe fn bitmap(&mut self) | |
| -> *mut [::std::os::raw::c_ulong; 4usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn callback_head(&mut self) -> *mut Struct_callback_head { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_idr_layer { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_idr_layer { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_idr { | |
| pub hint: *mut Struct_idr_layer, | |
| pub top: *mut Struct_idr_layer, | |
| pub layers: ::std::os::raw::c_int, | |
| pub cur: ::std::os::raw::c_int, | |
| pub lock: spinlock_t, | |
| pub id_free_cnt: ::std::os::raw::c_int, | |
| pub id_free: *mut Struct_idr_layer, | |
| } | |
| impl ::std::clone::Clone for Struct_idr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_idr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ida_bitmap { | |
| pub nr_busy: ::std::os::raw::c_long, | |
| pub bitmap: [::std::os::raw::c_ulong; 15usize], | |
| } | |
| impl ::std::clone::Clone for Struct_ida_bitmap { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ida_bitmap { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ida { | |
| pub idr: Struct_idr, | |
| pub free_bitmap: *mut Struct_ida_bitmap, | |
| } | |
| impl ::std::clone::Clone for Struct_ida { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ida { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_kernfs_open_node { } | |
| pub enum Struct_kernfs_iattrs { } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_kernfs_node_type { | |
| KERNFS_DIR = 1, | |
| KERNFS_FILE = 2, | |
| KERNFS_LINK = 4, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_kernfs_node_flag { | |
| KERNFS_ACTIVATED = 16, | |
| KERNFS_NS = 32, | |
| KERNFS_HAS_SEQ_SHOW = 64, | |
| KERNFS_HAS_MMAP = 128, | |
| KERNFS_LOCKDEP = 256, | |
| KERNFS_SUICIDAL = 1024, | |
| KERNFS_SUICIDED = 2048, | |
| KERNFS_EMPTY_DIR = 4096, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_kernfs_root_flag { | |
| KERNFS_ROOT_CREATE_DEACTIVATED = 1, | |
| KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK = 2, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kernfs_elem_dir { | |
| pub subdirs: ::std::os::raw::c_ulong, | |
| pub children: Struct_rb_root, | |
| pub root: *mut Struct_kernfs_root, | |
| } | |
| impl ::std::clone::Clone for Struct_kernfs_elem_dir { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kernfs_elem_dir { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kernfs_elem_symlink { | |
| pub target_kn: *mut Struct_kernfs_node, | |
| } | |
| impl ::std::clone::Clone for Struct_kernfs_elem_symlink { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kernfs_elem_symlink { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kernfs_elem_attr { | |
| pub ops: *const Struct_kernfs_ops, | |
| pub open: *mut Struct_kernfs_open_node, | |
| pub size: loff_t, | |
| pub notify_next: *mut Struct_kernfs_node, | |
| } | |
| impl ::std::clone::Clone for Struct_kernfs_elem_attr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kernfs_elem_attr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kernfs_node { | |
| pub count: atomic_t, | |
| pub active: atomic_t, | |
| pub parent: *mut Struct_kernfs_node, | |
| pub name: *const ::std::os::raw::c_char, | |
| pub rb: Struct_rb_node, | |
| pub ns: *const ::std::os::raw::c_void, | |
| pub hash: ::std::os::raw::c_uint, | |
| pub _bindgen_data_1_: [u64; 4usize], | |
| pub _priv: *mut ::std::os::raw::c_void, | |
| pub flags: ::std::os::raw::c_ushort, | |
| pub mode: umode_t, | |
| pub ino: ::std::os::raw::c_uint, | |
| pub iattr: *mut Struct_kernfs_iattrs, | |
| } | |
| impl Struct_kernfs_node { | |
| pub unsafe fn dir(&mut self) -> *mut Struct_kernfs_elem_dir { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn symlink(&mut self) -> *mut Struct_kernfs_elem_symlink { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn attr(&mut self) -> *mut Struct_kernfs_elem_attr { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_kernfs_node { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kernfs_node { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kernfs_syscall_ops { | |
| pub remount_fs: ::std::option::Option<unsafe extern "C" fn(root: | |
| *mut Struct_kernfs_root, | |
| flags: | |
| *mut ::std::os::raw::c_int, | |
| data: | |
| *mut ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int>, | |
| pub show_options: ::std::option::Option<unsafe extern "C" fn(sf: | |
| *mut Struct_seq_file, | |
| root: | |
| *mut Struct_kernfs_root) | |
| -> ::std::os::raw::c_int>, | |
| pub mkdir: ::std::option::Option<unsafe extern "C" fn(parent: | |
| *mut Struct_kernfs_node, | |
| name: | |
| *const ::std::os::raw::c_char, | |
| mode: umode_t) | |
| -> ::std::os::raw::c_int>, | |
| pub rmdir: ::std::option::Option<unsafe extern "C" fn(kn: | |
| *mut Struct_kernfs_node) | |
| -> ::std::os::raw::c_int>, | |
| pub rename: ::std::option::Option<unsafe extern "C" fn(kn: | |
| *mut Struct_kernfs_node, | |
| new_parent: | |
| *mut Struct_kernfs_node, | |
| new_name: | |
| *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_kernfs_syscall_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kernfs_syscall_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kernfs_root { | |
| pub kn: *mut Struct_kernfs_node, | |
| pub flags: ::std::os::raw::c_uint, | |
| pub ino_ida: Struct_ida, | |
| pub syscall_ops: *mut Struct_kernfs_syscall_ops, | |
| pub supers: Struct_list_head, | |
| pub deactivate_waitq: wait_queue_head_t, | |
| } | |
| impl ::std::clone::Clone for Struct_kernfs_root { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kernfs_root { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_vm_operations_struct { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kernfs_open_file { | |
| pub kn: *mut Struct_kernfs_node, | |
| pub file: *mut Struct_file, | |
| pub _priv: *mut ::std::os::raw::c_void, | |
| pub mutex: Struct_mutex, | |
| pub event: ::std::os::raw::c_int, | |
| pub list: Struct_list_head, | |
| pub prealloc_buf: *mut ::std::os::raw::c_char, | |
| pub atomic_write_len: size_t, | |
| pub mmapped: _bool, | |
| pub vm_ops: *const Struct_vm_operations_struct, | |
| } | |
| impl ::std::clone::Clone for Struct_kernfs_open_file { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kernfs_open_file { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kernfs_ops { | |
| pub seq_show: ::std::option::Option<unsafe extern "C" fn(sf: | |
| *mut Struct_seq_file, | |
| v: | |
| *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int>, | |
| pub seq_start: ::std::option::Option<unsafe extern "C" fn(sf: | |
| *mut Struct_seq_file, | |
| ppos: | |
| *mut loff_t) | |
| -> *mut ::std::os::raw::c_void>, | |
| pub seq_next: ::std::option::Option<unsafe extern "C" fn(sf: | |
| *mut Struct_seq_file, | |
| v: | |
| *mut ::std::os::raw::c_void, | |
| ppos: | |
| *mut loff_t) | |
| -> *mut ::std::os::raw::c_void>, | |
| pub seq_stop: ::std::option::Option<unsafe extern "C" fn(sf: | |
| *mut Struct_seq_file, | |
| v: | |
| *mut ::std::os::raw::c_void)>, | |
| pub read: ::std::option::Option<unsafe extern "C" fn(of: | |
| *mut Struct_kernfs_open_file, | |
| buf: | |
| *mut ::std::os::raw::c_char, | |
| bytes: size_t, | |
| off: loff_t) | |
| -> ssize_t>, | |
| pub atomic_write_len: size_t, | |
| pub prealloc: _bool, | |
| pub write: ::std::option::Option<unsafe extern "C" fn(of: | |
| *mut Struct_kernfs_open_file, | |
| buf: | |
| *mut ::std::os::raw::c_char, | |
| bytes: size_t, | |
| off: loff_t) | |
| -> ssize_t>, | |
| pub mmap: ::std::option::Option<unsafe extern "C" fn(of: | |
| *mut Struct_kernfs_open_file, | |
| vma: | |
| *mut Struct_vm_area_struct) | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_kernfs_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kernfs_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_sock { } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_kobj_ns_type { | |
| KOBJ_NS_TYPE_NONE = 0, | |
| KOBJ_NS_TYPE_NET = 1, | |
| KOBJ_NS_TYPES = 2, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kobj_ns_type_operations { | |
| pub _type: Enum_kobj_ns_type, | |
| pub current_may_mount: ::std::option::Option<extern "C" fn() -> _bool>, | |
| pub grab_current_ns: ::std::option::Option<extern "C" fn() | |
| -> | |
| *mut ::std::os::raw::c_void>, | |
| pub netlink_ns: ::std::option::Option<unsafe extern "C" fn(sk: | |
| *mut Struct_sock) | |
| -> | |
| *const ::std::os::raw::c_void>, | |
| pub initial_ns: ::std::option::Option<extern "C" fn() | |
| -> | |
| *const ::std::os::raw::c_void>, | |
| pub drop_ns: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut ::std::os::raw::c_void)>, | |
| } | |
| impl ::std::clone::Clone for Struct_kobj_ns_type_operations { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kobj_ns_type_operations { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_attribute { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub mode: umode_t, | |
| } | |
| impl ::std::clone::Clone for Struct_attribute { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_attribute { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_attribute_group { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub is_visible: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_kobject, | |
| arg2: | |
| *mut Struct_attribute, | |
| arg3: | |
| ::std::os::raw::c_int) | |
| -> umode_t>, | |
| pub is_bin_visible: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_kobject, | |
| arg2: | |
| *mut Struct_bin_attribute, | |
| arg3: | |
| ::std::os::raw::c_int) | |
| -> umode_t>, | |
| pub attrs: *mut *mut Struct_attribute, | |
| pub bin_attrs: *mut *mut Struct_bin_attribute, | |
| } | |
| impl ::std::clone::Clone for Struct_attribute_group { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_attribute_group { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_bin_attribute { | |
| pub attr: Struct_attribute, | |
| pub size: size_t, | |
| pub private: *mut ::std::os::raw::c_void, | |
| pub read: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| *mut Struct_kobject, | |
| arg3: | |
| *mut Struct_bin_attribute, | |
| arg4: | |
| *mut ::std::os::raw::c_char, | |
| arg5: loff_t, | |
| arg6: size_t) | |
| -> ssize_t>, | |
| pub write: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| *mut Struct_kobject, | |
| arg3: | |
| *mut Struct_bin_attribute, | |
| arg4: | |
| *mut ::std::os::raw::c_char, | |
| arg5: loff_t, | |
| arg6: size_t) | |
| -> ssize_t>, | |
| pub mmap: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_file, | |
| arg2: | |
| *mut Struct_kobject, | |
| attr: | |
| *mut Struct_bin_attribute, | |
| vma: | |
| *mut Struct_vm_area_struct) | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_bin_attribute { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_bin_attribute { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_sysfs_ops { | |
| pub show: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_kobject, | |
| arg2: | |
| *mut Struct_attribute, | |
| arg3: | |
| *mut ::std::os::raw::c_char) | |
| -> ssize_t>, | |
| pub store: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_kobject, | |
| arg2: | |
| *mut Struct_attribute, | |
| arg3: | |
| *const ::std::os::raw::c_char, | |
| arg4: size_t) | |
| -> ssize_t>, | |
| } | |
| impl ::std::clone::Clone for Struct_sysfs_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_sysfs_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kref { | |
| pub refcount: atomic_t, | |
| } | |
| impl ::std::clone::Clone for Struct_kref { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kref { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_kobject_action { | |
| KOBJ_ADD = 0, | |
| KOBJ_REMOVE = 1, | |
| KOBJ_CHANGE = 2, | |
| KOBJ_MOVE = 3, | |
| KOBJ_ONLINE = 4, | |
| KOBJ_OFFLINE = 5, | |
| KOBJ_MAX = 6, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kobject { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub entry: Struct_list_head, | |
| pub parent: *mut Struct_kobject, | |
| pub kset: *mut Struct_kset, | |
| pub ktype: *mut Struct_kobj_type, | |
| pub sd: *mut Struct_kernfs_node, | |
| pub kref: Struct_kref, | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| } | |
| impl ::std::clone::Clone for Struct_kobject { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kobject { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kobj_type { | |
| pub release: ::std::option::Option<unsafe extern "C" fn(kobj: | |
| *mut Struct_kobject)>, | |
| pub sysfs_ops: *const Struct_sysfs_ops, | |
| pub default_attrs: *mut *mut Struct_attribute, | |
| pub child_ns_type: ::std::option::Option<unsafe extern "C" fn(kobj: | |
| *mut Struct_kobject) | |
| -> | |
| *const Struct_kobj_ns_type_operations>, | |
| pub namespace: ::std::option::Option<unsafe extern "C" fn(kobj: | |
| *mut Struct_kobject) | |
| -> | |
| *const ::std::os::raw::c_void>, | |
| } | |
| impl ::std::clone::Clone for Struct_kobj_type { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kobj_type { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kobj_uevent_env { | |
| pub argv: [*mut ::std::os::raw::c_char; 3usize], | |
| pub envp: [*mut ::std::os::raw::c_char; 32usize], | |
| pub envp_idx: ::std::os::raw::c_int, | |
| pub buf: [::std::os::raw::c_char; 2048usize], | |
| pub buflen: ::std::os::raw::c_int, | |
| } | |
| impl ::std::clone::Clone for Struct_kobj_uevent_env { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kobj_uevent_env { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kset_uevent_ops { | |
| pub filter: ::std::option::Option<unsafe extern "C" fn(kset: | |
| *mut Struct_kset, | |
| kobj: | |
| *mut Struct_kobject) | |
| -> ::std::os::raw::c_int>, | |
| pub name: ::std::option::Option<unsafe extern "C" fn(kset: | |
| *mut Struct_kset, | |
| kobj: | |
| *mut Struct_kobject) | |
| -> *const ::std::os::raw::c_char>, | |
| pub uevent: ::std::option::Option<unsafe extern "C" fn(kset: | |
| *mut Struct_kset, | |
| kobj: | |
| *mut Struct_kobject, | |
| env: | |
| *mut Struct_kobj_uevent_env) | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_kset_uevent_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kset_uevent_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kobj_attribute { | |
| pub attr: Struct_attribute, | |
| pub show: ::std::option::Option<unsafe extern "C" fn(kobj: | |
| *mut Struct_kobject, | |
| attr: | |
| *mut Struct_kobj_attribute, | |
| buf: | |
| *mut ::std::os::raw::c_char) | |
| -> ssize_t>, | |
| pub store: ::std::option::Option<unsafe extern "C" fn(kobj: | |
| *mut Struct_kobject, | |
| attr: | |
| *mut Struct_kobj_attribute, | |
| buf: | |
| *const ::std::os::raw::c_char, | |
| count: size_t) | |
| -> ssize_t>, | |
| } | |
| impl ::std::clone::Clone for Struct_kobj_attribute { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kobj_attribute { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kset { | |
| pub list: Struct_list_head, | |
| pub list_lock: spinlock_t, | |
| pub kobj: Struct_kobject, | |
| pub uevent_ops: *const Struct_kset_uevent_ops, | |
| } | |
| impl ::std::clone::Clone for Struct_kset { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kset { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_klist { | |
| pub k_lock: spinlock_t, | |
| pub k_list: Struct_list_head, | |
| pub get: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_klist_node)>, | |
| pub put: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_klist_node)>, | |
| } | |
| impl ::std::clone::Clone for Struct_klist { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_klist { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_klist_node { | |
| pub n_klist: *mut ::std::os::raw::c_void, | |
| pub n_node: Struct_list_head, | |
| pub n_ref: Struct_kref, | |
| } | |
| impl ::std::clone::Clone for Struct_klist_node { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_klist_node { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_klist_iter { | |
| pub i_klist: *mut Struct_klist, | |
| pub i_cur: *mut Struct_klist_node, | |
| } | |
| impl ::std::clone::Clone for Struct_klist_iter { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_klist_iter { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_seq_file { | |
| pub buf: *mut ::std::os::raw::c_char, | |
| pub size: size_t, | |
| pub from: size_t, | |
| pub count: size_t, | |
| pub pad_until: size_t, | |
| pub index: loff_t, | |
| pub read_pos: loff_t, | |
| pub version: __u64, | |
| pub lock: Struct_mutex, | |
| pub op: *const Struct_seq_operations, | |
| pub poll_event: ::std::os::raw::c_int, | |
| pub user_ns: *mut Struct_user_namespace, | |
| pub private: *mut ::std::os::raw::c_void, | |
| } | |
| impl ::std::clone::Clone for Struct_seq_file { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_seq_file { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_seq_operations { | |
| pub start: ::std::option::Option<unsafe extern "C" fn(m: | |
| *mut Struct_seq_file, | |
| pos: *mut loff_t) | |
| -> *mut ::std::os::raw::c_void>, | |
| pub stop: ::std::option::Option<unsafe extern "C" fn(m: | |
| *mut Struct_seq_file, | |
| v: | |
| *mut ::std::os::raw::c_void)>, | |
| pub next: ::std::option::Option<unsafe extern "C" fn(m: | |
| *mut Struct_seq_file, | |
| v: | |
| *mut ::std::os::raw::c_void, | |
| pos: *mut loff_t) | |
| -> *mut ::std::os::raw::c_void>, | |
| pub show: ::std::option::Option<unsafe extern "C" fn(m: | |
| *mut Struct_seq_file, | |
| v: | |
| *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_seq_operations { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_seq_operations { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_pinctrl { } | |
| pub enum Struct_pinctrl_state { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dev_pin_info { | |
| pub p: *mut Struct_pinctrl, | |
| pub default_state: *mut Struct_pinctrl_state, | |
| pub init_state: *mut Struct_pinctrl_state, | |
| pub sleep_state: *mut Struct_pinctrl_state, | |
| pub idle_state: *mut Struct_pinctrl_state, | |
| } | |
| impl ::std::clone::Clone for Struct_dev_pin_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dev_pin_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_ratelimit_state { | |
| pub lock: raw_spinlock_t, | |
| pub interval: ::std::os::raw::c_int, | |
| pub burst: ::std::os::raw::c_int, | |
| pub printed: ::std::os::raw::c_int, | |
| pub missed: ::std::os::raw::c_int, | |
| pub begin: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_ratelimit_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_ratelimit_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_dma_map_ops { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dev_archdata { | |
| pub dma_ops: *mut Struct_dma_map_ops, | |
| pub iommu: *mut ::std::os::raw::c_void, | |
| } | |
| impl ::std::clone::Clone for Struct_dev_archdata { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dev_archdata { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_pdev_archdata { | |
| } | |
| impl ::std::clone::Clone for Struct_pdev_archdata { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_pdev_archdata { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_device_private { } | |
| pub enum Struct_driver_private { } | |
| pub enum Struct_subsys_private { } | |
| pub enum Struct_device_node { } | |
| pub enum Struct_fwnode_handle { } | |
| pub enum Struct_iommu_ops { } | |
| pub enum Struct_iommu_group { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_bus_attribute { | |
| pub attr: Struct_attribute, | |
| pub show: ::std::option::Option<unsafe extern "C" fn(bus: | |
| *mut Struct_bus_type, | |
| buf: | |
| *mut ::std::os::raw::c_char) | |
| -> ssize_t>, | |
| pub store: ::std::option::Option<unsafe extern "C" fn(bus: | |
| *mut Struct_bus_type, | |
| buf: | |
| *const ::std::os::raw::c_char, | |
| count: size_t) | |
| -> ssize_t>, | |
| } | |
| impl ::std::clone::Clone for Struct_bus_attribute { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_bus_attribute { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_bus_type { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub dev_name: *const ::std::os::raw::c_char, | |
| pub dev_root: *mut Struct_device, | |
| pub dev_attrs: *mut Struct_device_attribute, | |
| pub bus_groups: *mut *const Struct_attribute_group, | |
| pub dev_groups: *mut *const Struct_attribute_group, | |
| pub drv_groups: *mut *const Struct_attribute_group, | |
| pub _match: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| drv: | |
| *mut Struct_device_driver) | |
| -> ::std::os::raw::c_int>, | |
| pub uevent: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| env: | |
| *mut Struct_kobj_uevent_env) | |
| -> ::std::os::raw::c_int>, | |
| pub probe: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub remove: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub shutdown: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device)>, | |
| pub online: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub offline: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub suspend: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| state: | |
| pm_message_t) | |
| -> ::std::os::raw::c_int>, | |
| pub resume: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub pm: *const Struct_dev_pm_ops, | |
| pub iommu_ops: *const Struct_iommu_ops, | |
| pub p: *mut Struct_subsys_private, | |
| pub lock_key: Struct_lock_class_key, | |
| } | |
| impl ::std::clone::Clone for Struct_bus_type { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_bus_type { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_subsys_dev_iter { | |
| pub ki: Struct_klist_iter, | |
| pub _type: *const Struct_device_type, | |
| } | |
| impl ::std::clone::Clone for Struct_subsys_dev_iter { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_subsys_dev_iter { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_probe_type { | |
| PROBE_DEFAULT_STRATEGY = 0, | |
| PROBE_PREFER_ASYNCHRONOUS = 1, | |
| PROBE_FORCE_SYNCHRONOUS = 2, | |
| } | |
| pub enum Struct_of_device_id { } | |
| pub enum Struct_acpi_device_id { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_device_driver { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub bus: *mut Struct_bus_type, | |
| pub owner: *mut Struct_module, | |
| pub mod_name: *const ::std::os::raw::c_char, | |
| pub suppress_bind_attrs: _bool, | |
| pub probe_type: Enum_probe_type, | |
| pub of_match_table: *const Struct_of_device_id, | |
| pub acpi_match_table: *const Struct_acpi_device_id, | |
| pub probe: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub remove: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub shutdown: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device)>, | |
| pub suspend: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| state: | |
| pm_message_t) | |
| -> ::std::os::raw::c_int>, | |
| pub resume: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub groups: *mut *const Struct_attribute_group, | |
| pub pm: *const Struct_dev_pm_ops, | |
| pub p: *mut Struct_driver_private, | |
| } | |
| impl ::std::clone::Clone for Struct_device_driver { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_device_driver { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_driver_attribute { | |
| pub attr: Struct_attribute, | |
| pub show: ::std::option::Option<unsafe extern "C" fn(driver: | |
| *mut Struct_device_driver, | |
| buf: | |
| *mut ::std::os::raw::c_char) | |
| -> ssize_t>, | |
| pub store: ::std::option::Option<unsafe extern "C" fn(driver: | |
| *mut Struct_device_driver, | |
| buf: | |
| *const ::std::os::raw::c_char, | |
| count: size_t) | |
| -> ssize_t>, | |
| } | |
| impl ::std::clone::Clone for Struct_driver_attribute { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_driver_attribute { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_subsys_interface { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub subsys: *mut Struct_bus_type, | |
| pub node: Struct_list_head, | |
| pub add_dev: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| sif: | |
| *mut Struct_subsys_interface) | |
| -> ::std::os::raw::c_int>, | |
| pub remove_dev: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| sif: | |
| *mut Struct_subsys_interface)>, | |
| } | |
| impl ::std::clone::Clone for Struct_subsys_interface { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_subsys_interface { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_class { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub owner: *mut Struct_module, | |
| pub class_attrs: *mut Struct_class_attribute, | |
| pub dev_groups: *mut *const Struct_attribute_group, | |
| pub dev_kobj: *mut Struct_kobject, | |
| pub dev_uevent: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| env: | |
| *mut Struct_kobj_uevent_env) | |
| -> ::std::os::raw::c_int>, | |
| pub devnode: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| mode: | |
| *mut umode_t) | |
| -> *mut ::std::os::raw::c_char>, | |
| pub class_release: ::std::option::Option<unsafe extern "C" fn(class: | |
| *mut Struct_class)>, | |
| pub dev_release: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device)>, | |
| pub suspend: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| state: | |
| pm_message_t) | |
| -> ::std::os::raw::c_int>, | |
| pub resume: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>, | |
| pub ns_type: *const Struct_kobj_ns_type_operations, | |
| pub namespace: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> | |
| *const ::std::os::raw::c_void>, | |
| pub pm: *const Struct_dev_pm_ops, | |
| pub p: *mut Struct_subsys_private, | |
| } | |
| impl ::std::clone::Clone for Struct_class { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_class { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_class_dev_iter { | |
| pub ki: Struct_klist_iter, | |
| pub _type: *const Struct_device_type, | |
| } | |
| impl ::std::clone::Clone for Struct_class_dev_iter { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_class_dev_iter { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_class_compat { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_class_attribute { | |
| pub attr: Struct_attribute, | |
| pub show: ::std::option::Option<unsafe extern "C" fn(class: | |
| *mut Struct_class, | |
| attr: | |
| *mut Struct_class_attribute, | |
| buf: | |
| *mut ::std::os::raw::c_char) | |
| -> ssize_t>, | |
| pub store: ::std::option::Option<unsafe extern "C" fn(class: | |
| *mut Struct_class, | |
| attr: | |
| *mut Struct_class_attribute, | |
| buf: | |
| *const ::std::os::raw::c_char, | |
| count: size_t) | |
| -> ssize_t>, | |
| } | |
| impl ::std::clone::Clone for Struct_class_attribute { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_class_attribute { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_class_attribute_string { | |
| pub attr: Struct_class_attribute, | |
| pub _str: *mut ::std::os::raw::c_char, | |
| } | |
| impl ::std::clone::Clone for Struct_class_attribute_string { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_class_attribute_string { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_class_interface { | |
| pub node: Struct_list_head, | |
| pub class: *mut Struct_class, | |
| pub add_dev: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_device, | |
| arg2: | |
| *mut Struct_class_interface) | |
| -> ::std::os::raw::c_int>, | |
| pub remove_dev: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_device, | |
| arg2: | |
| *mut Struct_class_interface)>, | |
| } | |
| impl ::std::clone::Clone for Struct_class_interface { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_class_interface { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_device_type { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub groups: *mut *const Struct_attribute_group, | |
| pub uevent: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| env: | |
| *mut Struct_kobj_uevent_env) | |
| -> ::std::os::raw::c_int>, | |
| pub devnode: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| mode: | |
| *mut umode_t, | |
| uid: *mut kuid_t, | |
| gid: *mut kgid_t) | |
| -> *mut ::std::os::raw::c_char>, | |
| pub release: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device)>, | |
| pub pm: *const Struct_dev_pm_ops, | |
| } | |
| impl ::std::clone::Clone for Struct_device_type { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_device_type { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_device_attribute { | |
| pub attr: Struct_attribute, | |
| pub show: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| attr: | |
| *mut Struct_device_attribute, | |
| buf: | |
| *mut ::std::os::raw::c_char) | |
| -> ssize_t>, | |
| pub store: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| attr: | |
| *mut Struct_device_attribute, | |
| buf: | |
| *const ::std::os::raw::c_char, | |
| count: size_t) | |
| -> ssize_t>, | |
| } | |
| impl ::std::clone::Clone for Struct_device_attribute { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_device_attribute { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dev_ext_attribute { | |
| pub attr: Struct_device_attribute, | |
| pub var: *mut ::std::os::raw::c_void, | |
| } | |
| impl ::std::clone::Clone for Struct_dev_ext_attribute { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dev_ext_attribute { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type dr_release_t = | |
| ::std::option::Option<unsafe extern "C" fn(dev: *mut Struct_device, | |
| res: | |
| *mut ::std::os::raw::c_void)>; | |
| pub type dr_match_t = | |
| ::std::option::Option<unsafe extern "C" fn(dev: *mut Struct_device, | |
| res: | |
| *mut ::std::os::raw::c_void, | |
| match_data: | |
| *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int>; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_device_dma_parameters { | |
| pub max_segment_size: ::std::os::raw::c_uint, | |
| pub segment_boundary_mask: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_device_dma_parameters { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_device_dma_parameters { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_irq_domain { } | |
| pub enum Struct_dma_coherent_mem { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_device { | |
| pub parent: *mut Struct_device, | |
| pub p: *mut Struct_device_private, | |
| pub kobj: Struct_kobject, | |
| pub init_name: *const ::std::os::raw::c_char, | |
| pub _type: *const Struct_device_type, | |
| pub mutex: Struct_mutex, | |
| pub bus: *mut Struct_bus_type, | |
| pub driver: *mut Struct_device_driver, | |
| pub platform_data: *mut ::std::os::raw::c_void, | |
| pub driver_data: *mut ::std::os::raw::c_void, | |
| pub power: Struct_dev_pm_info, | |
| pub pm_domain: *mut Struct_dev_pm_domain, | |
| pub msi_domain: *mut Struct_irq_domain, | |
| pub pins: *mut Struct_dev_pin_info, | |
| pub msi_list: Struct_list_head, | |
| pub numa_node: ::std::os::raw::c_int, | |
| pub dma_mask: *mut __u64, | |
| pub coherent_dma_mask: __u64, | |
| pub dma_pfn_offset: ::std::os::raw::c_ulong, | |
| pub dma_parms: *mut Struct_device_dma_parameters, | |
| pub dma_pools: Struct_list_head, | |
| pub dma_mem: *mut Struct_dma_coherent_mem, | |
| pub archdata: Struct_dev_archdata, | |
| pub of_node: *mut Struct_device_node, | |
| pub fwnode: *mut Struct_fwnode_handle, | |
| pub devt: dev_t, | |
| pub id: _u32, | |
| pub devres_lock: spinlock_t, | |
| pub devres_head: Struct_list_head, | |
| pub knode_class: Struct_klist_node, | |
| pub class: *mut Struct_class, | |
| pub groups: *mut *const Struct_attribute_group, | |
| pub release: ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device)>, | |
| pub iommu_group: *mut Struct_iommu_group, | |
| pub _bindgen_bitfield_1_: _bool, | |
| pub _bindgen_bitfield_2_: _bool, | |
| } | |
| impl ::std::clone::Clone for Struct_device { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_device { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_wakeup_source { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub entry: Struct_list_head, | |
| pub lock: spinlock_t, | |
| pub wakeirq: *mut Struct_wake_irq, | |
| pub timer: Struct_timer_list, | |
| pub timer_expires: ::std::os::raw::c_ulong, | |
| pub total_time: ktime_t, | |
| pub max_time: ktime_t, | |
| pub last_time: ktime_t, | |
| pub start_prevent_time: ktime_t, | |
| pub prevent_sleep_time: ktime_t, | |
| pub event_count: ::std::os::raw::c_ulong, | |
| pub active_count: ::std::os::raw::c_ulong, | |
| pub relax_count: ::std::os::raw::c_ulong, | |
| pub expire_count: ::std::os::raw::c_ulong, | |
| pub wakeup_count: ::std::os::raw::c_ulong, | |
| pub _bindgen_bitfield_1_: _bool, | |
| pub _bindgen_bitfield_2_: _bool, | |
| } | |
| impl ::std::clone::Clone for Struct_wakeup_source { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_wakeup_source { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_subprocess_info { | |
| pub work: Struct_work_struct, | |
| pub complete: *mut Struct_completion, | |
| pub path: *mut ::std::os::raw::c_char, | |
| pub argv: *mut *mut ::std::os::raw::c_char, | |
| pub envp: *mut *mut ::std::os::raw::c_char, | |
| pub wait: ::std::os::raw::c_int, | |
| pub retval: ::std::os::raw::c_int, | |
| pub init: ::std::option::Option<unsafe extern "C" fn(info: | |
| *mut Struct_subprocess_info, | |
| new: | |
| *mut Struct_cred) | |
| -> ::std::os::raw::c_int>, | |
| pub cleanup: ::std::option::Option<unsafe extern "C" fn(info: | |
| *mut Struct_subprocess_info)>, | |
| pub data: *mut ::std::os::raw::c_void, | |
| } | |
| impl ::std::clone::Clone for Struct_subprocess_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_subprocess_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_umh_disable_depth { | |
| UMH_ENABLED = 0, | |
| UMH_FREEZING = 1, | |
| UMH_DISABLED = 2, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_user_i387_struct { | |
| pub cwd: ::std::os::raw::c_ushort, | |
| pub swd: ::std::os::raw::c_ushort, | |
| pub twd: ::std::os::raw::c_ushort, | |
| pub fop: ::std::os::raw::c_ushort, | |
| pub rip: __u64, | |
| pub rdp: __u64, | |
| pub mxcsr: __u32, | |
| pub mxcsr_mask: __u32, | |
| pub st_space: [__u32; 32usize], | |
| pub xmm_space: [__u32; 64usize], | |
| pub padding: [__u32; 24usize], | |
| } | |
| impl ::std::clone::Clone for Struct_user_i387_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_user_i387_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_user_regs_struct { | |
| pub r15: ::std::os::raw::c_ulong, | |
| pub r14: ::std::os::raw::c_ulong, | |
| pub r13: ::std::os::raw::c_ulong, | |
| pub r12: ::std::os::raw::c_ulong, | |
| pub bp: ::std::os::raw::c_ulong, | |
| pub bx: ::std::os::raw::c_ulong, | |
| pub r11: ::std::os::raw::c_ulong, | |
| pub r10: ::std::os::raw::c_ulong, | |
| pub r9: ::std::os::raw::c_ulong, | |
| pub r8: ::std::os::raw::c_ulong, | |
| pub ax: ::std::os::raw::c_ulong, | |
| pub cx: ::std::os::raw::c_ulong, | |
| pub dx: ::std::os::raw::c_ulong, | |
| pub si: ::std::os::raw::c_ulong, | |
| pub di: ::std::os::raw::c_ulong, | |
| pub orig_ax: ::std::os::raw::c_ulong, | |
| pub ip: ::std::os::raw::c_ulong, | |
| pub cs: ::std::os::raw::c_ulong, | |
| pub flags: ::std::os::raw::c_ulong, | |
| pub sp: ::std::os::raw::c_ulong, | |
| pub ss: ::std::os::raw::c_ulong, | |
| pub fs_base: ::std::os::raw::c_ulong, | |
| pub gs_base: ::std::os::raw::c_ulong, | |
| pub ds: ::std::os::raw::c_ulong, | |
| pub es: ::std::os::raw::c_ulong, | |
| pub fs: ::std::os::raw::c_ulong, | |
| pub gs: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_user_regs_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_user_regs_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_user { | |
| pub regs: Struct_user_regs_struct, | |
| pub u_fpvalid: ::std::os::raw::c_int, | |
| pub pad0: ::std::os::raw::c_int, | |
| pub i387: Struct_user_i387_struct, | |
| pub u_tsize: ::std::os::raw::c_ulong, | |
| pub u_dsize: ::std::os::raw::c_ulong, | |
| pub u_ssize: ::std::os::raw::c_ulong, | |
| pub start_code: ::std::os::raw::c_ulong, | |
| pub start_stack: ::std::os::raw::c_ulong, | |
| pub signal: ::std::os::raw::c_long, | |
| pub reserved: ::std::os::raw::c_int, | |
| pub pad1: ::std::os::raw::c_int, | |
| pub u_ar0: ::std::os::raw::c_ulong, | |
| pub u_fpstate: *mut Struct_user_i387_struct, | |
| pub magic: ::std::os::raw::c_ulong, | |
| pub u_comm: [::std::os::raw::c_char; 32usize], | |
| pub u_debugreg: [::std::os::raw::c_ulong; 8usize], | |
| pub error_code: ::std::os::raw::c_ulong, | |
| pub fault_address: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_user { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_user { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_user_ymmh_regs { | |
| pub ymmh_space: [__u32; 64usize], | |
| } | |
| impl ::std::clone::Clone for Struct_user_ymmh_regs { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_user_ymmh_regs { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_user_xstate_header { | |
| pub xfeatures: __u64, | |
| pub reserved1: [__u64; 2usize], | |
| pub reserved2: [__u64; 5usize], | |
| } | |
| impl ::std::clone::Clone for Struct_user_xstate_header { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_user_xstate_header { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_user_xstateregs { | |
| pub i387: Struct_Unnamed186, | |
| pub header: Struct_user_xstate_header, | |
| pub ymmh: Struct_user_ymmh_regs, | |
| } | |
| impl ::std::clone::Clone for Struct_user_xstateregs { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_user_xstateregs { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed186 { | |
| pub fpx_space: [__u64; 58usize], | |
| pub xstate_fx_sw: [__u64; 6usize], | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed186 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed186 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type elf_greg_t = ::std::os::raw::c_ulong; | |
| pub type elf_gregset_t = [elf_greg_t; 27usize]; | |
| pub type elf_fpregset_t = Struct_user_i387_struct; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_uprobe_filter_ctx { | |
| UPROBE_FILTER_REGISTER = 0, | |
| UPROBE_FILTER_UNREGISTER = 1, | |
| UPROBE_FILTER_MMAP = 2, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_uprobe_consumer { | |
| pub handler: ::std::option::Option<unsafe extern "C" fn(_self: | |
| *mut Struct_uprobe_consumer, | |
| regs: | |
| *mut Struct_pt_regs) | |
| -> ::std::os::raw::c_int>, | |
| pub ret_handler: ::std::option::Option<unsafe extern "C" fn(_self: | |
| *mut Struct_uprobe_consumer, | |
| func: | |
| ::std::os::raw::c_ulong, | |
| regs: | |
| *mut Struct_pt_regs) | |
| -> ::std::os::raw::c_int>, | |
| pub filter: ::std::option::Option<unsafe extern "C" fn(_self: | |
| *mut Struct_uprobe_consumer, | |
| ctx: | |
| Enum_uprobe_filter_ctx, | |
| mm: | |
| *mut Struct_mm_struct) | |
| -> _bool>, | |
| pub next: *mut Struct_uprobe_consumer, | |
| } | |
| impl ::std::clone::Clone for Struct_uprobe_consumer { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_uprobe_consumer { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type uprobe_opcode_t = _u8; | |
| pub enum Struct_uprobe_xol_ops { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_arch_uprobe { | |
| pub _bindgen_data_1_: [u8; 16usize], | |
| pub ops: *const Struct_uprobe_xol_ops, | |
| pub _bindgen_data_2_: [u32; 2usize], | |
| } | |
| impl Struct_arch_uprobe { | |
| pub unsafe fn insn(&mut self) -> *mut [_u8; 16usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn ixol(&mut self) -> *mut [_u8; 16usize] { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn branch(&mut self) -> *mut Struct_Unnamed187 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn defparam(&mut self) -> *mut Struct_Unnamed188 { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_arch_uprobe { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_arch_uprobe { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed187 { | |
| pub offs: s32, | |
| pub ilen: _u8, | |
| pub opc1: _u8, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed187 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed187 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed188 { | |
| pub fixups: _u8, | |
| pub ilen: _u8, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed188 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed188 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_arch_uprobe_task { | |
| pub saved_scratch_register: ::std::os::raw::c_ulong, | |
| pub saved_trap_nr: ::std::os::raw::c_uint, | |
| pub saved_tf: ::std::os::raw::c_uint, | |
| } | |
| impl ::std::clone::Clone for Struct_arch_uprobe_task { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_arch_uprobe_task { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_uprobe_task_state { | |
| UTASK_RUNNING = 0, | |
| UTASK_SSTEP = 1, | |
| UTASK_SSTEP_ACK = 2, | |
| UTASK_SSTEP_TRAPPED = 3, | |
| } | |
| pub enum Struct_uprobe { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_uprobe_task { | |
| pub state: Enum_uprobe_task_state, | |
| pub _bindgen_data_1_: [u64; 3usize], | |
| pub active_uprobe: *mut Struct_uprobe, | |
| pub xol_vaddr: ::std::os::raw::c_ulong, | |
| pub return_instances: *mut Struct_return_instance, | |
| pub depth: ::std::os::raw::c_uint, | |
| } | |
| impl Struct_uprobe_task { | |
| pub unsafe fn autask(&mut self) -> *mut Struct_arch_uprobe_task { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn vaddr(&mut self) -> *mut ::std::os::raw::c_ulong { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(16)) | |
| } | |
| pub unsafe fn dup_xol_work(&mut self) -> *mut Struct_callback_head { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn dup_xol_addr(&mut self) -> *mut ::std::os::raw::c_ulong { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(16)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_uprobe_task { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_uprobe_task { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_return_instance { | |
| pub uprobe: *mut Struct_uprobe, | |
| pub func: ::std::os::raw::c_ulong, | |
| pub stack: ::std::os::raw::c_ulong, | |
| pub orig_ret_vaddr: ::std::os::raw::c_ulong, | |
| pub chained: _bool, | |
| pub next: *mut Struct_return_instance, | |
| } | |
| impl ::std::clone::Clone for Struct_return_instance { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_return_instance { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_rp_check { | |
| RP_CHECK_CALL = 0, | |
| RP_CHECK_CHAIN_CALL = 1, | |
| RP_CHECK_RET = 2, | |
| } | |
| pub enum Struct_xol_area { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_uprobes_state { | |
| pub xol_area: *mut Struct_xol_area, | |
| } | |
| impl ::std::clone::Clone for Struct_uprobes_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_uprobes_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_page { | |
| pub flags: ::std::os::raw::c_ulong, | |
| pub _bindgen_data_1_: [u64; 1usize], | |
| pub _bindgen_data_2_: [u64; 2usize], | |
| pub _bindgen_data_3_: [u64; 2usize], | |
| pub _bindgen_data_4_: [u64; 1usize], | |
| pub mem_cgroup: *mut Struct_mem_cgroup, | |
| } | |
| impl Struct_page { | |
| pub unsafe fn mapping(&mut self) -> *mut *mut Struct_address_space { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn s_mem(&mut self) -> *mut *mut ::std::os::raw::c_void { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn index(&mut self) -> *mut ::std::os::raw::c_ulong { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn freelist(&mut self) -> *mut *mut ::std::os::raw::c_void { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn counters(&mut self) -> *mut ::std::os::raw::c_ulong { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| pub unsafe fn _mapcount(&mut self) -> *mut atomic_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| pub unsafe fn units(&mut self) -> *mut ::std::os::raw::c_int { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| pub unsafe fn _count(&mut self) -> *mut atomic_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(12)) | |
| } | |
| pub unsafe fn active(&mut self) -> *mut ::std::os::raw::c_uint { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_2_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| pub unsafe fn lru(&mut self) -> *mut Struct_list_head { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn next(&mut self) -> *mut *mut Struct_page { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn pages(&mut self) -> *mut ::std::os::raw::c_int { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| pub unsafe fn pobjects(&mut self) -> *mut ::std::os::raw::c_int { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(12)) | |
| } | |
| pub unsafe fn callback_head(&mut self) -> *mut Struct_callback_head { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn compound_head(&mut self) -> *mut ::std::os::raw::c_ulong { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn compound_dtor(&mut self) -> *mut ::std::os::raw::c_uint { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| pub unsafe fn compound_order(&mut self) -> *mut ::std::os::raw::c_uint { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(12)) | |
| } | |
| pub unsafe fn __pad(&mut self) -> *mut ::std::os::raw::c_ulong { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn pmd_huge_pte(&mut self) -> *mut pgtable_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_3_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| pub unsafe fn private(&mut self) -> *mut ::std::os::raw::c_ulong { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_4_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn ptl(&mut self) -> *mut spinlock_t { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_4_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn slab_cache(&mut self) -> *mut *mut Struct_kmem_cache { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_4_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_page { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_page { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_page_frag { | |
| pub page: *mut Struct_page, | |
| pub offset: __u32, | |
| pub size: __u32, | |
| } | |
| impl ::std::clone::Clone for Struct_page_frag { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_page_frag { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_page_frag_cache { | |
| pub va: *mut ::std::os::raw::c_void, | |
| pub offset: __u16, | |
| pub size: __u16, | |
| pub pagecnt_bias: ::std::os::raw::c_uint, | |
| pub pfmemalloc: _bool, | |
| } | |
| impl ::std::clone::Clone for Struct_page_frag_cache { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_page_frag_cache { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type vm_flags_t = ::std::os::raw::c_ulong; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_vm_region { | |
| pub vm_rb: Struct_rb_node, | |
| pub vm_flags: vm_flags_t, | |
| pub vm_start: ::std::os::raw::c_ulong, | |
| pub vm_end: ::std::os::raw::c_ulong, | |
| pub vm_top: ::std::os::raw::c_ulong, | |
| pub vm_pgoff: ::std::os::raw::c_ulong, | |
| pub vm_file: *mut Struct_file, | |
| pub vm_prfile: *mut Struct_file, | |
| pub vm_usage: ::std::os::raw::c_int, | |
| pub _bindgen_bitfield_1_: _bool, | |
| } | |
| impl ::std::clone::Clone for Struct_vm_region { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_vm_region { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_userfaultfd_ctx { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_vm_userfaultfd_ctx { | |
| pub ctx: *mut Struct_userfaultfd_ctx, | |
| } | |
| impl ::std::clone::Clone for Struct_vm_userfaultfd_ctx { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_vm_userfaultfd_ctx { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_anon_vma { } | |
| pub enum Struct_mempolicy { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_vm_area_struct { | |
| pub vm_start: ::std::os::raw::c_ulong, | |
| pub vm_end: ::std::os::raw::c_ulong, | |
| pub vm_next: *mut Struct_vm_area_struct, | |
| pub vm_prev: *mut Struct_vm_area_struct, | |
| pub vm_rb: Struct_rb_node, | |
| pub rb_subtree_gap: ::std::os::raw::c_ulong, | |
| pub vm_mm: *mut Struct_mm_struct, | |
| pub vm_page_prot: pgprot_t, | |
| pub vm_flags: ::std::os::raw::c_ulong, | |
| pub shared: Struct_Unnamed189, | |
| pub anon_vma_chain: Struct_list_head, | |
| pub anon_vma: *mut Struct_anon_vma, | |
| pub vm_ops: *const Struct_vm_operations_struct, | |
| pub vm_pgoff: ::std::os::raw::c_ulong, | |
| pub vm_file: *mut Struct_file, | |
| pub vm_prfile: *mut Struct_file, | |
| pub vm_private_data: *mut ::std::os::raw::c_void, | |
| pub vm_policy: *mut Struct_mempolicy, | |
| pub vm_userfaultfd_ctx: Struct_vm_userfaultfd_ctx, | |
| } | |
| impl ::std::clone::Clone for Struct_vm_area_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_vm_area_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed189 { | |
| pub rb: Struct_rb_node, | |
| pub rb_subtree_last: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed189 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed189 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_core_thread { | |
| pub task: *mut Struct_task_struct, | |
| pub next: *mut Struct_core_thread, | |
| } | |
| impl ::std::clone::Clone for Struct_core_thread { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_core_thread { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_core_state { | |
| pub nr_threads: atomic_t, | |
| pub dumper: Struct_core_thread, | |
| pub startup: Struct_completion, | |
| } | |
| impl ::std::clone::Clone for Struct_core_state { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_core_state { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed190 { | |
| MM_FILEPAGES = 0, | |
| MM_ANONPAGES = 1, | |
| MM_SWAPENTS = 2, | |
| NR_MM_COUNTERS = 3, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_task_rss_stat { | |
| pub events: ::std::os::raw::c_int, | |
| pub count: [::std::os::raw::c_int; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_task_rss_stat { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_task_rss_stat { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mm_rss_stat { | |
| pub count: [atomic_long_t; 3usize], | |
| } | |
| impl ::std::clone::Clone for Struct_mm_rss_stat { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mm_rss_stat { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_kioctx_table { } | |
| pub enum Struct_linux_binfmt { } | |
| pub enum Struct_mmu_notifier_mm { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mm_struct { | |
| pub mmap: *mut Struct_vm_area_struct, | |
| pub mm_rb: Struct_rb_root, | |
| pub vmacache_seqnum: _u32, | |
| pub get_unmapped_area: ::std::option::Option<unsafe extern "C" fn(filp: | |
| *mut Struct_file, | |
| addr: | |
| ::std::os::raw::c_ulong, | |
| len: | |
| ::std::os::raw::c_ulong, | |
| pgoff: | |
| ::std::os::raw::c_ulong, | |
| flags: | |
| ::std::os::raw::c_ulong) | |
| -> | |
| ::std::os::raw::c_ulong>, | |
| pub mmap_base: ::std::os::raw::c_ulong, | |
| pub mmap_legacy_base: ::std::os::raw::c_ulong, | |
| pub task_size: ::std::os::raw::c_ulong, | |
| pub highest_vm_end: ::std::os::raw::c_ulong, | |
| pub pgd: *mut pgd_t, | |
| pub mm_users: atomic_t, | |
| pub mm_count: atomic_t, | |
| pub nr_ptes: atomic_long_t, | |
| pub nr_pmds: atomic_long_t, | |
| pub map_count: ::std::os::raw::c_int, | |
| pub page_table_lock: spinlock_t, | |
| pub mmap_sem: Struct_rw_semaphore, | |
| pub mmlist: Struct_list_head, | |
| pub hiwater_rss: ::std::os::raw::c_ulong, | |
| pub hiwater_vm: ::std::os::raw::c_ulong, | |
| pub total_vm: ::std::os::raw::c_ulong, | |
| pub locked_vm: ::std::os::raw::c_ulong, | |
| pub pinned_vm: ::std::os::raw::c_ulong, | |
| pub shared_vm: ::std::os::raw::c_ulong, | |
| pub exec_vm: ::std::os::raw::c_ulong, | |
| pub stack_vm: ::std::os::raw::c_ulong, | |
| pub def_flags: ::std::os::raw::c_ulong, | |
| pub start_code: ::std::os::raw::c_ulong, | |
| pub end_code: ::std::os::raw::c_ulong, | |
| pub start_data: ::std::os::raw::c_ulong, | |
| pub end_data: ::std::os::raw::c_ulong, | |
| pub start_brk: ::std::os::raw::c_ulong, | |
| pub brk: ::std::os::raw::c_ulong, | |
| pub start_stack: ::std::os::raw::c_ulong, | |
| pub arg_start: ::std::os::raw::c_ulong, | |
| pub arg_end: ::std::os::raw::c_ulong, | |
| pub env_start: ::std::os::raw::c_ulong, | |
| pub env_end: ::std::os::raw::c_ulong, | |
| pub saved_auxv: [::std::os::raw::c_ulong; 46usize], | |
| pub rss_stat: Struct_mm_rss_stat, | |
| pub binfmt: *mut Struct_linux_binfmt, | |
| pub cpu_vm_mask_var: cpumask_var_t, | |
| pub context: mm_context_t, | |
| pub flags: ::std::os::raw::c_ulong, | |
| pub core_state: *mut Struct_core_state, | |
| pub ioctx_lock: spinlock_t, | |
| pub ioctx_table: *mut Struct_kioctx_table, | |
| pub owner: *mut Struct_task_struct, | |
| pub exe_file: *mut Struct_file, | |
| pub mmu_notifier_mm: *mut Struct_mmu_notifier_mm, | |
| pub numa_next_scan: ::std::os::raw::c_ulong, | |
| pub numa_scan_offset: ::std::os::raw::c_ulong, | |
| pub numa_scan_seq: ::std::os::raw::c_int, | |
| pub tlb_flush_pending: _bool, | |
| pub uprobes_state: Struct_uprobes_state, | |
| pub bd_addr: *mut ::std::os::raw::c_void, | |
| pub hugetlb_usage: atomic_long_t, | |
| } | |
| impl ::std::clone::Clone for Struct_mm_struct { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mm_struct { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_vm_special_mapping { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub pages: *mut *mut Struct_page, | |
| } | |
| impl ::std::clone::Clone for Struct_vm_special_mapping { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_vm_special_mapping { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_tlb_flush_reason { | |
| TLB_FLUSH_ON_TASK_SWITCH = 0, | |
| TLB_REMOTE_SHOOTDOWN = 1, | |
| TLB_LOCAL_SHOOTDOWN = 2, | |
| TLB_LOCAL_MM_SHOOTDOWN = 3, | |
| TLB_REMOTE_SEND_IPI = 4, | |
| NR_TLB_FLUSH_REASONS = 5, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed191 { | |
| pub val: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed191 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed191 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type swp_entry_t = Struct_Unnamed191; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_vdso_image { | |
| pub data: *mut ::std::os::raw::c_void, | |
| pub size: ::std::os::raw::c_ulong, | |
| pub text_mapping: Struct_vm_special_mapping, | |
| pub alt: ::std::os::raw::c_ulong, | |
| pub alt_len: ::std::os::raw::c_ulong, | |
| pub sym_vvar_start: ::std::os::raw::c_long, | |
| pub sym_vvar_page: ::std::os::raw::c_long, | |
| pub sym_hpet_page: ::std::os::raw::c_long, | |
| pub sym_VDSO32_NOTE_MASK: ::std::os::raw::c_long, | |
| pub sym___kernel_sigreturn: ::std::os::raw::c_long, | |
| pub sym___kernel_rt_sigreturn: ::std::os::raw::c_long, | |
| pub sym___kernel_vsyscall: ::std::os::raw::c_long, | |
| pub sym_int80_landing_pad: ::std::os::raw::c_long, | |
| } | |
| impl ::std::clone::Clone for Struct_vdso_image { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_vdso_image { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_linux_binprm { } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_align_flags { ALIGN_VA_32 = 1, ALIGN_VA_64 = 2, } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_va_alignment { | |
| pub flags: ::std::os::raw::c_int, | |
| pub mask: ::std::os::raw::c_ulong, | |
| pub bits: ::std::os::raw::c_ulong, | |
| } | |
| impl ::std::clone::Clone for Struct_va_alignment { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_va_alignment { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf32_Addr = __u32; | |
| pub type Elf32_Half = __u16; | |
| pub type Elf32_Off = __u32; | |
| pub type Elf32_Sword = __s32; | |
| pub type Elf32_Word = __u32; | |
| pub type Elf64_Addr = __u64; | |
| pub type Elf64_Half = __u16; | |
| pub type Elf64_SHalf = __s16; | |
| pub type Elf64_Off = __u64; | |
| pub type Elf64_Sword = __s32; | |
| pub type Elf64_Word = __u32; | |
| pub type Elf64_Xword = __u64; | |
| pub type Elf64_Sxword = __s64; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_dynamic { | |
| pub d_tag: Elf32_Sword, | |
| pub d_un: Union_Unnamed192, | |
| } | |
| impl ::std::clone::Clone for Struct_dynamic { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_dynamic { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed192 { | |
| pub _bindgen_data_: [u32; 1usize], | |
| } | |
| impl Union_Unnamed192 { | |
| pub unsafe fn d_val(&mut self) -> *mut Elf32_Sword { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn d_ptr(&mut self) -> *mut Elf32_Addr { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed192 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed192 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf32_Dyn = Struct_dynamic; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_Unnamed193 { | |
| pub d_tag: Elf64_Sxword, | |
| pub d_un: Union_Unnamed194, | |
| } | |
| impl ::std::clone::Clone for Struct_Unnamed193 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_Unnamed193 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Union_Unnamed194 { | |
| pub _bindgen_data_: [u64; 1usize], | |
| } | |
| impl Union_Unnamed194 { | |
| pub unsafe fn d_val(&mut self) -> *mut Elf64_Xword { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn d_ptr(&mut self) -> *mut Elf64_Addr { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Union_Unnamed194 { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Union_Unnamed194 { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf64_Dyn = Struct_Unnamed193; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf32_rel { | |
| pub r_offset: Elf32_Addr, | |
| pub r_info: Elf32_Word, | |
| } | |
| impl ::std::clone::Clone for Struct_elf32_rel { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf32_rel { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf32_Rel = Struct_elf32_rel; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf64_rel { | |
| pub r_offset: Elf64_Addr, | |
| pub r_info: Elf64_Xword, | |
| } | |
| impl ::std::clone::Clone for Struct_elf64_rel { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf64_rel { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf64_Rel = Struct_elf64_rel; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf32_rela { | |
| pub r_offset: Elf32_Addr, | |
| pub r_info: Elf32_Word, | |
| pub r_addend: Elf32_Sword, | |
| } | |
| impl ::std::clone::Clone for Struct_elf32_rela { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf32_rela { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf32_Rela = Struct_elf32_rela; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf64_rela { | |
| pub r_offset: Elf64_Addr, | |
| pub r_info: Elf64_Xword, | |
| pub r_addend: Elf64_Sxword, | |
| } | |
| impl ::std::clone::Clone for Struct_elf64_rela { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf64_rela { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf64_Rela = Struct_elf64_rela; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf32_sym { | |
| pub st_name: Elf32_Word, | |
| pub st_value: Elf32_Addr, | |
| pub st_size: Elf32_Word, | |
| pub st_info: ::std::os::raw::c_uchar, | |
| pub st_other: ::std::os::raw::c_uchar, | |
| pub st_shndx: Elf32_Half, | |
| } | |
| impl ::std::clone::Clone for Struct_elf32_sym { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf32_sym { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf32_Sym = Struct_elf32_sym; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf64_sym { | |
| pub st_name: Elf64_Word, | |
| pub st_info: ::std::os::raw::c_uchar, | |
| pub st_other: ::std::os::raw::c_uchar, | |
| pub st_shndx: Elf64_Half, | |
| pub st_value: Elf64_Addr, | |
| pub st_size: Elf64_Xword, | |
| } | |
| impl ::std::clone::Clone for Struct_elf64_sym { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf64_sym { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf64_Sym = Struct_elf64_sym; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf32_hdr { | |
| pub e_ident: [::std::os::raw::c_uchar; 16usize], | |
| pub e_type: Elf32_Half, | |
| pub e_machine: Elf32_Half, | |
| pub e_version: Elf32_Word, | |
| pub e_entry: Elf32_Addr, | |
| pub e_phoff: Elf32_Off, | |
| pub e_shoff: Elf32_Off, | |
| pub e_flags: Elf32_Word, | |
| pub e_ehsize: Elf32_Half, | |
| pub e_phentsize: Elf32_Half, | |
| pub e_phnum: Elf32_Half, | |
| pub e_shentsize: Elf32_Half, | |
| pub e_shnum: Elf32_Half, | |
| pub e_shstrndx: Elf32_Half, | |
| } | |
| impl ::std::clone::Clone for Struct_elf32_hdr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf32_hdr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf32_Ehdr = Struct_elf32_hdr; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf64_hdr { | |
| pub e_ident: [::std::os::raw::c_uchar; 16usize], | |
| pub e_type: Elf64_Half, | |
| pub e_machine: Elf64_Half, | |
| pub e_version: Elf64_Word, | |
| pub e_entry: Elf64_Addr, | |
| pub e_phoff: Elf64_Off, | |
| pub e_shoff: Elf64_Off, | |
| pub e_flags: Elf64_Word, | |
| pub e_ehsize: Elf64_Half, | |
| pub e_phentsize: Elf64_Half, | |
| pub e_phnum: Elf64_Half, | |
| pub e_shentsize: Elf64_Half, | |
| pub e_shnum: Elf64_Half, | |
| pub e_shstrndx: Elf64_Half, | |
| } | |
| impl ::std::clone::Clone for Struct_elf64_hdr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf64_hdr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf64_Ehdr = Struct_elf64_hdr; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf32_phdr { | |
| pub p_type: Elf32_Word, | |
| pub p_offset: Elf32_Off, | |
| pub p_vaddr: Elf32_Addr, | |
| pub p_paddr: Elf32_Addr, | |
| pub p_filesz: Elf32_Word, | |
| pub p_memsz: Elf32_Word, | |
| pub p_flags: Elf32_Word, | |
| pub p_align: Elf32_Word, | |
| } | |
| impl ::std::clone::Clone for Struct_elf32_phdr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf32_phdr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf32_Phdr = Struct_elf32_phdr; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf64_phdr { | |
| pub p_type: Elf64_Word, | |
| pub p_flags: Elf64_Word, | |
| pub p_offset: Elf64_Off, | |
| pub p_vaddr: Elf64_Addr, | |
| pub p_paddr: Elf64_Addr, | |
| pub p_filesz: Elf64_Xword, | |
| pub p_memsz: Elf64_Xword, | |
| pub p_align: Elf64_Xword, | |
| } | |
| impl ::std::clone::Clone for Struct_elf64_phdr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf64_phdr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf64_Phdr = Struct_elf64_phdr; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf32_shdr { | |
| pub sh_name: Elf32_Word, | |
| pub sh_type: Elf32_Word, | |
| pub sh_flags: Elf32_Word, | |
| pub sh_addr: Elf32_Addr, | |
| pub sh_offset: Elf32_Off, | |
| pub sh_size: Elf32_Word, | |
| pub sh_link: Elf32_Word, | |
| pub sh_info: Elf32_Word, | |
| pub sh_addralign: Elf32_Word, | |
| pub sh_entsize: Elf32_Word, | |
| } | |
| impl ::std::clone::Clone for Struct_elf32_shdr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf32_shdr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf32_Shdr = Struct_elf32_shdr; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf64_shdr { | |
| pub sh_name: Elf64_Word, | |
| pub sh_type: Elf64_Word, | |
| pub sh_flags: Elf64_Xword, | |
| pub sh_addr: Elf64_Addr, | |
| pub sh_offset: Elf64_Off, | |
| pub sh_size: Elf64_Xword, | |
| pub sh_link: Elf64_Word, | |
| pub sh_info: Elf64_Word, | |
| pub sh_addralign: Elf64_Xword, | |
| pub sh_entsize: Elf64_Xword, | |
| } | |
| impl ::std::clone::Clone for Struct_elf64_shdr { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf64_shdr { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf64_Shdr = Struct_elf64_shdr; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf32_note { | |
| pub n_namesz: Elf32_Word, | |
| pub n_descsz: Elf32_Word, | |
| pub n_type: Elf32_Word, | |
| } | |
| impl ::std::clone::Clone for Struct_elf32_note { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf32_note { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf32_Nhdr = Struct_elf32_note; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_elf64_note { | |
| pub n_namesz: Elf64_Word, | |
| pub n_descsz: Elf64_Word, | |
| pub n_type: Elf64_Word, | |
| } | |
| impl ::std::clone::Clone for Struct_elf64_note { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_elf64_note { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub type Elf64_Nhdr = Struct_elf64_note; | |
| pub enum Struct_coredump_params { } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed195 { KERNEL_PARAM_OPS_FL_NOARG = 1, } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kernel_param_ops { | |
| pub flags: ::std::os::raw::c_uint, | |
| pub set: ::std::option::Option<unsafe extern "C" fn(val: | |
| *const ::std::os::raw::c_char, | |
| kp: | |
| *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int>, | |
| pub get: ::std::option::Option<unsafe extern "C" fn(buffer: | |
| *mut ::std::os::raw::c_char, | |
| kp: | |
| *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int>, | |
| pub free: ::std::option::Option<unsafe extern "C" fn(arg: | |
| *mut ::std::os::raw::c_void)>, | |
| } | |
| impl ::std::clone::Clone for Struct_kernel_param_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kernel_param_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed196 { KERNEL_PARAM_FL_UNSAFE = 1, } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kernel_param { | |
| pub name: *const ::std::os::raw::c_char, | |
| pub _mod: *mut Struct_module, | |
| pub ops: *const Struct_kernel_param_ops, | |
| pub perm: _u16, | |
| pub level: s8, | |
| pub flags: _u8, | |
| pub _bindgen_data_1_: [u64; 1usize], | |
| } | |
| impl Struct_kernel_param { | |
| pub unsafe fn arg(&mut self) -> *mut *mut ::std::os::raw::c_void { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn str(&mut self) -> *mut *const Struct_kparam_string { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn arr(&mut self) -> *mut *const Struct_kparam_array { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_kernel_param { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kernel_param { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kparam_string { | |
| pub maxlen: ::std::os::raw::c_uint, | |
| pub string: *mut ::std::os::raw::c_char, | |
| } | |
| impl ::std::clone::Clone for Struct_kparam_string { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kparam_string { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_kparam_array { | |
| pub max: ::std::os::raw::c_uint, | |
| pub elemsize: ::std::os::raw::c_uint, | |
| pub num: *mut ::std::os::raw::c_uint, | |
| pub ops: *const Struct_kernel_param_ops, | |
| pub elem: *mut ::std::os::raw::c_void, | |
| } | |
| impl ::std::clone::Clone for Struct_kparam_array { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_kparam_array { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_latch_tree_node { | |
| pub node: [Struct_rb_node; 2usize], | |
| } | |
| impl ::std::clone::Clone for Struct_latch_tree_node { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_latch_tree_node { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_latch_tree_root { | |
| pub seq: seqcount_t, | |
| pub tree: [Struct_rb_root; 2usize], | |
| } | |
| impl ::std::clone::Clone for Struct_latch_tree_root { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_latch_tree_root { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_latch_tree_ops { | |
| pub less: ::std::option::Option<unsafe extern "C" fn(a: | |
| *mut Struct_latch_tree_node, | |
| b: | |
| *mut Struct_latch_tree_node) | |
| -> _bool>, | |
| pub comp: ::std::option::Option<unsafe extern "C" fn(key: | |
| *mut ::std::os::raw::c_void, | |
| b: | |
| *mut Struct_latch_tree_node) | |
| -> ::std::os::raw::c_int>, | |
| } | |
| impl ::std::clone::Clone for Struct_latch_tree_ops { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_latch_tree_ops { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mod_arch_specific { | |
| } | |
| impl ::std::clone::Clone for Struct_mod_arch_specific { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mod_arch_specific { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_modversion_info { | |
| pub crc: ::std::os::raw::c_ulong, | |
| pub name: [::std::os::raw::c_char; 56usize], | |
| } | |
| impl ::std::clone::Clone for Struct_modversion_info { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_modversion_info { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_module_param_attrs { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_module_kobject { | |
| pub kobj: Struct_kobject, | |
| pub _mod: *mut Struct_module, | |
| pub drivers_dir: *mut Struct_kobject, | |
| pub mp: *mut Struct_module_param_attrs, | |
| pub kobj_completion: *mut Struct_completion, | |
| } | |
| impl ::std::clone::Clone for Struct_module_kobject { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_module_kobject { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_module_attribute { | |
| pub attr: Struct_attribute, | |
| pub show: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_module_attribute, | |
| arg2: | |
| *mut Struct_module_kobject, | |
| arg3: | |
| *mut ::std::os::raw::c_char) | |
| -> ssize_t>, | |
| pub store: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_module_attribute, | |
| arg2: | |
| *mut Struct_module_kobject, | |
| arg3: | |
| *const ::std::os::raw::c_char, | |
| count: size_t) | |
| -> ssize_t>, | |
| pub setup: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_module, | |
| arg2: | |
| *const ::std::os::raw::c_char)>, | |
| pub test: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_module) | |
| -> ::std::os::raw::c_int>, | |
| pub free: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_module)>, | |
| } | |
| impl ::std::clone::Clone for Struct_module_attribute { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_module_attribute { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_module_version_attribute { | |
| pub mattr: Struct_module_attribute, | |
| pub module_name: *const ::std::os::raw::c_char, | |
| pub version: *const ::std::os::raw::c_char, | |
| } | |
| impl ::std::clone::Clone for Struct_module_version_attribute { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_module_version_attribute { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_module_use { | |
| pub source_list: Struct_list_head, | |
| pub target_list: Struct_list_head, | |
| pub source: *mut Struct_module, | |
| pub target: *mut Struct_module, | |
| } | |
| impl ::std::clone::Clone for Struct_module_use { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_module_use { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_module_state { | |
| MODULE_STATE_LIVE = 0, | |
| MODULE_STATE_COMING = 1, | |
| MODULE_STATE_GOING = 2, | |
| MODULE_STATE_UNFORMED = 3, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mod_tree_node { | |
| pub _mod: *mut Struct_module, | |
| pub node: Struct_latch_tree_node, | |
| } | |
| impl ::std::clone::Clone for Struct_mod_tree_node { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mod_tree_node { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_module_layout { | |
| pub base: *mut ::std::os::raw::c_void, | |
| pub size: ::std::os::raw::c_uint, | |
| pub text_size: ::std::os::raw::c_uint, | |
| pub ro_size: ::std::os::raw::c_uint, | |
| pub mtn: Struct_mod_tree_node, | |
| } | |
| impl ::std::clone::Clone for Struct_module_layout { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_module_layout { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_mod_kallsyms { | |
| pub symtab: *mut Elf64_Sym, | |
| pub num_symtab: ::std::os::raw::c_uint, | |
| pub strtab: *mut ::std::os::raw::c_char, | |
| } | |
| impl ::std::clone::Clone for Struct_mod_kallsyms { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_mod_kallsyms { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_module_sect_attrs { } | |
| pub enum Struct_module_notes_attrs { } | |
| pub enum Struct_tracepoint { } | |
| pub enum Struct_trace_event_call { } | |
| pub enum Struct_trace_enum_map { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_module { | |
| pub state: Enum_module_state, | |
| pub list: Struct_list_head, | |
| pub name: [::std::os::raw::c_char; 56usize], | |
| pub mkobj: Struct_module_kobject, | |
| pub modinfo_attrs: *mut Struct_module_attribute, | |
| pub version: *const ::std::os::raw::c_char, | |
| pub srcversion: *const ::std::os::raw::c_char, | |
| pub holders_dir: *mut Struct_kobject, | |
| pub syms: *const Struct_kernel_symbol, | |
| pub crcs: *const ::std::os::raw::c_ulong, | |
| pub num_syms: ::std::os::raw::c_uint, | |
| pub param_lock: Struct_mutex, | |
| pub kp: *mut Struct_kernel_param, | |
| pub num_kp: ::std::os::raw::c_uint, | |
| pub num_gpl_syms: ::std::os::raw::c_uint, | |
| pub gpl_syms: *const Struct_kernel_symbol, | |
| pub gpl_crcs: *const ::std::os::raw::c_ulong, | |
| pub unused_syms: *const Struct_kernel_symbol, | |
| pub unused_crcs: *const ::std::os::raw::c_ulong, | |
| pub num_unused_syms: ::std::os::raw::c_uint, | |
| pub num_unused_gpl_syms: ::std::os::raw::c_uint, | |
| pub unused_gpl_syms: *const Struct_kernel_symbol, | |
| pub unused_gpl_crcs: *const ::std::os::raw::c_ulong, | |
| pub sig_ok: _bool, | |
| pub async_probe_requested: _bool, | |
| pub gpl_future_syms: *const Struct_kernel_symbol, | |
| pub gpl_future_crcs: *const ::std::os::raw::c_ulong, | |
| pub num_gpl_future_syms: ::std::os::raw::c_uint, | |
| pub num_exentries: ::std::os::raw::c_uint, | |
| pub extable: *mut Struct_exception_table_entry, | |
| pub init: ::std::option::Option<extern "C" fn() -> ::std::os::raw::c_int>, | |
| pub core_layout: Struct_module_layout, | |
| pub init_layout: Struct_module_layout, | |
| pub arch: Struct_mod_arch_specific, | |
| pub taints: ::std::os::raw::c_uint, | |
| pub num_bugs: ::std::os::raw::c_uint, | |
| pub bug_list: Struct_list_head, | |
| pub bug_table: *mut Struct_bug_entry, | |
| pub kallsyms: *mut Struct_mod_kallsyms, | |
| pub core_kallsyms: Struct_mod_kallsyms, | |
| pub sect_attrs: *mut Struct_module_sect_attrs, | |
| pub notes_attrs: *mut Struct_module_notes_attrs, | |
| pub args: *mut ::std::os::raw::c_char, | |
| pub percpu: *mut ::std::os::raw::c_void, | |
| pub percpu_size: ::std::os::raw::c_uint, | |
| pub num_tracepoints: ::std::os::raw::c_uint, | |
| pub tracepoints_ptrs: *const *mut Struct_tracepoint, | |
| pub num_trace_bprintk_fmt: ::std::os::raw::c_uint, | |
| pub trace_bprintk_fmt_start: *mut *const ::std::os::raw::c_char, | |
| pub trace_events: *mut *mut Struct_trace_event_call, | |
| pub num_trace_events: ::std::os::raw::c_uint, | |
| pub trace_enums: *mut *mut Struct_trace_enum_map, | |
| pub num_trace_enums: ::std::os::raw::c_uint, | |
| pub num_ftrace_callsites: ::std::os::raw::c_uint, | |
| pub ftrace_callsites: *mut ::std::os::raw::c_ulong, | |
| pub klp_alive: _bool, | |
| pub source_list: Struct_list_head, | |
| pub target_list: Struct_list_head, | |
| pub exit: ::std::option::Option<extern "C" fn()>, | |
| pub refcnt: atomic_t, | |
| } | |
| impl ::std::clone::Clone for Struct_module { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_module { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_symsearch { | |
| pub start: *const Struct_kernel_symbol, | |
| pub stop: *const Struct_kernel_symbol, | |
| pub crcs: *const ::std::os::raw::c_ulong, | |
| pub licence: Enum_Unnamed197, | |
| pub unused: _bool, | |
| } | |
| impl ::std::clone::Clone for Struct_symsearch { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_symsearch { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_Unnamed197 { | |
| NOT_GPL_ONLY = 0, | |
| GPL_ONLY = 1, | |
| WILL_BE_GPL_ONLY = 2, | |
| } | |
| pub enum Struct_proc_dir_entry { } | |
| pub enum Struct_vm_struct { } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_memcg_cache_array { | |
| pub rcu: Struct_callback_head, | |
| pub entries: [*mut Struct_kmem_cache; 0usize], | |
| } | |
| impl ::std::clone::Clone for Struct_memcg_cache_array { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_memcg_cache_array { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_memcg_cache_params { | |
| pub is_root_cache: _bool, | |
| pub list: Struct_list_head, | |
| pub _bindgen_data_1_: [u64; 2usize], | |
| } | |
| impl Struct_memcg_cache_params { | |
| pub unsafe fn memcg_caches(&mut self) | |
| -> *mut *mut Struct_memcg_cache_array { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn memcg(&mut self) -> *mut *mut Struct_mem_cgroup { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(0)) | |
| } | |
| pub unsafe fn root_cache(&mut self) -> *mut *mut Struct_kmem_cache { | |
| let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_1_); | |
| ::std::mem::transmute(raw.offset(8)) | |
| } | |
| } | |
| impl ::std::clone::Clone for Struct_memcg_cache_params { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_memcg_cache_params { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_timerqueue_node { | |
| pub node: Struct_rb_node, | |
| pub expires: ktime_t, | |
| } | |
| impl ::std::clone::Clone for Struct_timerqueue_node { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_timerqueue_node { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_timerqueue_head { | |
| pub head: Struct_rb_root, | |
| pub next: *mut Struct_timerqueue_node, | |
| } | |
| impl ::std::clone::Clone for Struct_timerqueue_head { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_timerqueue_head { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub const HRTIMER_MODE_ABS_PINNED: Enum_hrtimer_mode = | |
| Enum_hrtimer_mode::HRTIMER_MODE_PINNED; | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_hrtimer_mode { | |
| HRTIMER_MODE_ABS = 0, | |
| HRTIMER_MODE_REL = 1, | |
| HRTIMER_MODE_PINNED = 2, | |
| HRTIMER_MODE_REL_PINNED = 3, | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(i32)] | |
| pub enum Enum_hrtimer_restart { HRTIMER_NORESTART = 0, HRTIMER_RESTART = 1, } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_hrtimer { | |
| pub node: Struct_timerqueue_node, | |
| pub _softexpires: ktime_t, | |
| pub function: ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_hrtimer) | |
| -> Enum_hrtimer_restart>, | |
| pub base: *mut Struct_hrtimer_clock_base, | |
| pub state: _u8, | |
| pub is_rel: _u8, | |
| pub start_pid: ::std::os::raw::c_int, | |
| pub start_site: *mut ::std::os::raw::c_void, | |
| pub start_comm: [::std::os::raw::c_char; 16usize], | |
| } | |
| impl ::std::clone::Clone for Struct_hrtimer { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_hrtimer { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_hrtimer_sleeper { | |
| pub timer: Struct_hrtimer, | |
| pub task: *mut Struct_task_struct, | |
| } | |
| impl ::std::clone::Clone for Struct_hrtimer_sleeper { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_hrtimer_sleeper { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_hrtimer_clock_base { | |
| pub cpu_base: *mut Struct_hrtimer_cpu_base, | |
| pub index: ::std::os::raw::c_int, | |
| pub clockid: clockid_t, | |
| pub active: Struct_timerqueue_head, | |
| pub get_time: ::std::option::Option<extern "C" fn() -> ktime_t>, | |
| pub offset: ktime_t, | |
| } | |
| impl ::std::clone::Clone for Struct_hrtimer_clock_base { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_hrtimer_clock_base { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| #[derive(Clone, Copy)] | |
| #[repr(u32)] | |
| pub enum Enum_hrtimer_base_type { | |
| HRTIMER_BASE_MONOTONIC = 0, | |
| HRTIMER_BASE_REALTIME = 1, | |
| HRTIMER_BASE_BOOTTIME = 2, | |
| HRTIMER_BASE_TAI = 3, | |
| HRTIMER_BASE_MONOTONIC_RAW = 4, | |
| HRTIMER_MAX_CLOCK_BASES = 5, | |
| } | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct_hrtimer_cpu_base { | |
| pub lock: raw_spinlock_t, | |
| pub seq: seqcount_t, | |
| pub running: *mut Struct_hrtimer, | |
| pub cpu: ::std::os::raw::c_uint, | |
| pub active_bases: ::std::os::raw::c_uint, | |
| pub clock_was_set_seq: ::std::os::raw::c_uint, | |
| pub migration_enabled: _bool, | |
| pub nohz_active: _bool, | |
| pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, | |
| pub expires_next: ktime_t, | |
| pub next_timer: *mut Struct_hrtimer, | |
| pub nr_events: ::std::os::raw::c_uint, | |
| pub nr_retries: ::std::os::raw::c_uint, | |
| pub nr_hangs: ::std::os::raw::c_uint, | |
| pub max_hang_time: ::std::os::raw::c_uint, | |
| pub clock_base: [Struct_hrtimer_clock_base; 5usize], | |
| } | |
| impl ::std::clone::Clone for Struct_hrtimer_cpu_base { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct_hrtimer_cpu_base { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| pub enum Struct_clock_event_device { } | |
| pub enum Struct_tick_device { } | |
| pub type __va_list_tag = Struct___va_list_tag; | |
| #[repr(C)] | |
| #[derive(Copy)] | |
| pub struct Struct___va_list_tag { | |
| pub gp_offset: ::std::os::raw::c_uint, | |
| pub fp_offset: ::std::os::raw::c_uint, | |
| pub overflow_arg_area: *mut ::std::os::raw::c_void, | |
| pub reg_save_area: *mut ::std::os::raw::c_void, | |
| } | |
| impl ::std::clone::Clone for Struct___va_list_tag { | |
| fn clone(&self) -> Self { *self } | |
| } | |
| impl ::std::default::Default for Struct___va_list_tag { | |
| fn default() -> Self { unsafe { ::std::mem::zeroed() } } | |
| } | |
| extern "C" { | |
| pub static mut __this_module: Struct_module; | |
| pub static mut early_idt_handler_array: | |
| [[::std::os::raw::c_char; 9usize]; 32usize]; | |
| pub static mut max_low_pfn_mapped: ::std::os::raw::c_ulong; | |
| pub static mut max_pfn_mapped: ::std::os::raw::c_ulong; | |
| pub static mut __cachemode2pte_tbl: [uint16_t; 8usize]; | |
| pub static mut __pte2cachemode_tbl: [uint8_t; 8usize]; | |
| pub static mut __supported_pte_mask: pteval_t; | |
| pub static mut nx_enabled: ::std::os::raw::c_int; | |
| pub static mut pv_info: Struct_pv_info; | |
| pub static mut pv_init_ops: Struct_pv_init_ops; | |
| pub static mut pv_time_ops: Struct_pv_time_ops; | |
| pub static mut pv_cpu_ops: Struct_pv_cpu_ops; | |
| pub static mut pv_irq_ops: Struct_pv_irq_ops; | |
| pub static mut pv_apic_ops: Struct_pv_apic_ops; | |
| pub static mut pv_mmu_ops: Struct_pv_mmu_ops; | |
| pub static mut pv_lock_ops: Struct_pv_lock_ops; | |
| pub static mut __parainstructions: *mut Struct_paravirt_patch_site; | |
| pub static mut __parainstructions_end: *mut Struct_paravirt_patch_site; | |
| pub static mut alternatives_patched: ::std::os::raw::c_int; | |
| pub static mut skip_smp_alternatives: _bool; | |
| pub static mut x86_cap_flags: [*const ::std::os::raw::c_char; 448usize]; | |
| pub static mut x86_power_flags: [*const ::std::os::raw::c_char; 32usize]; | |
| pub static mut x86_bug_flags: [*const ::std::os::raw::c_char; 32usize]; | |
| pub static mut ideal_nops: *const *const ::std::os::raw::c_uchar; | |
| pub static mut __con_initcall_start: *mut initcall_t; | |
| pub static mut __con_initcall_end: *mut initcall_t; | |
| pub static mut __security_initcall_start: *mut initcall_t; | |
| pub static mut __security_initcall_end: *mut initcall_t; | |
| pub static mut boot_command_line: *mut ::std::os::raw::c_char; | |
| pub static mut saved_command_line: *mut ::std::os::raw::c_char; | |
| pub static mut reset_devices: ::std::os::raw::c_uint; | |
| pub static mut late_time_init: ::std::option::Option<extern "C" fn()>; | |
| pub static mut initcall_debug: _bool; | |
| pub static mut linux_banner: *const ::std::os::raw::c_char; | |
| pub static mut linux_proc_banner: *const ::std::os::raw::c_char; | |
| pub static mut console_printk: *mut ::std::os::raw::c_int; | |
| pub static mut printk_delay_msec: ::std::os::raw::c_int; | |
| pub static mut dmesg_restrict: ::std::os::raw::c_int; | |
| pub static mut kptr_restrict: ::std::os::raw::c_int; | |
| pub static kmsg_fops: Struct_file_operations; | |
| pub static mut panic_notifier_list: Struct_atomic_notifier_head; | |
| pub static mut panic_blink: | |
| ::std::option::Option<extern "C" fn(state: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_long>; | |
| pub static mut oops_in_progress: ::std::os::raw::c_int; | |
| pub static mut panic_timeout: ::std::os::raw::c_int; | |
| pub static mut panic_on_oops: ::std::os::raw::c_int; | |
| pub static mut panic_on_unrecovered_nmi: ::std::os::raw::c_int; | |
| pub static mut panic_on_io_nmi: ::std::os::raw::c_int; | |
| pub static mut panic_on_warn: ::std::os::raw::c_int; | |
| pub static mut sysctl_panic_on_stackoverflow: ::std::os::raw::c_int; | |
| pub static mut crash_kexec_post_notifiers: _bool; | |
| pub static mut root_mountflags: ::std::os::raw::c_int; | |
| pub static mut early_boot_irqs_disabled: _bool; | |
| pub static mut system_state: Enum_system_states; | |
| pub static mut hex_asc: *const ::std::os::raw::c_char; | |
| pub static mut hex_asc_upper: *const ::std::os::raw::c_char; | |
| pub static mut __per_cpu_offset: [::std::os::raw::c_ulong; 256usize]; | |
| pub static mut this_cpu_off: ::std::os::raw::c_void; | |
| pub static mut max_pfn: ::std::os::raw::c_ulong; | |
| pub static mut phys_base: ::std::os::raw::c_ulong; | |
| pub static mut pfn_mapped: *mut Struct_range; | |
| pub static mut nr_pfn_mapped: ::std::os::raw::c_int; | |
| pub static mut current_task: ::std::os::raw::c_void; | |
| pub static mut nr_cpu_ids: ::std::os::raw::c_int; | |
| pub static cpu_possible_mask: *const Struct_cpumask; | |
| pub static cpu_online_mask: *const Struct_cpumask; | |
| pub static cpu_present_mask: *const Struct_cpumask; | |
| pub static cpu_active_mask: *const Struct_cpumask; | |
| pub static mut cpu_all_bits: [::std::os::raw::c_ulong; 4usize]; | |
| pub static mut cpu_bit_bitmap: | |
| [[::std::os::raw::c_ulong; 4usize]; 65usize]; | |
| pub static mut cpu_callin_mask: cpumask_var_t; | |
| pub static mut cpu_callout_mask: cpumask_var_t; | |
| pub static mut cpu_initialized_mask: cpumask_var_t; | |
| pub static mut cpu_sibling_setup_mask: cpumask_var_t; | |
| pub static mut __invalid_size_argument_for_IOC: ::std::os::raw::c_uint; | |
| pub static mut paravirt_steal_enabled: Struct_static_key; | |
| pub static mut paravirt_steal_rq_enabled: Struct_static_key; | |
| pub static mut __force_order: ::std::os::raw::c_ulong; | |
| pub static mut tlb_lli_4k: [_u16; 1usize]; | |
| pub static mut tlb_lli_2m: [_u16; 1usize]; | |
| pub static mut tlb_lli_4m: [_u16; 1usize]; | |
| pub static mut tlb_lld_4k: [_u16; 1usize]; | |
| pub static mut tlb_lld_2m: [_u16; 1usize]; | |
| pub static mut tlb_lld_4m: [_u16; 1usize]; | |
| pub static mut tlb_lld_1g: [_u16; 1usize]; | |
| pub static mut boot_cpu_data: Struct_cpuinfo_x86; | |
| pub static mut new_cpu_data: Struct_cpuinfo_x86; | |
| pub static mut doublefault_tss: Struct_tss_struct; | |
| pub static mut cpu_caps_cleared: [__u32; 14usize]; | |
| pub static mut cpu_caps_set: [__u32; 14usize]; | |
| pub static mut cpu_info: ::std::os::raw::c_void; | |
| pub static cpuinfo_op: Struct_seq_operations; | |
| pub static mut cpu_tss: ::std::os::raw::c_void; | |
| pub static mut orig_ist: ::std::os::raw::c_void; | |
| pub static mut irq_stack_union: ::std::os::raw::c_void; | |
| pub static mut init_per_cpu__irq_stack_union: ::std::os::raw::c_void; | |
| pub static mut irq_stack_ptr: ::std::os::raw::c_void; | |
| pub static mut irq_count: ::std::os::raw::c_void; | |
| pub static mut xstate_size: ::std::os::raw::c_uint; | |
| pub static mut boot_option_idle_override: ::std::os::raw::c_ulong; | |
| pub static mut amd_e400_c1e_detected: _bool; | |
| pub static mut early_gdt_descr: Struct_desc_ptr; | |
| pub static mut bootloader_type: ::std::os::raw::c_int; | |
| pub static mut bootloader_version: ::std::os::raw::c_int; | |
| pub static mut ignore_fpu_irq: ::std::os::raw::c_char; | |
| pub static mut __preempt_count: ::std::os::raw::c_void; | |
| pub static mut prove_locking: ::std::os::raw::c_int; | |
| pub static mut lock_stat: ::std::os::raw::c_int; | |
| pub static mut static_key_initialized: _bool; | |
| pub static mut paravirt_ticketlocks_enabled: Struct_static_key; | |
| pub static mut sys_tz: Struct_timezone; | |
| pub static mut cpu_khz: ::std::os::raw::c_uint; | |
| pub static mut tsc_khz: ::std::os::raw::c_uint; | |
| pub static mut tsc_clocksource_reliable: ::std::os::raw::c_int; | |
| pub static mut tick_usec: ::std::os::raw::c_ulong; | |
| pub static mut tick_nsec: ::std::os::raw::c_ulong; | |
| pub static mut jiffies_64: __u64; | |
| pub static mut jiffies: ::std::os::raw::c_ulong; | |
| pub static mut preset_lpj: ::std::os::raw::c_ulong; | |
| pub static mut timekeeping_suspended: ::std::os::raw::c_int; | |
| pub static mut persistent_clock_is_local: ::std::os::raw::c_int; | |
| pub static mut rcu_expedited: ::std::os::raw::c_int; | |
| pub static mut rcutorture_testseq: ::std::os::raw::c_ulong; | |
| pub static mut rcutorture_vernum: ::std::os::raw::c_ulong; | |
| pub static mut rcu_scheduler_active: ::std::os::raw::c_int; | |
| pub static mut dentry_stat: Struct_dentry_stat_t; | |
| pub static mut rename_lock: seqlock_t; | |
| pub static mut sysctl_vfs_cache_pressure: ::std::os::raw::c_int; | |
| pub static mut overflowuid: ::std::os::raw::c_int; | |
| pub static mut overflowgid: ::std::os::raw::c_int; | |
| pub static mut fs_overflowuid: ::std::os::raw::c_int; | |
| pub static mut fs_overflowgid: ::std::os::raw::c_int; | |
| pub static mut init_user_ns: Struct_user_namespace; | |
| pub static mut _unused_nodemask_arg_: nodemask_t; | |
| pub static mut node_states: [nodemask_t; 5usize]; | |
| pub static mut nr_node_ids: ::std::os::raw::c_int; | |
| pub static mut nr_online_nodes: ::std::os::raw::c_int; | |
| pub static mut init_struct_pid: Struct_pid; | |
| pub static mut init_pid_ns: Struct_pid_namespace; | |
| pub static mut file_caps_enabled: ::std::os::raw::c_int; | |
| pub static __cap_empty_set: kernel_cap_t; | |
| pub static __cap_init_eff_set: kernel_cap_t; | |
| pub static mut total_cpus: ::std::os::raw::c_uint; | |
| pub static mut screen_info: Struct_screen_info; | |
| pub static mut apm_info: Struct_apm_info; | |
| pub static mut edd: Struct_edd; | |
| pub static mut e820: Struct_e820map; | |
| pub static mut e820_saved: Struct_e820map; | |
| pub static mut pci_mem_start: ::std::os::raw::c_ulong; | |
| pub static mut ioport_resource: Struct_resource; | |
| pub static mut iomem_resource: Struct_resource; | |
| pub static mut ist_info: Struct_ist_info; | |
| pub static mut edid_info: Struct_edid_info; | |
| pub static mut x86_init: Struct_x86_init_ops; | |
| pub static mut x86_cpuinit: Struct_x86_cpuinit_ops; | |
| pub static mut x86_platform: Struct_x86_platform_ops; | |
| pub static mut x86_msi: Struct_x86_msi_ops; | |
| pub static mut x86_io_apic_ops: Struct_x86_io_apic_ops; | |
| pub static mut apic_version: *mut ::std::os::raw::c_int; | |
| pub static mut pic_mode: ::std::os::raw::c_int; | |
| pub static mut mp_bus_not_pci: [::std::os::raw::c_ulong; 4usize]; | |
| pub static mut boot_cpu_physical_apicid: ::std::os::raw::c_uint; | |
| pub static mut mp_lapic_addr: ::std::os::raw::c_ulong; | |
| pub static mut smp_found_config: ::std::os::raw::c_int; | |
| pub static mut enable_update_mptable: ::std::os::raw::c_int; | |
| pub static mut phys_cpu_present_map: physid_mask_t; | |
| pub static mut timer_stats_active: ::std::os::raw::c_int; | |
| pub static mut sysctl_mount_point: *mut Struct_ctl_table; | |
| pub static mut sysctl_timer_migration: ::std::os::raw::c_uint; | |
| pub static mut system_wq: *mut Struct_workqueue_struct; | |
| pub static mut system_highpri_wq: *mut Struct_workqueue_struct; | |
| pub static mut system_long_wq: *mut Struct_workqueue_struct; | |
| pub static mut system_unbound_wq: *mut Struct_workqueue_struct; | |
| pub static mut system_freezable_wq: *mut Struct_workqueue_struct; | |
| pub static mut system_power_efficient_wq: *mut Struct_workqueue_struct; | |
| pub static mut system_freezable_power_efficient_wq: | |
| *mut Struct_workqueue_struct; | |
| pub static mut pm_power_off: ::std::option::Option<extern "C" fn()>; | |
| pub static mut pm_power_off_prepare: | |
| ::std::option::Option<extern "C" fn()>; | |
| pub static mut power_group_name: *const ::std::os::raw::c_char; | |
| pub static mut x86_cpu_to_node_map: ::std::os::raw::c_void; | |
| pub static mut x86_cpu_to_node_map_early_ptr: ::std::os::raw::c_int; | |
| pub static mut x86_cpu_to_node_map_early_map: ::std::os::raw::c_int; | |
| pub static mut node_to_cpumask_map: [cpumask_var_t; 64usize]; | |
| pub static mut numa_off: ::std::os::raw::c_int; | |
| pub static mut __apicid_to_node: [s16; 32768usize]; | |
| pub static mut numa_nodes_parsed: nodemask_t; | |
| pub static mut io_delay_type: ::std::os::raw::c_int; | |
| pub static mut xen_domain_type: Enum_xen_domain_type; | |
| pub static mut HYPERVISOR_shared_info: *mut Struct_shared_info; | |
| pub static mut xen_start_info: *mut Struct_start_info; | |
| pub static mut xen_features: [_u8; 32usize]; | |
| pub static mut real_mode_header: *mut Struct_real_mode_header; | |
| pub static mut real_mode_blob_end: *mut ::std::os::raw::c_uchar; | |
| pub static mut init_rsp: ::std::os::raw::c_ulong; | |
| pub static mut initial_code: ::std::os::raw::c_ulong; | |
| pub static mut initial_gs: ::std::os::raw::c_ulong; | |
| pub static mut real_mode_blob: *mut ::std::os::raw::c_uchar; | |
| pub static mut real_mode_relocs: *mut ::std::os::raw::c_uchar; | |
| pub static mut secondary_startup_64: *mut ::std::os::raw::c_uchar; | |
| pub static mut acpi_lapic: ::std::os::raw::c_int; | |
| pub static mut acpi_ioapic: ::std::os::raw::c_int; | |
| pub static mut acpi_noirq: ::std::os::raw::c_int; | |
| pub static mut acpi_strict: ::std::os::raw::c_int; | |
| pub static mut acpi_disabled: ::std::os::raw::c_int; | |
| pub static mut acpi_pci_disabled: ::std::os::raw::c_int; | |
| pub static mut acpi_skip_timer_override: ::std::os::raw::c_int; | |
| pub static mut acpi_use_timer_override: ::std::os::raw::c_int; | |
| pub static mut acpi_fix_pin2_polarity: ::std::os::raw::c_int; | |
| pub static mut acpi_disable_cmcff: ::std::os::raw::c_int; | |
| pub static mut acpi_sci_flags: _u8; | |
| pub static mut acpi_sci_override_gsi: ::std::os::raw::c_int; | |
| pub static mut __acpi_register_gsi: | |
| ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| gsi: _u32, | |
| trigger: | |
| ::std::os::raw::c_int, | |
| polarity: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>; | |
| pub static mut __acpi_unregister_gsi: | |
| ::std::option::Option<extern "C" fn(gsi: _u32)>; | |
| pub static mut acpi_suspend_lowlevel: | |
| ::std::option::Option<extern "C" fn() | |
| -> ::std::os::raw::c_int>; | |
| pub static mut acpi_numa: ::std::os::raw::c_int; | |
| pub static mut fixmaps_set: ::std::os::raw::c_int; | |
| pub static mut kmap_pte: *mut pte_t; | |
| pub static mut kmap_prot: pgprot_t; | |
| pub static mut pkmap_page_table: *mut pte_t; | |
| pub static mut apic_verbosity: ::std::os::raw::c_uint; | |
| pub static mut local_apic_timer_c2_ok: ::std::os::raw::c_int; | |
| pub static mut disable_apic: ::std::os::raw::c_int; | |
| pub static mut lapic_timer_frequency: ::std::os::raw::c_uint; | |
| pub static mut x2apic_mode: ::std::os::raw::c_int; | |
| pub static mut x2apic_phys: ::std::os::raw::c_int; | |
| pub static mut apic: *mut Struct_apic; | |
| pub static mut __apicdrivers: *mut *mut Struct_apic; | |
| pub static mut __apicdrivers_end: *mut *mut Struct_apic; | |
| pub static mut x2apic_extra_bits: ::std::os::raw::c_void; | |
| pub static mut x86_bios_cpu_apicid: ::std::os::raw::c_void; | |
| pub static mut x86_bios_cpu_apicid_early_ptr: ::std::os::raw::c_ushort; | |
| pub static mut x86_bios_cpu_apicid_early_map: ::std::os::raw::c_ushort; | |
| pub static mut apic_noop: Struct_apic; | |
| pub static mut nr_ioapics: ::std::os::raw::c_int; | |
| pub static mut mp_irq_entries: ::std::os::raw::c_int; | |
| pub static mut mp_irqs: [Struct_mpc_intsrc; 1024usize]; | |
| pub static mut skip_ioapic_setup: ::std::os::raw::c_int; | |
| pub static mut noioapicquirk: ::std::os::raw::c_int; | |
| pub static mut noioapicreroute: ::std::os::raw::c_int; | |
| pub static mut gsi_top: _u32; | |
| pub static mut io_apic_irqs: ::std::os::raw::c_ulong; | |
| pub static mut smp_num_siblings: ::std::os::raw::c_int; | |
| pub static mut num_processors: ::std::os::raw::c_uint; | |
| pub static mut cpu_sibling_map: ::std::os::raw::c_void; | |
| pub static mut cpu_core_map: ::std::os::raw::c_void; | |
| pub static mut cpu_llc_shared_map: ::std::os::raw::c_void; | |
| pub static mut cpu_llc_id: ::std::os::raw::c_void; | |
| pub static mut cpu_number: ::std::os::raw::c_void; | |
| pub static mut x86_cpu_to_apicid: ::std::os::raw::c_void; | |
| pub static mut x86_cpu_to_apicid_early_ptr: ::std::os::raw::c_ushort; | |
| pub static mut x86_cpu_to_apicid_early_map: ::std::os::raw::c_ushort; | |
| pub static mut stack_start: ::std::os::raw::c_ulong; | |
| pub static mut smp_ops: Struct_smp_ops; | |
| pub static mut disabled_cpus: ::std::os::raw::c_uint; | |
| pub static mut setup_max_cpus: ::std::os::raw::c_uint; | |
| pub static mut pcpu_base_addr: *mut ::std::os::raw::c_void; | |
| pub static mut pcpu_unit_offsets: *const ::std::os::raw::c_ulong; | |
| pub static mut pcpu_fc_names: [*const ::std::os::raw::c_char; 3usize]; | |
| pub static mut pcpu_chosen_fc: Enum_pcpu_fc; | |
| pub static mut printk_func: ::std::os::raw::c_void; | |
| pub static mut files_stat: Struct_files_stat_struct; | |
| pub static mut sysctl_nr_open: ::std::os::raw::c_int; | |
| pub static mut inodes_stat: Struct_inodes_stat_t; | |
| pub static mut leases_enable: ::std::os::raw::c_int; | |
| pub static mut lease_break_time: ::std::os::raw::c_int; | |
| pub static mut sysctl_protected_symlinks: ::std::os::raw::c_int; | |
| pub static mut sysctl_protected_hardlinks: ::std::os::raw::c_int; | |
| pub static mut page_group_by_mobility_disabled: ::std::os::raw::c_int; | |
| pub static mut mem_map: *mut Struct_page; | |
| pub static mut reboot_notifier_list: Struct_blocking_notifier_head; | |
| pub static mut node_data: *mut *mut Struct_pglist_data; | |
| pub static mut zonelists_mutex: Struct_mutex; | |
| pub static mut movable_zone: ::std::os::raw::c_int; | |
| pub static mut sysctl_lowmem_reserve_ratio: | |
| [::std::os::raw::c_int; 4usize]; | |
| pub static mut numa_zonelist_order: *mut ::std::os::raw::c_char; | |
| pub static mut mem_section: [*mut Struct_mem_section; 2048usize]; | |
| pub static mut numa_node: ::std::os::raw::c_void; | |
| pub static mut gfp_allowed_mask: gfp_t; | |
| pub static mut percpu_counter_batch: ::std::os::raw::c_int; | |
| pub static mut dq_data_lock: spinlock_t; | |
| pub static mut dqstats_pcpu: *mut Struct_dqstats; | |
| pub static mut dqstats: Struct_dqstats; | |
| pub static empty_aops: Struct_address_space_operations; | |
| pub static mut fs_kobj: *mut Struct_kobject; | |
| pub static mut names_cachep: *mut Struct_kmem_cache; | |
| pub static mut blockdev_superblock: *mut Struct_super_block; | |
| pub static def_blk_fops: Struct_file_operations; | |
| pub static def_chr_fops: Struct_file_operations; | |
| pub static generic_ro_fops: Struct_file_operations; | |
| pub static page_symlink_inode_operations: Struct_inode_operations; | |
| pub static simple_symlink_inode_operations: Struct_inode_operations; | |
| pub static simple_dentry_operations: Struct_dentry_operations; | |
| pub static simple_dir_operations: Struct_file_operations; | |
| pub static simple_dir_inode_operations: Struct_inode_operations; | |
| pub static mut uevent_helper: *mut ::std::os::raw::c_char; | |
| pub static mut uevent_seqnum: __u64; | |
| pub static kobj_sysfs_ops: Struct_sysfs_ops; | |
| pub static mut kernel_kobj: *mut Struct_kobject; | |
| pub static mut mm_kobj: *mut Struct_kobject; | |
| pub static mut hypervisor_kobj: *mut Struct_kobject; | |
| pub static mut power_kobj: *mut Struct_kobject; | |
| pub static mut firmware_kobj: *mut Struct_kobject; | |
| pub static mut printk_ratelimit_state: Struct_ratelimit_state; | |
| pub static mut sysfs_dev_block_kobj: *mut Struct_kobject; | |
| pub static mut sysfs_dev_char_kobj: *mut Struct_kobject; | |
| pub static mut platform_notify: | |
| ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>; | |
| pub static mut platform_notify_remove: | |
| ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device) | |
| -> ::std::os::raw::c_int>; | |
| pub static mut modprobe_path: *mut ::std::os::raw::c_char; | |
| pub static mut usermodehelper_table: *mut Struct_ctl_table; | |
| pub static vdso_image_64: Struct_vdso_image; | |
| pub static vdso_image_x32: Struct_vdso_image; | |
| pub static vdso_image_32: Struct_vdso_image; | |
| pub static mut vdso64_enabled: ::std::os::raw::c_uint; | |
| pub static mut vdso32_enabled: ::std::os::raw::c_uint; | |
| pub static mut sysctl_vsyscall32: ::std::os::raw::c_uint; | |
| pub static mut force_personality32: ::std::os::raw::c_int; | |
| pub static mut va_align: Struct_va_alignment; | |
| pub static mut _DYNAMIC: *mut Elf64_Dyn; | |
| pub static mut __start___param: *const Struct_kernel_param; | |
| pub static mut __stop___param: *const Struct_kernel_param; | |
| pub static param_ops_byte: Struct_kernel_param_ops; | |
| pub static param_ops_short: Struct_kernel_param_ops; | |
| pub static param_ops_ushort: Struct_kernel_param_ops; | |
| pub static param_ops_int: Struct_kernel_param_ops; | |
| pub static param_ops_uint: Struct_kernel_param_ops; | |
| pub static param_ops_long: Struct_kernel_param_ops; | |
| pub static param_ops_ulong: Struct_kernel_param_ops; | |
| pub static param_ops_ullong: Struct_kernel_param_ops; | |
| pub static param_ops_charp: Struct_kernel_param_ops; | |
| pub static param_ops_bool: Struct_kernel_param_ops; | |
| pub static param_ops_bool_enable_only: Struct_kernel_param_ops; | |
| pub static param_ops_invbool: Struct_kernel_param_ops; | |
| pub static param_ops_bint: Struct_kernel_param_ops; | |
| pub static param_array_ops: Struct_kernel_param_ops; | |
| pub static param_ops_string: Struct_kernel_param_ops; | |
| pub static mut module_uevent: Struct_module_attribute; | |
| pub static mut modules_disabled: ::std::os::raw::c_int; | |
| pub static mut module_mutex: Struct_mutex; | |
| pub static mut module_kset: *mut Struct_kset; | |
| pub static mut module_ktype: Struct_kobj_type; | |
| pub static mut module_sysfs_initialized: ::std::os::raw::c_int; | |
| pub static mut kmalloc_caches: [*mut Struct_kmem_cache; 14usize]; | |
| pub static mut kmalloc_dma_caches: [*mut Struct_kmem_cache; 14usize]; | |
| pub static mut hrtimer_resolution: ::std::os::raw::c_uint; | |
| pub static mut tick_cpu_device: ::std::os::raw::c_void; | |
| } | |
| extern "C" { | |
| pub fn __sw_hweight8(w: ::std::os::raw::c_uint) -> ::std::os::raw::c_uint; | |
| pub fn __sw_hweight16(w: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn __sw_hweight32(w: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn __sw_hweight64(w: __u64) -> ::std::os::raw::c_ulong; | |
| pub fn devmem_is_allowed(pagenr: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn pfn_range_is_mapped(start_pfn: ::std::os::raw::c_ulong, | |
| end_pfn: ::std::os::raw::c_ulong) -> _bool; | |
| pub fn init_memory_mapping(start: ::std::os::raw::c_ulong, | |
| end: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn initmem_init(); | |
| pub fn set_nx(); | |
| pub fn pgprot_writecombine(prot: pgprot_t) -> pgprot_t; | |
| pub fn pgprot_writethrough(prot: pgprot_t) -> pgprot_t; | |
| pub fn phys_mem_access_prot(file: *mut Struct_file, | |
| pfn: ::std::os::raw::c_ulong, | |
| size: ::std::os::raw::c_ulong, | |
| vma_prot: pgprot_t) -> pgprot_t; | |
| pub fn phys_mem_access_prot_allowed(file: *mut Struct_file, | |
| pfn: ::std::os::raw::c_ulong, | |
| size: ::std::os::raw::c_ulong, | |
| vma_prot: *mut pgprot_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn set_pte_vaddr(vaddr: ::std::os::raw::c_ulong, pte: pte_t); | |
| pub fn arch_report_meminfo(m: *mut Struct_seq_file); | |
| pub fn update_page_count(level: ::std::os::raw::c_int, | |
| pages: ::std::os::raw::c_ulong); | |
| pub fn lookup_address(address: ::std::os::raw::c_ulong, | |
| level: *mut ::std::os::raw::c_uint) -> *mut pte_t; | |
| pub fn lookup_address_in_pgd(pgd: *mut pgd_t, | |
| address: ::std::os::raw::c_ulong, | |
| level: *mut ::std::os::raw::c_uint) | |
| -> *mut pte_t; | |
| pub fn lookup_pmd_address(address: ::std::os::raw::c_ulong) -> *mut pmd_t; | |
| pub fn slow_virt_to_phys(__address: *mut ::std::os::raw::c_void) | |
| -> phys_addr_t; | |
| pub fn kernel_map_pages_in_pgd(pgd: *mut pgd_t, pfn: __u64, | |
| address: ::std::os::raw::c_ulong, | |
| numpages: ::std::os::raw::c_uint, | |
| page_flags: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn kernel_unmap_pages_in_pgd(root: *mut pgd_t, | |
| address: ::std::os::raw::c_ulong, | |
| numpages: ::std::os::raw::c_uint); | |
| pub fn paravirt_patch_nop() -> ::std::os::raw::c_uint; | |
| pub fn paravirt_patch_ident_32(insnbuf: *mut ::std::os::raw::c_void, | |
| len: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn paravirt_patch_ident_64(insnbuf: *mut ::std::os::raw::c_void, | |
| len: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn paravirt_patch_ignore(len: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn paravirt_patch_call(insnbuf: *mut ::std::os::raw::c_void, | |
| target: *const ::std::os::raw::c_void, | |
| tgt_clobbers: _u16, | |
| addr: ::std::os::raw::c_ulong, | |
| site_clobbers: _u16, | |
| len: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn paravirt_patch_jmp(insnbuf: *mut ::std::os::raw::c_void, | |
| target: *const ::std::os::raw::c_void, | |
| addr: ::std::os::raw::c_ulong, | |
| len: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn paravirt_patch_default(_type: _u8, clobbers: _u16, | |
| insnbuf: *mut ::std::os::raw::c_void, | |
| addr: ::std::os::raw::c_ulong, | |
| len: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn paravirt_patch_insns(insnbuf: *mut ::std::os::raw::c_void, | |
| len: ::std::os::raw::c_uint, | |
| start: *const ::std::os::raw::c_char, | |
| end: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_uint; | |
| pub fn native_patch(_type: _u8, clobbers: _u16, | |
| ibuf: *mut ::std::os::raw::c_void, | |
| addr: ::std::os::raw::c_ulong, | |
| len: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn paravirt_disable_iospace() -> ::std::os::raw::c_int; | |
| pub fn paravirt_get_lazy_mode() -> Enum_paravirt_lazy_mode; | |
| pub fn paravirt_start_context_switch(prev: *mut Struct_task_struct); | |
| pub fn paravirt_end_context_switch(next: *mut Struct_task_struct); | |
| pub fn paravirt_enter_lazy_mmu(); | |
| pub fn paravirt_leave_lazy_mmu(); | |
| pub fn paravirt_flush_lazy_mmu(); | |
| pub fn _paravirt_nop(); | |
| pub fn _paravirt_ident_32(arg1: _u32) -> _u32; | |
| pub fn _paravirt_ident_64(arg1: __u64) -> __u64; | |
| pub fn profile_pc(regs: *mut Struct_pt_regs) -> ::std::os::raw::c_ulong; | |
| pub fn convert_ip_to_linear(child: *mut Struct_task_struct, | |
| regs: *mut Struct_pt_regs) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn send_sigtrap(tsk: *mut Struct_task_struct, | |
| regs: *mut Struct_pt_regs, | |
| error_code: ::std::os::raw::c_int, | |
| si_code: ::std::os::raw::c_int); | |
| pub fn syscall_trace_enter_phase1(arg1: *mut Struct_pt_regs, arch: _u32) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn syscall_trace_enter_phase2(arg1: *mut Struct_pt_regs, arch: _u32, | |
| phase1_result: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_long; | |
| pub fn syscall_trace_enter(arg1: *mut Struct_pt_regs) | |
| -> ::std::os::raw::c_long; | |
| pub fn regs_query_register_offset(name: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn regs_query_register_name(offset: ::std::os::raw::c_uint) | |
| -> *const ::std::os::raw::c_char; | |
| pub fn do_get_thread_area(p: *mut Struct_task_struct, | |
| idx: ::std::os::raw::c_int, | |
| info: *mut Struct_user_desc) | |
| -> ::std::os::raw::c_int; | |
| pub fn do_set_thread_area(p: *mut Struct_task_struct, | |
| idx: ::std::os::raw::c_int, | |
| info: *mut Struct_user_desc, | |
| can_allocate: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn alternative_instructions(); | |
| pub fn apply_alternatives(start: *mut Struct_alt_instr, | |
| end: *mut Struct_alt_instr); | |
| pub fn alternatives_smp_module_add(_mod: *mut Struct_module, | |
| name: *mut ::std::os::raw::c_char, | |
| locks: *mut ::std::os::raw::c_void, | |
| locks_end: *mut ::std::os::raw::c_void, | |
| text: *mut ::std::os::raw::c_void, | |
| text_end: *mut ::std::os::raw::c_void); | |
| pub fn alternatives_smp_module_del(_mod: *mut Struct_module); | |
| pub fn alternatives_enable_smp(); | |
| pub fn alternatives_text_reserved(start: *mut ::std::os::raw::c_void, | |
| end: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn warn_pre_alternatives(); | |
| pub fn __static_cpu_has_safe(bit: _u16) -> _bool; | |
| pub fn apply_paravirt(start: *mut Struct_paravirt_patch_site, | |
| end: *mut Struct_paravirt_patch_site); | |
| pub fn text_poke_early(addr: *mut ::std::os::raw::c_void, | |
| opcode: *const ::std::os::raw::c_void, len: size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn text_poke(addr: *mut ::std::os::raw::c_void, | |
| opcode: *const ::std::os::raw::c_void, len: size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn poke_int3_handler(regs: *mut Struct_pt_regs) | |
| -> ::std::os::raw::c_int; | |
| pub fn text_poke_bp(addr: *mut ::std::os::raw::c_void, | |
| opcode: *const ::std::os::raw::c_void, len: size_t, | |
| handler: *mut ::std::os::raw::c_void) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn arch_init_ideal_nops(); | |
| pub fn find_next_bit(addr: *const ::std::os::raw::c_ulong, | |
| size: ::std::os::raw::c_ulong, | |
| offset: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn find_next_zero_bit(addr: *const ::std::os::raw::c_ulong, | |
| size: ::std::os::raw::c_ulong, | |
| offset: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn find_first_bit(addr: *const ::std::os::raw::c_ulong, | |
| size: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn find_first_zero_bit(addr: *const ::std::os::raw::c_ulong, | |
| size: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn find_last_bit(addr: *const ::std::os::raw::c_ulong, | |
| size: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn ____ilog2_NaN() -> ::std::os::raw::c_int; | |
| pub fn do_one_initcall(_fn: initcall_t) -> ::std::os::raw::c_int; | |
| pub fn setup_arch(arg1: *mut *mut ::std::os::raw::c_char); | |
| pub fn prepare_namespace(); | |
| pub fn load_default_modules(); | |
| pub fn init_rootfs() -> ::std::os::raw::c_int; | |
| pub fn early_printk(fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn vprintk_emit(facility: ::std::os::raw::c_int, | |
| level: ::std::os::raw::c_int, | |
| dict: *const ::std::os::raw::c_char, dictlen: size_t, | |
| fmt: *const ::std::os::raw::c_char, args: va_list) | |
| -> ::std::os::raw::c_int; | |
| pub fn vprintk(fmt: *const ::std::os::raw::c_char, args: va_list) | |
| -> ::std::os::raw::c_int; | |
| pub fn printk_emit(facility: ::std::os::raw::c_int, | |
| level: ::std::os::raw::c_int, | |
| dict: *const ::std::os::raw::c_char, dictlen: size_t, | |
| fmt: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn printk(fmt: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn printk_deferred(fmt: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn __printk_ratelimit(func: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn printk_timed_ratelimit(caller_jiffies: | |
| *mut ::std::os::raw::c_ulong, | |
| interval_msec: ::std::os::raw::c_uint) | |
| -> _bool; | |
| pub fn wake_up_klogd(); | |
| pub fn log_buf_addr_get() -> *mut ::std::os::raw::c_char; | |
| pub fn log_buf_len_get() -> _u32; | |
| pub fn log_buf_kexec_setup(); | |
| pub fn setup_log_buf(early: ::std::os::raw::c_int); | |
| pub fn dump_stack_set_arch_desc(fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn dump_stack_print_info(log_lvl: *const ::std::os::raw::c_char); | |
| pub fn show_regs_print_info(log_lvl: *const ::std::os::raw::c_char); | |
| pub fn dump_stack(); | |
| pub fn ddebug_add_module(tab: *mut Struct__ddebug, | |
| n: ::std::os::raw::c_uint, | |
| modname: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn ddebug_remove_module(mod_name: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn __dynamic_pr_debug(descriptor: *mut Struct__ddebug, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn ddebug_dyndbg_module_param_cb(param: *mut ::std::os::raw::c_char, | |
| val: *mut ::std::os::raw::c_char, | |
| modname: | |
| *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn __dynamic_dev_dbg(descriptor: *mut Struct__ddebug, | |
| dev: *const Struct_device, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn __dynamic_netdev_dbg(descriptor: *mut Struct__ddebug, | |
| dev: *const Struct_net_device, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn hex_dump_to_buffer(buf: *const ::std::os::raw::c_void, len: size_t, | |
| rowsize: ::std::os::raw::c_int, | |
| groupsize: ::std::os::raw::c_int, | |
| linebuf: *mut ::std::os::raw::c_char, | |
| linebuflen: size_t, ascii: _bool) | |
| -> ::std::os::raw::c_int; | |
| pub fn print_hex_dump(level: *const ::std::os::raw::c_char, | |
| prefix_str: *const ::std::os::raw::c_char, | |
| prefix_type: ::std::os::raw::c_int, | |
| rowsize: ::std::os::raw::c_int, | |
| groupsize: ::std::os::raw::c_int, | |
| buf: *const ::std::os::raw::c_void, len: size_t, | |
| ascii: _bool); | |
| pub fn _cond_resched() -> ::std::os::raw::c_int; | |
| pub fn panic(fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn oops_enter(); | |
| pub fn oops_exit(); | |
| pub fn print_oops_end_marker(); | |
| pub fn oops_may_print() -> ::std::os::raw::c_int; | |
| pub fn do_exit(error_code: ::std::os::raw::c_long); | |
| pub fn complete_and_exit(arg1: *mut Struct_completion, | |
| arg2: ::std::os::raw::c_long); | |
| pub fn _kstrtoul(s: *const ::std::os::raw::c_char, | |
| base: ::std::os::raw::c_uint, | |
| res: *mut ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn _kstrtol(s: *const ::std::os::raw::c_char, | |
| base: ::std::os::raw::c_uint, | |
| res: *mut ::std::os::raw::c_long) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtoull(s: *const ::std::os::raw::c_char, | |
| base: ::std::os::raw::c_uint, | |
| res: *mut ::std::os::raw::c_ulonglong) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtoll(s: *const ::std::os::raw::c_char, | |
| base: ::std::os::raw::c_uint, | |
| res: *mut ::std::os::raw::c_longlong) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtouint(s: *const ::std::os::raw::c_char, | |
| base: ::std::os::raw::c_uint, | |
| res: *mut ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtoint(s: *const ::std::os::raw::c_char, | |
| base: ::std::os::raw::c_uint, | |
| res: *mut ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtou16(s: *const ::std::os::raw::c_char, | |
| base: ::std::os::raw::c_uint, res: *mut _u16) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtos16(s: *const ::std::os::raw::c_char, | |
| base: ::std::os::raw::c_uint, res: *mut s16) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtou8(s: *const ::std::os::raw::c_char, | |
| base: ::std::os::raw::c_uint, res: *mut _u8) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtos8(s: *const ::std::os::raw::c_char, | |
| base: ::std::os::raw::c_uint, res: *mut s8) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtoull_from_user(s: *const ::std::os::raw::c_char, | |
| count: size_t, base: ::std::os::raw::c_uint, | |
| res: *mut ::std::os::raw::c_ulonglong) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtoll_from_user(s: *const ::std::os::raw::c_char, count: size_t, | |
| base: ::std::os::raw::c_uint, | |
| res: *mut ::std::os::raw::c_longlong) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtoul_from_user(s: *const ::std::os::raw::c_char, count: size_t, | |
| base: ::std::os::raw::c_uint, | |
| res: *mut ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtol_from_user(s: *const ::std::os::raw::c_char, count: size_t, | |
| base: ::std::os::raw::c_uint, | |
| res: *mut ::std::os::raw::c_long) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtouint_from_user(s: *const ::std::os::raw::c_char, | |
| count: size_t, base: ::std::os::raw::c_uint, | |
| res: *mut ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtoint_from_user(s: *const ::std::os::raw::c_char, | |
| count: size_t, base: ::std::os::raw::c_uint, | |
| res: *mut ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtou16_from_user(s: *const ::std::os::raw::c_char, | |
| count: size_t, base: ::std::os::raw::c_uint, | |
| res: *mut _u16) -> ::std::os::raw::c_int; | |
| pub fn kstrtos16_from_user(s: *const ::std::os::raw::c_char, | |
| count: size_t, base: ::std::os::raw::c_uint, | |
| res: *mut s16) -> ::std::os::raw::c_int; | |
| pub fn kstrtou8_from_user(s: *const ::std::os::raw::c_char, count: size_t, | |
| base: ::std::os::raw::c_uint, res: *mut _u8) | |
| -> ::std::os::raw::c_int; | |
| pub fn kstrtos8_from_user(s: *const ::std::os::raw::c_char, count: size_t, | |
| base: ::std::os::raw::c_uint, res: *mut s8) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_strtoul(arg1: *const ::std::os::raw::c_char, | |
| arg2: *mut *mut ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn simple_strtol(arg1: *const ::std::os::raw::c_char, | |
| arg2: *mut *mut ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_long; | |
| pub fn simple_strtoull(arg1: *const ::std::os::raw::c_char, | |
| arg2: *mut *mut ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulonglong; | |
| pub fn simple_strtoll(arg1: *const ::std::os::raw::c_char, | |
| arg2: *mut *mut ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_longlong; | |
| pub fn num_to_str(buf: *mut ::std::os::raw::c_char, | |
| size: ::std::os::raw::c_int, | |
| num: ::std::os::raw::c_ulonglong) | |
| -> ::std::os::raw::c_int; | |
| pub fn sprintf(buf: *mut ::std::os::raw::c_char, | |
| fmt: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn vsprintf(buf: *mut ::std::os::raw::c_char, | |
| arg1: *const ::std::os::raw::c_char, arg2: va_list) | |
| -> ::std::os::raw::c_int; | |
| pub fn snprintf(buf: *mut ::std::os::raw::c_char, size: size_t, | |
| fmt: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn vsnprintf(buf: *mut ::std::os::raw::c_char, size: size_t, | |
| fmt: *const ::std::os::raw::c_char, args: va_list) | |
| -> ::std::os::raw::c_int; | |
| pub fn scnprintf(buf: *mut ::std::os::raw::c_char, size: size_t, | |
| fmt: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn vscnprintf(buf: *mut ::std::os::raw::c_char, size: size_t, | |
| fmt: *const ::std::os::raw::c_char, args: va_list) | |
| -> ::std::os::raw::c_int; | |
| pub fn kasprintf(gfp: gfp_t, fmt: *const ::std::os::raw::c_char, ...) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn kvasprintf(gfp: gfp_t, fmt: *const ::std::os::raw::c_char, | |
| args: va_list) -> *mut ::std::os::raw::c_char; | |
| pub fn kvasprintf_const(gfp: gfp_t, fmt: *const ::std::os::raw::c_char, | |
| args: va_list) -> *const ::std::os::raw::c_char; | |
| pub fn sscanf(arg1: *const ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn vsscanf(arg1: *const ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char, arg3: va_list) | |
| -> ::std::os::raw::c_int; | |
| pub fn get_option(str: *mut *mut ::std::os::raw::c_char, | |
| pint: *mut ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn get_options(str: *const ::std::os::raw::c_char, | |
| nints: ::std::os::raw::c_int, | |
| ints: *mut ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn memparse(ptr: *const ::std::os::raw::c_char, | |
| retptr: *mut *mut ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_ulonglong; | |
| pub fn parse_option_str(str: *const ::std::os::raw::c_char, | |
| option: *const ::std::os::raw::c_char) -> _bool; | |
| pub fn core_kernel_text(addr: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn core_kernel_data(addr: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn __kernel_text_address(addr: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn kernel_text_address(addr: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn func_ptr_is_kernel_text(ptr: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn int_sqrt(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; | |
| pub fn bust_spinlocks(yes: ::std::os::raw::c_int); | |
| pub fn print_tainted() -> *const ::std::os::raw::c_char; | |
| pub fn add_taint(flag: ::std::os::raw::c_uint, arg1: Enum_lockdep_ok); | |
| pub fn test_taint(flag: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; | |
| pub fn get_taint() -> ::std::os::raw::c_ulong; | |
| pub fn hex_to_bin(ch: ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
| pub fn hex2bin(dst: *mut _u8, src: *const ::std::os::raw::c_char, | |
| count: size_t) -> ::std::os::raw::c_int; | |
| pub fn bin2hex(dst: *mut ::std::os::raw::c_char, | |
| src: *const ::std::os::raw::c_void, count: size_t) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn mac_pton(s: *const ::std::os::raw::c_char, mac: *mut _u8) -> _bool; | |
| pub fn tracing_on(); | |
| pub fn tracing_off(); | |
| pub fn tracing_is_on() -> ::std::os::raw::c_int; | |
| pub fn tracing_snapshot(); | |
| pub fn tracing_snapshot_alloc(); | |
| pub fn tracing_start(); | |
| pub fn tracing_stop(); | |
| pub fn __trace_bprintk(ip: ::std::os::raw::c_ulong, | |
| fmt: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn __trace_printk(ip: ::std::os::raw::c_ulong, | |
| fmt: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn __trace_bputs(ip: ::std::os::raw::c_ulong, | |
| str: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn __trace_puts(ip: ::std::os::raw::c_ulong, | |
| str: *const ::std::os::raw::c_char, | |
| size: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
| pub fn trace_dump_stack(skip: ::std::os::raw::c_int); | |
| pub fn __ftrace_vbprintk(ip: ::std::os::raw::c_ulong, | |
| fmt: *const ::std::os::raw::c_char, ap: va_list) | |
| -> ::std::os::raw::c_int; | |
| pub fn __ftrace_vprintk(ip: ::std::os::raw::c_ulong, | |
| fmt: *const ::std::os::raw::c_char, ap: va_list) | |
| -> ::std::os::raw::c_int; | |
| pub fn ftrace_dump(oops_dump_mode: Enum_ftrace_dump_mode); | |
| pub fn __bad_percpu_size(); | |
| pub fn __bad_size_call_parameter(); | |
| pub fn setup_per_cpu_areas(); | |
| pub fn warn_slowpath_fmt(file: *const ::std::os::raw::c_char, | |
| line: ::std::os::raw::c_int, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn warn_slowpath_fmt_taint(file: *const ::std::os::raw::c_char, | |
| line: ::std::os::raw::c_int, | |
| taint: ::std::os::raw::c_uint, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn warn_slowpath_null(file: *const ::std::os::raw::c_char, | |
| line: ::std::os::raw::c_int); | |
| pub fn find_bug(bugaddr: ::std::os::raw::c_ulong) | |
| -> *const Struct_bug_entry; | |
| pub fn report_bug(bug_addr: ::std::os::raw::c_ulong, | |
| regs: *mut Struct_pt_regs) -> Enum_bug_trap_type; | |
| pub fn is_valid_bugaddr(addr: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn do_no_restart_syscall(parm: *mut Struct_restart_block) | |
| -> ::std::os::raw::c_long; | |
| pub fn clear_page(page: *mut ::std::os::raw::c_void); | |
| pub fn copy_page(to: *mut ::std::os::raw::c_void, | |
| from: *mut ::std::os::raw::c_void); | |
| pub fn add_range(range: *mut Struct_range, az: ::std::os::raw::c_int, | |
| nr_range: ::std::os::raw::c_int, start: __u64, | |
| end: __u64) -> ::std::os::raw::c_int; | |
| pub fn add_range_with_merge(range: *mut Struct_range, | |
| az: ::std::os::raw::c_int, | |
| nr_range: ::std::os::raw::c_int, start: __u64, | |
| end: __u64) -> ::std::os::raw::c_int; | |
| pub fn subtract_range(range: *mut Struct_range, az: ::std::os::raw::c_int, | |
| start: __u64, end: __u64); | |
| pub fn clean_sort_range(range: *mut Struct_range, | |
| az: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn sort_range(range: *mut Struct_range, | |
| nr_range: ::std::os::raw::c_int); | |
| pub fn __virt_addr_valid(kaddr: ::std::os::raw::c_ulong) -> _bool; | |
| pub fn strndup_user(arg1: *const ::std::os::raw::c_char, | |
| arg2: ::std::os::raw::c_long) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn memdup_user(arg1: *const ::std::os::raw::c_void, arg2: size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn memcpy(to: *mut ::std::os::raw::c_void, | |
| from: *const ::std::os::raw::c_void, len: size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn __memcpy(to: *mut ::std::os::raw::c_void, | |
| from: *const ::std::os::raw::c_void, len: size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn memset(s: *mut ::std::os::raw::c_void, c: ::std::os::raw::c_int, | |
| n: size_t) -> *mut ::std::os::raw::c_void; | |
| pub fn __memset(s: *mut ::std::os::raw::c_void, c: ::std::os::raw::c_int, | |
| n: size_t) -> *mut ::std::os::raw::c_void; | |
| pub fn memmove(dest: *mut ::std::os::raw::c_void, | |
| src: *const ::std::os::raw::c_void, count: size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn __memmove(dest: *mut ::std::os::raw::c_void, | |
| src: *const ::std::os::raw::c_void, count: size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn memcmp(arg1: *const ::std::os::raw::c_void, | |
| arg2: *const ::std::os::raw::c_void, arg3: __kernel_size_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn strlen(arg1: *const ::std::os::raw::c_char) -> __kernel_size_t; | |
| pub fn strcpy(arg1: *mut ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn strcat(arg1: *mut ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn strcmp(arg1: *const ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn strncpy(arg1: *mut ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char, arg3: __kernel_size_t) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn strlcpy(arg1: *mut ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char, arg3: size_t) | |
| -> size_t; | |
| pub fn strscpy(arg1: *mut ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char, arg3: size_t) | |
| -> ssize_t; | |
| pub fn strncat(arg1: *mut ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char, arg3: __kernel_size_t) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn strlcat(arg1: *mut ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char, arg3: __kernel_size_t) | |
| -> size_t; | |
| pub fn strncmp(arg1: *const ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char, arg3: __kernel_size_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn strcasecmp(s1: *const ::std::os::raw::c_char, | |
| s2: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn strncasecmp(s1: *const ::std::os::raw::c_char, | |
| s2: *const ::std::os::raw::c_char, n: size_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn strchr(arg1: *const ::std::os::raw::c_char, | |
| arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; | |
| pub fn strchrnul(arg1: *const ::std::os::raw::c_char, | |
| arg2: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn strnchr(arg1: *const ::std::os::raw::c_char, arg2: size_t, | |
| arg3: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn strrchr(arg1: *const ::std::os::raw::c_char, | |
| arg2: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn skip_spaces(arg1: *const ::std::os::raw::c_char) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn strim(arg1: *mut ::std::os::raw::c_char) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn strstr(arg1: *const ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn strnstr(arg1: *const ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char, arg3: size_t) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn strnlen(arg1: *const ::std::os::raw::c_char, arg2: __kernel_size_t) | |
| -> __kernel_size_t; | |
| pub fn strpbrk(arg1: *const ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn strsep(arg1: *mut *mut ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn strspn(arg1: *const ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char) -> __kernel_size_t; | |
| pub fn strcspn(arg1: *const ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char) -> __kernel_size_t; | |
| pub fn memscan(arg1: *mut ::std::os::raw::c_void, | |
| arg2: ::std::os::raw::c_int, arg3: __kernel_size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn memchr(arg1: *const ::std::os::raw::c_void, | |
| arg2: ::std::os::raw::c_int, arg3: __kernel_size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn memchr_inv(s: *const ::std::os::raw::c_void, | |
| c: ::std::os::raw::c_int, n: size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn strreplace(s: *mut ::std::os::raw::c_char, | |
| old: ::std::os::raw::c_char, | |
| new: ::std::os::raw::c_char) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn kfree_const(x: *const ::std::os::raw::c_void); | |
| pub fn kstrdup(s: *const ::std::os::raw::c_char, gfp: gfp_t) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn kstrdup_const(s: *const ::std::os::raw::c_char, gfp: gfp_t) | |
| -> *const ::std::os::raw::c_char; | |
| pub fn kstrndup(s: *const ::std::os::raw::c_char, len: size_t, gfp: gfp_t) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn kmemdup(src: *const ::std::os::raw::c_void, len: size_t, | |
| gfp: gfp_t) -> *mut ::std::os::raw::c_void; | |
| pub fn argv_split(gfp: gfp_t, str: *const ::std::os::raw::c_char, | |
| argcp: *mut ::std::os::raw::c_int) | |
| -> *mut *mut ::std::os::raw::c_char; | |
| pub fn argv_free(argv: *mut *mut ::std::os::raw::c_char); | |
| pub fn sysfs_streq(s1: *const ::std::os::raw::c_char, | |
| s2: *const ::std::os::raw::c_char) -> _bool; | |
| pub fn strtobool(s: *const ::std::os::raw::c_char, res: *mut _bool) | |
| -> ::std::os::raw::c_int; | |
| pub fn vbin_printf(bin_buf: *mut _u32, size: size_t, | |
| fmt: *const ::std::os::raw::c_char, args: va_list) | |
| -> ::std::os::raw::c_int; | |
| pub fn bstr_printf(buf: *mut ::std::os::raw::c_char, size: size_t, | |
| fmt: *const ::std::os::raw::c_char, | |
| bin_buf: *const _u32) -> ::std::os::raw::c_int; | |
| pub fn bprintf(bin_buf: *mut _u32, size: size_t, | |
| fmt: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn memory_read_from_buffer(to: *mut ::std::os::raw::c_void, | |
| count: size_t, ppos: *mut loff_t, | |
| from: *const ::std::os::raw::c_void, | |
| available: size_t) -> ssize_t; | |
| pub fn memweight(ptr: *const ::std::os::raw::c_void, bytes: size_t) | |
| -> size_t; | |
| pub fn memzero_explicit(s: *mut ::std::os::raw::c_void, count: size_t); | |
| pub fn __bitmap_empty(bitmap: *const ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn __bitmap_full(bitmap: *const ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn __bitmap_equal(bitmap1: *const ::std::os::raw::c_ulong, | |
| bitmap2: *const ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn __bitmap_complement(dst: *mut ::std::os::raw::c_ulong, | |
| src: *const ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_uint); | |
| pub fn __bitmap_shift_right(dst: *mut ::std::os::raw::c_ulong, | |
| src: *const ::std::os::raw::c_ulong, | |
| shift: ::std::os::raw::c_uint, | |
| nbits: ::std::os::raw::c_uint); | |
| pub fn __bitmap_shift_left(dst: *mut ::std::os::raw::c_ulong, | |
| src: *const ::std::os::raw::c_ulong, | |
| shift: ::std::os::raw::c_uint, | |
| nbits: ::std::os::raw::c_uint); | |
| pub fn __bitmap_and(dst: *mut ::std::os::raw::c_ulong, | |
| bitmap1: *const ::std::os::raw::c_ulong, | |
| bitmap2: *const ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn __bitmap_or(dst: *mut ::std::os::raw::c_ulong, | |
| bitmap1: *const ::std::os::raw::c_ulong, | |
| bitmap2: *const ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_uint); | |
| pub fn __bitmap_xor(dst: *mut ::std::os::raw::c_ulong, | |
| bitmap1: *const ::std::os::raw::c_ulong, | |
| bitmap2: *const ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_uint); | |
| pub fn __bitmap_andnot(dst: *mut ::std::os::raw::c_ulong, | |
| bitmap1: *const ::std::os::raw::c_ulong, | |
| bitmap2: *const ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn __bitmap_intersects(bitmap1: *const ::std::os::raw::c_ulong, | |
| bitmap2: *const ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn __bitmap_subset(bitmap1: *const ::std::os::raw::c_ulong, | |
| bitmap2: *const ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn __bitmap_weight(bitmap: *const ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn bitmap_set(map: *mut ::std::os::raw::c_ulong, | |
| start: ::std::os::raw::c_uint, | |
| len: ::std::os::raw::c_int); | |
| pub fn bitmap_clear(map: *mut ::std::os::raw::c_ulong, | |
| start: ::std::os::raw::c_uint, | |
| len: ::std::os::raw::c_int); | |
| pub fn bitmap_find_next_zero_area_off(map: *mut ::std::os::raw::c_ulong, | |
| size: ::std::os::raw::c_ulong, | |
| start: ::std::os::raw::c_ulong, | |
| nr: ::std::os::raw::c_uint, | |
| align_mask: ::std::os::raw::c_ulong, | |
| align_offset: | |
| ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn __bitmap_parse(buf: *const ::std::os::raw::c_char, | |
| buflen: ::std::os::raw::c_uint, | |
| is_user: ::std::os::raw::c_int, | |
| dst: *mut ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn bitmap_parse_user(ubuf: *const ::std::os::raw::c_char, | |
| ulen: ::std::os::raw::c_uint, | |
| dst: *mut ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn bitmap_parselist(buf: *const ::std::os::raw::c_char, | |
| maskp: *mut ::std::os::raw::c_ulong, | |
| nmaskbits: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn bitmap_parselist_user(ubuf: *const ::std::os::raw::c_char, | |
| ulen: ::std::os::raw::c_uint, | |
| dst: *mut ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn bitmap_remap(dst: *mut ::std::os::raw::c_ulong, | |
| src: *const ::std::os::raw::c_ulong, | |
| old: *const ::std::os::raw::c_ulong, | |
| new: *const ::std::os::raw::c_ulong, | |
| nbits: ::std::os::raw::c_uint); | |
| pub fn bitmap_bitremap(oldbit: ::std::os::raw::c_int, | |
| old: *const ::std::os::raw::c_ulong, | |
| new: *const ::std::os::raw::c_ulong, | |
| bits: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn bitmap_onto(dst: *mut ::std::os::raw::c_ulong, | |
| orig: *const ::std::os::raw::c_ulong, | |
| relmap: *const ::std::os::raw::c_ulong, | |
| bits: ::std::os::raw::c_uint); | |
| pub fn bitmap_fold(dst: *mut ::std::os::raw::c_ulong, | |
| orig: *const ::std::os::raw::c_ulong, | |
| sz: ::std::os::raw::c_uint, | |
| nbits: ::std::os::raw::c_uint); | |
| pub fn bitmap_find_free_region(bitmap: *mut ::std::os::raw::c_ulong, | |
| bits: ::std::os::raw::c_uint, | |
| order: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn bitmap_release_region(bitmap: *mut ::std::os::raw::c_ulong, | |
| pos: ::std::os::raw::c_uint, | |
| order: ::std::os::raw::c_int); | |
| pub fn bitmap_allocate_region(bitmap: *mut ::std::os::raw::c_ulong, | |
| pos: ::std::os::raw::c_uint, | |
| order: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn bitmap_ord_to_pos(bitmap: *const ::std::os::raw::c_ulong, | |
| ord: ::std::os::raw::c_uint, | |
| nbits: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn bitmap_print_to_pagebuf(list: _bool, | |
| buf: *mut ::std::os::raw::c_char, | |
| maskp: *const ::std::os::raw::c_ulong, | |
| nmaskbits: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn cpumask_next_and(n: ::std::os::raw::c_int, | |
| arg1: *const Struct_cpumask, | |
| arg2: *const Struct_cpumask) | |
| -> ::std::os::raw::c_int; | |
| pub fn cpumask_any_but(mask: *const Struct_cpumask, | |
| cpu: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn cpumask_local_spread(i: ::std::os::raw::c_uint, | |
| node: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_uint; | |
| pub fn set_cpu_possible(cpu: ::std::os::raw::c_uint, possible: _bool); | |
| pub fn set_cpu_present(cpu: ::std::os::raw::c_uint, present: _bool); | |
| pub fn set_cpu_online(cpu: ::std::os::raw::c_uint, online: _bool); | |
| pub fn set_cpu_active(cpu: ::std::os::raw::c_uint, active: _bool); | |
| pub fn init_cpu_present(src: *const Struct_cpumask); | |
| pub fn init_cpu_possible(src: *const Struct_cpumask); | |
| pub fn init_cpu_online(src: *const Struct_cpumask); | |
| pub fn setup_cpu_local_masks(); | |
| pub fn rdmsr_safe_regs(regs: *mut _u32) -> ::std::os::raw::c_int; | |
| pub fn wrmsr_safe_regs(regs: *mut _u32) -> ::std::os::raw::c_int; | |
| pub fn default_banner(); | |
| pub fn msrs_alloc() -> *mut Struct_msr; | |
| pub fn msrs_free(msrs: *mut Struct_msr); | |
| pub fn msr_set_bit(msr: _u32, bit: _u8) -> ::std::os::raw::c_int; | |
| pub fn msr_clear_bit(msr: _u32, bit: _u8) -> ::std::os::raw::c_int; | |
| pub fn rdmsr_on_cpu(cpu: ::std::os::raw::c_uint, msr_no: _u32, | |
| l: *mut _u32, h: *mut _u32) -> ::std::os::raw::c_int; | |
| pub fn wrmsr_on_cpu(cpu: ::std::os::raw::c_uint, msr_no: _u32, l: _u32, | |
| h: _u32) -> ::std::os::raw::c_int; | |
| pub fn rdmsrl_on_cpu(cpu: ::std::os::raw::c_uint, msr_no: _u32, | |
| q: *mut __u64) -> ::std::os::raw::c_int; | |
| pub fn wrmsrl_on_cpu(cpu: ::std::os::raw::c_uint, msr_no: _u32, q: __u64) | |
| -> ::std::os::raw::c_int; | |
| pub fn rdmsr_on_cpus(mask: *const Struct_cpumask, msr_no: _u32, | |
| msrs: *mut Struct_msr); | |
| pub fn wrmsr_on_cpus(mask: *const Struct_cpumask, msr_no: _u32, | |
| msrs: *mut Struct_msr); | |
| pub fn rdmsr_safe_on_cpu(cpu: ::std::os::raw::c_uint, msr_no: _u32, | |
| l: *mut _u32, h: *mut _u32) | |
| -> ::std::os::raw::c_int; | |
| pub fn wrmsr_safe_on_cpu(cpu: ::std::os::raw::c_uint, msr_no: _u32, | |
| l: _u32, h: _u32) -> ::std::os::raw::c_int; | |
| pub fn rdmsrl_safe_on_cpu(cpu: ::std::os::raw::c_uint, msr_no: _u32, | |
| q: *mut __u64) -> ::std::os::raw::c_int; | |
| pub fn wrmsrl_safe_on_cpu(cpu: ::std::os::raw::c_uint, msr_no: _u32, | |
| q: __u64) -> ::std::os::raw::c_int; | |
| pub fn rdmsr_safe_regs_on_cpu(cpu: ::std::os::raw::c_uint, | |
| regs: *mut _u32) -> ::std::os::raw::c_int; | |
| pub fn wrmsr_safe_regs_on_cpu(cpu: ::std::os::raw::c_uint, | |
| regs: *mut _u32) -> ::std::os::raw::c_int; | |
| pub fn native_load_gs_index(arg1: ::std::os::raw::c_uint); | |
| pub fn iter_div_u64_rem(dividend: __u64, divisor: _u32, | |
| remainder: *mut __u64) -> _u32; | |
| pub fn cpu_detect(c: *mut Struct_cpuinfo_x86); | |
| pub fn early_cpu_init(); | |
| pub fn identify_boot_cpu(); | |
| pub fn identify_secondary_cpu(arg1: *mut Struct_cpuinfo_x86); | |
| pub fn print_cpu_info(arg1: *mut Struct_cpuinfo_x86); | |
| pub fn print_cpu_msr(arg1: *mut Struct_cpuinfo_x86); | |
| pub fn init_scattered_cpuid_features(c: *mut Struct_cpuinfo_x86); | |
| pub fn init_intel_cacheinfo(c: *mut Struct_cpuinfo_x86) | |
| -> ::std::os::raw::c_uint; | |
| pub fn init_amd_cacheinfo(c: *mut Struct_cpuinfo_x86); | |
| pub fn detect_extended_topology(c: *mut Struct_cpuinfo_x86); | |
| pub fn detect_ht(c: *mut Struct_cpuinfo_x86); | |
| pub fn ignore_sysret(); | |
| pub fn release_thread(arg1: *mut Struct_task_struct); | |
| pub fn get_wchan(p: *mut Struct_task_struct) -> ::std::os::raw::c_ulong; | |
| pub fn select_idle_routine(c: *const Struct_cpuinfo_x86); | |
| pub fn init_amd_e400_c1e_mask(); | |
| pub fn enable_sep_cpu(); | |
| pub fn sysenter_setup() -> ::std::os::raw::c_int; | |
| pub fn early_trap_init(); | |
| pub fn early_trap_pf_init(); | |
| pub fn cpu_set_gdt(arg1: ::std::os::raw::c_int); | |
| pub fn switch_to_new_gdt(arg1: ::std::os::raw::c_int); | |
| pub fn load_percpu_segment(arg1: ::std::os::raw::c_int); | |
| pub fn cpu_init(); | |
| pub fn set_task_blockstep(task: *mut Struct_task_struct, on: _bool); | |
| pub fn KSTK_ESP(task: *mut Struct_task_struct) -> ::std::os::raw::c_ulong; | |
| pub fn start_thread(regs: *mut Struct_pt_regs, | |
| new_ip: ::std::os::raw::c_ulong, | |
| new_sp: ::std::os::raw::c_ulong); | |
| pub fn get_tsc_mode(adr: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn set_tsc_mode(val: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; | |
| pub fn mpx_enable_management() -> ::std::os::raw::c_int; | |
| pub fn mpx_disable_management() -> ::std::os::raw::c_int; | |
| pub fn amd_get_nb_id(cpu: ::std::os::raw::c_int) -> _u16; | |
| pub fn amd_get_nodes_per_socket() -> _u32; | |
| pub fn arch_align_stack(sp: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn free_init_pages(what: *mut ::std::os::raw::c_char, | |
| begin: ::std::os::raw::c_ulong, | |
| end: ::std::os::raw::c_ulong); | |
| pub fn default_idle(); | |
| pub fn xen_set_default_idle() -> _bool; | |
| pub fn stop_this_cpu(dummy: *mut ::std::os::raw::c_void); | |
| pub fn df_debug(regs: *mut Struct_pt_regs, | |
| error_code: ::std::os::raw::c_long); | |
| pub fn __xchg_wrong_size(); | |
| pub fn __cmpxchg_wrong_size(); | |
| pub fn __xadd_wrong_size(); | |
| pub fn __add_wrong_size(); | |
| pub fn arch_task_cache_init(); | |
| pub fn arch_dup_task_struct(dst: *mut Struct_task_struct, | |
| src: *mut Struct_task_struct) | |
| -> ::std::os::raw::c_int; | |
| pub fn arch_release_task_struct(tsk: *mut Struct_task_struct); | |
| pub fn preempt_notifier_inc(); | |
| pub fn preempt_notifier_dec(); | |
| pub fn preempt_notifier_register(notifier: *mut Struct_preempt_notifier); | |
| pub fn preempt_notifier_unregister(notifier: | |
| *mut Struct_preempt_notifier); | |
| pub fn _local_bh_enable(); | |
| pub fn __local_bh_enable_ip(ip: ::std::os::raw::c_ulong, | |
| cnt: ::std::os::raw::c_uint); | |
| pub fn ____wrong_branch_error() -> _bool; | |
| pub fn native_queued_spin_lock_slowpath(lock: *mut Struct_qspinlock, | |
| val: _u32); | |
| pub fn __pv_init_lock_hash(); | |
| pub fn __pv_queued_spin_lock_slowpath(lock: *mut Struct_qspinlock, | |
| val: _u32); | |
| pub fn __raw_callee_save___pv_queued_spin_unlock(lock: | |
| *mut Struct_qspinlock); | |
| pub fn queued_read_lock_slowpath(lock: *mut Struct_qrwlock, cnts: _u32); | |
| pub fn queued_write_lock_slowpath(lock: *mut Struct_qrwlock); | |
| pub fn in_lock_functions(addr: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn _raw_spin_lock(lock: *mut raw_spinlock_t); | |
| pub fn _raw_spin_lock_nested(lock: *mut raw_spinlock_t, | |
| subclass: ::std::os::raw::c_int); | |
| pub fn _raw_spin_lock_bh_nested(lock: *mut raw_spinlock_t, | |
| subclass: ::std::os::raw::c_int); | |
| pub fn _raw_spin_lock_nest_lock(lock: *mut raw_spinlock_t, | |
| map: *mut Struct_lockdep_map); | |
| pub fn _raw_spin_lock_bh(lock: *mut raw_spinlock_t); | |
| pub fn _raw_spin_lock_irq(lock: *mut raw_spinlock_t); | |
| pub fn _raw_spin_lock_irqsave(lock: *mut raw_spinlock_t) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn _raw_spin_lock_irqsave_nested(lock: *mut raw_spinlock_t, | |
| subclass: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn _raw_spin_trylock(lock: *mut raw_spinlock_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn _raw_spin_trylock_bh(lock: *mut raw_spinlock_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn _raw_spin_unlock(lock: *mut raw_spinlock_t); | |
| pub fn _raw_spin_unlock_bh(lock: *mut raw_spinlock_t); | |
| pub fn _raw_spin_unlock_irq(lock: *mut raw_spinlock_t); | |
| pub fn _raw_spin_unlock_irqrestore(lock: *mut raw_spinlock_t, | |
| flags: ::std::os::raw::c_ulong); | |
| pub fn _raw_read_lock(lock: *mut rwlock_t); | |
| pub fn _raw_write_lock(lock: *mut rwlock_t); | |
| pub fn _raw_read_lock_bh(lock: *mut rwlock_t); | |
| pub fn _raw_write_lock_bh(lock: *mut rwlock_t); | |
| pub fn _raw_read_lock_irq(lock: *mut rwlock_t); | |
| pub fn _raw_write_lock_irq(lock: *mut rwlock_t); | |
| pub fn _raw_read_lock_irqsave(lock: *mut rwlock_t) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn _raw_write_lock_irqsave(lock: *mut rwlock_t) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn _raw_read_trylock(lock: *mut rwlock_t) -> ::std::os::raw::c_int; | |
| pub fn _raw_write_trylock(lock: *mut rwlock_t) -> ::std::os::raw::c_int; | |
| pub fn _raw_read_unlock(lock: *mut rwlock_t); | |
| pub fn _raw_write_unlock(lock: *mut rwlock_t); | |
| pub fn _raw_read_unlock_bh(lock: *mut rwlock_t); | |
| pub fn _raw_write_unlock_bh(lock: *mut rwlock_t); | |
| pub fn _raw_read_unlock_irq(lock: *mut rwlock_t); | |
| pub fn _raw_write_unlock_irq(lock: *mut rwlock_t); | |
| pub fn _raw_read_unlock_irqrestore(lock: *mut rwlock_t, | |
| flags: ::std::os::raw::c_ulong); | |
| pub fn _raw_write_unlock_irqrestore(lock: *mut rwlock_t, | |
| flags: ::std::os::raw::c_ulong); | |
| pub fn _atomic_dec_and_lock(atomic: *mut atomic_t, lock: *mut spinlock_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn default_wake_function(wait: *mut wait_queue_t, | |
| mode: ::std::os::raw::c_uint, | |
| flags: ::std::os::raw::c_int, | |
| key: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn __init_waitqueue_head(q: *mut wait_queue_head_t, | |
| name: *const ::std::os::raw::c_char, | |
| arg1: *mut Struct_lock_class_key); | |
| pub fn add_wait_queue(q: *mut wait_queue_head_t, wait: *mut wait_queue_t); | |
| pub fn add_wait_queue_exclusive(q: *mut wait_queue_head_t, | |
| wait: *mut wait_queue_t); | |
| pub fn remove_wait_queue(q: *mut wait_queue_head_t, | |
| wait: *mut wait_queue_t); | |
| pub fn __wake_up(q: *mut wait_queue_head_t, mode: ::std::os::raw::c_uint, | |
| nr: ::std::os::raw::c_int, | |
| key: *mut ::std::os::raw::c_void); | |
| pub fn __wake_up_locked_key(q: *mut wait_queue_head_t, | |
| mode: ::std::os::raw::c_uint, | |
| key: *mut ::std::os::raw::c_void); | |
| pub fn __wake_up_sync_key(q: *mut wait_queue_head_t, | |
| mode: ::std::os::raw::c_uint, | |
| nr: ::std::os::raw::c_int, | |
| key: *mut ::std::os::raw::c_void); | |
| pub fn __wake_up_locked(q: *mut wait_queue_head_t, | |
| mode: ::std::os::raw::c_uint, | |
| nr: ::std::os::raw::c_int); | |
| pub fn __wake_up_sync(q: *mut wait_queue_head_t, | |
| mode: ::std::os::raw::c_uint, | |
| nr: ::std::os::raw::c_int); | |
| pub fn __wake_up_bit(arg1: *mut wait_queue_head_t, | |
| arg2: *mut ::std::os::raw::c_void, | |
| arg3: ::std::os::raw::c_int); | |
| pub fn __wait_on_bit(arg1: *mut wait_queue_head_t, | |
| arg2: *mut Struct_wait_bit_queue, | |
| arg3: | |
| *mut ::std::option::Option<extern "C" fn() | |
| -> | |
| ::std::os::raw::c_int>, | |
| arg4: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn __wait_on_bit_lock(arg1: *mut wait_queue_head_t, | |
| arg2: *mut Struct_wait_bit_queue, | |
| arg3: | |
| *mut ::std::option::Option<extern "C" fn() | |
| -> | |
| ::std::os::raw::c_int>, | |
| arg4: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn wake_up_bit(arg1: *mut ::std::os::raw::c_void, | |
| arg2: ::std::os::raw::c_int); | |
| pub fn wake_up_atomic_t(arg1: *mut atomic_t); | |
| pub fn out_of_line_wait_on_bit(arg1: *mut ::std::os::raw::c_void, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: | |
| *mut ::std::option::Option<extern "C" fn() | |
| -> | |
| ::std::os::raw::c_int>, | |
| arg4: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn out_of_line_wait_on_bit_timeout(arg1: *mut ::std::os::raw::c_void, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: | |
| *mut ::std::option::Option<extern "C" fn() | |
| -> | |
| ::std::os::raw::c_int>, | |
| arg4: ::std::os::raw::c_uint, | |
| arg5: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn out_of_line_wait_on_bit_lock(arg1: *mut ::std::os::raw::c_void, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: | |
| *mut ::std::option::Option<extern "C" fn() | |
| -> | |
| ::std::os::raw::c_int>, | |
| arg4: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn out_of_line_wait_on_atomic_t(arg1: *mut atomic_t, | |
| arg2: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut atomic_t) | |
| -> | |
| ::std::os::raw::c_int>, | |
| arg3: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn bit_waitqueue(arg1: *mut ::std::os::raw::c_void, | |
| arg2: ::std::os::raw::c_int) | |
| -> *mut wait_queue_head_t; | |
| pub fn prepare_to_wait(q: *mut wait_queue_head_t, wait: *mut wait_queue_t, | |
| state: ::std::os::raw::c_int); | |
| pub fn prepare_to_wait_exclusive(q: *mut wait_queue_head_t, | |
| wait: *mut wait_queue_t, | |
| state: ::std::os::raw::c_int); | |
| pub fn prepare_to_wait_event(q: *mut wait_queue_head_t, | |
| wait: *mut wait_queue_t, | |
| state: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_long; | |
| pub fn finish_wait(q: *mut wait_queue_head_t, wait: *mut wait_queue_t); | |
| pub fn abort_exclusive_wait(q: *mut wait_queue_head_t, | |
| wait: *mut wait_queue_t, | |
| mode: ::std::os::raw::c_uint, | |
| key: *mut ::std::os::raw::c_void); | |
| pub fn wait_woken(wait: *mut wait_queue_t, mode: ::std::os::raw::c_uint, | |
| timeout: ::std::os::raw::c_long) | |
| -> ::std::os::raw::c_long; | |
| pub fn woken_wake_function(wait: *mut wait_queue_t, | |
| mode: ::std::os::raw::c_uint, | |
| sync: ::std::os::raw::c_int, | |
| key: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn autoremove_wake_function(wait: *mut wait_queue_t, | |
| mode: ::std::os::raw::c_uint, | |
| sync: ::std::os::raw::c_int, | |
| key: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn wake_bit_function(wait: *mut wait_queue_t, | |
| mode: ::std::os::raw::c_uint, | |
| sync: ::std::os::raw::c_int, | |
| key: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn bit_wait(arg1: *mut Struct_wait_bit_key, | |
| arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
| pub fn bit_wait_io(arg1: *mut Struct_wait_bit_key, | |
| arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
| pub fn bit_wait_timeout(arg1: *mut Struct_wait_bit_key, | |
| arg2: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn bit_wait_io_timeout(arg1: *mut Struct_wait_bit_key, | |
| arg2: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn wait_for_completion(arg1: *mut Struct_completion); | |
| pub fn wait_for_completion_io(arg1: *mut Struct_completion); | |
| pub fn wait_for_completion_interruptible(x: *mut Struct_completion) | |
| -> ::std::os::raw::c_int; | |
| pub fn wait_for_completion_killable(x: *mut Struct_completion) | |
| -> ::std::os::raw::c_int; | |
| pub fn wait_for_completion_timeout(x: *mut Struct_completion, | |
| timeout: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn wait_for_completion_io_timeout(x: *mut Struct_completion, | |
| timeout: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn wait_for_completion_interruptible_timeout(x: | |
| *mut Struct_completion, | |
| timeout: | |
| ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_long; | |
| pub fn wait_for_completion_killable_timeout(x: *mut Struct_completion, | |
| timeout: | |
| ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_long; | |
| pub fn try_wait_for_completion(x: *mut Struct_completion) -> _bool; | |
| pub fn completion_done(x: *mut Struct_completion) -> _bool; | |
| pub fn complete(arg1: *mut Struct_completion); | |
| pub fn complete_all(arg1: *mut Struct_completion); | |
| pub fn mktime64(year: ::std::os::raw::c_uint, mon: ::std::os::raw::c_uint, | |
| day: ::std::os::raw::c_uint, hour: ::std::os::raw::c_uint, | |
| min: ::std::os::raw::c_uint, sec: ::std::os::raw::c_uint) | |
| -> time64_t; | |
| pub fn set_normalized_timespec(ts: *mut Struct_timespec, sec: time_t, | |
| nsec: s64); | |
| pub fn timespec_add_safe(lhs: Struct_timespec, rhs: Struct_timespec) | |
| -> Struct_timespec; | |
| pub fn timespec_trunc(t: Struct_timespec, gran: ::std::os::raw::c_uint) | |
| -> Struct_timespec; | |
| pub fn do_setitimer(which: ::std::os::raw::c_int, | |
| value: *mut Struct_itimerval, | |
| ovalue: *mut Struct_itimerval) | |
| -> ::std::os::raw::c_int; | |
| pub fn do_getitimer(which: ::std::os::raw::c_int, | |
| value: *mut Struct_itimerval) | |
| -> ::std::os::raw::c_int; | |
| pub fn alarm_setitimer(seconds: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn do_utimes(dfd: ::std::os::raw::c_int, | |
| filename: *const ::std::os::raw::c_char, | |
| times: *mut Struct_timespec, | |
| flags: ::std::os::raw::c_int) -> ::std::os::raw::c_long; | |
| pub fn do_sys_times(arg1: *mut Struct_tms); | |
| pub fn time_to_tm(totalsecs: time_t, offset: ::std::os::raw::c_int, | |
| result: *mut Struct_tm); | |
| pub fn ns_to_timespec(nsec: s64) -> Struct_timespec; | |
| pub fn ns_to_timeval(nsec: s64) -> Struct_timeval; | |
| pub fn disable_TSC(); | |
| pub fn tsc_init(); | |
| pub fn mark_tsc_unstable(reason: *mut ::std::os::raw::c_char); | |
| pub fn unsynchronized_tsc() -> ::std::os::raw::c_int; | |
| pub fn check_tsc_unstable() -> ::std::os::raw::c_int; | |
| pub fn check_tsc_disabled() -> ::std::os::raw::c_int; | |
| pub fn native_calibrate_tsc() -> ::std::os::raw::c_ulong; | |
| pub fn native_sched_clock_from_tsc(tsc: __u64) | |
| -> ::std::os::raw::c_ulonglong; | |
| pub fn check_tsc_sync_source(cpu: ::std::os::raw::c_int); | |
| pub fn check_tsc_sync_target(); | |
| pub fn notsc_setup(arg1: *mut ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn tsc_save_sched_clock_state(); | |
| pub fn tsc_restore_sched_clock_state(); | |
| pub fn try_msr_calibrate_tsc() -> ::std::os::raw::c_ulong; | |
| pub fn do_adjtimex(arg1: *mut Struct_timex) -> ::std::os::raw::c_int; | |
| pub fn hardpps(arg1: *const Struct_timespec, | |
| arg2: *const Struct_timespec); | |
| pub fn read_current_timer(timer_val: *mut ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn ntp_notify_cmos_timer(); | |
| pub fn register_refined_jiffies(clock_tick_rate: ::std::os::raw::c_long) | |
| -> ::std::os::raw::c_int; | |
| pub fn jiffies_to_msecs(j: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_uint; | |
| pub fn jiffies_to_usecs(j: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_uint; | |
| pub fn __msecs_to_jiffies(m: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn __usecs_to_jiffies(u: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn timespec64_to_jiffies(value: *const Struct_timespec) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn jiffies_to_timespec64(jiffies: ::std::os::raw::c_ulong, | |
| value: *mut Struct_timespec); | |
| pub fn timeval_to_jiffies(value: *const Struct_timeval) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn jiffies_to_timeval(jiffies: ::std::os::raw::c_ulong, | |
| value: *mut Struct_timeval); | |
| pub fn jiffies_to_clock_t(x: ::std::os::raw::c_ulong) -> clock_t; | |
| pub fn clock_t_to_jiffies(x: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn jiffies_64_to_clock_t(x: __u64) -> __u64; | |
| pub fn nsec_to_clock_t(x: __u64) -> __u64; | |
| pub fn nsecs_to_jiffies64(n: __u64) -> __u64; | |
| pub fn nsecs_to_jiffies(n: __u64) -> ::std::os::raw::c_ulong; | |
| pub fn ktime_add_safe(lhs: ktime_t, rhs: ktime_t) -> ktime_t; | |
| pub fn timekeeping_init(); | |
| pub fn do_gettimeofday(tv: *mut Struct_timeval); | |
| pub fn do_settimeofday64(ts: *const Struct_timespec) | |
| -> ::std::os::raw::c_int; | |
| pub fn do_sys_settimeofday(tv: *const Struct_timespec, | |
| tz: *const Struct_timezone) | |
| -> ::std::os::raw::c_int; | |
| pub fn get_seconds() -> ::std::os::raw::c_ulong; | |
| pub fn current_kernel_time64() -> Struct_timespec; | |
| pub fn __current_kernel_time() -> Struct_timespec; | |
| pub fn get_monotonic_coarse64() -> Struct_timespec; | |
| pub fn getrawmonotonic64(ts: *mut Struct_timespec); | |
| pub fn ktime_get_ts64(ts: *mut Struct_timespec); | |
| pub fn ktime_get_seconds() -> time64_t; | |
| pub fn ktime_get_real_seconds() -> time64_t; | |
| pub fn __getnstimeofday64(tv: *mut Struct_timespec) | |
| -> ::std::os::raw::c_int; | |
| pub fn getnstimeofday64(tv: *mut Struct_timespec); | |
| pub fn getboottime64(ts: *mut Struct_timespec); | |
| pub fn ktime_get() -> ktime_t; | |
| pub fn ktime_get_with_offset(offs: Enum_tk_offsets) -> ktime_t; | |
| pub fn ktime_mono_to_any(tmono: ktime_t, offs: Enum_tk_offsets) | |
| -> ktime_t; | |
| pub fn ktime_get_raw() -> ktime_t; | |
| pub fn ktime_get_resolution_ns() -> _u32; | |
| pub fn ktime_get_mono_fast_ns() -> __u64; | |
| pub fn ktime_get_raw_fast_ns() -> __u64; | |
| pub fn timekeeping_rtc_skipsuspend() -> _bool; | |
| pub fn timekeeping_rtc_skipresume() -> _bool; | |
| pub fn timekeeping_inject_sleeptime64(delta: *mut Struct_timespec); | |
| pub fn ktime_get_raw_and_real_ts64(ts_raw: *mut Struct_timespec, | |
| ts_real: *mut Struct_timespec); | |
| pub fn read_persistent_clock(ts: *mut Struct_timespec); | |
| pub fn read_persistent_clock64(ts: *mut Struct_timespec); | |
| pub fn read_boot_clock64(ts: *mut Struct_timespec); | |
| pub fn update_persistent_clock(now: Struct_timespec) | |
| -> ::std::os::raw::c_int; | |
| pub fn update_persistent_clock64(now: Struct_timespec) | |
| -> ::std::os::raw::c_int; | |
| pub fn rcu_gp_is_expedited() -> _bool; | |
| pub fn rcu_expedite_gp(); | |
| pub fn rcu_unexpedite_gp(); | |
| pub fn rcutorture_get_gp_data(test_type: Enum_rcutorture_type, | |
| flags: *mut ::std::os::raw::c_int, | |
| gpnum: *mut ::std::os::raw::c_ulong, | |
| completed: *mut ::std::os::raw::c_ulong); | |
| pub fn rcutorture_record_test_transition(); | |
| pub fn rcutorture_record_progress(vernum: ::std::os::raw::c_ulong); | |
| pub fn do_trace_rcu_torture_read(rcutorturename: | |
| *const ::std::os::raw::c_char, | |
| rhp: *mut Struct_callback_head, | |
| secs: ::std::os::raw::c_ulong, | |
| c_old: ::std::os::raw::c_ulong, | |
| c: ::std::os::raw::c_ulong); | |
| pub fn call_rcu_bh(head: *mut Struct_callback_head, func: rcu_callback_t); | |
| pub fn call_rcu_sched(head: *mut Struct_callback_head, | |
| func: rcu_callback_t); | |
| pub fn synchronize_sched(); | |
| pub fn wakeme_after_rcu(head: *mut Struct_callback_head); | |
| pub fn __wait_rcu_gp(checktiny: _bool, n: ::std::os::raw::c_int, | |
| crcu_array: *mut call_rcu_func_t, | |
| rs_array: *mut Struct_rcu_synchronize); | |
| pub fn call_rcu_tasks(head: *mut Struct_callback_head, | |
| func: rcu_callback_t); | |
| pub fn synchronize_rcu_tasks(); | |
| pub fn rcu_barrier_tasks(); | |
| pub fn rcu_init(); | |
| pub fn rcu_end_inkernel_boot(); | |
| pub fn rcu_sched_qs(); | |
| pub fn rcu_bh_qs(); | |
| pub fn rcu_check_callbacks(user: ::std::os::raw::c_int); | |
| pub fn rcu_cpu_notify(_self: *mut Struct_notifier_block, | |
| action: ::std::os::raw::c_ulong, | |
| hcpu: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn rcu_sysrq_start(); | |
| pub fn rcu_sysrq_end(); | |
| pub fn __rcu_is_watching() -> _bool; | |
| pub fn rcu_note_context_switch(); | |
| pub fn rcu_needs_cpu(basem: __u64, nextevt: *mut __u64) | |
| -> ::std::os::raw::c_int; | |
| pub fn rcu_cpu_stall_reset(); | |
| pub fn synchronize_rcu_bh(); | |
| pub fn synchronize_sched_expedited(); | |
| pub fn synchronize_rcu_expedited(); | |
| pub fn kfree_call_rcu(head: *mut Struct_callback_head, | |
| func: rcu_callback_t); | |
| pub fn rcu_barrier(); | |
| pub fn rcu_barrier_bh(); | |
| pub fn rcu_barrier_sched(); | |
| pub fn get_state_synchronize_rcu() -> ::std::os::raw::c_ulong; | |
| pub fn cond_synchronize_rcu(oldstate: ::std::os::raw::c_ulong); | |
| pub fn get_state_synchronize_sched() -> ::std::os::raw::c_ulong; | |
| pub fn cond_synchronize_sched(oldstate: ::std::os::raw::c_ulong); | |
| pub fn rcu_batches_started() -> ::std::os::raw::c_ulong; | |
| pub fn rcu_batches_started_bh() -> ::std::os::raw::c_ulong; | |
| pub fn rcu_batches_started_sched() -> ::std::os::raw::c_ulong; | |
| pub fn rcu_batches_completed() -> ::std::os::raw::c_ulong; | |
| pub fn rcu_batches_completed_bh() -> ::std::os::raw::c_ulong; | |
| pub fn rcu_batches_completed_sched() -> ::std::os::raw::c_ulong; | |
| pub fn show_rcu_gp_kthreads(); | |
| pub fn rcu_force_quiescent_state(); | |
| pub fn rcu_bh_force_quiescent_state(); | |
| pub fn rcu_sched_force_quiescent_state(); | |
| pub fn rcu_idle_enter(); | |
| pub fn rcu_idle_exit(); | |
| pub fn rcu_irq_enter(); | |
| pub fn rcu_irq_exit(); | |
| pub fn exit_rcu(); | |
| pub fn rcu_scheduler_starting(); | |
| pub fn rcu_is_watching() -> _bool; | |
| pub fn rcu_all_qs(); | |
| pub fn lockref_get(arg1: *mut Struct_lockref); | |
| pub fn lockref_put_return(arg1: *mut Struct_lockref) | |
| -> ::std::os::raw::c_int; | |
| pub fn lockref_get_not_zero(arg1: *mut Struct_lockref) | |
| -> ::std::os::raw::c_int; | |
| pub fn lockref_get_or_lock(arg1: *mut Struct_lockref) | |
| -> ::std::os::raw::c_int; | |
| pub fn lockref_put_or_lock(arg1: *mut Struct_lockref) | |
| -> ::std::os::raw::c_int; | |
| pub fn lockref_mark_dead(arg1: *mut Struct_lockref); | |
| pub fn lockref_get_not_dead(arg1: *mut Struct_lockref) | |
| -> ::std::os::raw::c_int; | |
| pub fn full_name_hash(arg1: *const ::std::os::raw::c_uchar, | |
| arg2: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn d_instantiate(arg1: *mut Struct_dentry, arg2: *mut Struct_inode); | |
| pub fn d_instantiate_unique(arg1: *mut Struct_dentry, | |
| arg2: *mut Struct_inode) | |
| -> *mut Struct_dentry; | |
| pub fn d_instantiate_no_diralias(arg1: *mut Struct_dentry, | |
| arg2: *mut Struct_inode) | |
| -> ::std::os::raw::c_int; | |
| pub fn __d_drop(dentry: *mut Struct_dentry); | |
| pub fn d_drop(dentry: *mut Struct_dentry); | |
| pub fn d_delete(arg1: *mut Struct_dentry); | |
| pub fn d_set_d_op(dentry: *mut Struct_dentry, | |
| op: *const Struct_dentry_operations); | |
| pub fn d_alloc(arg1: *mut Struct_dentry, arg2: *const Struct_qstr) | |
| -> *mut Struct_dentry; | |
| pub fn d_alloc_pseudo(arg1: *mut Struct_super_block, | |
| arg2: *const Struct_qstr) -> *mut Struct_dentry; | |
| pub fn d_splice_alias(arg1: *mut Struct_inode, arg2: *mut Struct_dentry) | |
| -> *mut Struct_dentry; | |
| pub fn d_add_ci(arg1: *mut Struct_dentry, arg2: *mut Struct_inode, | |
| arg3: *mut Struct_qstr) -> *mut Struct_dentry; | |
| pub fn d_find_any_alias(inode: *mut Struct_inode) -> *mut Struct_dentry; | |
| pub fn d_obtain_alias(arg1: *mut Struct_inode) -> *mut Struct_dentry; | |
| pub fn d_obtain_root(arg1: *mut Struct_inode) -> *mut Struct_dentry; | |
| pub fn shrink_dcache_sb(arg1: *mut Struct_super_block); | |
| pub fn shrink_dcache_parent(arg1: *mut Struct_dentry); | |
| pub fn shrink_dcache_for_umount(arg1: *mut Struct_super_block); | |
| pub fn d_invalidate(arg1: *mut Struct_dentry); | |
| pub fn d_make_root(arg1: *mut Struct_inode) -> *mut Struct_dentry; | |
| pub fn d_genocide(arg1: *mut Struct_dentry); | |
| pub fn d_tmpfile(arg1: *mut Struct_dentry, arg2: *mut Struct_inode); | |
| pub fn d_find_alias(arg1: *mut Struct_inode) -> *mut Struct_dentry; | |
| pub fn d_prune_aliases(arg1: *mut Struct_inode); | |
| pub fn have_submounts(arg1: *mut Struct_dentry) -> ::std::os::raw::c_int; | |
| pub fn d_rehash(arg1: *mut Struct_dentry); | |
| pub fn dentry_update_name_case(arg1: *mut Struct_dentry, | |
| arg2: *mut Struct_qstr); | |
| pub fn d_move(arg1: *mut Struct_dentry, arg2: *mut Struct_dentry); | |
| pub fn d_exchange(arg1: *mut Struct_dentry, arg2: *mut Struct_dentry); | |
| pub fn d_ancestor(arg1: *mut Struct_dentry, arg2: *mut Struct_dentry) | |
| -> *mut Struct_dentry; | |
| pub fn d_lookup(arg1: *const Struct_dentry, arg2: *const Struct_qstr) | |
| -> *mut Struct_dentry; | |
| pub fn d_hash_and_lookup(arg1: *mut Struct_dentry, arg2: *mut Struct_qstr) | |
| -> *mut Struct_dentry; | |
| pub fn __d_lookup(arg1: *const Struct_dentry, arg2: *const Struct_qstr) | |
| -> *mut Struct_dentry; | |
| pub fn __d_lookup_rcu(parent: *const Struct_dentry, | |
| name: *const Struct_qstr, | |
| seq: *mut ::std::os::raw::c_uint) | |
| -> *mut Struct_dentry; | |
| pub fn dynamic_dname(arg1: *mut Struct_dentry, | |
| arg2: *mut ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_int, | |
| arg4: *const ::std::os::raw::c_char, ...) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn simple_dname(arg1: *mut Struct_dentry, | |
| arg2: *mut ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn __d_path(arg1: *const Struct_path, arg2: *const Struct_path, | |
| arg3: *mut ::std::os::raw::c_char, | |
| arg4: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn d_absolute_path(arg1: *const Struct_path, | |
| arg2: *mut ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn d_path(arg1: *const Struct_path, arg2: *mut ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; | |
| pub fn dentry_path_raw(arg1: *mut Struct_dentry, | |
| arg2: *mut ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn dentry_path(arg1: *mut Struct_dentry, | |
| arg2: *mut ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn dget_parent(dentry: *mut Struct_dentry) -> *mut Struct_dentry; | |
| pub fn dput(arg1: *mut Struct_dentry); | |
| pub fn d_set_fallthru(dentry: *mut Struct_dentry); | |
| pub fn path_get(arg1: *const Struct_path); | |
| pub fn path_put(arg1: *const Struct_path); | |
| pub fn __bad_uid(); | |
| pub fn __bad_gid(); | |
| pub fn make_kuid(from: *mut Struct_user_namespace, uid: uid_t) -> kuid_t; | |
| pub fn make_kgid(from: *mut Struct_user_namespace, gid: gid_t) -> kgid_t; | |
| pub fn from_kuid(to: *mut Struct_user_namespace, uid: kuid_t) -> uid_t; | |
| pub fn from_kgid(to: *mut Struct_user_namespace, gid: kgid_t) -> gid_t; | |
| pub fn from_kuid_munged(to: *mut Struct_user_namespace, uid: kuid_t) | |
| -> uid_t; | |
| pub fn from_kgid_munged(to: *mut Struct_user_namespace, gid: kgid_t) | |
| -> gid_t; | |
| pub fn node_random(maskp: *const nodemask_t) -> ::std::os::raw::c_int; | |
| pub fn register_shrinker(arg1: *mut Struct_shrinker) | |
| -> ::std::os::raw::c_int; | |
| pub fn unregister_shrinker(arg1: *mut Struct_shrinker); | |
| pub fn list_lru_destroy(lru: *mut Struct_list_lru); | |
| pub fn __list_lru_init(lru: *mut Struct_list_lru, memcg_aware: _bool, | |
| key: *mut Struct_lock_class_key) | |
| -> ::std::os::raw::c_int; | |
| pub fn memcg_update_all_list_lrus(num_memcgs: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn memcg_drain_all_list_lrus(src_idx: ::std::os::raw::c_int, | |
| dst_idx: ::std::os::raw::c_int); | |
| pub fn list_lru_add(lru: *mut Struct_list_lru, | |
| item: *mut Struct_list_head) -> _bool; | |
| pub fn list_lru_del(lru: *mut Struct_list_lru, | |
| item: *mut Struct_list_head) -> _bool; | |
| pub fn list_lru_count_one(lru: *mut Struct_list_lru, | |
| nid: ::std::os::raw::c_int, | |
| memcg: *mut Struct_mem_cgroup) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn list_lru_count_node(lru: *mut Struct_list_lru, | |
| nid: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn list_lru_isolate(list: *mut Struct_list_lru_one, | |
| item: *mut Struct_list_head); | |
| pub fn list_lru_isolate_move(list: *mut Struct_list_lru_one, | |
| item: *mut Struct_list_head, | |
| head: *mut Struct_list_head); | |
| pub fn list_lru_walk_one(lru: *mut Struct_list_lru, | |
| nid: ::std::os::raw::c_int, | |
| memcg: *mut Struct_mem_cgroup, | |
| isolate: list_lru_walk_cb, | |
| cb_arg: *mut ::std::os::raw::c_void, | |
| nr_to_walk: *mut ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn list_lru_walk_node(lru: *mut Struct_list_lru, | |
| nid: ::std::os::raw::c_int, | |
| isolate: list_lru_walk_cb, | |
| cb_arg: *mut ::std::os::raw::c_void, | |
| nr_to_walk: *mut ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn llist_add_batch(new_first: *mut Struct_llist_node, | |
| new_last: *mut Struct_llist_node, | |
| head: *mut Struct_llist_head) -> _bool; | |
| pub fn llist_del_first(head: *mut Struct_llist_head) | |
| -> *mut Struct_llist_node; | |
| pub fn llist_reverse_order(head: *mut Struct_llist_node) | |
| -> *mut Struct_llist_node; | |
| pub fn __radix_tree_create(root: *mut Struct_radix_tree_root, | |
| index: ::std::os::raw::c_ulong, | |
| nodep: *mut *mut Struct_radix_tree_node, | |
| slotp: *mut *mut *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn radix_tree_insert(arg1: *mut Struct_radix_tree_root, | |
| arg2: ::std::os::raw::c_ulong, | |
| arg3: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn __radix_tree_lookup(root: *mut Struct_radix_tree_root, | |
| index: ::std::os::raw::c_ulong, | |
| nodep: *mut *mut Struct_radix_tree_node, | |
| slotp: *mut *mut *mut ::std::os::raw::c_void) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn radix_tree_lookup(arg1: *mut Struct_radix_tree_root, | |
| arg2: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn radix_tree_lookup_slot(arg1: *mut Struct_radix_tree_root, | |
| arg2: ::std::os::raw::c_ulong) | |
| -> *mut *mut ::std::os::raw::c_void; | |
| pub fn __radix_tree_delete_node(root: *mut Struct_radix_tree_root, | |
| node: *mut Struct_radix_tree_node) | |
| -> _bool; | |
| pub fn radix_tree_delete_item(arg1: *mut Struct_radix_tree_root, | |
| arg2: ::std::os::raw::c_ulong, | |
| arg3: *mut ::std::os::raw::c_void) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn radix_tree_delete(arg1: *mut Struct_radix_tree_root, | |
| arg2: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn radix_tree_gang_lookup(root: *mut Struct_radix_tree_root, | |
| results: *mut *mut ::std::os::raw::c_void, | |
| first_index: ::std::os::raw::c_ulong, | |
| max_items: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn radix_tree_gang_lookup_slot(root: *mut Struct_radix_tree_root, | |
| results: | |
| *mut *mut *mut ::std::os::raw::c_void, | |
| indices: *mut ::std::os::raw::c_ulong, | |
| first_index: ::std::os::raw::c_ulong, | |
| max_items: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn radix_tree_preload(gfp_mask: gfp_t) -> ::std::os::raw::c_int; | |
| pub fn radix_tree_maybe_preload(gfp_mask: gfp_t) -> ::std::os::raw::c_int; | |
| pub fn radix_tree_init(); | |
| pub fn radix_tree_tag_set(root: *mut Struct_radix_tree_root, | |
| index: ::std::os::raw::c_ulong, | |
| tag: ::std::os::raw::c_uint) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn radix_tree_tag_clear(root: *mut Struct_radix_tree_root, | |
| index: ::std::os::raw::c_ulong, | |
| tag: ::std::os::raw::c_uint) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn radix_tree_tag_get(root: *mut Struct_radix_tree_root, | |
| index: ::std::os::raw::c_ulong, | |
| tag: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn radix_tree_gang_lookup_tag(root: *mut Struct_radix_tree_root, | |
| results: | |
| *mut *mut ::std::os::raw::c_void, | |
| first_index: ::std::os::raw::c_ulong, | |
| max_items: ::std::os::raw::c_uint, | |
| tag: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn radix_tree_gang_lookup_tag_slot(root: *mut Struct_radix_tree_root, | |
| results: | |
| *mut *mut *mut ::std::os::raw::c_void, | |
| first_index: | |
| ::std::os::raw::c_ulong, | |
| max_items: ::std::os::raw::c_uint, | |
| tag: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn radix_tree_range_tag_if_tagged(root: *mut Struct_radix_tree_root, | |
| first_indexp: | |
| *mut ::std::os::raw::c_ulong, | |
| last_index: ::std::os::raw::c_ulong, | |
| nr_to_tag: ::std::os::raw::c_ulong, | |
| fromtag: ::std::os::raw::c_uint, | |
| totag: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn radix_tree_tagged(root: *mut Struct_radix_tree_root, | |
| tag: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn radix_tree_locate_item(root: *mut Struct_radix_tree_root, | |
| item: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn radix_tree_next_chunk(root: *mut Struct_radix_tree_root, | |
| iter: *mut Struct_radix_tree_iter, | |
| flags: ::std::os::raw::c_uint) | |
| -> *mut *mut ::std::os::raw::c_void; | |
| pub fn rb_insert_color(arg1: *mut Struct_rb_node, | |
| arg2: *mut Struct_rb_root); | |
| pub fn rb_erase(arg1: *mut Struct_rb_node, arg2: *mut Struct_rb_root); | |
| pub fn rb_next(arg1: *const Struct_rb_node) -> *mut Struct_rb_node; | |
| pub fn rb_prev(arg1: *const Struct_rb_node) -> *mut Struct_rb_node; | |
| pub fn rb_first(arg1: *const Struct_rb_root) -> *mut Struct_rb_node; | |
| pub fn rb_last(arg1: *const Struct_rb_root) -> *mut Struct_rb_node; | |
| pub fn rb_first_postorder(arg1: *const Struct_rb_root) | |
| -> *mut Struct_rb_node; | |
| pub fn rb_next_postorder(arg1: *const Struct_rb_node) | |
| -> *mut Struct_rb_node; | |
| pub fn rb_replace_node(victim: *mut Struct_rb_node, | |
| new: *mut Struct_rb_node, | |
| root: *mut Struct_rb_root); | |
| pub fn put_pid(pid: *mut Struct_pid); | |
| pub fn pid_task(pid: *mut Struct_pid, arg1: Enum_pid_type) | |
| -> *mut Struct_task_struct; | |
| pub fn get_pid_task(pid: *mut Struct_pid, arg1: Enum_pid_type) | |
| -> *mut Struct_task_struct; | |
| pub fn get_task_pid(task: *mut Struct_task_struct, _type: Enum_pid_type) | |
| -> *mut Struct_pid; | |
| pub fn attach_pid(task: *mut Struct_task_struct, arg1: Enum_pid_type); | |
| pub fn detach_pid(task: *mut Struct_task_struct, arg1: Enum_pid_type); | |
| pub fn change_pid(task: *mut Struct_task_struct, arg1: Enum_pid_type, | |
| pid: *mut Struct_pid); | |
| pub fn transfer_pid(old: *mut Struct_task_struct, | |
| new: *mut Struct_task_struct, arg1: Enum_pid_type); | |
| pub fn find_pid_ns(nr: ::std::os::raw::c_int, | |
| ns: *mut Struct_pid_namespace) -> *mut Struct_pid; | |
| pub fn find_vpid(nr: ::std::os::raw::c_int) -> *mut Struct_pid; | |
| pub fn find_get_pid(nr: ::std::os::raw::c_int) -> *mut Struct_pid; | |
| pub fn find_ge_pid(nr: ::std::os::raw::c_int, | |
| arg1: *mut Struct_pid_namespace) -> *mut Struct_pid; | |
| pub fn next_pidmap(pid_ns: *mut Struct_pid_namespace, | |
| last: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; | |
| pub fn alloc_pid(ns: *mut Struct_pid_namespace) -> *mut Struct_pid; | |
| pub fn free_pid(pid: *mut Struct_pid); | |
| pub fn disable_pid_allocation(ns: *mut Struct_pid_namespace); | |
| pub fn pid_nr_ns(pid: *mut Struct_pid, ns: *mut Struct_pid_namespace) | |
| -> pid_t; | |
| pub fn pid_vnr(pid: *mut Struct_pid) -> pid_t; | |
| pub fn osq_lock(lock: *mut Struct_optimistic_spin_queue) -> _bool; | |
| pub fn osq_unlock(lock: *mut Struct_optimistic_spin_queue); | |
| pub fn __mutex_init(lock: *mut Struct_mutex, | |
| name: *const ::std::os::raw::c_char, | |
| key: *mut Struct_lock_class_key); | |
| pub fn mutex_lock(lock: *mut Struct_mutex); | |
| pub fn mutex_lock_interruptible(lock: *mut Struct_mutex) | |
| -> ::std::os::raw::c_int; | |
| pub fn mutex_lock_killable(lock: *mut Struct_mutex) | |
| -> ::std::os::raw::c_int; | |
| pub fn mutex_trylock(lock: *mut Struct_mutex) -> ::std::os::raw::c_int; | |
| pub fn mutex_unlock(lock: *mut Struct_mutex); | |
| pub fn atomic_dec_and_mutex_lock(cnt: *mut atomic_t, | |
| lock: *mut Struct_mutex) | |
| -> ::std::os::raw::c_int; | |
| pub fn rwsem_down_read_failed(sem: *mut Struct_rw_semaphore) | |
| -> *mut Struct_rw_semaphore; | |
| pub fn rwsem_down_write_failed(sem: *mut Struct_rw_semaphore) | |
| -> *mut Struct_rw_semaphore; | |
| pub fn rwsem_wake(arg1: *mut Struct_rw_semaphore) | |
| -> *mut Struct_rw_semaphore; | |
| pub fn rwsem_downgrade_wake(sem: *mut Struct_rw_semaphore) | |
| -> *mut Struct_rw_semaphore; | |
| pub fn __init_rwsem(sem: *mut Struct_rw_semaphore, | |
| name: *const ::std::os::raw::c_char, | |
| key: *mut Struct_lock_class_key); | |
| pub fn down_read(sem: *mut Struct_rw_semaphore); | |
| pub fn down_read_trylock(sem: *mut Struct_rw_semaphore) | |
| -> ::std::os::raw::c_int; | |
| pub fn down_write(sem: *mut Struct_rw_semaphore); | |
| pub fn down_write_trylock(sem: *mut Struct_rw_semaphore) | |
| -> ::std::os::raw::c_int; | |
| pub fn up_read(sem: *mut Struct_rw_semaphore); | |
| pub fn up_write(sem: *mut Struct_rw_semaphore); | |
| pub fn downgrade_write(sem: *mut Struct_rw_semaphore); | |
| pub fn current_user_ns() -> *mut Struct_user_namespace; | |
| pub fn has_capability(t: *mut Struct_task_struct, | |
| cap: ::std::os::raw::c_int) -> _bool; | |
| pub fn has_ns_capability(t: *mut Struct_task_struct, | |
| ns: *mut Struct_user_namespace, | |
| cap: ::std::os::raw::c_int) -> _bool; | |
| pub fn has_capability_noaudit(t: *mut Struct_task_struct, | |
| cap: ::std::os::raw::c_int) -> _bool; | |
| pub fn has_ns_capability_noaudit(t: *mut Struct_task_struct, | |
| ns: *mut Struct_user_namespace, | |
| cap: ::std::os::raw::c_int) -> _bool; | |
| pub fn capable(cap: ::std::os::raw::c_int) -> _bool; | |
| pub fn ns_capable(ns: *mut Struct_user_namespace, | |
| cap: ::std::os::raw::c_int) -> _bool; | |
| pub fn capable_wrt_inode_uidgid(inode: *const Struct_inode, | |
| cap: ::std::os::raw::c_int) -> _bool; | |
| pub fn file_ns_capable(file: *const Struct_file, | |
| ns: *mut Struct_user_namespace, | |
| cap: ::std::os::raw::c_int) -> _bool; | |
| pub fn get_vfs_caps_from_disk(dentry: *const Struct_dentry, | |
| cpu_caps: *mut Struct_cpu_vfs_cap_data) | |
| -> ::std::os::raw::c_int; | |
| pub fn down(sem: *mut Struct_semaphore); | |
| pub fn down_interruptible(sem: *mut Struct_semaphore) | |
| -> ::std::os::raw::c_int; | |
| pub fn down_killable(sem: *mut Struct_semaphore) -> ::std::os::raw::c_int; | |
| pub fn down_trylock(sem: *mut Struct_semaphore) -> ::std::os::raw::c_int; | |
| pub fn down_timeout(sem: *mut Struct_semaphore, | |
| jiffies: ::std::os::raw::c_long) | |
| -> ::std::os::raw::c_int; | |
| pub fn up(sem: *mut Struct_semaphore); | |
| pub fn dump_page(page: *mut Struct_page, | |
| reason: *const ::std::os::raw::c_char); | |
| pub fn dump_page_badflags(page: *mut Struct_page, | |
| reason: *const ::std::os::raw::c_char, | |
| badflags: ::std::os::raw::c_ulong); | |
| pub fn dump_vma(vma: *const Struct_vm_area_struct); | |
| pub fn dump_mm(mm: *const Struct_mm_struct); | |
| pub fn smp_call_function_single(cpuid: ::std::os::raw::c_int, | |
| func: smp_call_func_t, | |
| info: *mut ::std::os::raw::c_void, | |
| wait: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn on_each_cpu(func: smp_call_func_t, | |
| info: *mut ::std::os::raw::c_void, | |
| wait: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
| pub fn on_each_cpu_mask(mask: *const Struct_cpumask, | |
| func: smp_call_func_t, | |
| info: *mut ::std::os::raw::c_void, wait: _bool); | |
| pub fn on_each_cpu_cond(cond_func: | |
| ::std::option::Option<unsafe extern "C" fn(cpu: | |
| ::std::os::raw::c_int, | |
| info: | |
| *mut ::std::os::raw::c_void) | |
| -> _bool>, | |
| func: smp_call_func_t, | |
| info: *mut ::std::os::raw::c_void, wait: _bool, | |
| gfp_flags: gfp_t); | |
| pub fn smp_call_function_single_async(cpu: ::std::os::raw::c_int, | |
| csd: *mut Struct_call_single_data) | |
| -> ::std::os::raw::c_int; | |
| pub fn e820_any_mapped(start: __u64, end: __u64, | |
| _type: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn e820_all_mapped(start: __u64, end: __u64, | |
| _type: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn e820_add_region(start: __u64, size: __u64, | |
| _type: ::std::os::raw::c_int); | |
| pub fn e820_print_map(who: *mut ::std::os::raw::c_char); | |
| pub fn sanitize_e820_map(biosmap: *mut Struct_e820entry, | |
| max_nr_map: ::std::os::raw::c_int, | |
| pnr_map: *mut _u32) -> ::std::os::raw::c_int; | |
| pub fn e820_update_range(start: __u64, size: __u64, | |
| old_type: ::std::os::raw::c_uint, | |
| new_type: ::std::os::raw::c_uint) -> __u64; | |
| pub fn e820_remove_range(start: __u64, size: __u64, | |
| old_type: ::std::os::raw::c_uint, | |
| checktype: ::std::os::raw::c_int) -> __u64; | |
| pub fn update_e820(); | |
| pub fn e820_setup_gap(); | |
| pub fn e820_search_gap(gapstart: *mut ::std::os::raw::c_ulong, | |
| gapsize: *mut ::std::os::raw::c_ulong, | |
| start_addr: ::std::os::raw::c_ulong, | |
| end_addr: ::std::os::raw::c_ulonglong) | |
| -> ::std::os::raw::c_int; | |
| pub fn parse_e820_ext(phys_addr: __u64, data_len: _u32); | |
| pub fn e820_mark_nosave_regions(limit_pfn: ::std::os::raw::c_ulong); | |
| pub fn e820_end_of_ram_pfn() -> ::std::os::raw::c_ulong; | |
| pub fn e820_end_of_low_ram_pfn() -> ::std::os::raw::c_ulong; | |
| pub fn early_reserve_e820(sizet: __u64, align: __u64) -> __u64; | |
| pub fn memblock_x86_fill(); | |
| pub fn memblock_find_dma_reserve(); | |
| pub fn finish_e820_parsing(); | |
| pub fn e820_reserve_resources(); | |
| pub fn e820_reserve_resources_late(); | |
| pub fn setup_memory_map(); | |
| pub fn default_machine_specific_memory_setup() | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn request_resource_conflict(root: *mut Struct_resource, | |
| new: *mut Struct_resource) | |
| -> *mut Struct_resource; | |
| pub fn request_resource(root: *mut Struct_resource, | |
| new: *mut Struct_resource) | |
| -> ::std::os::raw::c_int; | |
| pub fn release_resource(new: *mut Struct_resource) | |
| -> ::std::os::raw::c_int; | |
| pub fn release_child_resources(new: *mut Struct_resource); | |
| pub fn reserve_region_with_split(root: *mut Struct_resource, | |
| start: resource_size_t, | |
| end: resource_size_t, | |
| name: *const ::std::os::raw::c_char); | |
| pub fn insert_resource_conflict(parent: *mut Struct_resource, | |
| new: *mut Struct_resource) | |
| -> *mut Struct_resource; | |
| pub fn insert_resource(parent: *mut Struct_resource, | |
| new: *mut Struct_resource) | |
| -> ::std::os::raw::c_int; | |
| pub fn insert_resource_expand_to_fit(root: *mut Struct_resource, | |
| new: *mut Struct_resource); | |
| pub fn arch_remove_reservations(avail: *mut Struct_resource); | |
| pub fn allocate_resource(root: *mut Struct_resource, | |
| new: *mut Struct_resource, size: resource_size_t, | |
| min: resource_size_t, max: resource_size_t, | |
| align: resource_size_t, | |
| alignf: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut ::std::os::raw::c_void, | |
| arg2: | |
| *const Struct_resource, | |
| arg3: | |
| resource_size_t, | |
| arg4: | |
| resource_size_t) | |
| -> | |
| resource_size_t>, | |
| alignf_data: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn lookup_resource(root: *mut Struct_resource, start: resource_size_t) | |
| -> *mut Struct_resource; | |
| pub fn adjust_resource(res: *mut Struct_resource, start: resource_size_t, | |
| size: resource_size_t) -> ::std::os::raw::c_int; | |
| pub fn resource_alignment(res: *mut Struct_resource) -> resource_size_t; | |
| pub fn __request_region(arg1: *mut Struct_resource, | |
| start: resource_size_t, n: resource_size_t, | |
| name: *const ::std::os::raw::c_char, | |
| flags: ::std::os::raw::c_int) | |
| -> *mut Struct_resource; | |
| pub fn __release_region(arg1: *mut Struct_resource, arg2: resource_size_t, | |
| arg3: resource_size_t); | |
| pub fn release_mem_region_adjustable(arg1: *mut Struct_resource, | |
| arg2: resource_size_t, | |
| arg3: resource_size_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn devm_request_resource(dev: *mut Struct_device, | |
| root: *mut Struct_resource, | |
| new: *mut Struct_resource) | |
| -> ::std::os::raw::c_int; | |
| pub fn devm_release_resource(dev: *mut Struct_device, | |
| new: *mut Struct_resource); | |
| pub fn __devm_request_region(dev: *mut Struct_device, | |
| parent: *mut Struct_resource, | |
| start: resource_size_t, n: resource_size_t, | |
| name: *const ::std::os::raw::c_char) | |
| -> *mut Struct_resource; | |
| pub fn __devm_release_region(dev: *mut Struct_device, | |
| parent: *mut Struct_resource, | |
| start: resource_size_t, n: resource_size_t); | |
| pub fn iomem_map_sanity_check(addr: resource_size_t, | |
| size: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn iomem_is_exclusive(addr: __u64) -> ::std::os::raw::c_int; | |
| pub fn walk_system_ram_range(start_pfn: ::std::os::raw::c_ulong, | |
| nr_pages: ::std::os::raw::c_ulong, | |
| arg: *mut ::std::os::raw::c_void, | |
| func: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| ::std::os::raw::c_ulong, | |
| arg2: | |
| ::std::os::raw::c_ulong, | |
| arg3: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> ::std::os::raw::c_int; | |
| pub fn walk_system_ram_res(start: __u64, end: __u64, | |
| arg: *mut ::std::os::raw::c_void, | |
| func: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| __u64, | |
| arg2: | |
| __u64, | |
| arg3: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> ::std::os::raw::c_int; | |
| pub fn walk_iomem_res(name: *mut ::std::os::raw::c_char, | |
| flags: ::std::os::raw::c_ulong, start: __u64, | |
| end: __u64, arg: *mut ::std::os::raw::c_void, | |
| func: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| __u64, | |
| arg2: | |
| __u64, | |
| arg3: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> ::std::os::raw::c_int; | |
| pub fn x86_init_noop(); | |
| pub fn x86_init_uint_noop(unused: ::std::os::raw::c_uint); | |
| pub fn early_reserve_e820_mpc_new(); | |
| pub fn default_mpc_apic_id(m: *mut Struct_mpc_cpu) | |
| -> ::std::os::raw::c_int; | |
| pub fn default_smp_read_mpc_oem(mpc: *mut Struct_mpc_table); | |
| pub fn default_mpc_oem_bus_info(m: *mut Struct_mpc_bus, | |
| str: *mut ::std::os::raw::c_char); | |
| pub fn default_find_smp_config(); | |
| pub fn default_get_smp_config(early: ::std::os::raw::c_uint); | |
| pub fn generic_processor_info(apicid: ::std::os::raw::c_int, | |
| version: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn init_timer_key(timer: *mut Struct_timer_list, | |
| flags: ::std::os::raw::c_uint, | |
| name: *const ::std::os::raw::c_char, | |
| key: *mut Struct_lock_class_key); | |
| pub fn add_timer_on(timer: *mut Struct_timer_list, | |
| cpu: ::std::os::raw::c_int); | |
| pub fn del_timer(timer: *mut Struct_timer_list) -> ::std::os::raw::c_int; | |
| pub fn mod_timer(timer: *mut Struct_timer_list, | |
| expires: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn mod_timer_pending(timer: *mut Struct_timer_list, | |
| expires: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn mod_timer_pinned(timer: *mut Struct_timer_list, | |
| expires: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn set_timer_slack(time: *mut Struct_timer_list, | |
| slack_hz: ::std::os::raw::c_int); | |
| pub fn init_timer_stats(); | |
| pub fn timer_stats_update_stats(timer: *mut ::std::os::raw::c_void, | |
| pid: pid_t, | |
| startf: *mut ::std::os::raw::c_void, | |
| timerf: *mut ::std::os::raw::c_void, | |
| comm: *mut ::std::os::raw::c_char, | |
| flags: _u32); | |
| pub fn __timer_stats_timer_set_start_info(timer: *mut Struct_timer_list, | |
| addr: | |
| *mut ::std::os::raw::c_void); | |
| pub fn add_timer(timer: *mut Struct_timer_list); | |
| pub fn try_to_del_timer_sync(timer: *mut Struct_timer_list) | |
| -> ::std::os::raw::c_int; | |
| pub fn del_timer_sync(timer: *mut Struct_timer_list) | |
| -> ::std::os::raw::c_int; | |
| pub fn init_timers(); | |
| pub fn run_local_timers(); | |
| pub fn it_real_fn(arg1: *mut Struct_hrtimer) -> Enum_hrtimer_restart; | |
| pub fn proc_dostring(arg1: *mut Struct_ctl_table, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: *mut ::std::os::raw::c_void, arg4: *mut size_t, | |
| arg5: *mut loff_t) -> ::std::os::raw::c_int; | |
| pub fn proc_dointvec(arg1: *mut Struct_ctl_table, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: *mut ::std::os::raw::c_void, arg4: *mut size_t, | |
| arg5: *mut loff_t) -> ::std::os::raw::c_int; | |
| pub fn proc_dointvec_minmax(arg1: *mut Struct_ctl_table, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: *mut ::std::os::raw::c_void, | |
| arg4: *mut size_t, arg5: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn proc_dointvec_jiffies(arg1: *mut Struct_ctl_table, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: *mut ::std::os::raw::c_void, | |
| arg4: *mut size_t, arg5: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn proc_dointvec_userhz_jiffies(arg1: *mut Struct_ctl_table, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: *mut ::std::os::raw::c_void, | |
| arg4: *mut size_t, arg5: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn proc_dointvec_ms_jiffies(arg1: *mut Struct_ctl_table, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: *mut ::std::os::raw::c_void, | |
| arg4: *mut size_t, arg5: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn proc_doulongvec_minmax(arg1: *mut Struct_ctl_table, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: *mut ::std::os::raw::c_void, | |
| arg4: *mut size_t, arg5: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn proc_doulongvec_ms_jiffies_minmax(table: *mut Struct_ctl_table, | |
| arg1: ::std::os::raw::c_int, | |
| arg2: | |
| *mut ::std::os::raw::c_void, | |
| arg3: *mut size_t, | |
| arg4: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn proc_do_large_bitmap(arg1: *mut Struct_ctl_table, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: *mut ::std::os::raw::c_void, | |
| arg4: *mut size_t, arg5: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn proc_sys_poll_notify(poll: *mut Struct_ctl_table_poll); | |
| pub fn setup_sysctl_set(p: *mut Struct_ctl_table_set, | |
| root: *mut Struct_ctl_table_root, | |
| is_seen: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_ctl_table_set) | |
| -> | |
| ::std::os::raw::c_int>); | |
| pub fn retire_sysctl_set(set: *mut Struct_ctl_table_set); | |
| pub fn register_sysctl_root(root: *mut Struct_ctl_table_root); | |
| pub fn __register_sysctl_table(set: *mut Struct_ctl_table_set, | |
| path: *const ::std::os::raw::c_char, | |
| table: *mut Struct_ctl_table) | |
| -> *mut Struct_ctl_table_header; | |
| pub fn __register_sysctl_paths(set: *mut Struct_ctl_table_set, | |
| path: *const Struct_ctl_path, | |
| table: *mut Struct_ctl_table) | |
| -> *mut Struct_ctl_table_header; | |
| pub fn register_sysctl(path: *const ::std::os::raw::c_char, | |
| table: *mut Struct_ctl_table) | |
| -> *mut Struct_ctl_table_header; | |
| pub fn register_sysctl_table(table: *mut Struct_ctl_table) | |
| -> *mut Struct_ctl_table_header; | |
| pub fn register_sysctl_paths(path: *const Struct_ctl_path, | |
| table: *mut Struct_ctl_table) | |
| -> *mut Struct_ctl_table_header; | |
| pub fn unregister_sysctl_table(table: *mut Struct_ctl_table_header); | |
| pub fn sysctl_init() -> ::std::os::raw::c_int; | |
| pub fn sysctl_max_threads(table: *mut Struct_ctl_table, | |
| write: ::std::os::raw::c_int, | |
| buffer: *mut ::std::os::raw::c_void, | |
| lenp: *mut size_t, ppos: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn timer_migration_handler(table: *mut Struct_ctl_table, | |
| write: ::std::os::raw::c_int, | |
| buffer: *mut ::std::os::raw::c_void, | |
| lenp: *mut size_t, ppos: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn __round_jiffies(j: ::std::os::raw::c_ulong, | |
| cpu: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn __round_jiffies_relative(j: ::std::os::raw::c_ulong, | |
| cpu: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn round_jiffies(j: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn round_jiffies_relative(j: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn __round_jiffies_up(j: ::std::os::raw::c_ulong, | |
| cpu: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn __round_jiffies_up_relative(j: ::std::os::raw::c_ulong, | |
| cpu: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn round_jiffies_up(j: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn round_jiffies_up_relative(j: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn delayed_work_timer_fn(__data: ::std::os::raw::c_ulong); | |
| pub fn __alloc_workqueue_key(fmt: *const ::std::os::raw::c_char, | |
| flags: ::std::os::raw::c_uint, | |
| max_active: ::std::os::raw::c_int, | |
| key: *mut Struct_lock_class_key, | |
| lock_name: | |
| *const ::std::os::raw::c_char, ...) | |
| -> *mut Struct_workqueue_struct; | |
| pub fn destroy_workqueue(wq: *mut Struct_workqueue_struct); | |
| pub fn alloc_workqueue_attrs(gfp_mask: gfp_t) | |
| -> *mut Struct_workqueue_attrs; | |
| pub fn free_workqueue_attrs(attrs: *mut Struct_workqueue_attrs); | |
| pub fn apply_workqueue_attrs(wq: *mut Struct_workqueue_struct, | |
| attrs: *const Struct_workqueue_attrs) | |
| -> ::std::os::raw::c_int; | |
| pub fn workqueue_set_unbound_cpumask(cpumask: cpumask_var_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn queue_work_on(cpu: ::std::os::raw::c_int, | |
| wq: *mut Struct_workqueue_struct, | |
| work: *mut Struct_work_struct) -> _bool; | |
| pub fn queue_delayed_work_on(cpu: ::std::os::raw::c_int, | |
| wq: *mut Struct_workqueue_struct, | |
| work: *mut Struct_delayed_work, | |
| delay: ::std::os::raw::c_ulong) -> _bool; | |
| pub fn mod_delayed_work_on(cpu: ::std::os::raw::c_int, | |
| wq: *mut Struct_workqueue_struct, | |
| dwork: *mut Struct_delayed_work, | |
| delay: ::std::os::raw::c_ulong) -> _bool; | |
| pub fn flush_workqueue(wq: *mut Struct_workqueue_struct); | |
| pub fn drain_workqueue(wq: *mut Struct_workqueue_struct); | |
| pub fn schedule_on_each_cpu(func: work_func_t) -> ::std::os::raw::c_int; | |
| pub fn execute_in_process_context(_fn: work_func_t, | |
| arg1: *mut Struct_execute_work) | |
| -> ::std::os::raw::c_int; | |
| pub fn flush_work(work: *mut Struct_work_struct) -> _bool; | |
| pub fn cancel_work_sync(work: *mut Struct_work_struct) -> _bool; | |
| pub fn flush_delayed_work(dwork: *mut Struct_delayed_work) -> _bool; | |
| pub fn cancel_delayed_work(dwork: *mut Struct_delayed_work) -> _bool; | |
| pub fn cancel_delayed_work_sync(dwork: *mut Struct_delayed_work) -> _bool; | |
| pub fn workqueue_set_max_active(wq: *mut Struct_workqueue_struct, | |
| max_active: ::std::os::raw::c_int); | |
| pub fn current_is_workqueue_rescuer() -> _bool; | |
| pub fn workqueue_congested(cpu: ::std::os::raw::c_int, | |
| wq: *mut Struct_workqueue_struct) -> _bool; | |
| pub fn work_busy(work: *mut Struct_work_struct) -> ::std::os::raw::c_uint; | |
| pub fn set_worker_desc(fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn print_worker_info(log_lvl: *const ::std::os::raw::c_char, | |
| task: *mut Struct_task_struct); | |
| pub fn show_workqueue_state(); | |
| pub fn work_on_cpu(cpu: ::std::os::raw::c_int, | |
| _fn: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_long>, | |
| arg: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_long; | |
| pub fn freeze_workqueues_begin(); | |
| pub fn freeze_workqueues_busy() -> _bool; | |
| pub fn thaw_workqueues(); | |
| pub fn workqueue_sysfs_register(wq: *mut Struct_workqueue_struct) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_vt_switch_required(dev: *mut Struct_device, required: _bool); | |
| pub fn pm_vt_switch_unregister(dev: *mut Struct_device); | |
| pub fn update_pm_runtime_accounting(dev: *mut Struct_device); | |
| pub fn dev_pm_get_subsys_data(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn dev_pm_put_subsys_data(dev: *mut Struct_device); | |
| pub fn device_pm_lock(); | |
| pub fn dpm_resume_start(state: pm_message_t); | |
| pub fn dpm_resume_end(state: pm_message_t); | |
| pub fn dpm_resume_noirq(state: pm_message_t); | |
| pub fn dpm_resume_early(state: pm_message_t); | |
| pub fn dpm_resume(state: pm_message_t); | |
| pub fn dpm_complete(state: pm_message_t); | |
| pub fn device_pm_unlock(); | |
| pub fn dpm_suspend_end(state: pm_message_t) -> ::std::os::raw::c_int; | |
| pub fn dpm_suspend_start(state: pm_message_t) -> ::std::os::raw::c_int; | |
| pub fn dpm_suspend_noirq(state: pm_message_t) -> ::std::os::raw::c_int; | |
| pub fn dpm_suspend_late(state: pm_message_t) -> ::std::os::raw::c_int; | |
| pub fn dpm_suspend(state: pm_message_t) -> ::std::os::raw::c_int; | |
| pub fn dpm_prepare(state: pm_message_t) -> ::std::os::raw::c_int; | |
| pub fn __suspend_report_result(function: *const ::std::os::raw::c_char, | |
| _fn: *mut ::std::os::raw::c_void, | |
| ret: ::std::os::raw::c_int); | |
| pub fn device_pm_wait_for_dev(sub: *mut Struct_device, | |
| dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn dpm_for_each_dev(data: *mut ::std::os::raw::c_void, | |
| _fn: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_device, | |
| arg2: | |
| *mut ::std::os::raw::c_void)>); | |
| pub fn pm_generic_prepare(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_suspend_late(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_suspend_noirq(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_suspend(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_resume_early(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_resume_noirq(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_resume(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_freeze_noirq(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_freeze_late(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_freeze(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_thaw_noirq(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_thaw_early(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_thaw(dev: *mut Struct_device) -> ::std::os::raw::c_int; | |
| pub fn pm_generic_restore_noirq(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_restore_early(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_restore(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_poweroff_noirq(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_poweroff_late(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_poweroff(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pm_generic_complete(dev: *mut Struct_device); | |
| pub fn pm_complete_with_resume_check(dev: *mut Struct_device); | |
| pub fn setup_node_to_cpumask_map(); | |
| pub fn __node_distance(arg1: ::std::os::raw::c_int, | |
| arg2: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn cpu_coregroup_mask(cpu: ::std::os::raw::c_int) | |
| -> *const Struct_cpumask; | |
| pub fn x86_pci_root_bus_node(bus: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn x86_pci_root_bus_resources(bus: ::std::os::raw::c_int, | |
| resources: *mut Struct_list_head); | |
| pub fn numa_add_memblk(nodeid: ::std::os::raw::c_int, start: __u64, | |
| end: __u64) -> ::std::os::raw::c_int; | |
| pub fn numa_set_distance(from: ::std::os::raw::c_int, | |
| to: ::std::os::raw::c_int, | |
| distance: ::std::os::raw::c_int); | |
| pub fn numa_cpu_node(cpu: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
| pub fn numa_set_node(cpu: ::std::os::raw::c_int, | |
| node: ::std::os::raw::c_int); | |
| pub fn numa_clear_node(cpu: ::std::os::raw::c_int); | |
| pub fn init_cpu_to_node(); | |
| pub fn numa_add_cpu(cpu: ::std::os::raw::c_int); | |
| pub fn numa_remove_cpu(cpu: ::std::os::raw::c_int); | |
| pub fn leave_mm(cpu: ::std::os::raw::c_int); | |
| pub fn early_ioremap(phys_addr: resource_size_t, | |
| size: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn early_memremap(phys_addr: resource_size_t, | |
| size: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn early_memremap_ro(phys_addr: resource_size_t, | |
| size: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn early_iounmap(addr: *mut ::std::os::raw::c_void, | |
| size: ::std::os::raw::c_ulong); | |
| pub fn early_memunmap(addr: *mut ::std::os::raw::c_void, | |
| size: ::std::os::raw::c_ulong); | |
| pub fn early_ioremap_shutdown(); | |
| pub fn early_ioremap_init(); | |
| pub fn early_ioremap_setup(); | |
| pub fn early_ioremap_reset(); | |
| pub fn copy_from_early_mem(dest: *mut ::std::os::raw::c_void, | |
| src: phys_addr_t, | |
| size: ::std::os::raw::c_ulong); | |
| pub fn ioremap_nocache(offset: resource_size_t, | |
| size: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn ioremap_uc(offset: resource_size_t, size: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn ioremap_cache(offset: resource_size_t, | |
| size: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn ioremap_prot(offset: resource_size_t, | |
| size: ::std::os::raw::c_ulong, | |
| prot_val: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn iounmap(addr: *mut ::std::os::raw::c_void); | |
| pub fn set_iounmap_nonlazy(); | |
| pub fn ioread8(arg1: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_uint; | |
| pub fn ioread16(arg1: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_uint; | |
| pub fn ioread16be(arg1: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_uint; | |
| pub fn ioread32(arg1: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_uint; | |
| pub fn ioread32be(arg1: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_uint; | |
| pub fn iowrite8(arg1: _u8, arg2: *mut ::std::os::raw::c_void); | |
| pub fn iowrite16(arg1: _u16, arg2: *mut ::std::os::raw::c_void); | |
| pub fn iowrite16be(arg1: _u16, arg2: *mut ::std::os::raw::c_void); | |
| pub fn iowrite32(arg1: _u32, arg2: *mut ::std::os::raw::c_void); | |
| pub fn iowrite32be(arg1: _u32, arg2: *mut ::std::os::raw::c_void); | |
| pub fn ioread8_rep(port: *mut ::std::os::raw::c_void, | |
| buf: *mut ::std::os::raw::c_void, | |
| count: ::std::os::raw::c_ulong); | |
| pub fn ioread16_rep(port: *mut ::std::os::raw::c_void, | |
| buf: *mut ::std::os::raw::c_void, | |
| count: ::std::os::raw::c_ulong); | |
| pub fn ioread32_rep(port: *mut ::std::os::raw::c_void, | |
| buf: *mut ::std::os::raw::c_void, | |
| count: ::std::os::raw::c_ulong); | |
| pub fn iowrite8_rep(port: *mut ::std::os::raw::c_void, | |
| buf: *const ::std::os::raw::c_void, | |
| count: ::std::os::raw::c_ulong); | |
| pub fn iowrite16_rep(port: *mut ::std::os::raw::c_void, | |
| buf: *const ::std::os::raw::c_void, | |
| count: ::std::os::raw::c_ulong); | |
| pub fn iowrite32_rep(port: *mut ::std::os::raw::c_void, | |
| buf: *const ::std::os::raw::c_void, | |
| count: ::std::os::raw::c_ulong); | |
| pub fn ioport_map(port: ::std::os::raw::c_ulong, | |
| nr: ::std::os::raw::c_uint) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn ioport_unmap(arg1: *mut ::std::os::raw::c_void); | |
| pub fn pci_iounmap(dev: *mut Struct_pci_dev, | |
| arg1: *mut ::std::os::raw::c_void); | |
| pub fn pci_iomap(dev: *mut Struct_pci_dev, bar: ::std::os::raw::c_int, | |
| max: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn pci_iomap_wc(dev: *mut Struct_pci_dev, bar: ::std::os::raw::c_int, | |
| max: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn pci_iomap_range(dev: *mut Struct_pci_dev, | |
| bar: ::std::os::raw::c_int, | |
| offset: ::std::os::raw::c_ulong, | |
| maxlen: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn pci_iomap_wc_range(dev: *mut Struct_pci_dev, | |
| bar: ::std::os::raw::c_int, | |
| offset: ::std::os::raw::c_ulong, | |
| maxlen: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn native_io_delay(); | |
| pub fn io_delay_init(); | |
| pub fn xlate_dev_mem_ptr(phys: phys_addr_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn unxlate_dev_mem_ptr(phys: phys_addr_t, | |
| addr: *mut ::std::os::raw::c_void); | |
| pub fn ioremap_change_attr(vaddr: ::std::os::raw::c_ulong, | |
| size: ::std::os::raw::c_ulong, | |
| pcm: Enum_page_cache_mode) | |
| -> ::std::os::raw::c_int; | |
| pub fn ioremap_wc(offset: resource_size_t, size: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn ioremap_wt(offset: resource_size_t, size: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn is_early_ioremap_ptep(ptep: *mut pte_t) -> _bool; | |
| pub fn xen_hvm_need_lapic() -> _bool; | |
| pub fn xen_arch_register_cpu(num: ::std::os::raw::c_int); | |
| pub fn xen_arch_unregister_cpu(num: ::std::os::raw::c_int); | |
| pub fn xen_setup_features(); | |
| pub fn xen_biovec_phys_mergeable(vec1: *const Struct_bio_vec, | |
| vec2: *const Struct_bio_vec) -> _bool; | |
| pub fn arch_phys_wc_index(handle: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn arch_phys_wc_add(base: ::std::os::raw::c_ulong, | |
| size: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn arch_phys_wc_del(handle: ::std::os::raw::c_int); | |
| pub fn reserve_real_mode(); | |
| pub fn setup_real_mode(); | |
| pub fn acpi_pic_sci_set_trigger(arg1: ::std::os::raw::c_uint, arg2: _u16); | |
| pub fn acpi_gsi_to_irq(gsi: _u32, irq: *mut ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn x86_acpi_numa_init() -> ::std::os::raw::c_int; | |
| pub fn clocksource_unregister(arg1: *mut Struct_clocksource) | |
| -> ::std::os::raw::c_int; | |
| pub fn clocksource_touch_watchdog(); | |
| pub fn clocksource_change_rating(cs: *mut Struct_clocksource, | |
| rating: ::std::os::raw::c_int); | |
| pub fn clocksource_suspend(); | |
| pub fn clocksource_resume(); | |
| pub fn clocksource_default_clock() -> *mut Struct_clocksource; | |
| pub fn clocksource_mark_unstable(cs: *mut Struct_clocksource); | |
| pub fn clocks_calc_max_nsecs(mult: _u32, shift: _u32, maxadj: _u32, | |
| mask: __u64, max_cycles: *mut __u64) | |
| -> __u64; | |
| pub fn clocks_calc_mult_shift(mult: *mut _u32, shift: *mut _u32, | |
| from: _u32, to: _u32, minsec: _u32); | |
| pub fn __clocksource_register_scale(cs: *mut Struct_clocksource, | |
| scale: _u32, freq: _u32) | |
| -> ::std::os::raw::c_int; | |
| pub fn __clocksource_update_freq_scale(cs: *mut Struct_clocksource, | |
| scale: _u32, freq: _u32); | |
| pub fn timekeeping_notify(clock: *mut Struct_clocksource) | |
| -> ::std::os::raw::c_int; | |
| pub fn clocksource_mmio_readl_up(arg1: *mut Struct_clocksource) | |
| -> cycle_t; | |
| pub fn clocksource_mmio_readl_down(arg1: *mut Struct_clocksource) | |
| -> cycle_t; | |
| pub fn clocksource_mmio_readw_up(arg1: *mut Struct_clocksource) | |
| -> cycle_t; | |
| pub fn clocksource_mmio_readw_down(arg1: *mut Struct_clocksource) | |
| -> cycle_t; | |
| pub fn clocksource_mmio_init(arg1: *mut ::std::os::raw::c_void, | |
| arg2: *const ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_ulong, | |
| arg4: ::std::os::raw::c_int, | |
| arg5: ::std::os::raw::c_uint, | |
| arg6: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_clocksource) | |
| -> cycle_t>) | |
| -> ::std::os::raw::c_int; | |
| pub fn clocksource_i8253_init() -> ::std::os::raw::c_int; | |
| pub fn pvclock_clocksource_read(src: *mut Struct_pvclock_vcpu_time_info) | |
| -> cycle_t; | |
| pub fn pvclock_read_flags(src: *mut Struct_pvclock_vcpu_time_info) -> _u8; | |
| pub fn pvclock_set_flags(flags: _u8); | |
| pub fn pvclock_tsc_khz(src: *mut Struct_pvclock_vcpu_time_info) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn pvclock_read_wallclock(wall: *mut Struct_pvclock_wall_clock, | |
| vcpu: *mut Struct_pvclock_vcpu_time_info, | |
| ts: *mut Struct_timespec); | |
| pub fn pvclock_resume(); | |
| pub fn pvclock_touch_watchdogs(); | |
| pub fn pvclock_init_vsyscall(i: *mut Struct_pvclock_vsyscall_time_info, | |
| size: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn pvclock_get_vsyscall_time_info(cpu: ::std::os::raw::c_int) | |
| -> *mut Struct_pvclock_vcpu_time_info; | |
| pub fn reserve_top_address(reserve: ::std::os::raw::c_ulong); | |
| pub fn __native_set_fixmap(idx: Enum_fixed_addresses, pte: pte_t); | |
| pub fn native_set_fixmap(idx: Enum_fixed_addresses, phys: phys_addr_t, | |
| flags: pgprot_t); | |
| pub fn __early_set_fixmap(idx: Enum_fixed_addresses, phys: phys_addr_t, | |
| flags: pgprot_t); | |
| pub fn idle_notifier_register(n: *mut Struct_notifier_block); | |
| pub fn idle_notifier_unregister(n: *mut Struct_notifier_block); | |
| pub fn enter_idle(); | |
| pub fn exit_idle(); | |
| pub fn amd_e400_remove_cpu(cpu: ::std::os::raw::c_int); | |
| pub fn __inquire_remote_apic(apicid: ::std::os::raw::c_int); | |
| pub fn setup_profiling_timer(arg1: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn native_apic_wait_icr_idle(); | |
| pub fn native_safe_apic_wait_icr_idle() -> _u32; | |
| pub fn native_apic_icr_write(low: _u32, id: _u32); | |
| pub fn native_apic_icr_read() -> __u64; | |
| pub fn enable_IR_x2apic(); | |
| pub fn get_physical_broadcast() -> ::std::os::raw::c_int; | |
| pub fn lapic_get_maxlvt() -> ::std::os::raw::c_int; | |
| pub fn clear_local_APIC(); | |
| pub fn disconnect_bsp_APIC(virt_wire_setup: ::std::os::raw::c_int); | |
| pub fn disable_local_APIC(); | |
| pub fn lapic_shutdown(); | |
| pub fn sync_Arb_IDs(); | |
| pub fn init_bsp_APIC(); | |
| pub fn setup_local_APIC(); | |
| pub fn init_apic_mappings(); | |
| pub fn register_lapic_address(address: ::std::os::raw::c_ulong); | |
| pub fn setup_boot_APIC_clock(); | |
| pub fn setup_secondary_APIC_clock(); | |
| pub fn APIC_init_uniprocessor() -> ::std::os::raw::c_int; | |
| pub fn apic_bsp_setup(upmode: _bool) -> ::std::os::raw::c_int; | |
| pub fn apic_ap_setup(); | |
| pub fn apic_is_clustered_box() -> ::std::os::raw::c_int; | |
| pub fn setup_APIC_eilvt(lvt_off: _u8, vector: _u8, msg_type: _u8, | |
| mask: _u8) -> ::std::os::raw::c_int; | |
| pub fn check_x2apic(); | |
| pub fn x2apic_setup(); | |
| pub fn wakeup_secondary_cpu_via_nmi(apicid: ::std::os::raw::c_int, | |
| start_eip: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn apic_set_eoi_write(eoi_write: | |
| ::std::option::Option<extern "C" fn(reg: | |
| _u32, | |
| v: | |
| _u32)>); | |
| pub fn apic_send_IPI_self(vector: ::std::os::raw::c_int); | |
| pub fn default_cpu_present_to_apicid(mps_cpu: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn default_check_phys_apicid_present(phys_apicid: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn generic_bigsmp_probe(); | |
| pub fn default_acpi_madt_oem_check(arg1: *mut ::std::os::raw::c_char, | |
| arg2: *mut ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn default_setup_apic_routing(); | |
| pub fn default_cpu_mask_to_apicid_and(cpumask: *const Struct_cpumask, | |
| andmask: *const Struct_cpumask, | |
| apicid: *mut ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn irq_enter(); | |
| pub fn irq_exit(); | |
| pub fn ioapic_zap_locks(); | |
| pub fn mpc_ioapic_id(ioapic: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn mpc_ioapic_addr(ioapic: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_uint; | |
| pub fn ioapic_insert_resources(); | |
| pub fn arch_early_ioapic_init() -> ::std::os::raw::c_int; | |
| pub fn save_ioapic_entries() -> ::std::os::raw::c_int; | |
| pub fn mask_ioapic_entries(); | |
| pub fn restore_ioapic_entries() -> ::std::os::raw::c_int; | |
| pub fn setup_ioapic_ids_from_mpc(); | |
| pub fn setup_ioapic_ids_from_mpc_nocheck(); | |
| pub fn mp_find_ioapic(gsi: _u32) -> ::std::os::raw::c_int; | |
| pub fn mp_find_ioapic_pin(ioapic: ::std::os::raw::c_int, gsi: _u32) | |
| -> ::std::os::raw::c_int; | |
| pub fn mp_map_gsi_to_irq(gsi: _u32, flags: ::std::os::raw::c_uint, | |
| info: *mut Struct_irq_alloc_info) | |
| -> ::std::os::raw::c_int; | |
| pub fn mp_unmap_irq(irq: ::std::os::raw::c_int); | |
| pub fn mp_register_ioapic(id: ::std::os::raw::c_int, address: _u32, | |
| gsi_base: _u32, | |
| cfg: *mut Struct_ioapic_domain_cfg) | |
| -> ::std::os::raw::c_int; | |
| pub fn mp_unregister_ioapic(gsi_base: _u32) -> ::std::os::raw::c_int; | |
| pub fn mp_ioapic_registered(gsi_base: _u32) -> ::std::os::raw::c_int; | |
| pub fn ioapic_set_alloc_attr(info: *mut Struct_irq_alloc_info, | |
| node: ::std::os::raw::c_int, | |
| trigger: ::std::os::raw::c_int, | |
| polarity: ::std::os::raw::c_int); | |
| pub fn mp_save_irq(m: *mut Struct_mpc_intsrc); | |
| pub fn disable_ioapic_support(); | |
| pub fn io_apic_init_mappings(); | |
| pub fn native_io_apic_read(apic: ::std::os::raw::c_uint, | |
| reg: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_uint; | |
| pub fn native_disable_io_apic(); | |
| pub fn setup_IO_APIC(); | |
| pub fn enable_IO_APIC(); | |
| pub fn disable_IO_APIC(); | |
| pub fn setup_ioapic_dest(); | |
| pub fn IO_APIC_get_PCI_irq_vector(bus: ::std::os::raw::c_int, | |
| devfn: ::std::os::raw::c_int, | |
| pin: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn print_IO_APICs(); | |
| pub fn set_cpu_sibling_map(cpu: ::std::os::raw::c_int); | |
| pub fn cpu_disable_common(); | |
| pub fn native_smp_prepare_boot_cpu(); | |
| pub fn native_smp_prepare_cpus(max_cpus: ::std::os::raw::c_uint); | |
| pub fn native_smp_cpus_done(max_cpus: ::std::os::raw::c_uint); | |
| pub fn common_cpu_up(cpunum: ::std::os::raw::c_uint, | |
| tidle: *mut Struct_task_struct); | |
| pub fn native_cpu_up(cpunum: ::std::os::raw::c_uint, | |
| tidle: *mut Struct_task_struct) | |
| -> ::std::os::raw::c_int; | |
| pub fn native_cpu_disable() -> ::std::os::raw::c_int; | |
| pub fn common_cpu_die(cpu: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn native_cpu_die(cpu: ::std::os::raw::c_uint); | |
| pub fn native_play_dead(); | |
| pub fn play_dead_common(); | |
| pub fn wbinvd_on_cpu(cpu: ::std::os::raw::c_int); | |
| pub fn wbinvd_on_all_cpus() -> ::std::os::raw::c_int; | |
| pub fn native_send_call_func_ipi(mask: *const Struct_cpumask); | |
| pub fn native_send_call_func_single_ipi(cpu: ::std::os::raw::c_int); | |
| pub fn x86_idle_thread_init(cpu: ::std::os::raw::c_uint, | |
| idle: *mut Struct_task_struct); | |
| pub fn smp_store_boot_cpu_info(); | |
| pub fn smp_store_cpu_info(id: ::std::os::raw::c_int); | |
| pub fn hard_smp_processor_id() -> ::std::os::raw::c_int; | |
| pub fn smp_call_function(func: smp_call_func_t, | |
| info: *mut ::std::os::raw::c_void, | |
| wait: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn smp_call_function_many(mask: *const Struct_cpumask, | |
| func: smp_call_func_t, | |
| info: *mut ::std::os::raw::c_void, | |
| wait: _bool); | |
| pub fn smp_call_function_any(mask: *const Struct_cpumask, | |
| func: smp_call_func_t, | |
| info: *mut ::std::os::raw::c_void, | |
| wait: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn kick_all_cpus_sync(); | |
| pub fn wake_up_all_idle_cpus(); | |
| pub fn call_function_init(); | |
| pub fn generic_smp_call_function_single_interrupt(); | |
| pub fn setup_nr_cpu_ids(); | |
| pub fn smp_init(); | |
| pub fn arch_disable_smp_support(); | |
| pub fn arch_enable_nonboot_cpus_begin(); | |
| pub fn arch_enable_nonboot_cpus_end(); | |
| pub fn smp_setup_processor_id(); | |
| pub fn pcpu_alloc_alloc_info(nr_groups: ::std::os::raw::c_int, | |
| nr_units: ::std::os::raw::c_int) | |
| -> *mut Struct_pcpu_alloc_info; | |
| pub fn pcpu_free_alloc_info(ai: *mut Struct_pcpu_alloc_info); | |
| pub fn pcpu_setup_first_chunk(ai: *const Struct_pcpu_alloc_info, | |
| base_addr: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn pcpu_embed_first_chunk(reserved_size: size_t, dyn_size: size_t, | |
| atom_size: size_t, | |
| cpu_distance_fn: pcpu_fc_cpu_distance_fn_t, | |
| alloc_fn: pcpu_fc_alloc_fn_t, | |
| free_fn: pcpu_fc_free_fn_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn pcpu_page_first_chunk(reserved_size: size_t, | |
| alloc_fn: pcpu_fc_alloc_fn_t, | |
| free_fn: pcpu_fc_free_fn_t, | |
| populate_pte_fn: pcpu_fc_populate_pte_fn_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn __alloc_reserved_percpu(size: size_t, align: size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn is_kernel_percpu_address(addr: ::std::os::raw::c_ulong) -> _bool; | |
| pub fn percpu_init_late(); | |
| pub fn __alloc_percpu_gfp(size: size_t, align: size_t, gfp: gfp_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn __alloc_percpu(size: size_t, align: size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn free_percpu(__pdata: *mut ::std::os::raw::c_void); | |
| pub fn per_cpu_ptr_to_phys(addr: *mut ::std::os::raw::c_void) | |
| -> phys_addr_t; | |
| pub fn rcu_sync_lockdep_assert(arg1: *mut Struct_rcu_sync); | |
| pub fn rcu_sync_init(arg1: *mut Struct_rcu_sync, | |
| arg2: Enum_rcu_sync_type); | |
| pub fn rcu_sync_enter(arg1: *mut Struct_rcu_sync); | |
| pub fn rcu_sync_exit(arg1: *mut Struct_rcu_sync); | |
| pub fn rcu_sync_dtor(arg1: *mut Struct_rcu_sync); | |
| pub fn percpu_down_read(arg1: *mut Struct_percpu_rw_semaphore); | |
| pub fn percpu_down_read_trylock(arg1: *mut Struct_percpu_rw_semaphore) | |
| -> ::std::os::raw::c_int; | |
| pub fn percpu_up_read(arg1: *mut Struct_percpu_rw_semaphore); | |
| pub fn percpu_down_write(arg1: *mut Struct_percpu_rw_semaphore); | |
| pub fn percpu_up_write(arg1: *mut Struct_percpu_rw_semaphore); | |
| pub fn __percpu_init_rwsem(arg1: *mut Struct_percpu_rw_semaphore, | |
| arg2: *const ::std::os::raw::c_char, | |
| arg3: *mut Struct_lock_class_key) | |
| -> ::std::os::raw::c_int; | |
| pub fn percpu_free_rwsem(arg1: *mut Struct_percpu_rw_semaphore); | |
| pub fn inode_init(); | |
| pub fn inode_init_early(); | |
| pub fn files_init(); | |
| pub fn files_maxfiles_init(); | |
| pub fn get_max_files() -> ::std::os::raw::c_ulong; | |
| pub fn get_pfnblock_flags_mask(page: *mut Struct_page, | |
| pfn: ::std::os::raw::c_ulong, | |
| end_bitidx: ::std::os::raw::c_ulong, | |
| mask: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn set_pfnblock_flags_mask(page: *mut Struct_page, | |
| flags: ::std::os::raw::c_ulong, | |
| pfn: ::std::os::raw::c_ulong, | |
| end_bitidx: ::std::os::raw::c_ulong, | |
| mask: ::std::os::raw::c_ulong); | |
| pub fn init_srcu_struct(sp: *mut Struct_srcu_struct) | |
| -> ::std::os::raw::c_int; | |
| pub fn process_srcu(work: *mut Struct_work_struct); | |
| pub fn call_srcu(sp: *mut Struct_srcu_struct, | |
| head: *mut Struct_callback_head, | |
| func: | |
| ::std::option::Option<unsafe extern "C" fn(head: | |
| *mut Struct_callback_head)>); | |
| pub fn cleanup_srcu_struct(sp: *mut Struct_srcu_struct); | |
| pub fn __srcu_read_lock(sp: *mut Struct_srcu_struct) | |
| -> ::std::os::raw::c_int; | |
| pub fn __srcu_read_unlock(sp: *mut Struct_srcu_struct, | |
| idx: ::std::os::raw::c_int); | |
| pub fn synchronize_srcu(sp: *mut Struct_srcu_struct); | |
| pub fn synchronize_srcu_expedited(sp: *mut Struct_srcu_struct); | |
| pub fn srcu_batches_completed(sp: *mut Struct_srcu_struct) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn srcu_barrier(sp: *mut Struct_srcu_struct); | |
| pub fn srcu_init_notifier_head(nh: *mut Struct_srcu_notifier_head); | |
| pub fn atomic_notifier_chain_register(nh: | |
| *mut Struct_atomic_notifier_head, | |
| nb: *mut Struct_notifier_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn blocking_notifier_chain_register(nh: | |
| *mut Struct_blocking_notifier_head, | |
| nb: *mut Struct_notifier_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn raw_notifier_chain_register(nh: *mut Struct_raw_notifier_head, | |
| nb: *mut Struct_notifier_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn srcu_notifier_chain_register(nh: *mut Struct_srcu_notifier_head, | |
| nb: *mut Struct_notifier_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn blocking_notifier_chain_cond_register(nh: | |
| *mut Struct_blocking_notifier_head, | |
| nb: | |
| *mut Struct_notifier_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn atomic_notifier_chain_unregister(nh: | |
| *mut Struct_atomic_notifier_head, | |
| nb: *mut Struct_notifier_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn blocking_notifier_chain_unregister(nh: | |
| *mut Struct_blocking_notifier_head, | |
| nb: *mut Struct_notifier_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn raw_notifier_chain_unregister(nh: *mut Struct_raw_notifier_head, | |
| nb: *mut Struct_notifier_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn srcu_notifier_chain_unregister(nh: *mut Struct_srcu_notifier_head, | |
| nb: *mut Struct_notifier_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn atomic_notifier_call_chain(nh: *mut Struct_atomic_notifier_head, | |
| val: ::std::os::raw::c_ulong, | |
| v: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn __atomic_notifier_call_chain(nh: *mut Struct_atomic_notifier_head, | |
| val: ::std::os::raw::c_ulong, | |
| v: *mut ::std::os::raw::c_void, | |
| nr_to_call: ::std::os::raw::c_int, | |
| nr_calls: *mut ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn blocking_notifier_call_chain(nh: | |
| *mut Struct_blocking_notifier_head, | |
| val: ::std::os::raw::c_ulong, | |
| v: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn __blocking_notifier_call_chain(nh: | |
| *mut Struct_blocking_notifier_head, | |
| val: ::std::os::raw::c_ulong, | |
| v: *mut ::std::os::raw::c_void, | |
| nr_to_call: ::std::os::raw::c_int, | |
| nr_calls: | |
| *mut ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn raw_notifier_call_chain(nh: *mut Struct_raw_notifier_head, | |
| val: ::std::os::raw::c_ulong, | |
| v: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn __raw_notifier_call_chain(nh: *mut Struct_raw_notifier_head, | |
| val: ::std::os::raw::c_ulong, | |
| v: *mut ::std::os::raw::c_void, | |
| nr_to_call: ::std::os::raw::c_int, | |
| nr_calls: *mut ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn srcu_notifier_call_chain(nh: *mut Struct_srcu_notifier_head, | |
| val: ::std::os::raw::c_ulong, | |
| v: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn __srcu_notifier_call_chain(nh: *mut Struct_srcu_notifier_head, | |
| val: ::std::os::raw::c_ulong, | |
| v: *mut ::std::os::raw::c_void, | |
| nr_to_call: ::std::os::raw::c_int, | |
| nr_calls: *mut ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn zone_grow_free_lists(zone: *mut Struct_zone, | |
| new_nr_pages: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn zone_grow_waitqueues(zone: *mut Struct_zone, | |
| nr_pages: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn add_one_highpage(page: *mut Struct_page, | |
| pfn: ::std::os::raw::c_int, | |
| bad_ppro: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn online_pages(arg1: ::std::os::raw::c_ulong, | |
| arg2: ::std::os::raw::c_ulong, | |
| arg3: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
| pub fn test_pages_in_a_zone(arg1: ::std::os::raw::c_ulong, | |
| arg2: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn __offline_isolated_pages(arg1: ::std::os::raw::c_ulong, | |
| arg2: ::std::os::raw::c_ulong); | |
| pub fn set_online_page_callback(callback: online_page_callback_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn restore_online_page_callback(callback: online_page_callback_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn __online_page_set_limits(page: *mut Struct_page); | |
| pub fn __online_page_increment_counters(page: *mut Struct_page); | |
| pub fn __online_page_free(page: *mut Struct_page); | |
| pub fn try_online_node(nid: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn is_pageblock_removable_nolock(page: *mut Struct_page) -> _bool; | |
| pub fn arch_remove_memory(start: __u64, size: __u64) | |
| -> ::std::os::raw::c_int; | |
| pub fn __remove_pages(zone: *mut Struct_zone, | |
| start_pfn: ::std::os::raw::c_ulong, | |
| nr_pages: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn __add_pages(nid: ::std::os::raw::c_int, zone: *mut Struct_zone, | |
| start_pfn: ::std::os::raw::c_ulong, | |
| nr_pages: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn memory_add_physaddr_to_nid(start: __u64) -> ::std::os::raw::c_int; | |
| pub fn register_page_bootmem_info_node(pgdat: *mut Struct_pglist_data); | |
| pub fn put_page_bootmem(page: *mut Struct_page); | |
| pub fn get_page_bootmem(ingo: ::std::os::raw::c_ulong, | |
| page: *mut Struct_page, | |
| _type: ::std::os::raw::c_ulong); | |
| pub fn get_online_mems(); | |
| pub fn put_online_mems(); | |
| pub fn mem_hotplug_begin(); | |
| pub fn mem_hotplug_done(); | |
| pub fn is_mem_section_removable(pfn: ::std::os::raw::c_ulong, | |
| nr_pages: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn try_offline_node(nid: ::std::os::raw::c_int); | |
| pub fn offline_pages(start_pfn: ::std::os::raw::c_ulong, | |
| nr_pages: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn remove_memory(nid: ::std::os::raw::c_int, start: __u64, | |
| size: __u64); | |
| pub fn walk_memory_range(start_pfn: ::std::os::raw::c_ulong, | |
| end_pfn: ::std::os::raw::c_ulong, | |
| arg: *mut ::std::os::raw::c_void, | |
| func: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_memory_block, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> ::std::os::raw::c_int; | |
| pub fn add_memory(nid: ::std::os::raw::c_int, start: __u64, size: __u64) | |
| -> ::std::os::raw::c_int; | |
| pub fn add_memory_resource(nid: ::std::os::raw::c_int, | |
| resource: *mut Struct_resource) | |
| -> ::std::os::raw::c_int; | |
| pub fn zone_for_memory(nid: ::std::os::raw::c_int, start: __u64, | |
| size: __u64, zone_default: ::std::os::raw::c_int, | |
| for_device: _bool) -> ::std::os::raw::c_int; | |
| pub fn arch_add_memory(nid: ::std::os::raw::c_int, start: __u64, | |
| size: __u64, for_device: _bool) | |
| -> ::std::os::raw::c_int; | |
| pub fn is_memblock_offlined(mem: *mut Struct_memory_block) -> _bool; | |
| pub fn sparse_add_one_section(zone: *mut Struct_zone, | |
| start_pfn: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn sparse_remove_one_section(zone: *mut Struct_zone, | |
| ms: *mut Struct_mem_section); | |
| pub fn sparse_decode_mem_map(coded_mem_map: ::std::os::raw::c_ulong, | |
| pnum: ::std::os::raw::c_ulong) | |
| -> *mut Struct_page; | |
| pub fn build_all_zonelists(pgdat: *mut pg_data_t, zone: *mut Struct_zone); | |
| pub fn wakeup_kswapd(zone: *mut Struct_zone, order: ::std::os::raw::c_int, | |
| classzone_idx: Enum_zone_type); | |
| pub fn zone_watermark_ok(z: *mut Struct_zone, | |
| order: ::std::os::raw::c_uint, | |
| mark: ::std::os::raw::c_ulong, | |
| classzone_idx: ::std::os::raw::c_int, | |
| alloc_flags: ::std::os::raw::c_int) -> _bool; | |
| pub fn zone_watermark_ok_safe(z: *mut Struct_zone, | |
| order: ::std::os::raw::c_uint, | |
| mark: ::std::os::raw::c_ulong, | |
| classzone_idx: ::std::os::raw::c_int) | |
| -> _bool; | |
| pub fn init_currently_empty_zone(zone: *mut Struct_zone, | |
| start_pfn: ::std::os::raw::c_ulong, | |
| size: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn lruvec_init(lruvec: *mut Struct_lruvec); | |
| pub fn memory_present(nid: ::std::os::raw::c_int, | |
| start: ::std::os::raw::c_ulong, | |
| end: ::std::os::raw::c_ulong); | |
| pub fn min_free_kbytes_sysctl_handler(arg1: *mut Struct_ctl_table, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: *mut ::std::os::raw::c_void, | |
| arg4: *mut size_t, | |
| arg5: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn lowmem_reserve_ratio_sysctl_handler(arg1: *mut Struct_ctl_table, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: | |
| *mut ::std::os::raw::c_void, | |
| arg4: *mut size_t, | |
| arg5: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn percpu_pagelist_fraction_sysctl_handler(arg1: | |
| *mut Struct_ctl_table, | |
| arg2: | |
| ::std::os::raw::c_int, | |
| arg3: | |
| *mut ::std::os::raw::c_void, | |
| arg4: *mut size_t, | |
| arg5: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysctl_min_unmapped_ratio_sysctl_handler(arg1: | |
| *mut Struct_ctl_table, | |
| arg2: | |
| ::std::os::raw::c_int, | |
| arg3: | |
| *mut ::std::os::raw::c_void, | |
| arg4: *mut size_t, | |
| arg5: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysctl_min_slab_ratio_sysctl_handler(arg1: *mut Struct_ctl_table, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: | |
| *mut ::std::os::raw::c_void, | |
| arg4: *mut size_t, | |
| arg5: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn numa_zonelist_order_handler(arg1: *mut Struct_ctl_table, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: *mut ::std::os::raw::c_void, | |
| arg4: *mut size_t, arg5: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn first_online_pgdat() -> *mut Struct_pglist_data; | |
| pub fn next_online_pgdat(pgdat: *mut Struct_pglist_data) | |
| -> *mut Struct_pglist_data; | |
| pub fn next_zone(zone: *mut Struct_zone) -> *mut Struct_zone; | |
| pub fn next_zones_zonelist(z: *mut Struct_zoneref, | |
| highest_zoneidx: Enum_zone_type, | |
| nodes: *mut nodemask_t) -> *mut Struct_zoneref; | |
| pub fn __section_nr(ms: *mut Struct_mem_section) -> ::std::os::raw::c_int; | |
| pub fn usemap_size() -> ::std::os::raw::c_ulong; | |
| pub fn sparse_init(); | |
| pub fn node_memmap_size_bytes(arg1: ::std::os::raw::c_int, | |
| arg2: ::std::os::raw::c_ulong, | |
| arg3: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn arch_update_cpu_topology() -> ::std::os::raw::c_int; | |
| pub fn __alloc_pages_nodemask(gfp_mask: gfp_t, | |
| order: ::std::os::raw::c_uint, | |
| zonelist: *mut Struct_zonelist, | |
| nodemask: *mut nodemask_t) | |
| -> *mut Struct_page; | |
| pub fn alloc_pages_current(gfp_mask: gfp_t, order: ::std::os::raw::c_uint) | |
| -> *mut Struct_page; | |
| pub fn alloc_pages_vma(gfp_mask: gfp_t, order: ::std::os::raw::c_int, | |
| vma: *mut Struct_vm_area_struct, | |
| addr: ::std::os::raw::c_ulong, | |
| node: ::std::os::raw::c_int, hugepage: _bool) | |
| -> *mut Struct_page; | |
| pub fn alloc_kmem_pages(gfp_mask: gfp_t, order: ::std::os::raw::c_uint) | |
| -> *mut Struct_page; | |
| pub fn alloc_kmem_pages_node(nid: ::std::os::raw::c_int, gfp_mask: gfp_t, | |
| order: ::std::os::raw::c_uint) | |
| -> *mut Struct_page; | |
| pub fn __get_free_pages(gfp_mask: gfp_t, order: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn get_zeroed_page(gfp_mask: gfp_t) -> ::std::os::raw::c_ulong; | |
| pub fn alloc_pages_exact(size: size_t, gfp_mask: gfp_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn free_pages_exact(virt: *mut ::std::os::raw::c_void, size: size_t); | |
| pub fn alloc_pages_exact_nid(nid: ::std::os::raw::c_int, size: size_t, | |
| gfp_mask: gfp_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn __free_pages(page: *mut Struct_page, | |
| order: ::std::os::raw::c_uint); | |
| pub fn free_pages(addr: ::std::os::raw::c_ulong, | |
| order: ::std::os::raw::c_uint); | |
| pub fn free_hot_cold_page(page: *mut Struct_page, cold: _bool); | |
| pub fn free_hot_cold_page_list(list: *mut Struct_list_head, cold: _bool); | |
| pub fn __alloc_page_frag(nc: *mut Struct_page_frag_cache, | |
| fragsz: ::std::os::raw::c_uint, gfp_mask: gfp_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn __free_page_frag(addr: *mut ::std::os::raw::c_void); | |
| pub fn __free_kmem_pages(page: *mut Struct_page, | |
| order: ::std::os::raw::c_uint); | |
| pub fn free_kmem_pages(addr: ::std::os::raw::c_ulong, | |
| order: ::std::os::raw::c_uint); | |
| pub fn page_alloc_init(); | |
| pub fn drain_zone_pages(zone: *mut Struct_zone, | |
| pcp: *mut Struct_per_cpu_pages); | |
| pub fn drain_all_pages(zone: *mut Struct_zone); | |
| pub fn drain_local_pages(zone: *mut Struct_zone); | |
| pub fn gfp_pfmemalloc_allowed(gfp_mask: gfp_t) -> _bool; | |
| pub fn pm_restrict_gfp_mask(); | |
| pub fn pm_restore_gfp_mask(); | |
| pub fn pm_suspended_storage() -> _bool; | |
| pub fn alloc_contig_range(start: ::std::os::raw::c_ulong, | |
| end: ::std::os::raw::c_ulong, | |
| migratetype: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn free_contig_range(pfn: ::std::os::raw::c_ulong, | |
| nr_pages: ::std::os::raw::c_uint); | |
| pub fn init_cma_reserved_pageblock(page: *mut Struct_page); | |
| pub fn __percpu_counter_init(fbc: *mut Struct_percpu_counter, amount: s64, | |
| gfp: gfp_t, key: *mut Struct_lock_class_key) | |
| -> ::std::os::raw::c_int; | |
| pub fn percpu_counter_destroy(fbc: *mut Struct_percpu_counter); | |
| pub fn percpu_counter_set(fbc: *mut Struct_percpu_counter, amount: s64); | |
| pub fn __percpu_counter_add(fbc: *mut Struct_percpu_counter, amount: s64, | |
| batch: s32); | |
| pub fn __percpu_counter_sum(fbc: *mut Struct_percpu_counter) -> s64; | |
| pub fn __percpu_counter_compare(fbc: *mut Struct_percpu_counter, rhs: s64, | |
| batch: s32) -> ::std::os::raw::c_int; | |
| pub fn qtree_write_dquot(info: *mut Struct_qtree_mem_dqinfo, | |
| dquot: *mut Struct_dquot) | |
| -> ::std::os::raw::c_int; | |
| pub fn qtree_read_dquot(info: *mut Struct_qtree_mem_dqinfo, | |
| dquot: *mut Struct_dquot) | |
| -> ::std::os::raw::c_int; | |
| pub fn qtree_delete_dquot(info: *mut Struct_qtree_mem_dqinfo, | |
| dquot: *mut Struct_dquot) | |
| -> ::std::os::raw::c_int; | |
| pub fn qtree_release_dquot(info: *mut Struct_qtree_mem_dqinfo, | |
| dquot: *mut Struct_dquot) | |
| -> ::std::os::raw::c_int; | |
| pub fn qtree_entry_unused(info: *mut Struct_qtree_mem_dqinfo, | |
| disk: *mut ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn make_kprojid(from: *mut Struct_user_namespace, projid: projid_t) | |
| -> kprojid_t; | |
| pub fn from_kprojid(to: *mut Struct_user_namespace, projid: kprojid_t) | |
| -> projid_t; | |
| pub fn from_kprojid_munged(to: *mut Struct_user_namespace, | |
| projid: kprojid_t) -> projid_t; | |
| pub fn qid_eq(left: Struct_kqid, right: Struct_kqid) -> _bool; | |
| pub fn qid_lt(left: Struct_kqid, right: Struct_kqid) -> _bool; | |
| pub fn from_kqid(to: *mut Struct_user_namespace, qid: Struct_kqid) | |
| -> qid_t; | |
| pub fn from_kqid_munged(to: *mut Struct_user_namespace, qid: Struct_kqid) | |
| -> qid_t; | |
| pub fn qid_valid(qid: Struct_kqid) -> _bool; | |
| pub fn mark_info_dirty(sb: *mut Struct_super_block, | |
| _type: ::std::os::raw::c_int); | |
| pub fn quota_send_warning(qid: Struct_kqid, dev: dev_t, | |
| warntype: ::std::os::raw::c_char); | |
| pub fn register_quota_format(fmt: *mut Struct_quota_format_type) | |
| -> ::std::os::raw::c_int; | |
| pub fn unregister_quota_format(fmt: *mut Struct_quota_format_type); | |
| pub fn pagecache_write_begin(arg1: *mut Struct_file, | |
| mapping: *mut Struct_address_space, | |
| pos: loff_t, len: ::std::os::raw::c_uint, | |
| flags: ::std::os::raw::c_uint, | |
| pagep: *mut *mut Struct_page, | |
| fsdata: *mut *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn pagecache_write_end(arg1: *mut Struct_file, | |
| mapping: *mut Struct_address_space, | |
| pos: loff_t, len: ::std::os::raw::c_uint, | |
| copied: ::std::os::raw::c_uint, | |
| page: *mut Struct_page, | |
| fsdata: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn mapping_tagged(mapping: *mut Struct_address_space, | |
| tag: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn lock_two_nondirectories(arg1: *mut Struct_inode, | |
| arg2: *mut Struct_inode); | |
| pub fn unlock_two_nondirectories(arg1: *mut Struct_inode, | |
| arg2: *mut Struct_inode); | |
| pub fn I_BDEV(inode: *mut Struct_inode) -> *mut Struct_block_device; | |
| pub fn locks_start_grace(arg1: *mut Struct_net, | |
| arg2: *mut Struct_lock_manager); | |
| pub fn locks_end_grace(arg1: *mut Struct_lock_manager); | |
| pub fn locks_in_grace(arg1: *mut Struct_net) -> ::std::os::raw::c_int; | |
| pub fn opens_in_grace(arg1: *mut Struct_net) -> ::std::os::raw::c_int; | |
| pub fn send_sigio(fown: *mut Struct_fown_struct, | |
| fd: ::std::os::raw::c_int, band: ::std::os::raw::c_int); | |
| pub fn fcntl_getlk(arg1: *mut Struct_file, arg2: ::std::os::raw::c_uint, | |
| arg3: *mut Struct_flock) -> ::std::os::raw::c_int; | |
| pub fn fcntl_setlk(arg1: ::std::os::raw::c_uint, arg2: *mut Struct_file, | |
| arg3: ::std::os::raw::c_uint, arg4: *mut Struct_flock) | |
| -> ::std::os::raw::c_int; | |
| pub fn fcntl_setlease(fd: ::std::os::raw::c_uint, filp: *mut Struct_file, | |
| arg: ::std::os::raw::c_long) | |
| -> ::std::os::raw::c_int; | |
| pub fn fcntl_getlease(filp: *mut Struct_file) -> ::std::os::raw::c_int; | |
| pub fn locks_free_lock_context(ctx: *mut Struct_file_lock_context); | |
| pub fn locks_free_lock(fl: *mut Struct_file_lock); | |
| pub fn locks_init_lock(arg1: *mut Struct_file_lock); | |
| pub fn locks_alloc_lock() -> *mut Struct_file_lock; | |
| pub fn locks_copy_lock(arg1: *mut Struct_file_lock, | |
| arg2: *mut Struct_file_lock); | |
| pub fn locks_copy_conflock(arg1: *mut Struct_file_lock, | |
| arg2: *mut Struct_file_lock); | |
| pub fn locks_remove_posix(arg1: *mut Struct_file, arg2: fl_owner_t); | |
| pub fn locks_remove_file(arg1: *mut Struct_file); | |
| pub fn locks_release_private(arg1: *mut Struct_file_lock); | |
| pub fn posix_test_lock(arg1: *mut Struct_file, | |
| arg2: *mut Struct_file_lock); | |
| pub fn posix_lock_file(arg1: *mut Struct_file, | |
| arg2: *mut Struct_file_lock, | |
| arg3: *mut Struct_file_lock) | |
| -> ::std::os::raw::c_int; | |
| pub fn posix_unblock_lock(arg1: *mut Struct_file_lock) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_test_lock(arg1: *mut Struct_file, arg2: *mut Struct_file_lock) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_lock_file(arg1: *mut Struct_file, arg2: ::std::os::raw::c_uint, | |
| arg3: *mut Struct_file_lock, | |
| arg4: *mut Struct_file_lock) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_cancel_lock(filp: *mut Struct_file, fl: *mut Struct_file_lock) | |
| -> ::std::os::raw::c_int; | |
| pub fn locks_lock_inode_wait(inode: *mut Struct_inode, | |
| fl: *mut Struct_file_lock) | |
| -> ::std::os::raw::c_int; | |
| pub fn __break_lease(inode: *mut Struct_inode, | |
| flags: ::std::os::raw::c_uint, | |
| _type: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn lease_get_mtime(arg1: *mut Struct_inode, | |
| time: *mut Struct_timespec); | |
| pub fn generic_setlease(arg1: *mut Struct_file, | |
| arg2: ::std::os::raw::c_long, | |
| arg3: *mut *mut Struct_file_lock, | |
| _priv: *mut *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_setlease(arg1: *mut Struct_file, arg2: ::std::os::raw::c_long, | |
| arg3: *mut *mut Struct_file_lock, | |
| arg4: *mut *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn lease_modify(arg1: *mut Struct_file_lock, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: *mut Struct_list_head) -> ::std::os::raw::c_int; | |
| pub fn show_fd_locks(f: *mut Struct_seq_file, filp: *mut Struct_file, | |
| files: *mut Struct_files_struct); | |
| pub fn fasync_helper(arg1: ::std::os::raw::c_int, arg2: *mut Struct_file, | |
| arg3: ::std::os::raw::c_int, | |
| arg4: *mut *mut Struct_fasync_struct) | |
| -> ::std::os::raw::c_int; | |
| pub fn fasync_insert_entry(arg1: ::std::os::raw::c_int, | |
| arg2: *mut Struct_file, | |
| arg3: *mut *mut Struct_fasync_struct, | |
| arg4: *mut Struct_fasync_struct) | |
| -> *mut Struct_fasync_struct; | |
| pub fn fasync_remove_entry(arg1: *mut Struct_file, | |
| arg2: *mut *mut Struct_fasync_struct) | |
| -> ::std::os::raw::c_int; | |
| pub fn fasync_alloc() -> *mut Struct_fasync_struct; | |
| pub fn fasync_free(arg1: *mut Struct_fasync_struct); | |
| pub fn kill_fasync(arg1: *mut *mut Struct_fasync_struct, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: ::std::os::raw::c_int); | |
| pub fn __f_setown(filp: *mut Struct_file, arg1: *mut Struct_pid, | |
| arg2: Enum_pid_type, force: ::std::os::raw::c_int); | |
| pub fn f_setown(filp: *mut Struct_file, arg: ::std::os::raw::c_ulong, | |
| force: ::std::os::raw::c_int); | |
| pub fn f_delown(filp: *mut Struct_file); | |
| pub fn f_getown(filp: *mut Struct_file) -> pid_t; | |
| pub fn send_sigurg(fown: *mut Struct_fown_struct) | |
| -> ::std::os::raw::c_int; | |
| pub fn current_fs_time(sb: *mut Struct_super_block) -> Struct_timespec; | |
| pub fn __sb_end_write(sb: *mut Struct_super_block, | |
| level: ::std::os::raw::c_int); | |
| pub fn __sb_start_write(sb: *mut Struct_super_block, | |
| level: ::std::os::raw::c_int, wait: _bool) | |
| -> ::std::os::raw::c_int; | |
| pub fn inode_owner_or_capable(inode: *const Struct_inode) -> _bool; | |
| pub fn vfs_create(arg1: *mut Struct_inode, arg2: *mut Struct_dentry, | |
| arg3: umode_t, arg4: _bool) -> ::std::os::raw::c_int; | |
| pub fn vfs_mkdir(arg1: *mut Struct_inode, arg2: *mut Struct_dentry, | |
| arg3: umode_t) -> ::std::os::raw::c_int; | |
| pub fn vfs_mknod(arg1: *mut Struct_inode, arg2: *mut Struct_dentry, | |
| arg3: umode_t, arg4: dev_t) -> ::std::os::raw::c_int; | |
| pub fn vfs_symlink(arg1: *mut Struct_inode, arg2: *mut Struct_dentry, | |
| arg3: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_link(arg1: *mut Struct_dentry, arg2: *mut Struct_inode, | |
| arg3: *mut Struct_dentry, arg4: *mut *mut Struct_inode) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_rmdir(arg1: *mut Struct_inode, arg2: *mut Struct_dentry) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_unlink(arg1: *mut Struct_inode, arg2: *mut Struct_dentry, | |
| arg3: *mut *mut Struct_inode) -> ::std::os::raw::c_int; | |
| pub fn vfs_rename(arg1: *mut Struct_inode, arg2: *mut Struct_dentry, | |
| arg3: *mut Struct_inode, arg4: *mut Struct_dentry, | |
| arg5: *mut *mut Struct_inode, | |
| arg6: ::std::os::raw::c_uint) -> ::std::os::raw::c_int; | |
| pub fn vfs_whiteout(arg1: *mut Struct_inode, arg2: *mut Struct_dentry) | |
| -> ::std::os::raw::c_int; | |
| pub fn dentry_unhash(dentry: *mut Struct_dentry); | |
| pub fn inode_init_owner(inode: *mut Struct_inode, | |
| dir: *const Struct_inode, mode: umode_t); | |
| pub fn fiemap_fill_next_extent(info: *mut Struct_fiemap_extent_info, | |
| logical: __u64, phys: __u64, len: __u64, | |
| flags: _u32) -> ::std::os::raw::c_int; | |
| pub fn fiemap_check_flags(fieinfo: *mut Struct_fiemap_extent_info, | |
| fs_flags: _u32) -> ::std::os::raw::c_int; | |
| pub fn rw_copy_check_uvector(_type: ::std::os::raw::c_int, | |
| uvector: *const Struct_iovec, | |
| nr_segs: ::std::os::raw::c_ulong, | |
| fast_segs: ::std::os::raw::c_ulong, | |
| fast_pointer: *mut Struct_iovec, | |
| ret_pointer: *mut *mut Struct_iovec) | |
| -> ssize_t; | |
| pub fn vfs_readf(file: *mut Struct_file) -> vfs_readf_t; | |
| pub fn vfs_writef(file: *mut Struct_file) -> vfs_writef_t; | |
| pub fn __vfs_read(arg1: *mut Struct_file, | |
| arg2: *mut ::std::os::raw::c_char, arg3: size_t, | |
| arg4: *mut loff_t) -> ssize_t; | |
| pub fn __vfs_write(arg1: *mut Struct_file, | |
| arg2: *const ::std::os::raw::c_char, arg3: size_t, | |
| arg4: *mut loff_t) -> ssize_t; | |
| pub fn vfs_read(arg1: *mut Struct_file, arg2: *mut ::std::os::raw::c_char, | |
| arg3: size_t, arg4: *mut loff_t) -> ssize_t; | |
| pub fn vfs_write(arg1: *mut Struct_file, | |
| arg2: *const ::std::os::raw::c_char, arg3: size_t, | |
| arg4: *mut loff_t) -> ssize_t; | |
| pub fn vfs_readv(arg1: *mut Struct_file, arg2: *const Struct_iovec, | |
| arg3: ::std::os::raw::c_ulong, arg4: *mut loff_t) | |
| -> ssize_t; | |
| pub fn vfs_writev(arg1: *mut Struct_file, arg2: *const Struct_iovec, | |
| arg3: ::std::os::raw::c_ulong, arg4: *mut loff_t) | |
| -> ssize_t; | |
| pub fn __mark_inode_dirty(arg1: *mut Struct_inode, | |
| arg2: ::std::os::raw::c_int); | |
| pub fn inc_nlink(inode: *mut Struct_inode); | |
| pub fn drop_nlink(inode: *mut Struct_inode); | |
| pub fn clear_nlink(inode: *mut Struct_inode); | |
| pub fn set_nlink(inode: *mut Struct_inode, nlink: ::std::os::raw::c_uint); | |
| pub fn atime_needs_update(arg1: *const Struct_path, | |
| arg2: *mut Struct_inode) -> _bool; | |
| pub fn touch_atime(arg1: *const Struct_path); | |
| pub fn sync_inode(inode: *mut Struct_inode, | |
| wbc: *mut Struct_writeback_control) | |
| -> ::std::os::raw::c_int; | |
| pub fn sync_inode_metadata(inode: *mut Struct_inode, | |
| wait: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn mount_ns(fs_type: *mut Struct_file_system_type, | |
| flags: ::std::os::raw::c_int, | |
| data: *mut ::std::os::raw::c_void, | |
| fill_super: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut ::std::os::raw::c_void, | |
| arg3: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>) | |
| -> *mut Struct_dentry; | |
| pub fn mount_bdev(fs_type: *mut Struct_file_system_type, | |
| flags: ::std::os::raw::c_int, | |
| dev_name: *const ::std::os::raw::c_char, | |
| data: *mut ::std::os::raw::c_void, | |
| fill_super: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut ::std::os::raw::c_void, | |
| arg3: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int>) | |
| -> *mut Struct_dentry; | |
| pub fn mount_single(fs_type: *mut Struct_file_system_type, | |
| flags: ::std::os::raw::c_int, | |
| data: *mut ::std::os::raw::c_void, | |
| fill_super: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut ::std::os::raw::c_void, | |
| arg3: | |
| ::std::os::raw::c_int) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> *mut Struct_dentry; | |
| pub fn mount_nodev(fs_type: *mut Struct_file_system_type, | |
| flags: ::std::os::raw::c_int, | |
| data: *mut ::std::os::raw::c_void, | |
| fill_super: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut ::std::os::raw::c_void, | |
| arg3: | |
| ::std::os::raw::c_int) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> *mut Struct_dentry; | |
| pub fn mount_subtree(mnt: *mut Struct_vfsmount, | |
| path: *const ::std::os::raw::c_char) | |
| -> *mut Struct_dentry; | |
| pub fn generic_shutdown_super(sb: *mut Struct_super_block); | |
| pub fn kill_block_super(sb: *mut Struct_super_block); | |
| pub fn kill_anon_super(sb: *mut Struct_super_block); | |
| pub fn kill_litter_super(sb: *mut Struct_super_block); | |
| pub fn deactivate_super(sb: *mut Struct_super_block); | |
| pub fn deactivate_locked_super(sb: *mut Struct_super_block); | |
| pub fn set_anon_super(s: *mut Struct_super_block, | |
| data: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn get_anon_bdev(arg1: *mut dev_t) -> ::std::os::raw::c_int; | |
| pub fn free_anon_bdev(arg1: dev_t); | |
| pub fn sget_userns(_type: *mut Struct_file_system_type, | |
| test: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>, | |
| set: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>, | |
| flags: ::std::os::raw::c_int, | |
| user_ns: *mut Struct_user_namespace, | |
| data: *mut ::std::os::raw::c_void) | |
| -> *mut Struct_super_block; | |
| pub fn sget(_type: *mut Struct_file_system_type, | |
| test: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int>, | |
| set: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int>, | |
| flags: ::std::os::raw::c_int, | |
| data: *mut ::std::os::raw::c_void) -> *mut Struct_super_block; | |
| pub fn mount_pseudo(arg1: *mut Struct_file_system_type, | |
| arg2: *mut ::std::os::raw::c_char, | |
| ops: *const Struct_super_operations, | |
| dops: *const Struct_dentry_operations, | |
| arg3: ::std::os::raw::c_ulong) -> *mut Struct_dentry; | |
| pub fn register_filesystem(arg1: *mut Struct_file_system_type) | |
| -> ::std::os::raw::c_int; | |
| pub fn unregister_filesystem(arg1: *mut Struct_file_system_type) | |
| -> ::std::os::raw::c_int; | |
| pub fn kern_mount_data(arg1: *mut Struct_file_system_type, | |
| data: *mut ::std::os::raw::c_void) | |
| -> *mut Struct_vfsmount; | |
| pub fn kern_unmount(mnt: *mut Struct_vfsmount); | |
| pub fn may_umount_tree(arg1: *mut Struct_vfsmount) | |
| -> ::std::os::raw::c_int; | |
| pub fn may_umount(arg1: *mut Struct_vfsmount) -> ::std::os::raw::c_int; | |
| pub fn do_mount(arg1: *const ::std::os::raw::c_char, | |
| arg2: *const ::std::os::raw::c_char, | |
| arg3: *const ::std::os::raw::c_char, | |
| arg4: ::std::os::raw::c_ulong, | |
| arg5: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_long; | |
| pub fn collect_mounts(arg1: *mut Struct_path) -> *mut Struct_vfsmount; | |
| pub fn drop_collected_mounts(arg1: *mut Struct_vfsmount); | |
| pub fn iterate_mounts(arg1: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_vfsmount, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>, | |
| arg2: *mut ::std::os::raw::c_void, | |
| arg3: *mut Struct_vfsmount) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_statfs(arg1: *mut Struct_path, arg2: *mut Struct_kstatfs) | |
| -> ::std::os::raw::c_int; | |
| pub fn user_statfs(arg1: *const ::std::os::raw::c_char, | |
| arg2: *mut Struct_kstatfs) -> ::std::os::raw::c_int; | |
| pub fn fd_statfs(arg1: ::std::os::raw::c_int, arg2: *mut Struct_kstatfs) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_ustat(arg1: dev_t, arg2: *mut Struct_kstatfs) | |
| -> ::std::os::raw::c_int; | |
| pub fn freeze_super(_super: *mut Struct_super_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn thaw_super(_super: *mut Struct_super_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn our_mnt(mnt: *mut Struct_vfsmount) -> _bool; | |
| pub fn current_umask() -> ::std::os::raw::c_int; | |
| pub fn ihold(inode: *mut Struct_inode); | |
| pub fn iput(arg1: *mut Struct_inode); | |
| pub fn generic_update_time(arg1: *mut Struct_inode, | |
| arg2: *mut Struct_timespec, | |
| arg3: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn locks_mandatory_locked(arg1: *mut Struct_file) | |
| -> ::std::os::raw::c_int; | |
| pub fn locks_mandatory_area(arg1: ::std::os::raw::c_int, | |
| arg2: *mut Struct_inode, | |
| arg3: *mut Struct_file, arg4: loff_t, | |
| arg5: size_t) -> ::std::os::raw::c_int; | |
| pub fn vfs_truncate(arg1: *mut Struct_path, arg2: loff_t) | |
| -> ::std::os::raw::c_long; | |
| pub fn do_truncate(arg1: *mut Struct_dentry, start: loff_t, | |
| time_attrs: ::std::os::raw::c_uint, | |
| filp: *mut Struct_file) -> ::std::os::raw::c_int; | |
| pub fn vfs_fallocate(file: *mut Struct_file, mode: ::std::os::raw::c_int, | |
| offset: loff_t, len: loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn do_sys_open(dfd: ::std::os::raw::c_int, | |
| filename: *const ::std::os::raw::c_char, | |
| flags: ::std::os::raw::c_int, mode: umode_t) | |
| -> ::std::os::raw::c_long; | |
| pub fn file_open_name(arg1: *mut Struct_filename, | |
| arg2: ::std::os::raw::c_int, arg3: umode_t) | |
| -> *mut Struct_file; | |
| pub fn filp_open(arg1: *const ::std::os::raw::c_char, | |
| arg2: ::std::os::raw::c_int, arg3: umode_t) | |
| -> *mut Struct_file; | |
| pub fn file_open_root(arg1: *mut Struct_dentry, | |
| arg2: *mut Struct_vfsmount, | |
| arg3: *const ::std::os::raw::c_char, | |
| arg4: ::std::os::raw::c_int) -> *mut Struct_file; | |
| pub fn dentry_open(arg1: *const Struct_path, arg2: ::std::os::raw::c_int, | |
| arg3: *const Struct_cred) -> *mut Struct_file; | |
| pub fn filp_close(arg1: *mut Struct_file, id: fl_owner_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn getname_flags(arg1: *const ::std::os::raw::c_char, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: *mut ::std::os::raw::c_int) | |
| -> *mut Struct_filename; | |
| pub fn getname(arg1: *const ::std::os::raw::c_char) | |
| -> *mut Struct_filename; | |
| pub fn getname_kernel(arg1: *const ::std::os::raw::c_char) | |
| -> *mut Struct_filename; | |
| pub fn putname(name: *mut Struct_filename); | |
| pub fn finish_open(file: *mut Struct_file, dentry: *mut Struct_dentry, | |
| open: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut Struct_file) | |
| -> | |
| ::std::os::raw::c_int>, | |
| opened: *mut ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn finish_no_open(file: *mut Struct_file, dentry: *mut Struct_dentry) | |
| -> ::std::os::raw::c_int; | |
| pub fn ioctl_preallocate(filp: *mut Struct_file, | |
| argp: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_caches_init_early(); | |
| pub fn vfs_caches_init(); | |
| pub fn register_blkdev(arg1: ::std::os::raw::c_uint, | |
| arg2: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn unregister_blkdev(arg1: ::std::os::raw::c_uint, | |
| arg2: *const ::std::os::raw::c_char); | |
| pub fn bdget(arg1: dev_t) -> *mut Struct_block_device; | |
| pub fn bdgrab(bdev: *mut Struct_block_device) -> *mut Struct_block_device; | |
| pub fn bd_set_size(arg1: *mut Struct_block_device, size: loff_t); | |
| pub fn bd_forget(inode: *mut Struct_inode); | |
| pub fn bdput(arg1: *mut Struct_block_device); | |
| pub fn invalidate_bdev(arg1: *mut Struct_block_device); | |
| pub fn iterate_bdevs(arg1: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_block_device, | |
| arg2: | |
| *mut ::std::os::raw::c_void)>, | |
| arg2: *mut ::std::os::raw::c_void); | |
| pub fn sync_blockdev(bdev: *mut Struct_block_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn kill_bdev(arg1: *mut Struct_block_device); | |
| pub fn freeze_bdev(arg1: *mut Struct_block_device) | |
| -> *mut Struct_super_block; | |
| pub fn emergency_thaw_all(); | |
| pub fn thaw_bdev(bdev: *mut Struct_block_device, | |
| sb: *mut Struct_super_block) -> ::std::os::raw::c_int; | |
| pub fn fsync_bdev(arg1: *mut Struct_block_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn sync_filesystem(arg1: *mut Struct_super_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn ioctl_by_bdev(arg1: *mut Struct_block_device, | |
| arg2: ::std::os::raw::c_uint, | |
| arg3: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn blkdev_ioctl(arg1: *mut Struct_block_device, arg2: fmode_t, | |
| arg3: ::std::os::raw::c_uint, | |
| arg4: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn compat_blkdev_ioctl(arg1: *mut Struct_file, | |
| arg2: ::std::os::raw::c_uint, | |
| arg3: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_long; | |
| pub fn blkdev_get(bdev: *mut Struct_block_device, mode: fmode_t, | |
| holder: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn blkdev_get_by_path(path: *const ::std::os::raw::c_char, | |
| mode: fmode_t, | |
| holder: *mut ::std::os::raw::c_void) | |
| -> *mut Struct_block_device; | |
| pub fn blkdev_get_by_dev(dev: dev_t, mode: fmode_t, | |
| holder: *mut ::std::os::raw::c_void) | |
| -> *mut Struct_block_device; | |
| pub fn blkdev_put(bdev: *mut Struct_block_device, mode: fmode_t); | |
| pub fn __blkdev_reread_part(bdev: *mut Struct_block_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn blkdev_reread_part(bdev: *mut Struct_block_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn bd_link_disk_holder(bdev: *mut Struct_block_device, | |
| disk: *mut Struct_gendisk) | |
| -> ::std::os::raw::c_int; | |
| pub fn bd_unlink_disk_holder(bdev: *mut Struct_block_device, | |
| disk: *mut Struct_gendisk); | |
| pub fn alloc_chrdev_region(arg1: *mut dev_t, arg2: ::std::os::raw::c_uint, | |
| arg3: ::std::os::raw::c_uint, | |
| arg4: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn register_chrdev_region(arg1: dev_t, arg2: ::std::os::raw::c_uint, | |
| arg3: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn __register_chrdev(major: ::std::os::raw::c_uint, | |
| baseminor: ::std::os::raw::c_uint, | |
| count: ::std::os::raw::c_uint, | |
| name: *const ::std::os::raw::c_char, | |
| fops: *const Struct_file_operations) | |
| -> ::std::os::raw::c_int; | |
| pub fn __unregister_chrdev(major: ::std::os::raw::c_uint, | |
| baseminor: ::std::os::raw::c_uint, | |
| count: ::std::os::raw::c_uint, | |
| name: *const ::std::os::raw::c_char); | |
| pub fn unregister_chrdev_region(arg1: dev_t, | |
| arg2: ::std::os::raw::c_uint); | |
| pub fn chrdev_show(arg1: *mut Struct_seq_file, arg2: off_t); | |
| pub fn __bdevname(arg1: dev_t, buffer: *mut ::std::os::raw::c_char) | |
| -> *const ::std::os::raw::c_char; | |
| pub fn bdevname(bdev: *mut Struct_block_device, | |
| buffer: *mut ::std::os::raw::c_char) | |
| -> *const ::std::os::raw::c_char; | |
| pub fn lookup_bdev(arg1: *const ::std::os::raw::c_char, | |
| mask: ::std::os::raw::c_int) | |
| -> *mut Struct_block_device; | |
| pub fn blkdev_show(arg1: *mut Struct_seq_file, arg2: off_t); | |
| pub fn init_special_inode(arg1: *mut Struct_inode, arg2: umode_t, | |
| arg3: dev_t); | |
| pub fn make_bad_inode(arg1: *mut Struct_inode); | |
| pub fn is_bad_inode(arg1: *mut Struct_inode) -> ::std::os::raw::c_int; | |
| pub fn check_disk_size_change(disk: *mut Struct_gendisk, | |
| bdev: *mut Struct_block_device); | |
| pub fn revalidate_disk(arg1: *mut Struct_gendisk) | |
| -> ::std::os::raw::c_int; | |
| pub fn check_disk_change(arg1: *mut Struct_block_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn __invalidate_device(arg1: *mut Struct_block_device, arg2: _bool) | |
| -> ::std::os::raw::c_int; | |
| pub fn invalidate_partition(arg1: *mut Struct_gendisk, | |
| arg2: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn invalidate_mapping_pages(mapping: *mut Struct_address_space, | |
| start: ::std::os::raw::c_ulong, | |
| end: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn invalidate_inode_pages2(mapping: *mut Struct_address_space) | |
| -> ::std::os::raw::c_int; | |
| pub fn invalidate_inode_pages2_range(mapping: *mut Struct_address_space, | |
| start: ::std::os::raw::c_ulong, | |
| end: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn write_inode_now(arg1: *mut Struct_inode, | |
| arg2: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn filemap_fdatawrite(arg1: *mut Struct_address_space) | |
| -> ::std::os::raw::c_int; | |
| pub fn filemap_flush(arg1: *mut Struct_address_space) | |
| -> ::std::os::raw::c_int; | |
| pub fn filemap_fdatawait(arg1: *mut Struct_address_space) | |
| -> ::std::os::raw::c_int; | |
| pub fn filemap_fdatawait_keep_errors(arg1: *mut Struct_address_space); | |
| pub fn filemap_fdatawait_range(arg1: *mut Struct_address_space, | |
| lstart: loff_t, lend: loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn filemap_write_and_wait(mapping: *mut Struct_address_space) | |
| -> ::std::os::raw::c_int; | |
| pub fn filemap_write_and_wait_range(mapping: *mut Struct_address_space, | |
| lstart: loff_t, lend: loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn __filemap_fdatawrite_range(mapping: *mut Struct_address_space, | |
| start: loff_t, end: loff_t, | |
| sync_mode: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn filemap_fdatawrite_range(mapping: *mut Struct_address_space, | |
| start: loff_t, end: loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_fsync_range(file: *mut Struct_file, start: loff_t, end: loff_t, | |
| datasync: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_fsync(file: *mut Struct_file, datasync: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn emergency_sync(); | |
| pub fn emergency_remount(); | |
| pub fn bmap(arg1: *mut Struct_inode, arg2: sector_t) -> sector_t; | |
| pub fn notify_change(arg1: *mut Struct_dentry, arg2: *mut Struct_iattr, | |
| arg3: *mut *mut Struct_inode) | |
| -> ::std::os::raw::c_int; | |
| pub fn inode_permission(arg1: *mut Struct_inode, | |
| arg2: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn __inode_permission(arg1: *mut Struct_inode, | |
| arg2: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn generic_permission(arg1: *mut Struct_inode, | |
| arg2: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn __check_sticky(dir: *mut Struct_inode, inode: *mut Struct_inode) | |
| -> ::std::os::raw::c_int; | |
| pub fn do_pipe_flags(arg1: *mut ::std::os::raw::c_int, | |
| arg2: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn kernel_read(arg1: *mut Struct_file, arg2: loff_t, | |
| arg3: *mut ::std::os::raw::c_char, | |
| arg4: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn kernel_write(arg1: *mut Struct_file, | |
| arg2: *const ::std::os::raw::c_char, arg3: size_t, | |
| arg4: loff_t) -> ssize_t; | |
| pub fn __kernel_write(arg1: *mut Struct_file, | |
| arg2: *const ::std::os::raw::c_char, arg3: size_t, | |
| arg4: *mut loff_t) -> ssize_t; | |
| pub fn open_exec(arg1: *const ::std::os::raw::c_char) -> *mut Struct_file; | |
| pub fn is_subdir(arg1: *mut Struct_dentry, arg2: *mut Struct_dentry) | |
| -> ::std::os::raw::c_int; | |
| pub fn path_is_under(arg1: *mut Struct_path, arg2: *mut Struct_path) | |
| -> ::std::os::raw::c_int; | |
| pub fn file_path(arg1: *mut Struct_file, | |
| arg2: *mut ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn default_llseek(file: *mut Struct_file, offset: loff_t, | |
| whence: ::std::os::raw::c_int) -> loff_t; | |
| pub fn vfs_llseek(file: *mut Struct_file, offset: loff_t, | |
| whence: ::std::os::raw::c_int) -> loff_t; | |
| pub fn inode_init_always(arg1: *mut Struct_super_block, | |
| arg2: *mut Struct_inode) | |
| -> ::std::os::raw::c_int; | |
| pub fn inode_init_once(arg1: *mut Struct_inode); | |
| pub fn address_space_init_once(mapping: *mut Struct_address_space); | |
| pub fn igrab(arg1: *mut Struct_inode) -> *mut Struct_inode; | |
| pub fn iunique(arg1: *mut Struct_super_block, arg2: ino_t) -> ino_t; | |
| pub fn inode_needs_sync(inode: *mut Struct_inode) | |
| -> ::std::os::raw::c_int; | |
| pub fn generic_delete_inode(inode: *mut Struct_inode) | |
| -> ::std::os::raw::c_int; | |
| pub fn ilookup5_nowait(sb: *mut Struct_super_block, | |
| hashval: ::std::os::raw::c_ulong, | |
| test: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>, | |
| data: *mut ::std::os::raw::c_void) | |
| -> *mut Struct_inode; | |
| pub fn ilookup5(sb: *mut Struct_super_block, | |
| hashval: ::std::os::raw::c_ulong, | |
| test: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int>, | |
| data: *mut ::std::os::raw::c_void) -> *mut Struct_inode; | |
| pub fn ilookup(sb: *mut Struct_super_block, ino: ::std::os::raw::c_ulong) | |
| -> *mut Struct_inode; | |
| pub fn iget5_locked(arg1: *mut Struct_super_block, | |
| arg2: ::std::os::raw::c_ulong, | |
| test: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>, | |
| set: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>, | |
| arg3: *mut ::std::os::raw::c_void) | |
| -> *mut Struct_inode; | |
| pub fn iget_locked(arg1: *mut Struct_super_block, | |
| arg2: ::std::os::raw::c_ulong) -> *mut Struct_inode; | |
| pub fn find_inode_nowait(arg1: *mut Struct_super_block, | |
| arg2: ::std::os::raw::c_ulong, | |
| _match: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| ::std::os::raw::c_ulong, | |
| arg3: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>, | |
| data: *mut ::std::os::raw::c_void) | |
| -> *mut Struct_inode; | |
| pub fn insert_inode_locked4(arg1: *mut Struct_inode, | |
| arg2: ::std::os::raw::c_ulong, | |
| test: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_inode, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>, | |
| arg3: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn insert_inode_locked(arg1: *mut Struct_inode) | |
| -> ::std::os::raw::c_int; | |
| pub fn unlock_new_inode(arg1: *mut Struct_inode); | |
| pub fn get_next_ino() -> ::std::os::raw::c_uint; | |
| pub fn __iget(inode: *mut Struct_inode); | |
| pub fn iget_failed(arg1: *mut Struct_inode); | |
| pub fn clear_inode(arg1: *mut Struct_inode); | |
| pub fn __destroy_inode(arg1: *mut Struct_inode); | |
| pub fn new_inode_pseudo(sb: *mut Struct_super_block) -> *mut Struct_inode; | |
| pub fn new_inode(sb: *mut Struct_super_block) -> *mut Struct_inode; | |
| pub fn free_inode_nonrcu(inode: *mut Struct_inode); | |
| pub fn should_remove_suid(arg1: *mut Struct_dentry) | |
| -> ::std::os::raw::c_int; | |
| pub fn file_remove_privs(arg1: *mut Struct_file) -> ::std::os::raw::c_int; | |
| pub fn dentry_needs_remove_privs(dentry: *mut Struct_dentry) | |
| -> ::std::os::raw::c_int; | |
| pub fn __insert_inode_hash(arg1: *mut Struct_inode, | |
| hashval: ::std::os::raw::c_ulong); | |
| pub fn __remove_inode_hash(arg1: *mut Struct_inode); | |
| pub fn inode_sb_list_add(inode: *mut Struct_inode); | |
| pub fn submit_bio(arg1: ::std::os::raw::c_int, arg2: *mut Struct_bio) | |
| -> blk_qc_t; | |
| pub fn bdev_read_only(arg1: *mut Struct_block_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn set_blocksize(arg1: *mut Struct_block_device, | |
| arg2: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn sb_set_blocksize(arg1: *mut Struct_super_block, | |
| arg2: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn sb_min_blocksize(arg1: *mut Struct_super_block, | |
| arg2: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn generic_file_mmap(arg1: *mut Struct_file, | |
| arg2: *mut Struct_vm_area_struct) | |
| -> ::std::os::raw::c_int; | |
| pub fn generic_file_readonly_mmap(arg1: *mut Struct_file, | |
| arg2: *mut Struct_vm_area_struct) | |
| -> ::std::os::raw::c_int; | |
| pub fn generic_write_checks(arg1: *mut Struct_kiocb, | |
| arg2: *mut Struct_iov_iter) -> ssize_t; | |
| pub fn generic_file_read_iter(arg1: *mut Struct_kiocb, | |
| arg2: *mut Struct_iov_iter) -> ssize_t; | |
| pub fn __generic_file_write_iter(arg1: *mut Struct_kiocb, | |
| arg2: *mut Struct_iov_iter) -> ssize_t; | |
| pub fn generic_file_write_iter(arg1: *mut Struct_kiocb, | |
| arg2: *mut Struct_iov_iter) -> ssize_t; | |
| pub fn generic_file_direct_write(arg1: *mut Struct_kiocb, | |
| arg2: *mut Struct_iov_iter, arg3: loff_t) | |
| -> ssize_t; | |
| pub fn generic_perform_write(arg1: *mut Struct_file, | |
| arg2: *mut Struct_iov_iter, arg3: loff_t) | |
| -> ssize_t; | |
| pub fn vfs_iter_read(file: *mut Struct_file, iter: *mut Struct_iov_iter, | |
| ppos: *mut loff_t) -> ssize_t; | |
| pub fn vfs_iter_write(file: *mut Struct_file, iter: *mut Struct_iov_iter, | |
| ppos: *mut loff_t) -> ssize_t; | |
| pub fn blkdev_read_iter(iocb: *mut Struct_kiocb, to: *mut Struct_iov_iter) | |
| -> ssize_t; | |
| pub fn blkdev_write_iter(iocb: *mut Struct_kiocb, | |
| from: *mut Struct_iov_iter) -> ssize_t; | |
| pub fn blkdev_fsync(filp: *mut Struct_file, start: loff_t, end: loff_t, | |
| datasync: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn block_sync_page(page: *mut Struct_page); | |
| pub fn generic_file_splice_read(arg1: *mut Struct_file, arg2: *mut loff_t, | |
| arg3: *mut Struct_pipe_inode_info, | |
| arg4: size_t, | |
| arg5: ::std::os::raw::c_uint) -> ssize_t; | |
| pub fn default_file_splice_read(arg1: *mut Struct_file, arg2: *mut loff_t, | |
| arg3: *mut Struct_pipe_inode_info, | |
| arg4: size_t, | |
| arg5: ::std::os::raw::c_uint) -> ssize_t; | |
| pub fn iter_file_splice_write(arg1: *mut Struct_pipe_inode_info, | |
| arg2: *mut Struct_file, arg3: *mut loff_t, | |
| arg4: size_t, arg5: ::std::os::raw::c_uint) | |
| -> ssize_t; | |
| pub fn generic_splice_sendpage(pipe: *mut Struct_pipe_inode_info, | |
| out: *mut Struct_file, arg1: *mut loff_t, | |
| len: size_t, flags: ::std::os::raw::c_uint) | |
| -> ssize_t; | |
| pub fn do_splice_direct(_in: *mut Struct_file, ppos: *mut loff_t, | |
| out: *mut Struct_file, opos: *mut loff_t, | |
| len: size_t, flags: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_long; | |
| pub fn file_ra_state_init(ra: *mut Struct_file_ra_state, | |
| mapping: *mut Struct_address_space); | |
| pub fn noop_llseek(file: *mut Struct_file, offset: loff_t, | |
| whence: ::std::os::raw::c_int) -> loff_t; | |
| pub fn no_llseek(file: *mut Struct_file, offset: loff_t, | |
| whence: ::std::os::raw::c_int) -> loff_t; | |
| pub fn vfs_setpos(file: *mut Struct_file, offset: loff_t, maxsize: loff_t) | |
| -> loff_t; | |
| pub fn generic_file_llseek(file: *mut Struct_file, offset: loff_t, | |
| whence: ::std::os::raw::c_int) -> loff_t; | |
| pub fn generic_file_llseek_size(file: *mut Struct_file, offset: loff_t, | |
| whence: ::std::os::raw::c_int, | |
| maxsize: loff_t, eof: loff_t) -> loff_t; | |
| pub fn fixed_size_llseek(file: *mut Struct_file, offset: loff_t, | |
| whence: ::std::os::raw::c_int, size: loff_t) | |
| -> loff_t; | |
| pub fn generic_file_open(inode: *mut Struct_inode, filp: *mut Struct_file) | |
| -> ::std::os::raw::c_int; | |
| pub fn nonseekable_open(inode: *mut Struct_inode, filp: *mut Struct_file) | |
| -> ::std::os::raw::c_int; | |
| pub fn dio_end_io(bio: *mut Struct_bio, error: ::std::os::raw::c_int); | |
| pub fn __blockdev_direct_IO(iocb: *mut Struct_kiocb, | |
| inode: *mut Struct_inode, | |
| bdev: *mut Struct_block_device, | |
| iter: *mut Struct_iov_iter, offset: loff_t, | |
| get_block: get_block_t, end_io: dio_iodone_t, | |
| submit_io: dio_submit_t, | |
| flags: ::std::os::raw::c_int) -> ssize_t; | |
| pub fn inode_dio_wait(inode: *mut Struct_inode); | |
| pub fn inode_set_flags(inode: *mut Struct_inode, | |
| flags: ::std::os::raw::c_uint, | |
| mask: ::std::os::raw::c_uint); | |
| pub fn readlink_copy(arg1: *mut ::std::os::raw::c_char, | |
| arg2: ::std::os::raw::c_int, | |
| arg3: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn page_readlink(arg1: *mut Struct_dentry, | |
| arg2: *mut ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn page_follow_link_light(arg1: *mut Struct_dentry, | |
| arg2: *mut *mut ::std::os::raw::c_void) | |
| -> *const ::std::os::raw::c_char; | |
| pub fn page_put_link(arg1: *mut Struct_inode, | |
| arg2: *mut ::std::os::raw::c_void); | |
| pub fn __page_symlink(inode: *mut Struct_inode, | |
| symname: *const ::std::os::raw::c_char, | |
| len: ::std::os::raw::c_int, | |
| nofs: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn page_symlink(inode: *mut Struct_inode, | |
| symname: *const ::std::os::raw::c_char, | |
| len: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
| pub fn kfree_put_link(arg1: *mut Struct_inode, | |
| arg2: *mut ::std::os::raw::c_void); | |
| pub fn free_page_put_link(arg1: *mut Struct_inode, | |
| arg2: *mut ::std::os::raw::c_void); | |
| pub fn generic_readlink(arg1: *mut Struct_dentry, | |
| arg2: *mut ::std::os::raw::c_char, | |
| arg3: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn generic_fillattr(arg1: *mut Struct_inode, arg2: *mut Struct_kstat); | |
| pub fn vfs_getattr_nosec(path: *mut Struct_path, stat: *mut Struct_kstat) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_getattr(arg1: *mut Struct_path, arg2: *mut Struct_kstat) | |
| -> ::std::os::raw::c_int; | |
| pub fn __inode_add_bytes(inode: *mut Struct_inode, bytes: loff_t); | |
| pub fn inode_add_bytes(inode: *mut Struct_inode, bytes: loff_t); | |
| pub fn __inode_sub_bytes(inode: *mut Struct_inode, bytes: loff_t); | |
| pub fn inode_sub_bytes(inode: *mut Struct_inode, bytes: loff_t); | |
| pub fn inode_get_bytes(inode: *mut Struct_inode) -> loff_t; | |
| pub fn inode_set_bytes(inode: *mut Struct_inode, bytes: loff_t); | |
| pub fn simple_follow_link(arg1: *mut Struct_dentry, | |
| arg2: *mut *mut ::std::os::raw::c_void) | |
| -> *const ::std::os::raw::c_char; | |
| pub fn iterate_dir(arg1: *mut Struct_file, arg2: *mut Struct_dir_context) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_stat(arg1: *const ::std::os::raw::c_char, | |
| arg2: *mut Struct_kstat) -> ::std::os::raw::c_int; | |
| pub fn vfs_lstat(arg1: *const ::std::os::raw::c_char, | |
| arg2: *mut Struct_kstat) -> ::std::os::raw::c_int; | |
| pub fn vfs_fstat(arg1: ::std::os::raw::c_uint, arg2: *mut Struct_kstat) | |
| -> ::std::os::raw::c_int; | |
| pub fn vfs_fstatat(arg1: ::std::os::raw::c_int, | |
| arg2: *const ::std::os::raw::c_char, | |
| arg3: *mut Struct_kstat, arg4: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn do_vfs_ioctl(filp: *mut Struct_file, fd: ::std::os::raw::c_uint, | |
| cmd: ::std::os::raw::c_uint, | |
| arg: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn __generic_block_fiemap(inode: *mut Struct_inode, | |
| fieinfo: *mut Struct_fiemap_extent_info, | |
| start: loff_t, len: loff_t, | |
| get_block: *mut get_block_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn generic_block_fiemap(inode: *mut Struct_inode, | |
| fieinfo: *mut Struct_fiemap_extent_info, | |
| start: __u64, len: __u64, | |
| get_block: *mut get_block_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn get_filesystem(fs: *mut Struct_file_system_type); | |
| pub fn put_filesystem(fs: *mut Struct_file_system_type); | |
| pub fn get_fs_type(name: *const ::std::os::raw::c_char) | |
| -> *mut Struct_file_system_type; | |
| pub fn get_super(arg1: *mut Struct_block_device) | |
| -> *mut Struct_super_block; | |
| pub fn get_super_thawed(arg1: *mut Struct_block_device) | |
| -> *mut Struct_super_block; | |
| pub fn get_active_super(bdev: *mut Struct_block_device) | |
| -> *mut Struct_super_block; | |
| pub fn drop_super(sb: *mut Struct_super_block); | |
| pub fn iterate_supers(arg1: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut ::std::os::raw::c_void)>, | |
| arg2: *mut ::std::os::raw::c_void); | |
| pub fn iterate_supers_type(arg1: *mut Struct_file_system_type, | |
| arg2: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_super_block, | |
| arg2: | |
| *mut ::std::os::raw::c_void)>, | |
| arg3: *mut ::std::os::raw::c_void); | |
| pub fn dcache_dir_open(arg1: *mut Struct_inode, arg2: *mut Struct_file) | |
| -> ::std::os::raw::c_int; | |
| pub fn dcache_dir_close(arg1: *mut Struct_inode, arg2: *mut Struct_file) | |
| -> ::std::os::raw::c_int; | |
| pub fn dcache_dir_lseek(arg1: *mut Struct_file, arg2: loff_t, | |
| arg3: ::std::os::raw::c_int) -> loff_t; | |
| pub fn dcache_readdir(arg1: *mut Struct_file, | |
| arg2: *mut Struct_dir_context) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_setattr(arg1: *mut Struct_dentry, arg2: *mut Struct_iattr) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_getattr(arg1: *mut Struct_vfsmount, | |
| arg2: *mut Struct_dentry, arg3: *mut Struct_kstat) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_statfs(arg1: *mut Struct_dentry, arg2: *mut Struct_kstatfs) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_open(inode: *mut Struct_inode, file: *mut Struct_file) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_link(arg1: *mut Struct_dentry, arg2: *mut Struct_inode, | |
| arg3: *mut Struct_dentry) -> ::std::os::raw::c_int; | |
| pub fn simple_unlink(arg1: *mut Struct_inode, arg2: *mut Struct_dentry) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_rmdir(arg1: *mut Struct_inode, arg2: *mut Struct_dentry) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_rename(arg1: *mut Struct_inode, arg2: *mut Struct_dentry, | |
| arg3: *mut Struct_inode, arg4: *mut Struct_dentry) | |
| -> ::std::os::raw::c_int; | |
| pub fn noop_fsync(arg1: *mut Struct_file, arg2: loff_t, arg3: loff_t, | |
| arg4: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
| pub fn simple_empty(arg1: *mut Struct_dentry) -> ::std::os::raw::c_int; | |
| pub fn simple_readpage(file: *mut Struct_file, page: *mut Struct_page) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_write_begin(file: *mut Struct_file, | |
| mapping: *mut Struct_address_space, pos: loff_t, | |
| len: ::std::os::raw::c_uint, | |
| flags: ::std::os::raw::c_uint, | |
| pagep: *mut *mut Struct_page, | |
| fsdata: *mut *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_write_end(file: *mut Struct_file, | |
| mapping: *mut Struct_address_space, pos: loff_t, | |
| len: ::std::os::raw::c_uint, | |
| copied: ::std::os::raw::c_uint, | |
| page: *mut Struct_page, | |
| fsdata: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn always_delete_dentry(arg1: *const Struct_dentry) | |
| -> ::std::os::raw::c_int; | |
| pub fn alloc_anon_inode(arg1: *mut Struct_super_block) | |
| -> *mut Struct_inode; | |
| pub fn simple_nosetlease(arg1: *mut Struct_file, | |
| arg2: ::std::os::raw::c_long, | |
| arg3: *mut *mut Struct_file_lock, | |
| arg4: *mut *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_lookup(arg1: *mut Struct_inode, arg2: *mut Struct_dentry, | |
| flags: ::std::os::raw::c_uint) -> *mut Struct_dentry; | |
| pub fn generic_read_dir(arg1: *mut Struct_file, | |
| arg2: *mut ::std::os::raw::c_char, arg3: size_t, | |
| arg4: *mut loff_t) -> ssize_t; | |
| pub fn make_empty_dir_inode(inode: *mut Struct_inode); | |
| pub fn is_empty_dir_inode(inode: *mut Struct_inode) -> _bool; | |
| pub fn d_alloc_name(arg1: *mut Struct_dentry, | |
| arg2: *const ::std::os::raw::c_char) | |
| -> *mut Struct_dentry; | |
| pub fn simple_fill_super(arg1: *mut Struct_super_block, | |
| arg2: ::std::os::raw::c_ulong, | |
| arg3: *mut Struct_tree_descr) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_pin_fs(arg1: *mut Struct_file_system_type, | |
| mount: *mut *mut Struct_vfsmount, | |
| count: *mut ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_release_fs(mount: *mut *mut Struct_vfsmount, | |
| count: *mut ::std::os::raw::c_int); | |
| pub fn simple_read_from_buffer(to: *mut ::std::os::raw::c_void, | |
| count: size_t, ppos: *mut loff_t, | |
| from: *const ::std::os::raw::c_void, | |
| available: size_t) -> ssize_t; | |
| pub fn simple_write_to_buffer(to: *mut ::std::os::raw::c_void, | |
| available: size_t, ppos: *mut loff_t, | |
| from: *const ::std::os::raw::c_void, | |
| count: size_t) -> ssize_t; | |
| pub fn __generic_file_fsync(arg1: *mut Struct_file, arg2: loff_t, | |
| arg3: loff_t, arg4: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn generic_file_fsync(arg1: *mut Struct_file, arg2: loff_t, | |
| arg3: loff_t, arg4: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn generic_check_addressable(arg1: ::std::os::raw::c_uint, | |
| arg2: __u64) -> ::std::os::raw::c_int; | |
| pub fn buffer_migrate_page(arg1: *mut Struct_address_space, | |
| arg2: *mut Struct_page, arg3: *mut Struct_page, | |
| arg4: Enum_migrate_mode) | |
| -> ::std::os::raw::c_int; | |
| pub fn inode_change_ok(arg1: *const Struct_inode, arg2: *mut Struct_iattr) | |
| -> ::std::os::raw::c_int; | |
| pub fn inode_newsize_ok(arg1: *const Struct_inode, offset: loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn setattr_copy(inode: *mut Struct_inode, attr: *const Struct_iattr); | |
| pub fn file_update_time(file: *mut Struct_file) -> ::std::os::raw::c_int; | |
| pub fn generic_show_options(m: *mut Struct_seq_file, | |
| root: *mut Struct_dentry) | |
| -> ::std::os::raw::c_int; | |
| pub fn save_mount_options(sb: *mut Struct_super_block, | |
| options: *mut ::std::os::raw::c_char); | |
| pub fn replace_mount_options(sb: *mut Struct_super_block, | |
| options: *mut ::std::os::raw::c_char); | |
| pub fn simple_transaction_get(file: *mut Struct_file, | |
| buf: *const ::std::os::raw::c_char, | |
| size: size_t) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn simple_transaction_read(file: *mut Struct_file, | |
| buf: *mut ::std::os::raw::c_char, | |
| size: size_t, pos: *mut loff_t) -> ssize_t; | |
| pub fn simple_transaction_release(inode: *mut Struct_inode, | |
| file: *mut Struct_file) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_transaction_set(file: *mut Struct_file, n: size_t); | |
| pub fn simple_attr_open(inode: *mut Struct_inode, file: *mut Struct_file, | |
| get: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut ::std::os::raw::c_void, | |
| arg2: | |
| *mut __u64) | |
| -> | |
| ::std::os::raw::c_int>, | |
| set: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut ::std::os::raw::c_void, | |
| arg2: | |
| __u64) | |
| -> | |
| ::std::os::raw::c_int>, | |
| fmt: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_attr_release(inode: *mut Struct_inode, | |
| file: *mut Struct_file) | |
| -> ::std::os::raw::c_int; | |
| pub fn simple_attr_read(file: *mut Struct_file, | |
| buf: *mut ::std::os::raw::c_char, len: size_t, | |
| ppos: *mut loff_t) -> ssize_t; | |
| pub fn simple_attr_write(file: *mut Struct_file, | |
| buf: *const ::std::os::raw::c_char, len: size_t, | |
| ppos: *mut loff_t) -> ssize_t; | |
| pub fn proc_nr_files(table: *mut Struct_ctl_table, | |
| write: ::std::os::raw::c_int, | |
| buffer: *mut ::std::os::raw::c_void, | |
| lenp: *mut size_t, ppos: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn proc_nr_dentry(table: *mut Struct_ctl_table, | |
| write: ::std::os::raw::c_int, | |
| buffer: *mut ::std::os::raw::c_void, | |
| lenp: *mut size_t, ppos: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn proc_nr_inodes(table: *mut Struct_ctl_table, | |
| write: ::std::os::raw::c_int, | |
| buffer: *mut ::std::os::raw::c_void, | |
| lenp: *mut size_t, ppos: *mut loff_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn get_filesystem_list(buf: *mut ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn path_noexec(path: *const Struct_path) -> _bool; | |
| pub fn path_nosuid(path: *const Struct_path) -> _bool; | |
| pub fn fixup_exception(regs: *mut Struct_pt_regs) | |
| -> ::std::os::raw::c_int; | |
| pub fn early_fixup_exception(ip: *mut ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn __get_user_1() -> ::std::os::raw::c_int; | |
| pub fn __get_user_2() -> ::std::os::raw::c_int; | |
| pub fn __get_user_4() -> ::std::os::raw::c_int; | |
| pub fn __get_user_8() -> ::std::os::raw::c_int; | |
| pub fn __get_user_bad() -> ::std::os::raw::c_int; | |
| pub fn __put_user_bad(); | |
| pub fn __put_user_1(); | |
| pub fn __put_user_2(); | |
| pub fn __put_user_4(); | |
| pub fn __put_user_8(); | |
| pub fn copy_from_user_nmi(to: *mut ::std::os::raw::c_void, | |
| from: *const ::std::os::raw::c_void, | |
| n: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn strncpy_from_user(dst: *mut ::std::os::raw::c_char, | |
| src: *const ::std::os::raw::c_char, | |
| count: ::std::os::raw::c_long) | |
| -> ::std::os::raw::c_long; | |
| pub fn strlen_user(str: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_long; | |
| pub fn strnlen_user(str: *const ::std::os::raw::c_char, | |
| n: ::std::os::raw::c_long) -> ::std::os::raw::c_long; | |
| pub fn clear_user(mem: *mut ::std::os::raw::c_void, | |
| len: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn __clear_user(mem: *mut ::std::os::raw::c_void, | |
| len: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn copy_user_enhanced_fast_string(to: *mut ::std::os::raw::c_void, | |
| from: *const ::std::os::raw::c_void, | |
| len: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn copy_user_generic_string(to: *mut ::std::os::raw::c_void, | |
| from: *const ::std::os::raw::c_void, | |
| len: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn copy_user_generic_unrolled(to: *mut ::std::os::raw::c_void, | |
| from: *const ::std::os::raw::c_void, | |
| len: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn copy_in_user(to: *mut ::std::os::raw::c_void, | |
| from: *const ::std::os::raw::c_void, | |
| len: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn __copy_user_nocache(dst: *mut ::std::os::raw::c_void, | |
| src: *const ::std::os::raw::c_void, | |
| size: ::std::os::raw::c_uint, | |
| zerorest: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_long; | |
| pub fn copy_user_handle_tail(to: *mut ::std::os::raw::c_char, | |
| from: *mut ::std::os::raw::c_char, | |
| len: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn _copy_from_user(to: *mut ::std::os::raw::c_void, | |
| from: *const ::std::os::raw::c_void, | |
| n: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn _copy_to_user(to: *mut ::std::os::raw::c_void, | |
| from: *const ::std::os::raw::c_void, | |
| n: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn copy_from_user_overflow(); | |
| pub fn copy_to_user_overflow(); | |
| pub fn idr_find_slowpath(idp: *mut Struct_idr, id: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn idr_preload(gfp_mask: gfp_t); | |
| pub fn idr_alloc(idp: *mut Struct_idr, ptr: *mut ::std::os::raw::c_void, | |
| start: ::std::os::raw::c_int, end: ::std::os::raw::c_int, | |
| gfp_mask: gfp_t) -> ::std::os::raw::c_int; | |
| pub fn idr_alloc_cyclic(idr: *mut Struct_idr, | |
| ptr: *mut ::std::os::raw::c_void, | |
| start: ::std::os::raw::c_int, | |
| end: ::std::os::raw::c_int, gfp_mask: gfp_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn idr_for_each(idp: *mut Struct_idr, | |
| _fn: | |
| ::std::option::Option<unsafe extern "C" fn(id: | |
| ::std::os::raw::c_int, | |
| p: | |
| *mut ::std::os::raw::c_void, | |
| data: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>, | |
| data: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn idr_get_next(idp: *mut Struct_idr, | |
| nextid: *mut ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn idr_replace(idp: *mut Struct_idr, ptr: *mut ::std::os::raw::c_void, | |
| id: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn idr_remove(idp: *mut Struct_idr, id: ::std::os::raw::c_int); | |
| pub fn idr_destroy(idp: *mut Struct_idr); | |
| pub fn idr_init(idp: *mut Struct_idr); | |
| pub fn idr_is_empty(idp: *mut Struct_idr) -> _bool; | |
| pub fn ida_pre_get(ida: *mut Struct_ida, gfp_mask: gfp_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn ida_get_new_above(ida: *mut Struct_ida, | |
| starting_id: ::std::os::raw::c_int, | |
| p_id: *mut ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn ida_remove(ida: *mut Struct_ida, id: ::std::os::raw::c_int); | |
| pub fn ida_destroy(ida: *mut Struct_ida); | |
| pub fn ida_init(ida: *mut Struct_ida); | |
| pub fn ida_simple_get(ida: *mut Struct_ida, start: ::std::os::raw::c_uint, | |
| end: ::std::os::raw::c_uint, gfp_mask: gfp_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn ida_simple_remove(ida: *mut Struct_ida, | |
| id: ::std::os::raw::c_uint); | |
| pub fn idr_init_cache(); | |
| pub fn kernfs_name(kn: *mut Struct_kernfs_node, | |
| buf: *mut ::std::os::raw::c_char, buflen: size_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn kernfs_path_len(kn: *mut Struct_kernfs_node) -> size_t; | |
| pub fn kernfs_path_from_node(root_kn: *mut Struct_kernfs_node, | |
| kn: *mut Struct_kernfs_node, | |
| buf: *mut ::std::os::raw::c_char, | |
| buflen: size_t) -> ::std::os::raw::c_int; | |
| pub fn kernfs_path(kn: *mut Struct_kernfs_node, | |
| buf: *mut ::std::os::raw::c_char, buflen: size_t) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn pr_cont_kernfs_name(kn: *mut Struct_kernfs_node); | |
| pub fn pr_cont_kernfs_path(kn: *mut Struct_kernfs_node); | |
| pub fn kernfs_get_parent(kn: *mut Struct_kernfs_node) | |
| -> *mut Struct_kernfs_node; | |
| pub fn kernfs_find_and_get_ns(parent: *mut Struct_kernfs_node, | |
| name: *const ::std::os::raw::c_char, | |
| ns: *const ::std::os::raw::c_void) | |
| -> *mut Struct_kernfs_node; | |
| pub fn kernfs_get(kn: *mut Struct_kernfs_node); | |
| pub fn kernfs_put(kn: *mut Struct_kernfs_node); | |
| pub fn kernfs_node_from_dentry(dentry: *mut Struct_dentry) | |
| -> *mut Struct_kernfs_node; | |
| pub fn kernfs_root_from_sb(sb: *mut Struct_super_block) | |
| -> *mut Struct_kernfs_root; | |
| pub fn kernfs_get_inode(sb: *mut Struct_super_block, | |
| kn: *mut Struct_kernfs_node) -> *mut Struct_inode; | |
| pub fn kernfs_node_dentry(kn: *mut Struct_kernfs_node, | |
| sb: *mut Struct_super_block) | |
| -> *mut Struct_dentry; | |
| pub fn kernfs_create_root(scops: *mut Struct_kernfs_syscall_ops, | |
| flags: ::std::os::raw::c_uint, | |
| _priv: *mut ::std::os::raw::c_void) | |
| -> *mut Struct_kernfs_root; | |
| pub fn kernfs_destroy_root(root: *mut Struct_kernfs_root); | |
| pub fn kernfs_create_dir_ns(parent: *mut Struct_kernfs_node, | |
| name: *const ::std::os::raw::c_char, | |
| mode: umode_t, | |
| _priv: *mut ::std::os::raw::c_void, | |
| ns: *const ::std::os::raw::c_void) | |
| -> *mut Struct_kernfs_node; | |
| pub fn kernfs_create_empty_dir(parent: *mut Struct_kernfs_node, | |
| name: *const ::std::os::raw::c_char) | |
| -> *mut Struct_kernfs_node; | |
| pub fn __kernfs_create_file(parent: *mut Struct_kernfs_node, | |
| name: *const ::std::os::raw::c_char, | |
| mode: umode_t, size: loff_t, | |
| ops: *const Struct_kernfs_ops, | |
| _priv: *mut ::std::os::raw::c_void, | |
| ns: *const ::std::os::raw::c_void, | |
| key: *mut Struct_lock_class_key) | |
| -> *mut Struct_kernfs_node; | |
| pub fn kernfs_create_link(parent: *mut Struct_kernfs_node, | |
| name: *const ::std::os::raw::c_char, | |
| target: *mut Struct_kernfs_node) | |
| -> *mut Struct_kernfs_node; | |
| pub fn kernfs_activate(kn: *mut Struct_kernfs_node); | |
| pub fn kernfs_remove(kn: *mut Struct_kernfs_node); | |
| pub fn kernfs_break_active_protection(kn: *mut Struct_kernfs_node); | |
| pub fn kernfs_unbreak_active_protection(kn: *mut Struct_kernfs_node); | |
| pub fn kernfs_remove_self(kn: *mut Struct_kernfs_node) -> _bool; | |
| pub fn kernfs_remove_by_name_ns(parent: *mut Struct_kernfs_node, | |
| name: *const ::std::os::raw::c_char, | |
| ns: *const ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn kernfs_rename_ns(kn: *mut Struct_kernfs_node, | |
| new_parent: *mut Struct_kernfs_node, | |
| new_name: *const ::std::os::raw::c_char, | |
| new_ns: *const ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn kernfs_setattr(kn: *mut Struct_kernfs_node, | |
| iattr: *const Struct_iattr) | |
| -> ::std::os::raw::c_int; | |
| pub fn kernfs_notify(kn: *mut Struct_kernfs_node); | |
| pub fn kernfs_super_ns(sb: *mut Struct_super_block) | |
| -> *const ::std::os::raw::c_void; | |
| pub fn kernfs_mount_ns(fs_type: *mut Struct_file_system_type, | |
| flags: ::std::os::raw::c_int, | |
| root: *mut Struct_kernfs_root, | |
| magic: ::std::os::raw::c_ulong, | |
| new_sb_created: *mut _bool, | |
| ns: *const ::std::os::raw::c_void) | |
| -> *mut Struct_dentry; | |
| pub fn kernfs_kill_sb(sb: *mut Struct_super_block); | |
| pub fn kernfs_pin_sb(root: *mut Struct_kernfs_root, | |
| ns: *const ::std::os::raw::c_void) | |
| -> *mut Struct_super_block; | |
| pub fn kernfs_init(); | |
| pub fn kobj_ns_type_register(ops: *const Struct_kobj_ns_type_operations) | |
| -> ::std::os::raw::c_int; | |
| pub fn kobj_ns_type_registered(_type: Enum_kobj_ns_type) | |
| -> ::std::os::raw::c_int; | |
| pub fn kobj_child_ns_ops(parent: *mut Struct_kobject) | |
| -> *const Struct_kobj_ns_type_operations; | |
| pub fn kobj_ns_ops(kobj: *mut Struct_kobject) | |
| -> *const Struct_kobj_ns_type_operations; | |
| pub fn kobj_ns_current_may_mount(_type: Enum_kobj_ns_type) -> _bool; | |
| pub fn kobj_ns_grab_current(_type: Enum_kobj_ns_type) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn kobj_ns_netlink(_type: Enum_kobj_ns_type, sk: *mut Struct_sock) | |
| -> *const ::std::os::raw::c_void; | |
| pub fn kobj_ns_initial(_type: Enum_kobj_ns_type) | |
| -> *const ::std::os::raw::c_void; | |
| pub fn kobj_ns_drop(_type: Enum_kobj_ns_type, | |
| ns: *mut ::std::os::raw::c_void); | |
| pub fn sysfs_create_dir_ns(kobj: *mut Struct_kobject, | |
| ns: *const ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_remove_dir(kobj: *mut Struct_kobject); | |
| pub fn sysfs_rename_dir_ns(kobj: *mut Struct_kobject, | |
| new_name: *const ::std::os::raw::c_char, | |
| new_ns: *const ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_move_dir_ns(kobj: *mut Struct_kobject, | |
| new_parent_kobj: *mut Struct_kobject, | |
| new_ns: *const ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_create_mount_point(parent_kobj: *mut Struct_kobject, | |
| name: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_remove_mount_point(parent_kobj: *mut Struct_kobject, | |
| name: *const ::std::os::raw::c_char); | |
| pub fn sysfs_create_file_ns(kobj: *mut Struct_kobject, | |
| attr: *const Struct_attribute, | |
| ns: *const ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_create_files(kobj: *mut Struct_kobject, | |
| attr: *mut *const Struct_attribute) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_chmod_file(kobj: *mut Struct_kobject, | |
| attr: *const Struct_attribute, mode: umode_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_remove_file_ns(kobj: *mut Struct_kobject, | |
| attr: *const Struct_attribute, | |
| ns: *const ::std::os::raw::c_void); | |
| pub fn sysfs_remove_file_self(kobj: *mut Struct_kobject, | |
| attr: *const Struct_attribute) -> _bool; | |
| pub fn sysfs_remove_files(kobj: *mut Struct_kobject, | |
| attr: *mut *const Struct_attribute); | |
| pub fn sysfs_create_bin_file(kobj: *mut Struct_kobject, | |
| attr: *const Struct_bin_attribute) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_remove_bin_file(kobj: *mut Struct_kobject, | |
| attr: *const Struct_bin_attribute); | |
| pub fn sysfs_create_link(kobj: *mut Struct_kobject, | |
| target: *mut Struct_kobject, | |
| name: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_create_link_nowarn(kobj: *mut Struct_kobject, | |
| target: *mut Struct_kobject, | |
| name: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_remove_link(kobj: *mut Struct_kobject, | |
| name: *const ::std::os::raw::c_char); | |
| pub fn sysfs_rename_link_ns(kobj: *mut Struct_kobject, | |
| target: *mut Struct_kobject, | |
| old_name: *const ::std::os::raw::c_char, | |
| new_name: *const ::std::os::raw::c_char, | |
| new_ns: *const ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_delete_link(dir: *mut Struct_kobject, | |
| targ: *mut Struct_kobject, | |
| name: *const ::std::os::raw::c_char); | |
| pub fn sysfs_create_group(kobj: *mut Struct_kobject, | |
| grp: *const Struct_attribute_group) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_create_groups(kobj: *mut Struct_kobject, | |
| groups: *mut *const Struct_attribute_group) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_update_group(kobj: *mut Struct_kobject, | |
| grp: *const Struct_attribute_group) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_remove_group(kobj: *mut Struct_kobject, | |
| grp: *const Struct_attribute_group); | |
| pub fn sysfs_remove_groups(kobj: *mut Struct_kobject, | |
| groups: *mut *const Struct_attribute_group); | |
| pub fn sysfs_add_file_to_group(kobj: *mut Struct_kobject, | |
| attr: *const Struct_attribute, | |
| group: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_remove_file_from_group(kobj: *mut Struct_kobject, | |
| attr: *const Struct_attribute, | |
| group: *const ::std::os::raw::c_char); | |
| pub fn sysfs_merge_group(kobj: *mut Struct_kobject, | |
| grp: *const Struct_attribute_group) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_unmerge_group(kobj: *mut Struct_kobject, | |
| grp: *const Struct_attribute_group); | |
| pub fn sysfs_add_link_to_group(kobj: *mut Struct_kobject, | |
| group_name: *const ::std::os::raw::c_char, | |
| target: *mut Struct_kobject, | |
| link_name: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_remove_link_from_group(kobj: *mut Struct_kobject, | |
| group_name: | |
| *const ::std::os::raw::c_char, | |
| link_name: | |
| *const ::std::os::raw::c_char); | |
| pub fn __compat_only_sysfs_link_entry_to_kobj(kobj: *mut Struct_kobject, | |
| target_kobj: | |
| *mut Struct_kobject, | |
| target_name: | |
| *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn sysfs_notify(kobj: *mut Struct_kobject, | |
| dir: *const ::std::os::raw::c_char, | |
| attr: *const ::std::os::raw::c_char); | |
| pub fn sysfs_init() -> ::std::os::raw::c_int; | |
| pub fn kobject_set_name(kobj: *mut Struct_kobject, | |
| name: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn kobject_set_name_vargs(kobj: *mut Struct_kobject, | |
| fmt: *const ::std::os::raw::c_char, | |
| vargs: va_list) -> ::std::os::raw::c_int; | |
| pub fn kobject_init(kobj: *mut Struct_kobject, | |
| ktype: *mut Struct_kobj_type); | |
| pub fn kobject_add(kobj: *mut Struct_kobject, parent: *mut Struct_kobject, | |
| fmt: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn kobject_init_and_add(kobj: *mut Struct_kobject, | |
| ktype: *mut Struct_kobj_type, | |
| parent: *mut Struct_kobject, | |
| fmt: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn kobject_del(kobj: *mut Struct_kobject); | |
| pub fn kobject_create() -> *mut Struct_kobject; | |
| pub fn kobject_create_and_add(name: *const ::std::os::raw::c_char, | |
| parent: *mut Struct_kobject) | |
| -> *mut Struct_kobject; | |
| pub fn kobject_rename(arg1: *mut Struct_kobject, | |
| new_name: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn kobject_move(arg1: *mut Struct_kobject, arg2: *mut Struct_kobject) | |
| -> ::std::os::raw::c_int; | |
| pub fn kobject_get(kobj: *mut Struct_kobject) -> *mut Struct_kobject; | |
| pub fn kobject_put(kobj: *mut Struct_kobject); | |
| pub fn kobject_namespace(kobj: *mut Struct_kobject) | |
| -> *const ::std::os::raw::c_void; | |
| pub fn kobject_get_path(kobj: *mut Struct_kobject, flag: gfp_t) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn kset_init(kset: *mut Struct_kset); | |
| pub fn kset_register(kset: *mut Struct_kset) -> ::std::os::raw::c_int; | |
| pub fn kset_unregister(kset: *mut Struct_kset); | |
| pub fn kset_create_and_add(name: *const ::std::os::raw::c_char, | |
| u: *const Struct_kset_uevent_ops, | |
| parent_kobj: *mut Struct_kobject) | |
| -> *mut Struct_kset; | |
| pub fn kset_find_obj(arg1: *mut Struct_kset, | |
| arg2: *const ::std::os::raw::c_char) | |
| -> *mut Struct_kobject; | |
| pub fn kobject_uevent(kobj: *mut Struct_kobject, | |
| action: Enum_kobject_action) | |
| -> ::std::os::raw::c_int; | |
| pub fn kobject_uevent_env(kobj: *mut Struct_kobject, | |
| action: Enum_kobject_action, | |
| envp: *mut *mut ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn add_uevent_var(env: *mut Struct_kobj_uevent_env, | |
| format: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn kobject_action_type(buf: *const ::std::os::raw::c_char, | |
| count: size_t, _type: *mut Enum_kobject_action) | |
| -> ::std::os::raw::c_int; | |
| pub fn klist_init(k: *mut Struct_klist, | |
| get: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_klist_node)>, | |
| put: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_klist_node)>); | |
| pub fn klist_add_tail(n: *mut Struct_klist_node, k: *mut Struct_klist); | |
| pub fn klist_add_head(n: *mut Struct_klist_node, k: *mut Struct_klist); | |
| pub fn klist_add_behind(n: *mut Struct_klist_node, | |
| pos: *mut Struct_klist_node); | |
| pub fn klist_add_before(n: *mut Struct_klist_node, | |
| pos: *mut Struct_klist_node); | |
| pub fn klist_del(n: *mut Struct_klist_node); | |
| pub fn klist_remove(n: *mut Struct_klist_node); | |
| pub fn klist_node_attached(n: *mut Struct_klist_node) | |
| -> ::std::os::raw::c_int; | |
| pub fn klist_iter_init(k: *mut Struct_klist, i: *mut Struct_klist_iter); | |
| pub fn klist_iter_init_node(k: *mut Struct_klist, | |
| i: *mut Struct_klist_iter, | |
| n: *mut Struct_klist_node); | |
| pub fn klist_iter_exit(i: *mut Struct_klist_iter); | |
| pub fn klist_prev(i: *mut Struct_klist_iter) -> *mut Struct_klist_node; | |
| pub fn klist_next(i: *mut Struct_klist_iter) -> *mut Struct_klist_node; | |
| pub fn seq_pad(m: *mut Struct_seq_file, c: ::std::os::raw::c_char); | |
| pub fn mangle_path(s: *mut ::std::os::raw::c_char, | |
| p: *const ::std::os::raw::c_char, | |
| esc: *const ::std::os::raw::c_char) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn seq_open(arg1: *mut Struct_file, | |
| arg2: *const Struct_seq_operations) | |
| -> ::std::os::raw::c_int; | |
| pub fn seq_read(arg1: *mut Struct_file, arg2: *mut ::std::os::raw::c_char, | |
| arg3: size_t, arg4: *mut loff_t) -> ssize_t; | |
| pub fn seq_lseek(arg1: *mut Struct_file, arg2: loff_t, | |
| arg3: ::std::os::raw::c_int) -> loff_t; | |
| pub fn seq_release(arg1: *mut Struct_inode, arg2: *mut Struct_file) | |
| -> ::std::os::raw::c_int; | |
| pub fn seq_write(seq: *mut Struct_seq_file, | |
| data: *const ::std::os::raw::c_void, len: size_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn seq_vprintf(m: *mut Struct_seq_file, | |
| fmt: *const ::std::os::raw::c_char, args: va_list); | |
| pub fn seq_printf(m: *mut Struct_seq_file, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn seq_putc(m: *mut Struct_seq_file, c: ::std::os::raw::c_char); | |
| pub fn seq_puts(m: *mut Struct_seq_file, | |
| s: *const ::std::os::raw::c_char); | |
| pub fn seq_put_decimal_ull(m: *mut Struct_seq_file, | |
| delimiter: ::std::os::raw::c_char, | |
| num: ::std::os::raw::c_ulonglong); | |
| pub fn seq_put_decimal_ll(m: *mut Struct_seq_file, | |
| delimiter: ::std::os::raw::c_char, | |
| num: ::std::os::raw::c_longlong); | |
| pub fn seq_escape(m: *mut Struct_seq_file, | |
| s: *const ::std::os::raw::c_char, | |
| esc: *const ::std::os::raw::c_char); | |
| pub fn seq_hex_dump(m: *mut Struct_seq_file, | |
| prefix_str: *const ::std::os::raw::c_char, | |
| prefix_type: ::std::os::raw::c_int, | |
| rowsize: ::std::os::raw::c_int, | |
| groupsize: ::std::os::raw::c_int, | |
| buf: *const ::std::os::raw::c_void, len: size_t, | |
| ascii: _bool); | |
| pub fn seq_path(arg1: *mut Struct_seq_file, arg2: *const Struct_path, | |
| arg3: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn seq_file_path(arg1: *mut Struct_seq_file, arg2: *mut Struct_file, | |
| arg3: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn seq_dentry(arg1: *mut Struct_seq_file, arg2: *mut Struct_dentry, | |
| arg3: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn seq_path_root(m: *mut Struct_seq_file, path: *const Struct_path, | |
| root: *const Struct_path, | |
| esc: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn single_open(arg1: *mut Struct_file, | |
| arg2: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_seq_file, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>, | |
| arg3: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn single_open_size(arg1: *mut Struct_file, | |
| arg2: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_seq_file, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>, | |
| arg3: *mut ::std::os::raw::c_void, arg4: size_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn single_release(arg1: *mut Struct_inode, arg2: *mut Struct_file) | |
| -> ::std::os::raw::c_int; | |
| pub fn __seq_open_private(arg1: *mut Struct_file, | |
| arg2: *const Struct_seq_operations, | |
| arg3: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn seq_open_private(arg1: *mut Struct_file, | |
| arg2: *const Struct_seq_operations, | |
| arg3: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn seq_release_private(arg1: *mut Struct_inode, | |
| arg2: *mut Struct_file) | |
| -> ::std::os::raw::c_int; | |
| pub fn seq_list_start(head: *mut Struct_list_head, pos: loff_t) | |
| -> *mut Struct_list_head; | |
| pub fn seq_list_start_head(head: *mut Struct_list_head, pos: loff_t) | |
| -> *mut Struct_list_head; | |
| pub fn seq_list_next(v: *mut ::std::os::raw::c_void, | |
| head: *mut Struct_list_head, ppos: *mut loff_t) | |
| -> *mut Struct_list_head; | |
| pub fn seq_hlist_start(head: *mut Struct_hlist_head, pos: loff_t) | |
| -> *mut Struct_hlist_node; | |
| pub fn seq_hlist_start_head(head: *mut Struct_hlist_head, pos: loff_t) | |
| -> *mut Struct_hlist_node; | |
| pub fn seq_hlist_next(v: *mut ::std::os::raw::c_void, | |
| head: *mut Struct_hlist_head, ppos: *mut loff_t) | |
| -> *mut Struct_hlist_node; | |
| pub fn seq_hlist_start_rcu(head: *mut Struct_hlist_head, pos: loff_t) | |
| -> *mut Struct_hlist_node; | |
| pub fn seq_hlist_start_head_rcu(head: *mut Struct_hlist_head, pos: loff_t) | |
| -> *mut Struct_hlist_node; | |
| pub fn seq_hlist_next_rcu(v: *mut ::std::os::raw::c_void, | |
| head: *mut Struct_hlist_head, ppos: *mut loff_t) | |
| -> *mut Struct_hlist_node; | |
| pub fn seq_hlist_start_percpu(head: *mut Struct_hlist_head, | |
| cpu: *mut ::std::os::raw::c_int, | |
| pos: loff_t) -> *mut Struct_hlist_node; | |
| pub fn seq_hlist_next_percpu(v: *mut ::std::os::raw::c_void, | |
| head: *mut Struct_hlist_head, | |
| cpu: *mut ::std::os::raw::c_int, | |
| pos: *mut loff_t) -> *mut Struct_hlist_node; | |
| pub fn pinctrl_request_gpio(gpio: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn pinctrl_free_gpio(gpio: ::std::os::raw::c_uint); | |
| pub fn pinctrl_gpio_direction_input(gpio: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn pinctrl_gpio_direction_output(gpio: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn pinctrl_get(dev: *mut Struct_device) -> *mut Struct_pinctrl; | |
| pub fn pinctrl_put(p: *mut Struct_pinctrl); | |
| pub fn pinctrl_lookup_state(p: *mut Struct_pinctrl, | |
| name: *const ::std::os::raw::c_char) | |
| -> *mut Struct_pinctrl_state; | |
| pub fn pinctrl_select_state(p: *mut Struct_pinctrl, | |
| s: *mut Struct_pinctrl_state) | |
| -> ::std::os::raw::c_int; | |
| pub fn devm_pinctrl_get(dev: *mut Struct_device) -> *mut Struct_pinctrl; | |
| pub fn devm_pinctrl_put(p: *mut Struct_pinctrl); | |
| pub fn pinctrl_pm_select_default_state(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pinctrl_pm_select_sleep_state(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pinctrl_pm_select_idle_state(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pinctrl_bind_pins(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn pinctrl_init_done(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn ___ratelimit(rs: *mut Struct_ratelimit_state, | |
| func: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn bus_create_file(arg1: *mut Struct_bus_type, | |
| arg2: *mut Struct_bus_attribute) | |
| -> ::std::os::raw::c_int; | |
| pub fn bus_remove_file(arg1: *mut Struct_bus_type, | |
| arg2: *mut Struct_bus_attribute); | |
| pub fn bus_register(bus: *mut Struct_bus_type) -> ::std::os::raw::c_int; | |
| pub fn bus_unregister(bus: *mut Struct_bus_type); | |
| pub fn bus_rescan_devices(bus: *mut Struct_bus_type) | |
| -> ::std::os::raw::c_int; | |
| pub fn subsys_dev_iter_init(iter: *mut Struct_subsys_dev_iter, | |
| subsys: *mut Struct_bus_type, | |
| start: *mut Struct_device, | |
| _type: *const Struct_device_type); | |
| pub fn subsys_dev_iter_next(iter: *mut Struct_subsys_dev_iter) | |
| -> *mut Struct_device; | |
| pub fn subsys_dev_iter_exit(iter: *mut Struct_subsys_dev_iter); | |
| pub fn bus_for_each_dev(bus: *mut Struct_bus_type, | |
| start: *mut Struct_device, | |
| data: *mut ::std::os::raw::c_void, | |
| _fn: | |
| ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| data: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> ::std::os::raw::c_int; | |
| pub fn bus_find_device(bus: *mut Struct_bus_type, | |
| start: *mut Struct_device, | |
| data: *mut ::std::os::raw::c_void, | |
| _match: | |
| ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| data: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> *mut Struct_device; | |
| pub fn bus_find_device_by_name(bus: *mut Struct_bus_type, | |
| start: *mut Struct_device, | |
| name: *const ::std::os::raw::c_char) | |
| -> *mut Struct_device; | |
| pub fn subsys_find_device_by_id(bus: *mut Struct_bus_type, | |
| id: ::std::os::raw::c_uint, | |
| hint: *mut Struct_device) | |
| -> *mut Struct_device; | |
| pub fn bus_for_each_drv(bus: *mut Struct_bus_type, | |
| start: *mut Struct_device_driver, | |
| data: *mut ::std::os::raw::c_void, | |
| _fn: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_device_driver, | |
| arg2: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> ::std::os::raw::c_int; | |
| pub fn bus_sort_breadthfirst(bus: *mut Struct_bus_type, | |
| compare: | |
| ::std::option::Option<unsafe extern "C" fn(a: | |
| *const Struct_device, | |
| b: | |
| *const Struct_device) | |
| -> | |
| ::std::os::raw::c_int>); | |
| pub fn bus_register_notifier(bus: *mut Struct_bus_type, | |
| nb: *mut Struct_notifier_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn bus_unregister_notifier(bus: *mut Struct_bus_type, | |
| nb: *mut Struct_notifier_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn bus_get_kset(bus: *mut Struct_bus_type) -> *mut Struct_kset; | |
| pub fn bus_get_device_klist(bus: *mut Struct_bus_type) | |
| -> *mut Struct_klist; | |
| pub fn driver_register(drv: *mut Struct_device_driver) | |
| -> ::std::os::raw::c_int; | |
| pub fn driver_unregister(drv: *mut Struct_device_driver); | |
| pub fn driver_find(name: *const ::std::os::raw::c_char, | |
| bus: *mut Struct_bus_type) | |
| -> *mut Struct_device_driver; | |
| pub fn driver_probe_done() -> ::std::os::raw::c_int; | |
| pub fn wait_for_device_probe(); | |
| pub fn driver_create_file(driver: *mut Struct_device_driver, | |
| attr: *const Struct_driver_attribute) | |
| -> ::std::os::raw::c_int; | |
| pub fn driver_remove_file(driver: *mut Struct_device_driver, | |
| attr: *const Struct_driver_attribute); | |
| pub fn driver_for_each_device(drv: *mut Struct_device_driver, | |
| start: *mut Struct_device, | |
| data: *mut ::std::os::raw::c_void, | |
| _fn: | |
| ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| arg1: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> ::std::os::raw::c_int; | |
| pub fn driver_find_device(drv: *mut Struct_device_driver, | |
| start: *mut Struct_device, | |
| data: *mut ::std::os::raw::c_void, | |
| _match: | |
| ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| data: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> *mut Struct_device; | |
| pub fn subsys_interface_register(sif: *mut Struct_subsys_interface) | |
| -> ::std::os::raw::c_int; | |
| pub fn subsys_interface_unregister(sif: *mut Struct_subsys_interface); | |
| pub fn subsys_system_register(subsys: *mut Struct_bus_type, | |
| groups: *mut *const Struct_attribute_group) | |
| -> ::std::os::raw::c_int; | |
| pub fn subsys_virtual_register(subsys: *mut Struct_bus_type, | |
| groups: *mut *const Struct_attribute_group) | |
| -> ::std::os::raw::c_int; | |
| pub fn __class_register(class: *mut Struct_class, | |
| key: *mut Struct_lock_class_key) | |
| -> ::std::os::raw::c_int; | |
| pub fn class_unregister(class: *mut Struct_class); | |
| pub fn class_compat_register(name: *const ::std::os::raw::c_char) | |
| -> *mut Struct_class_compat; | |
| pub fn class_compat_unregister(cls: *mut Struct_class_compat); | |
| pub fn class_compat_create_link(cls: *mut Struct_class_compat, | |
| dev: *mut Struct_device, | |
| device_link: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn class_compat_remove_link(cls: *mut Struct_class_compat, | |
| dev: *mut Struct_device, | |
| device_link: *mut Struct_device); | |
| pub fn class_dev_iter_init(iter: *mut Struct_class_dev_iter, | |
| class: *mut Struct_class, | |
| start: *mut Struct_device, | |
| _type: *const Struct_device_type); | |
| pub fn class_dev_iter_next(iter: *mut Struct_class_dev_iter) | |
| -> *mut Struct_device; | |
| pub fn class_dev_iter_exit(iter: *mut Struct_class_dev_iter); | |
| pub fn class_for_each_device(class: *mut Struct_class, | |
| start: *mut Struct_device, | |
| data: *mut ::std::os::raw::c_void, | |
| _fn: | |
| ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| data: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> ::std::os::raw::c_int; | |
| pub fn class_find_device(class: *mut Struct_class, | |
| start: *mut Struct_device, | |
| data: *const ::std::os::raw::c_void, | |
| _match: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_device, | |
| arg2: | |
| *const ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> *mut Struct_device; | |
| pub fn class_create_file_ns(class: *mut Struct_class, | |
| attr: *const Struct_class_attribute, | |
| ns: *const ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn class_remove_file_ns(class: *mut Struct_class, | |
| attr: *const Struct_class_attribute, | |
| ns: *const ::std::os::raw::c_void); | |
| pub fn show_class_attr_string(class: *mut Struct_class, | |
| attr: *mut Struct_class_attribute, | |
| buf: *mut ::std::os::raw::c_char) | |
| -> ssize_t; | |
| pub fn class_interface_register(arg1: *mut Struct_class_interface) | |
| -> ::std::os::raw::c_int; | |
| pub fn class_interface_unregister(arg1: *mut Struct_class_interface); | |
| pub fn __class_create(owner: *mut Struct_module, | |
| name: *const ::std::os::raw::c_char, | |
| key: *mut Struct_lock_class_key) | |
| -> *mut Struct_class; | |
| pub fn class_destroy(cls: *mut Struct_class); | |
| pub fn device_show_ulong(dev: *mut Struct_device, | |
| attr: *mut Struct_device_attribute, | |
| buf: *mut ::std::os::raw::c_char) -> ssize_t; | |
| pub fn device_store_ulong(dev: *mut Struct_device, | |
| attr: *mut Struct_device_attribute, | |
| buf: *const ::std::os::raw::c_char, | |
| count: size_t) -> ssize_t; | |
| pub fn device_show_int(dev: *mut Struct_device, | |
| attr: *mut Struct_device_attribute, | |
| buf: *mut ::std::os::raw::c_char) -> ssize_t; | |
| pub fn device_store_int(dev: *mut Struct_device, | |
| attr: *mut Struct_device_attribute, | |
| buf: *const ::std::os::raw::c_char, count: size_t) | |
| -> ssize_t; | |
| pub fn device_show_bool(dev: *mut Struct_device, | |
| attr: *mut Struct_device_attribute, | |
| buf: *mut ::std::os::raw::c_char) -> ssize_t; | |
| pub fn device_store_bool(dev: *mut Struct_device, | |
| attr: *mut Struct_device_attribute, | |
| buf: *const ::std::os::raw::c_char, | |
| count: size_t) -> ssize_t; | |
| pub fn device_create_file(device: *mut Struct_device, | |
| entry: *const Struct_device_attribute) | |
| -> ::std::os::raw::c_int; | |
| pub fn device_remove_file(dev: *mut Struct_device, | |
| attr: *const Struct_device_attribute); | |
| pub fn device_remove_file_self(dev: *mut Struct_device, | |
| attr: *const Struct_device_attribute) | |
| -> _bool; | |
| pub fn device_create_bin_file(dev: *mut Struct_device, | |
| attr: *const Struct_bin_attribute) | |
| -> ::std::os::raw::c_int; | |
| pub fn device_remove_bin_file(dev: *mut Struct_device, | |
| attr: *const Struct_bin_attribute); | |
| pub fn devres_alloc_node(release: dr_release_t, size: size_t, gfp: gfp_t, | |
| nid: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn devres_for_each_res(dev: *mut Struct_device, release: dr_release_t, | |
| _match: dr_match_t, | |
| match_data: *mut ::std::os::raw::c_void, | |
| _fn: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_device, | |
| arg2: | |
| *mut ::std::os::raw::c_void, | |
| arg3: | |
| *mut ::std::os::raw::c_void)>, | |
| data: *mut ::std::os::raw::c_void); | |
| pub fn devres_free(res: *mut ::std::os::raw::c_void); | |
| pub fn devres_add(dev: *mut Struct_device, | |
| res: *mut ::std::os::raw::c_void); | |
| pub fn devres_find(dev: *mut Struct_device, release: dr_release_t, | |
| _match: dr_match_t, | |
| match_data: *mut ::std::os::raw::c_void) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn devres_get(dev: *mut Struct_device, | |
| new_res: *mut ::std::os::raw::c_void, | |
| _match: dr_match_t, | |
| match_data: *mut ::std::os::raw::c_void) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn devres_remove(dev: *mut Struct_device, release: dr_release_t, | |
| _match: dr_match_t, | |
| match_data: *mut ::std::os::raw::c_void) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn devres_destroy(dev: *mut Struct_device, release: dr_release_t, | |
| _match: dr_match_t, | |
| match_data: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn devres_release(dev: *mut Struct_device, release: dr_release_t, | |
| _match: dr_match_t, | |
| match_data: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn devres_open_group(dev: *mut Struct_device, | |
| id: *mut ::std::os::raw::c_void, gfp: gfp_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn devres_close_group(dev: *mut Struct_device, | |
| id: *mut ::std::os::raw::c_void); | |
| pub fn devres_remove_group(dev: *mut Struct_device, | |
| id: *mut ::std::os::raw::c_void); | |
| pub fn devres_release_group(dev: *mut Struct_device, | |
| id: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn devm_kmalloc(dev: *mut Struct_device, size: size_t, gfp: gfp_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn devm_kvasprintf(dev: *mut Struct_device, gfp: gfp_t, | |
| fmt: *const ::std::os::raw::c_char, ap: va_list) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn devm_kasprintf(dev: *mut Struct_device, gfp: gfp_t, | |
| fmt: *const ::std::os::raw::c_char, ...) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn devm_kfree(dev: *mut Struct_device, | |
| p: *mut ::std::os::raw::c_void); | |
| pub fn devm_kstrdup(dev: *mut Struct_device, | |
| s: *const ::std::os::raw::c_char, gfp: gfp_t) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn devm_kmemdup(dev: *mut Struct_device, | |
| src: *const ::std::os::raw::c_void, len: size_t, | |
| gfp: gfp_t) -> *mut ::std::os::raw::c_void; | |
| pub fn devm_get_free_pages(dev: *mut Struct_device, gfp_mask: gfp_t, | |
| order: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn devm_free_pages(dev: *mut Struct_device, | |
| addr: ::std::os::raw::c_ulong); | |
| pub fn devm_ioremap_resource(dev: *mut Struct_device, | |
| res: *mut Struct_resource) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn devm_add_action(dev: *mut Struct_device, | |
| action: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut ::std::os::raw::c_void)>, | |
| data: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn devm_remove_action(dev: *mut Struct_device, | |
| action: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut ::std::os::raw::c_void)>, | |
| data: *mut ::std::os::raw::c_void); | |
| pub fn wakeup_source_prepare(ws: *mut Struct_wakeup_source, | |
| name: *const ::std::os::raw::c_char); | |
| pub fn wakeup_source_create(name: *const ::std::os::raw::c_char) | |
| -> *mut Struct_wakeup_source; | |
| pub fn wakeup_source_drop(ws: *mut Struct_wakeup_source); | |
| pub fn wakeup_source_destroy(ws: *mut Struct_wakeup_source); | |
| pub fn wakeup_source_add(ws: *mut Struct_wakeup_source); | |
| pub fn wakeup_source_remove(ws: *mut Struct_wakeup_source); | |
| pub fn wakeup_source_register(name: *const ::std::os::raw::c_char) | |
| -> *mut Struct_wakeup_source; | |
| pub fn wakeup_source_unregister(ws: *mut Struct_wakeup_source); | |
| pub fn device_wakeup_enable(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn device_wakeup_disable(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn device_set_wakeup_capable(dev: *mut Struct_device, capable: _bool); | |
| pub fn device_init_wakeup(dev: *mut Struct_device, val: _bool) | |
| -> ::std::os::raw::c_int; | |
| pub fn device_set_wakeup_enable(dev: *mut Struct_device, enable: _bool) | |
| -> ::std::os::raw::c_int; | |
| pub fn __pm_stay_awake(ws: *mut Struct_wakeup_source); | |
| pub fn pm_stay_awake(dev: *mut Struct_device); | |
| pub fn __pm_relax(ws: *mut Struct_wakeup_source); | |
| pub fn pm_relax(dev: *mut Struct_device); | |
| pub fn __pm_wakeup_event(ws: *mut Struct_wakeup_source, | |
| msec: ::std::os::raw::c_uint); | |
| pub fn pm_wakeup_event(dev: *mut Struct_device, | |
| msec: ::std::os::raw::c_uint); | |
| pub fn dev_set_name(dev: *mut Struct_device, | |
| name: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn driver_init(); | |
| pub fn device_register(dev: *mut Struct_device) -> ::std::os::raw::c_int; | |
| pub fn device_unregister(dev: *mut Struct_device); | |
| pub fn device_initialize(dev: *mut Struct_device); | |
| pub fn device_add(dev: *mut Struct_device) -> ::std::os::raw::c_int; | |
| pub fn device_del(dev: *mut Struct_device); | |
| pub fn device_for_each_child(dev: *mut Struct_device, | |
| data: *mut ::std::os::raw::c_void, | |
| _fn: | |
| ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| data: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> ::std::os::raw::c_int; | |
| pub fn device_for_each_child_reverse(dev: *mut Struct_device, | |
| data: *mut ::std::os::raw::c_void, | |
| _fn: | |
| ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| data: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> ::std::os::raw::c_int; | |
| pub fn device_find_child(dev: *mut Struct_device, | |
| data: *mut ::std::os::raw::c_void, | |
| _match: | |
| ::std::option::Option<unsafe extern "C" fn(dev: | |
| *mut Struct_device, | |
| data: | |
| *mut ::std::os::raw::c_void) | |
| -> | |
| ::std::os::raw::c_int>) | |
| -> *mut Struct_device; | |
| pub fn device_rename(dev: *mut Struct_device, | |
| new_name: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn device_move(dev: *mut Struct_device, | |
| new_parent: *mut Struct_device, | |
| dpm_order: Enum_dpm_order) -> ::std::os::raw::c_int; | |
| pub fn device_get_devnode(dev: *mut Struct_device, mode: *mut umode_t, | |
| uid: *mut kuid_t, gid: *mut kgid_t, | |
| tmp: *mut *const ::std::os::raw::c_char) | |
| -> *const ::std::os::raw::c_char; | |
| pub fn lock_device_hotplug(); | |
| pub fn unlock_device_hotplug(); | |
| pub fn lock_device_hotplug_sysfs() -> ::std::os::raw::c_int; | |
| pub fn device_offline(dev: *mut Struct_device) -> ::std::os::raw::c_int; | |
| pub fn device_online(dev: *mut Struct_device) -> ::std::os::raw::c_int; | |
| pub fn set_primary_fwnode(dev: *mut Struct_device, | |
| fwnode: *mut Struct_fwnode_handle); | |
| pub fn set_secondary_fwnode(dev: *mut Struct_device, | |
| fwnode: *mut Struct_fwnode_handle); | |
| pub fn __root_device_register(name: *const ::std::os::raw::c_char, | |
| owner: *mut Struct_module) | |
| -> *mut Struct_device; | |
| pub fn root_device_unregister(root: *mut Struct_device); | |
| pub fn device_bind_driver(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn device_release_driver(dev: *mut Struct_device); | |
| pub fn device_attach(dev: *mut Struct_device) -> ::std::os::raw::c_int; | |
| pub fn driver_attach(drv: *mut Struct_device_driver) | |
| -> ::std::os::raw::c_int; | |
| pub fn device_initial_probe(dev: *mut Struct_device); | |
| pub fn device_reprobe(dev: *mut Struct_device) -> ::std::os::raw::c_int; | |
| pub fn device_create_vargs(cls: *mut Struct_class, | |
| parent: *mut Struct_device, devt: dev_t, | |
| drvdata: *mut ::std::os::raw::c_void, | |
| fmt: *const ::std::os::raw::c_char, | |
| vargs: va_list) -> *mut Struct_device; | |
| pub fn device_create(cls: *mut Struct_class, parent: *mut Struct_device, | |
| devt: dev_t, drvdata: *mut ::std::os::raw::c_void, | |
| fmt: *const ::std::os::raw::c_char, ...) | |
| -> *mut Struct_device; | |
| pub fn device_create_with_groups(cls: *mut Struct_class, | |
| parent: *mut Struct_device, devt: dev_t, | |
| drvdata: *mut ::std::os::raw::c_void, | |
| groups: | |
| *mut *const Struct_attribute_group, | |
| fmt: *const ::std::os::raw::c_char, ...) | |
| -> *mut Struct_device; | |
| pub fn device_destroy(cls: *mut Struct_class, devt: dev_t); | |
| pub fn get_device(dev: *mut Struct_device) -> *mut Struct_device; | |
| pub fn put_device(dev: *mut Struct_device); | |
| pub fn devtmpfs_create_node(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn devtmpfs_delete_node(dev: *mut Struct_device) | |
| -> ::std::os::raw::c_int; | |
| pub fn devtmpfs_mount(mntdir: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn device_shutdown(); | |
| pub fn dev_driver_string(dev: *const Struct_device) | |
| -> *const ::std::os::raw::c_char; | |
| pub fn dev_vprintk_emit(level: ::std::os::raw::c_int, | |
| dev: *const Struct_device, | |
| fmt: *const ::std::os::raw::c_char, args: va_list) | |
| -> ::std::os::raw::c_int; | |
| pub fn dev_printk_emit(level: ::std::os::raw::c_int, | |
| dev: *const Struct_device, | |
| fmt: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn dev_printk(level: *const ::std::os::raw::c_char, | |
| dev: *const Struct_device, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn dev_emerg(dev: *const Struct_device, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn dev_alert(dev: *const Struct_device, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn dev_crit(dev: *const Struct_device, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn dev_err(dev: *const Struct_device, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn dev_warn(dev: *const Struct_device, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn dev_notice(dev: *const Struct_device, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn _dev_info(dev: *const Struct_device, | |
| fmt: *const ::std::os::raw::c_char, ...); | |
| pub fn __request_module(wait: _bool, | |
| name: *const ::std::os::raw::c_char, ...) | |
| -> ::std::os::raw::c_int; | |
| pub fn call_usermodehelper(path: *mut ::std::os::raw::c_char, | |
| argv: *mut *mut ::std::os::raw::c_char, | |
| envp: *mut *mut ::std::os::raw::c_char, | |
| wait: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn call_usermodehelper_setup(path: *mut ::std::os::raw::c_char, | |
| argv: *mut *mut ::std::os::raw::c_char, | |
| envp: *mut *mut ::std::os::raw::c_char, | |
| gfp_mask: gfp_t, | |
| init: | |
| ::std::option::Option<unsafe extern "C" fn(info: | |
| *mut Struct_subprocess_info, | |
| new: | |
| *mut Struct_cred) | |
| -> | |
| ::std::os::raw::c_int>, | |
| cleanup: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut Struct_subprocess_info)>, | |
| data: *mut ::std::os::raw::c_void) | |
| -> *mut Struct_subprocess_info; | |
| pub fn call_usermodehelper_exec(info: *mut Struct_subprocess_info, | |
| wait: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn __usermodehelper_disable(depth: Enum_umh_disable_depth) | |
| -> ::std::os::raw::c_int; | |
| pub fn __usermodehelper_set_disable_depth(depth: Enum_umh_disable_depth); | |
| pub fn usermodehelper_read_trylock() -> ::std::os::raw::c_int; | |
| pub fn usermodehelper_read_lock_wait(timeout: ::std::os::raw::c_long) | |
| -> ::std::os::raw::c_long; | |
| pub fn usermodehelper_read_unlock(); | |
| pub fn set_swbp(aup: *mut Struct_arch_uprobe, mm: *mut Struct_mm_struct, | |
| vaddr: ::std::os::raw::c_ulong) -> ::std::os::raw::c_int; | |
| pub fn set_orig_insn(aup: *mut Struct_arch_uprobe, | |
| mm: *mut Struct_mm_struct, | |
| vaddr: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn is_swbp_insn(insn: *mut uprobe_opcode_t) -> _bool; | |
| pub fn is_trap_insn(insn: *mut uprobe_opcode_t) -> _bool; | |
| pub fn uprobe_get_swbp_addr(regs: *mut Struct_pt_regs) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn uprobe_get_trap_addr(regs: *mut Struct_pt_regs) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn uprobe_write_opcode(mm: *mut Struct_mm_struct, | |
| vaddr: ::std::os::raw::c_ulong, | |
| arg1: uprobe_opcode_t) | |
| -> ::std::os::raw::c_int; | |
| pub fn uprobe_register(inode: *mut Struct_inode, offset: loff_t, | |
| uc: *mut Struct_uprobe_consumer) | |
| -> ::std::os::raw::c_int; | |
| pub fn uprobe_apply(inode: *mut Struct_inode, offset: loff_t, | |
| uc: *mut Struct_uprobe_consumer, arg1: _bool) | |
| -> ::std::os::raw::c_int; | |
| pub fn uprobe_unregister(inode: *mut Struct_inode, offset: loff_t, | |
| uc: *mut Struct_uprobe_consumer); | |
| pub fn uprobe_mmap(vma: *mut Struct_vm_area_struct) | |
| -> ::std::os::raw::c_int; | |
| pub fn uprobe_munmap(vma: *mut Struct_vm_area_struct, | |
| start: ::std::os::raw::c_ulong, | |
| end: ::std::os::raw::c_ulong); | |
| pub fn uprobe_start_dup_mmap(); | |
| pub fn uprobe_end_dup_mmap(); | |
| pub fn uprobe_dup_mmap(oldmm: *mut Struct_mm_struct, | |
| newmm: *mut Struct_mm_struct); | |
| pub fn uprobe_free_utask(t: *mut Struct_task_struct); | |
| pub fn uprobe_copy_process(t: *mut Struct_task_struct, | |
| flags: ::std::os::raw::c_ulong); | |
| pub fn uprobe_post_sstep_notifier(regs: *mut Struct_pt_regs) | |
| -> ::std::os::raw::c_int; | |
| pub fn uprobe_pre_sstep_notifier(regs: *mut Struct_pt_regs) | |
| -> ::std::os::raw::c_int; | |
| pub fn uprobe_notify_resume(regs: *mut Struct_pt_regs); | |
| pub fn uprobe_deny_signal() -> _bool; | |
| pub fn arch_uprobe_skip_sstep(aup: *mut Struct_arch_uprobe, | |
| regs: *mut Struct_pt_regs) -> _bool; | |
| pub fn uprobe_clear_state(mm: *mut Struct_mm_struct); | |
| pub fn arch_uprobe_analyze_insn(aup: *mut Struct_arch_uprobe, | |
| mm: *mut Struct_mm_struct, | |
| addr: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_int; | |
| pub fn arch_uprobe_pre_xol(aup: *mut Struct_arch_uprobe, | |
| regs: *mut Struct_pt_regs) | |
| -> ::std::os::raw::c_int; | |
| pub fn arch_uprobe_post_xol(aup: *mut Struct_arch_uprobe, | |
| regs: *mut Struct_pt_regs) | |
| -> ::std::os::raw::c_int; | |
| pub fn arch_uprobe_xol_was_trapped(tsk: *mut Struct_task_struct) -> _bool; | |
| pub fn arch_uprobe_exception_notify(_self: *mut Struct_notifier_block, | |
| val: ::std::os::raw::c_ulong, | |
| data: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn arch_uprobe_abort_xol(aup: *mut Struct_arch_uprobe, | |
| regs: *mut Struct_pt_regs); | |
| pub fn arch_uretprobe_hijack_return_addr(trampoline_vaddr: | |
| ::std::os::raw::c_ulong, | |
| regs: *mut Struct_pt_regs) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn arch_uretprobe_is_alive(ret: *mut Struct_return_instance, | |
| ctx: Enum_rp_check, | |
| regs: *mut Struct_pt_regs) -> _bool; | |
| pub fn arch_uprobe_ignore(aup: *mut Struct_arch_uprobe, | |
| regs: *mut Struct_pt_regs) -> _bool; | |
| pub fn arch_uprobe_copy_ixol(page: *mut Struct_page, | |
| vaddr: ::std::os::raw::c_ulong, | |
| src: *mut ::std::os::raw::c_void, | |
| len: ::std::os::raw::c_ulong); | |
| pub fn init_vdso_image(image: *const Struct_vdso_image); | |
| pub fn compat_start_thread(regs: *mut Struct_pt_regs, new_ip: _u32, | |
| new_sp: _u32); | |
| pub fn set_personality_ia32(arg1: _bool); | |
| pub fn set_personality_64bit(); | |
| pub fn arch_setup_additional_pages(bprm: *mut Struct_linux_binprm, | |
| uses_interp: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn compat_arch_setup_additional_pages(bprm: *mut Struct_linux_binprm, | |
| uses_interp: | |
| ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn align_vdso_addr(arg1: ::std::os::raw::c_ulong) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn kernel_param_lock(_mod: *mut Struct_module); | |
| pub fn kernel_param_unlock(_mod: *mut Struct_module); | |
| pub fn parameq(name1: *const ::std::os::raw::c_char, | |
| name2: *const ::std::os::raw::c_char) -> _bool; | |
| pub fn parameqn(name1: *const ::std::os::raw::c_char, | |
| name2: *const ::std::os::raw::c_char, n: size_t) -> _bool; | |
| pub fn parse_args(name: *const ::std::os::raw::c_char, | |
| args: *mut ::std::os::raw::c_char, | |
| params: *const Struct_kernel_param, | |
| num: ::std::os::raw::c_uint, level_min: s16, | |
| level_max: s16, arg: *mut ::std::os::raw::c_void, | |
| unknown: | |
| ::std::option::Option<unsafe extern "C" fn(param: | |
| *mut ::std::os::raw::c_char, | |
| val: | |
| *mut ::std::os::raw::c_char, | |
| doing: | |
| *const ::std::os::raw::c_char, | |
| arg: | |
| *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int>) | |
| -> *mut ::std::os::raw::c_char; | |
| pub fn destroy_params(params: *const Struct_kernel_param, | |
| num: ::std::os::raw::c_uint); | |
| pub fn param_set_byte(val: *const ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_get_byte(buffer: *mut ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_set_short(val: *const ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_get_short(buffer: *mut ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_set_ushort(val: *const ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_get_ushort(buffer: *mut ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_set_int(val: *const ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_get_int(buffer: *mut ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_set_uint(val: *const ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_get_uint(buffer: *mut ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_set_long(val: *const ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_get_long(buffer: *mut ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_set_ulong(val: *const ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_get_ulong(buffer: *mut ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_set_ullong(val: *const ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_get_ullong(buffer: *mut ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_set_charp(val: *const ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_get_charp(buffer: *mut ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_free_charp(arg: *mut ::std::os::raw::c_void); | |
| pub fn param_set_bool(val: *const ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_get_bool(buffer: *mut ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_set_bool_enable_only(val: *const ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_set_invbool(val: *const ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_get_invbool(buffer: *mut ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_set_bint(val: *const ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_set_copystring(val: *const ::std::os::raw::c_char, | |
| arg1: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn param_get_string(buffer: *mut ::std::os::raw::c_char, | |
| kp: *const Struct_kernel_param) | |
| -> ::std::os::raw::c_int; | |
| pub fn module_param_sysfs_setup(_mod: *mut Struct_module, | |
| kparam: *const Struct_kernel_param, | |
| num_params: ::std::os::raw::c_uint) | |
| -> ::std::os::raw::c_int; | |
| pub fn module_param_sysfs_remove(_mod: *mut Struct_module); | |
| pub fn __modver_version_show(arg1: *mut Struct_module_attribute, | |
| arg2: *mut Struct_module_kobject, | |
| arg3: *mut ::std::os::raw::c_char) | |
| -> ssize_t; | |
| pub fn init_module() -> ::std::os::raw::c_int; | |
| pub fn cleanup_module(); | |
| pub fn search_extable(first: *const Struct_exception_table_entry, | |
| last: *const Struct_exception_table_entry, | |
| value: ::std::os::raw::c_ulong) | |
| -> *const Struct_exception_table_entry; | |
| pub fn sort_extable(start: *mut Struct_exception_table_entry, | |
| finish: *mut Struct_exception_table_entry); | |
| pub fn sort_main_extable(); | |
| pub fn trim_init_extable(m: *mut Struct_module); | |
| pub fn search_exception_tables(add: ::std::os::raw::c_ulong) | |
| -> *const Struct_exception_table_entry; | |
| pub fn __symbol_get(symbol: *const ::std::os::raw::c_char) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn __symbol_get_gpl(symbol: *const ::std::os::raw::c_char) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn __module_text_address(addr: ::std::os::raw::c_ulong) | |
| -> *mut Struct_module; | |
| pub fn __module_address(addr: ::std::os::raw::c_ulong) | |
| -> *mut Struct_module; | |
| pub fn is_module_address(addr: ::std::os::raw::c_ulong) -> _bool; | |
| pub fn is_module_percpu_address(addr: ::std::os::raw::c_ulong) -> _bool; | |
| pub fn is_module_text_address(addr: ::std::os::raw::c_ulong) -> _bool; | |
| pub fn find_module(name: *const ::std::os::raw::c_char) | |
| -> *mut Struct_module; | |
| pub fn find_symbol(name: *const ::std::os::raw::c_char, | |
| owner: *mut *mut Struct_module, | |
| crc: *mut *const ::std::os::raw::c_ulong, gplok: _bool, | |
| warn: _bool) -> *const Struct_kernel_symbol; | |
| pub fn each_symbol_section(_fn: | |
| ::std::option::Option<unsafe extern "C" fn(arr: | |
| *const Struct_symsearch, | |
| owner: | |
| *mut Struct_module, | |
| data: | |
| *mut ::std::os::raw::c_void) | |
| -> _bool>, | |
| data: *mut ::std::os::raw::c_void) -> _bool; | |
| pub fn module_get_kallsym(symnum: ::std::os::raw::c_uint, | |
| value: *mut ::std::os::raw::c_ulong, | |
| _type: *mut ::std::os::raw::c_char, | |
| name: *mut ::std::os::raw::c_char, | |
| module_name: *mut ::std::os::raw::c_char, | |
| exported: *mut ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn module_kallsyms_lookup_name(name: *const ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_ulong; | |
| pub fn module_kallsyms_on_each_symbol(_fn: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut ::std::os::raw::c_void, | |
| arg2: | |
| *const ::std::os::raw::c_char, | |
| arg3: | |
| *mut Struct_module, | |
| arg4: | |
| ::std::os::raw::c_ulong) | |
| -> | |
| ::std::os::raw::c_int>, | |
| data: *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn __module_put_and_exit(_mod: *mut Struct_module, | |
| code: ::std::os::raw::c_long); | |
| pub fn module_refcount(_mod: *mut Struct_module) -> ::std::os::raw::c_int; | |
| pub fn __symbol_put(symbol: *const ::std::os::raw::c_char); | |
| pub fn symbol_put_addr(addr: *mut ::std::os::raw::c_void); | |
| pub fn __module_get(module: *mut Struct_module); | |
| pub fn try_module_get(module: *mut Struct_module) -> _bool; | |
| pub fn module_put(module: *mut Struct_module); | |
| pub fn ref_module(a: *mut Struct_module, b: *mut Struct_module) | |
| -> ::std::os::raw::c_int; | |
| pub fn module_address_lookup(addr: ::std::os::raw::c_ulong, | |
| symbolsize: *mut ::std::os::raw::c_ulong, | |
| offset: *mut ::std::os::raw::c_ulong, | |
| modname: *mut *mut ::std::os::raw::c_char, | |
| namebuf: *mut ::std::os::raw::c_char) | |
| -> *const ::std::os::raw::c_char; | |
| pub fn lookup_module_symbol_name(addr: ::std::os::raw::c_ulong, | |
| symname: *mut ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn lookup_module_symbol_attrs(addr: ::std::os::raw::c_ulong, | |
| size: *mut ::std::os::raw::c_ulong, | |
| offset: *mut ::std::os::raw::c_ulong, | |
| modname: *mut ::std::os::raw::c_char, | |
| name: *mut ::std::os::raw::c_char) | |
| -> ::std::os::raw::c_int; | |
| pub fn search_module_extables(addr: ::std::os::raw::c_ulong) | |
| -> *const Struct_exception_table_entry; | |
| pub fn register_module_notifier(nb: *mut Struct_notifier_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn unregister_module_notifier(nb: *mut Struct_notifier_block) | |
| -> ::std::os::raw::c_int; | |
| pub fn print_modules(); | |
| pub fn set_all_modules_text_rw(); | |
| pub fn set_all_modules_text_ro(); | |
| pub fn module_enable_ro(_mod: *const Struct_module); | |
| pub fn module_disable_ro(_mod: *const Struct_module); | |
| pub fn module_bug_finalize(arg1: *const Elf64_Ehdr, | |
| arg2: *const Elf64_Shdr, | |
| arg3: *mut Struct_module); | |
| pub fn module_bug_cleanup(arg1: *mut Struct_module); | |
| pub fn proc_root_init(); | |
| pub fn proc_flush_task(arg1: *mut Struct_task_struct); | |
| pub fn proc_symlink(arg1: *const ::std::os::raw::c_char, | |
| arg2: *mut Struct_proc_dir_entry, | |
| arg3: *const ::std::os::raw::c_char) | |
| -> *mut Struct_proc_dir_entry; | |
| pub fn proc_mkdir(arg1: *const ::std::os::raw::c_char, | |
| arg2: *mut Struct_proc_dir_entry) | |
| -> *mut Struct_proc_dir_entry; | |
| pub fn proc_mkdir_data(arg1: *const ::std::os::raw::c_char, arg2: umode_t, | |
| arg3: *mut Struct_proc_dir_entry, | |
| arg4: *mut ::std::os::raw::c_void) | |
| -> *mut Struct_proc_dir_entry; | |
| pub fn proc_mkdir_mode(arg1: *const ::std::os::raw::c_char, arg2: umode_t, | |
| arg3: *mut Struct_proc_dir_entry) | |
| -> *mut Struct_proc_dir_entry; | |
| pub fn proc_create_data(arg1: *const ::std::os::raw::c_char, | |
| arg2: umode_t, arg3: *mut Struct_proc_dir_entry, | |
| arg4: *const Struct_file_operations, | |
| arg5: *mut ::std::os::raw::c_void) | |
| -> *mut Struct_proc_dir_entry; | |
| pub fn proc_set_size(arg1: *mut Struct_proc_dir_entry, arg2: loff_t); | |
| pub fn proc_set_user(arg1: *mut Struct_proc_dir_entry, arg2: kuid_t, | |
| arg3: kgid_t); | |
| pub fn PDE_DATA(arg1: *const Struct_inode) -> *mut ::std::os::raw::c_void; | |
| pub fn proc_get_parent_data(arg1: *const Struct_inode) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn proc_remove(arg1: *mut Struct_proc_dir_entry); | |
| pub fn remove_proc_entry(arg1: *const ::std::os::raw::c_char, | |
| arg2: *mut Struct_proc_dir_entry); | |
| pub fn remove_proc_subtree(arg1: *const ::std::os::raw::c_char, | |
| arg2: *mut Struct_proc_dir_entry) | |
| -> ::std::os::raw::c_int; | |
| pub fn kmem_cache_init(); | |
| pub fn slab_is_available() -> _bool; | |
| pub fn kmem_cache_create(arg1: *const ::std::os::raw::c_char, | |
| arg2: size_t, arg3: size_t, | |
| arg4: ::std::os::raw::c_ulong, | |
| arg5: | |
| ::std::option::Option<unsafe extern "C" fn(arg1: | |
| *mut ::std::os::raw::c_void)>) | |
| -> *mut Struct_kmem_cache; | |
| pub fn kmem_cache_destroy(arg1: *mut Struct_kmem_cache); | |
| pub fn kmem_cache_shrink(arg1: *mut Struct_kmem_cache) | |
| -> ::std::os::raw::c_int; | |
| pub fn memcg_create_kmem_cache(arg1: *mut Struct_mem_cgroup, | |
| arg2: *mut Struct_kmem_cache); | |
| pub fn memcg_deactivate_kmem_caches(arg1: *mut Struct_mem_cgroup); | |
| pub fn memcg_destroy_kmem_caches(arg1: *mut Struct_mem_cgroup); | |
| pub fn __krealloc(arg1: *const ::std::os::raw::c_void, arg2: size_t, | |
| arg3: gfp_t) -> *mut ::std::os::raw::c_void; | |
| pub fn krealloc(arg1: *const ::std::os::raw::c_void, arg2: size_t, | |
| arg3: gfp_t) -> *mut ::std::os::raw::c_void; | |
| pub fn kfree(arg1: *const ::std::os::raw::c_void); | |
| pub fn kzfree(arg1: *const ::std::os::raw::c_void); | |
| pub fn ksize(arg1: *const ::std::os::raw::c_void) -> size_t; | |
| pub fn __kmalloc(size: size_t, flags: gfp_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn kmem_cache_alloc(arg1: *mut Struct_kmem_cache, flags: gfp_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn kmem_cache_free(arg1: *mut Struct_kmem_cache, | |
| arg2: *mut ::std::os::raw::c_void); | |
| pub fn kmem_cache_free_bulk(arg1: *mut Struct_kmem_cache, arg2: size_t, | |
| arg3: *mut *mut ::std::os::raw::c_void); | |
| pub fn kmem_cache_alloc_bulk(arg1: *mut Struct_kmem_cache, arg2: gfp_t, | |
| arg3: size_t, | |
| arg4: *mut *mut ::std::os::raw::c_void) | |
| -> ::std::os::raw::c_int; | |
| pub fn __kmalloc_node(size: size_t, flags: gfp_t, | |
| node: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn kmem_cache_alloc_node(arg1: *mut Struct_kmem_cache, flags: gfp_t, | |
| node: ::std::os::raw::c_int) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn kmem_cache_alloc_trace(arg1: *mut Struct_kmem_cache, arg2: gfp_t, | |
| arg3: size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn kmem_cache_alloc_node_trace(s: *mut Struct_kmem_cache, | |
| gfpflags: gfp_t, | |
| node: ::std::os::raw::c_int, | |
| size: size_t) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn kmalloc_order(size: size_t, flags: gfp_t, | |
| order: ::std::os::raw::c_uint) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn kmalloc_order_trace(size: size_t, flags: gfp_t, | |
| order: ::std::os::raw::c_uint) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn memcg_update_all_caches(num_memcgs: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn __kmalloc_track_caller(arg1: size_t, arg2: gfp_t, | |
| arg3: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn __kmalloc_node_track_caller(arg1: size_t, arg2: gfp_t, | |
| arg3: ::std::os::raw::c_int, | |
| arg4: ::std::os::raw::c_ulong) | |
| -> *mut ::std::os::raw::c_void; | |
| pub fn kmem_cache_size(s: *mut Struct_kmem_cache) | |
| -> ::std::os::raw::c_uint; | |
| pub fn kmem_cache_init_late(); | |
| pub fn timerqueue_add(head: *mut Struct_timerqueue_head, | |
| node: *mut Struct_timerqueue_node) -> _bool; | |
| pub fn timerqueue_del(head: *mut Struct_timerqueue_head, | |
| node: *mut Struct_timerqueue_node) -> _bool; | |
| pub fn timerqueue_iterate_next(node: *mut Struct_timerqueue_node) | |
| -> *mut Struct_timerqueue_node; | |
| pub fn hrtimer_interrupt(dev: *mut Struct_clock_event_device); | |
| pub fn hrtimer_peek_ahead_timers(); | |
| pub fn clock_was_set_delayed(); | |
| pub fn clock_was_set(); | |
| pub fn timerfd_clock_was_set(); | |
| pub fn hrtimers_resume(); | |
| pub fn hrtimer_init(timer: *mut Struct_hrtimer, which_clock: clockid_t, | |
| mode: Enum_hrtimer_mode); | |
| pub fn hrtimer_start_range_ns(timer: *mut Struct_hrtimer, tim: ktime_t, | |
| range_ns: ::std::os::raw::c_ulong, | |
| mode: Enum_hrtimer_mode); | |
| pub fn hrtimer_cancel(timer: *mut Struct_hrtimer) | |
| -> ::std::os::raw::c_int; | |
| pub fn hrtimer_try_to_cancel(timer: *mut Struct_hrtimer) | |
| -> ::std::os::raw::c_int; | |
| pub fn __hrtimer_get_remaining(timer: *const Struct_hrtimer, | |
| adjust: _bool) -> ktime_t; | |
| pub fn hrtimer_get_next_event() -> __u64; | |
| pub fn hrtimer_active(timer: *const Struct_hrtimer) -> _bool; | |
| pub fn hrtimer_forward(timer: *mut Struct_hrtimer, now: ktime_t, | |
| interval: ktime_t) -> __u64; | |
| pub fn hrtimer_nanosleep(rqtp: *mut Struct_timespec, | |
| rmtp: *mut Struct_timespec, | |
| mode: Enum_hrtimer_mode, clockid: clockid_t) | |
| -> ::std::os::raw::c_long; | |
| pub fn hrtimer_nanosleep_restart(restart_block: *mut Struct_restart_block) | |
| -> ::std::os::raw::c_long; | |
| pub fn hrtimer_init_sleeper(sl: *mut Struct_hrtimer_sleeper, | |
| tsk: *mut Struct_task_struct); | |
| pub fn schedule_hrtimeout_range(expires: *mut ktime_t, | |
| delta: ::std::os::raw::c_ulong, | |
| mode: Enum_hrtimer_mode) | |
| -> ::std::os::raw::c_int; | |
| pub fn schedule_hrtimeout_range_clock(expires: *mut ktime_t, | |
| delta: ::std::os::raw::c_ulong, | |
| mode: Enum_hrtimer_mode, | |
| clock: ::std::os::raw::c_int) | |
| -> ::std::os::raw::c_int; | |
| pub fn schedule_hrtimeout(expires: *mut ktime_t, mode: Enum_hrtimer_mode) | |
| -> ::std::os::raw::c_int; | |
| pub fn hrtimer_run_queues(); | |
| pub fn hrtimers_init(); | |
| pub fn sysrq_timer_list_show(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment