fn ptr_unmap(&mut self, order: usize, ptr: *mut u8) {
        let offset = (ptr as usize - self.alloc_area_start.as_usize()) / PAGE_SIZE;
        self.tree.dealloc(order, offset);

        let size = PAGE_SIZE << order;
        self.get_active_mapping()
            .free_and_unmap_range(VirtAddr::new(ptr as usize), size);
    }
/// Unmaps the area assigned to the pointer.
Unmaps the area assigned to the pointer.
Unmaps the area assigned to the pointer .
fn ptr_unmap(&mut self, order: usize, ptr: *mut u8) {
        let offset = (ptr as usize - self.alloc_area_start.as_usize()) / PAGE_SIZE;
        self.tree.dealloc(order, offset);
        let size = PAGE_SIZE << order;
        self.get_active_mapping()
            .free_and_unmap_range(VirtAddr::new(ptr as usize), size);
    }
fn ptr_unmap ( & mut self , order : usize , ptr : * mut u8 ) { let offset = ( ptr as usize - self . alloc_area_start . as_usize ( ) ) / PAGE_SIZE ; self . tree . dealloc ( order , offset ) ; let size = PAGE_SIZE << order ; self . get_active_mapping ( ) . free_and_unmap_range ( VirtAddr :: new ( ptr as usize ) , size ) ; }
Unmaps the area assigned to the pointer.
Unmaps the area assigned to the pointer .
&mut self
order
usize
ptr
*mut u8
&mut self
order
usize
ptr
*mut u8