Searched refs:time (Results 1 – 24 of 24) sorted by relevance
/DragonOS-0.1.8/kernel/src/time/ |
D | mod.rs | 336 impl From<::core::time::Duration> for Duration { 337 fn from(other: ::core::time::Duration) -> Duration { in from() 342 impl From<Duration> for ::core::time::Duration { 344 ::core::time::Duration::from_micros(val.total_micros()) in from() 349 impl From<smoltcp::time::Instant> for Instant { 350 fn from(val: smoltcp::time::Instant) -> Self { in from() 355 impl Into<smoltcp::time::Instant> for Instant { 356 fn into(self) -> smoltcp::time::Instant { in into() 357 smoltcp::time::Instant::from_millis(self.millis()) in into() 362 impl From<smoltcp::time::Duration> for Duration { [all …]
|
D | syscall.rs | 8 time::{sleep::nanosleep, TimeSpec},
|
D | timekeeping.rs | 10 time::{jiffies::clocksource_default_clock, timekeep::ktime_get_real_ns, TimeSpec},
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | time.md | 1 # time.h
|
/DragonOS-0.1.8/docs/userland/libc/apis/ |
D | index.rst | 17 api-list/time
|
/DragonOS-0.1.8/kernel/src/driver/net/ |
D | virtio_net.rs | 17 time::Instant, 148 _timestamp: smoltcp::time::Instant, in receive() 160 fn transmit(&mut self, _timestamp: smoltcp::time::Instant) -> Option<Self::TxToken<'_>> { in transmit() 282 let timestamp: smoltcp::time::Instant = Instant::now().into(); in poll()
|
/DragonOS-0.1.8/kernel/src/net/ |
D | net_core.rs | 10 time::timer::{next_n_ms_timer_jiffies, Timer, TimerFunction}, 53 dhcp_socket.set_max_lease_duration(Some(smoltcp::time::Duration::from_secs(10))); in dhcp_query()
|
/DragonOS-0.1.8/kernel/src/ |
D | lib.rs | 40 mod time; module
|
/DragonOS-0.1.8/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 6 use crate::{libs::spinlock::SpinLock, syscall::SystemError, time::TimeSpec};
|
D | zero_dev.rs | 6 use crate::{libs::spinlock::SpinLock, syscall::SystemError, time::TimeSpec};
|
D | mod.rs | 14 time::TimeSpec,
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 9 use crate::{libs::spinlock::SpinLock, time::TimeSpec};
|
/DragonOS-0.1.8/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 14 time::TimeSpec,
|
/DragonOS-0.1.8/kernel/src/exception/ |
D | softirq.rs | 24 time::timer::clock,
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | pipe.rs | 11 time::TimeSpec,
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | mod.rs | 14 use crate::{libs::casting::DowncastArc, syscall::SystemError, time::TimeSpec};
|
D | syscall.rs | 10 time::TimeSpec,
|
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/ |
D | mod.rs | 8 time::TimeSpec,
|
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/ |
D | mod.rs | 14 time::TimeSpec,
|
/DragonOS-0.1.8/ |
D | LICENSE | 189 6. Each time you redistribute the Program (or any work based on the 238 of the General Public License from time to time. Such new versions will
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/ |
D | mod.rs | 5 use x86::time::rdtsc;
|
/DragonOS-0.1.8/kernel/src/filesystem/procfs/ |
D | mod.rs | 22 time::TimeSpec,
|
/DragonOS-0.1.8/kernel/src/syscall/ |
D | mod.rs | 22 time::{
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 24 time::TimeSpec,
|