Home
last modified time | relevance | path

Searched defs:fn (Results 1 – 14 of 14) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Dint_like.rs35 pub const fn into(self) -> $backing_type { constant
39 pub const fn from(x: $backing_type) -> Self { constant
56 pub const fn new(x: $new_type_name) -> Self { constant
62 pub const fn default() -> Self { constant
Dalign.rs22 const fn max(a: usize, b: usize) -> usize { in max() constant
Dmutex.rs48 pub const fn new(value: T) -> Self { in new() constant
Dlazy_init.rs40 pub const fn new() -> Lazy<T> { in new() constant
Dspinlock.rs202 pub const fn new(value: T) -> Self { in new() constant
Drwlock.rs71 pub const fn new(data: T) -> Self { in new() constant
Delf.rs46 pub const fn new() -> Self { in new() constant
/DragonOS-0.1.8/kernel/src/time/
Dmod.rs83 pub const fn from_micros_const(micros: i64) -> Instant { in from_micros_const() constant
95 pub const fn from_millis_const(millis: i64) -> Instant { in from_millis_const() constant
115 pub const fn millis(&self) -> i64 { in millis() constant
121 pub const fn micros(&self) -> i64 { in micros() constant
127 pub const fn secs(&self) -> i64 { in secs() constant
133 pub const fn total_millis(&self) -> i64 { in total_millis() constant
138 pub const fn total_micros(&self) -> i64 { in total_micros() constant
195 pub const fn from_micros(micros: u64) -> Duration { in from_micros() constant
200 pub const fn from_millis(millis: u64) -> Duration { in from_millis() constant
207 pub const fn from_secs(secs: u64) -> Duration { in from_secs() constant
[all …]
Djiffies.rs21 pub const fn sh_div(nom: u32, den: u32, lsh: u32) -> u32 { in sh_div() constant
/DragonOS-0.1.8/kernel/src/mm/
Dno_init.rs26 pub const fn new() -> Self { in new() constant
Dpercpu.rs73 pub const fn define_lazy() -> Lazy<Self> { in define_lazy() constant
Dmod.rs89 pub const fn new(address: usize) -> Self { in new() constant
194 pub const fn new(address: usize) -> Self { in new() constant
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dpage_frame.rs158 pub const fn new(count: usize) -> Self { in new() constant
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.rs42 pub const fn new(address: usize) -> Self { in new() constant