Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/timers/rtc/
Drtc.rs9 pub second: i32, field
20 second: (0), in default()
58 self.second = read_cmos(CMOSTimeSelector::Second as u8) as i32; in get()
60 if self.second == read_cmos(CMOSTimeSelector::Second as u8) as i32 { in get()
72 self.second = (self.second & 0xf) + (self.second >> 4) * 10; in get()
/DragonOS-0.1.8/kernel/src/time/
Dtimekeep.rs51 + rtc_time.second as i64 * 1_000_000_000u64 as ktime_t; in ktime_get_real()
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dbuddy.rs534 let (paddr, mut page_list) = if let Some(second) = second_page_list { in buddy_free()
537 assert!(second.entry_num == Self::BUDDY_ENTRIES - 1); in buddy_free()
539 (first_page_list.next_page, second) in buddy_free()