Home
last modified time | relevance | path

Searched refs:Kmalloc (Results 1 – 5 of 5) sorted by relevance

/linux/rust/kernel/alloc/
H A Dallocator.rs31 pub struct Kmalloc; struct
127 impl Kmalloc { implementation
142 unsafe impl Allocator for Kmalloc { implementation
153 let layout = Kmalloc::aligned_layout(layout); in realloc()
246 let layout = Kmalloc::aligned_layout(layout); in realloc()
288 let ta = TestAlign::<Blob, Kmalloc>::new()?; in test_alignment()
291 let ta = TestAlign::<LargeAlignBlob, Kmalloc>::new()?; in test_alignment()
H A Dkbox.rs6 use super::allocator::{KVmalloc, Kmalloc, Vmalloc, VmallocPageIter};
118 pub type KBox<T> = Box<T, super::allocator::Kmalloc>;
H A Dkvec.rs6 allocator::{KVmalloc, Kmalloc, Vmalloc, VmallocPageIter},
126 pub type KVec<T> = Vec<T, Kmalloc>;
/linux/rust/kernel/drm/
H A Ddevice.rs8 alloc::allocator::Kmalloc,
101 let layout = Kmalloc::aligned_layout(Layout::new::<Self>()); in new()
/linux/Documentation/driver-api/
H A Dmtdnand.rst114 Kmalloc based example