Struct kernel::virt_mem::VirtualTree [−] [src]

pub struct VirtualTree<T> {
    // some fields omitted
}

Methods

impl<T> VirtualTree<T>

fn new() -> Self

fn block_count(&self) -> usize

fn alloc(&self, len: usize, tag: T) -> Result<&mut [u8]>

fn reserve(&self, slice: &mut [u8], tag: T) -> bool

fn free(&self, p: *mut u8) -> bool

impl<T: Clone> VirtualTree<T>

fn tag_at(&self, p: *mut u8) -> Option<(&'static mut [u8], T)>