Home
last modified time | relevance | path

Searched refs:time (Results 1 – 24 of 24) sorted by relevance

/DragonOS-0.1.8/kernel/src/time/
Dmod.rs336 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 …]
Dsyscall.rs8 time::{sleep::nanosleep, TimeSpec},
Dtimekeeping.rs10 time::{jiffies::clocksource_default_clock, timekeep::ktime_get_real_ns, TimeSpec},
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Dtime.md1 # time.h
/DragonOS-0.1.8/docs/userland/libc/apis/
Dindex.rst17 api-list/time
/DragonOS-0.1.8/kernel/src/driver/net/
Dvirtio_net.rs17 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/
Dnet_core.rs10 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/
Dlib.rs40 mod time; module
/DragonOS-0.1.8/kernel/src/filesystem/devfs/
Dnull_dev.rs6 use crate::{libs::spinlock::SpinLock, syscall::SystemError, time::TimeSpec};
Dzero_dev.rs6 use crate::{libs::spinlock::SpinLock, syscall::SystemError, time::TimeSpec};
Dmod.rs14 time::TimeSpec,
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahci_inode.rs9 use crate::{libs::spinlock::SpinLock, time::TimeSpec};
/DragonOS-0.1.8/kernel/src/driver/keyboard/
Dps2_keyboard.rs14 time::TimeSpec,
/DragonOS-0.1.8/kernel/src/exception/
Dsoftirq.rs24 time::timer::clock,
/DragonOS-0.1.8/kernel/src/ipc/
Dpipe.rs11 time::TimeSpec,
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dmod.rs14 use crate::{libs::casting::DowncastArc, syscall::SystemError, time::TimeSpec};
Dsyscall.rs10 time::TimeSpec,
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dmod.rs8 time::TimeSpec,
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/
Dmod.rs14 time::TimeSpec,
/DragonOS-0.1.8/
DLICENSE189 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/
Dmod.rs5 use x86::time::rdtsc;
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs22 time::TimeSpec,
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs22 time::{
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs24 time::TimeSpec,