Searched refs:TestAlign (Results 1 – 1 of 1) sorted by relevance
| /linux/rust/kernel/alloc/ |
| H A D | allocator.rs | 274 struct TestAlign<T, A: Allocator>(Box<MaybeUninit<T>, A>); in test_alignment() struct 275 impl<T, A: Allocator> TestAlign<T, A> { in test_alignment() impl 288 let ta = TestAlign::<Blob, Kmalloc>::new()?; in test_alignment() 291 let ta = TestAlign::<LargeAlignBlob, Kmalloc>::new()?; in test_alignment() 294 let ta = TestAlign::<Blob, Vmalloc>::new()?; in test_alignment() 297 let ta = TestAlign::<LargeAlignBlob, Vmalloc>::new()?; in test_alignment() 300 let ta = TestAlign::<Blob, KVmalloc>::new()?; in test_alignment() 303 let ta = TestAlign::<LargeAlignBlob, KVmalloc>::new()?; in test_alignment()
|