Home
last modified time | relevance | path

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

/DragonOS/kernel/src/time/
H A Dtimekeep.rs16 pub type ktime_t = i64; typedef
20 fn ktime_to_ns(kt: ktime_t) -> i64 { in ktime_to_ns()
27 fn ktime_get_real() -> Result<ktime_t, SystemError> { in ktime_get_real()
37 let kt: ktime_t = ktime_get_real().unwrap_or(0); in ktime_get_real_ns()
49 fn ktime_set(secs: i64, nsecs: u64) -> ktime_t { in ktime_set() argument
59 pub fn timespec_to_ktime(ts: PosixTimeSpec) -> ktime_t { in timespec_to_ktime() argument
H A Dtimekeeping.rs18 use super::timekeep::{ktime_t, timespec_to_ktime};
68 real_time_offset: ktime_t,