Searched refs:Kmalloc (Results 1 – 5 of 5) sorted by relevance
| /linux/rust/kernel/alloc/ |
| H A D | allocator.rs | 31 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 D | kbox.rs | 6 use super::allocator::{KVmalloc, Kmalloc, Vmalloc, VmallocPageIter}; 118 pub type KBox<T> = Box<T, super::allocator::Kmalloc>;
|
| H A D | kvec.rs | 6 allocator::{KVmalloc, Kmalloc, Vmalloc, VmallocPageIter}, 126 pub type KVec<T> = Vec<T, Kmalloc>;
|
| /linux/rust/kernel/drm/ |
| H A D | device.rs | 8 alloc::allocator::Kmalloc, 101 let layout = Kmalloc::aligned_layout(Layout::new::<Self>()); in new()
|
| /linux/Documentation/driver-api/ |
| H A D | mtdnand.rst | 114 Kmalloc based example
|