Skip to main content

Crate kalloc

Crate kalloc 

Source

Structs§

AllocError
Error type for allocation failures.
Box
A custom Box type appropriate for fallible allocation.
DefaultAllocator
Default allocator that uses the global allocator (userspace) or kernel allocator.
NoOpAllocator
An allocator that does not perform any actual allocation or deallocation.

Traits§

Allocator
Trait for allocators used by Box and other collections.

Functions§

alloc
Fallible allocation using kernel malloc.
alloc_zeroed
Fallible zeroed allocation using kernel calloc.
dealloc
Fallible deallocation using kernel free.
realloc
Fallible reallocation using kernel realloc.