Home
last modified time | relevance | path

Searched refs:NSEC_PER_JIFFY (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/time/
H A Dtimer.rs27 use super::{jiffies::NSEC_PER_JIFFY, timekeeping::update_wall_time};
64 let ms = jiffies.data() / 1_000_000 * NSEC_PER_JIFFY as u64; in from()
81 let jiffies = ms.as_millis() as u64 * 1_000_000 / NSEC_PER_JIFFY as u64; in from()
288 return TIMER_JIFFIES.load(Ordering::SeqCst) + expire_ms * 1000000 / NSEC_PER_JIFFY as u64; in next_n_ms_timer_jiffies()
292 return TIMER_JIFFIES.load(Ordering::SeqCst) + expire_us * 1000 / NSEC_PER_JIFFY as u64; in next_n_us_timer_jiffies()
H A Djiffies.rs24 pub const NSEC_PER_JIFFY: u32 = (((NSEC_PER_SEC as u64) << 8) / ACTHZ as u64) as u32; constant
78 mult: NSEC_PER_JIFFY << JIFFIES_SHIFT, in new()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Dhpet.rs33 time::jiffies::NSEC_PER_JIFFY,
65 pub const HPET0_INTERVAL_USEC: u64 = NSEC_PER_JIFFY as u64 / 1000;