Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 8 of 8) sorted by relevance

/DragonOS/kernel/src/arch/riscv64/
H A Dkprobe.rs18 pub tp: usize, field
55 tp: trap_frame.tp, in from()
H A Dcpu.rs19 let ptr: *const LocalContext = riscv::register::tp::read() as *const LocalContext; in current_cpu_id()
103 riscv::register::tp::write(ptr); in sync_to_cpu()
/DragonOS/kernel/src/driver/disk/ahci/
H A Dmod.rs81 let tp = hba_mem_port.check_type(); in ahci_init() localVariable
82 match tp { in ahci_init()
90 debug!("<ahci_rust_init> Find a {:?} type Disk.", tp); in ahci_init()
/DragonOS/kernel/src/time/
H A Dsyscall.rs137 pub fn clock_gettime(clock_id: c_int, tp: *mut PosixTimeSpec) -> Result<usize, SystemError> { in clock_gettime()
142 if tp.is_null() { in clock_gettime()
146 tp, in clock_gettime()
H A Dtimekeeping.rs343 let tp = getnstimeofday(); in do_gettimeofday() localVariable
345 tv_sec: tp.tv_sec, in do_gettimeofday()
346 tv_usec: (tp.tv_nsec / 1000) as i32, in do_gettimeofday()
/DragonOS/kernel/src/arch/riscv64/interrupt/
H A Dmod.rs74 pub tp: usize, field
127 tp: 0, in new()
H A Dentry.rs155 off_tp = const offset_of!(TrapFrame, tp), in _save_context()
246 off_tp = const offset_of!(TrapFrame, tp), in ret_from_exception()
/DragonOS/kernel/src/driver/tty/
H A Dtty_driver.rs237 pub fn set_subtype(&mut self, tp: TtyDriverSubType) { in set_subtype()
238 self.tty_driver_sub_type = tp; in set_subtype()