pub struct VmHeap {
zones: [Vec<Arc<UmaZone>>; 63],
stats: CpuLocal<RefCell<Stats>>,
}
Expand description
Kernel heap that allocate a memory from a virtual memory management system. This struct is a
merge of malloc_type
and malloc_type_internal
structure.
Fields§
§zones: [Vec<Arc<UmaZone>>; 63]
§stats: CpuLocal<RefCell<Stats>>
Implementations§
Auto Trait Implementations§
impl Freeze for VmHeap
impl !RefUnwindSafe for VmHeap
impl Send for VmHeap
impl Sync for VmHeap
impl Unpin for VmHeap
impl !UnwindSafe for VmHeap
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