Skip to main content

vmalloc

Function vmalloc 

Source
pub(crate) fn vmalloc(
    size: usize,
    token: &IrqDisabledToken,
) -> Result<*mut u8, VmallocError>
Expand description

Allocate size bytes of virtually contiguous kernel memory.

Prefer crate::memory::allocate_kernel_virtual over calling this directly.