Home
last modified time | relevance | path

Searched refs:Lazy (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Dlazy_init.rs28 pub struct Lazy<T> { struct
37 impl<T> Lazy<T> { argument
40 pub const fn new() -> Lazy<T> { in new()
41 Lazy { in new()
120 impl<T> Deref for Lazy<T> { implementation
129 impl<T> DerefMut for Lazy<T> { implementation
136 impl<T: Debug> Debug for Lazy<T> { implementation
146 impl<T> Drop for Lazy<T> { implementation
156 unsafe impl<T: Send + Sync> Sync for Lazy<T> {} implementation
157 unsafe impl<T: Send> Send for Lazy<T> {} implementation
/DragonOS-0.1.8/kernel/src/mm/
Dpercpu.rs6 include::bindings::bindings::smp_get_total_cpu, libs::lazy_init::Lazy,
73 pub const fn define_lazy() -> Lazy<Self> { in define_lazy()
74 Lazy::<Self>::new() in define_lazy()