#[repr(C)]pub struct clib_pmalloc_main_t {
pub flags: u32_,
pub base: *mut u8_,
pub def_log2_page_sz: clib_mem_page_sz_t,
pub max_pages: u32_,
pub pages: *mut clib_pmalloc_page_t,
pub chunk_index_by_va: *mut uword,
pub arenas: *mut clib_pmalloc_arena_t,
pub default_arena_for_numa_node: *mut u32_,
pub lookup_table: *mut uword,
pub lookup_log2_page_sz: u32_,
pub error: *mut clib_error_t,
}Fields§
§flags: u32_§base: *mut u8_§def_log2_page_sz: clib_mem_page_sz_t§max_pages: u32_§pages: *mut clib_pmalloc_page_t§chunk_index_by_va: *mut uword§arenas: *mut clib_pmalloc_arena_t§default_arena_for_numa_node: *mut u32_§lookup_table: *mut uword§lookup_log2_page_sz: u32_§error: *mut clib_error_tTrait Implementations§
Source§impl Clone for clib_pmalloc_main_t
impl Clone for clib_pmalloc_main_t
Source§fn clone(&self) -> clib_pmalloc_main_t
fn clone(&self) -> clib_pmalloc_main_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for clib_pmalloc_main_t
impl Debug for clib_pmalloc_main_t
Source§impl Default for clib_pmalloc_main_t
impl Default for clib_pmalloc_main_t
impl Copy for clib_pmalloc_main_t
Auto Trait Implementations§
impl Freeze for clib_pmalloc_main_t
impl RefUnwindSafe for clib_pmalloc_main_t
impl !Send for clib_pmalloc_main_t
impl !Sync for clib_pmalloc_main_t
impl Unpin for clib_pmalloc_main_t
impl UnsafeUnpin for clib_pmalloc_main_t
impl UnwindSafe for clib_pmalloc_main_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more