Home
last modified time | relevance | path

Searched refs:i64 (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.2/kernel/src/time/
Dtimekeep.rs5 pub type ktime_t = i64;
9 fn ktime_to_ns(kt: ktime_t) -> i64 { in ktime_to_ns() argument
10 return kt as i64; in ktime_to_ns()
55 let timestamp: ktime_t = day_count as i64 * 86_400_000_000_000i64 in ktime_get_real()
56 + (rtc_time.hour - 8) as i64 * 3_600_000_000_000i64 in ktime_get_real()
57 + rtc_time.minute as i64 * 60_000_000_000i64 in ktime_get_real()
58 + rtc_time.second as i64 * 1_000_000_000i64 as ktime_t; in ktime_get_real()
65 pub fn ktime_get_real_ns() -> i64 { in ktime_get_real_ns()
/DragonOS-0.1.2/kernel/src/libs/
Datomic.rs8 pub fn atomic_read(ato: *const atomic_t) -> i64 { in atomic_read() argument
16 pub fn atomic_set(ato: *mut atomic_t, value:i64) { in atomic_set() argument
/DragonOS-0.1.2/kernel/src/ipc/
Dsignal.rs70 return (-(EINVAL as i64)) as u64; in sys_kill()
688 rsp &= (-(STACK_ALIGN as i64)) as usize; in get_stack()
789 return (-(EFAULT as i64)) as u64; in sys_sigaction()
837 return (-(EINVAL as i64)) as u64; in sys_sigaction()
857 return (-(EFAULT as i64)) as u64; in sys_sigaction()
Dsignal_types.rs189 pub _pid: i64, /* 发起kill的进程的pid */