Searched refs:tp (Results 1 – 8 of 8) sorted by relevance
/DragonOS/kernel/src/arch/riscv64/ |
H A D | kprobe.rs | 18 pub tp: usize, field 55 tp: trap_frame.tp, in from()
|
H A D | cpu.rs | 19 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 D | mod.rs | 81 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 D | syscall.rs | 137 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 D | timekeeping.rs | 343 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 D | mod.rs | 74 pub tp: usize, field 127 tp: 0, in new()
|
H A D | entry.rs | 155 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 D | tty_driver.rs | 237 pub fn set_subtype(&mut self, tp: TtyDriverSubType) { in set_subtype() 238 self.tty_driver_sub_type = tp; in set_subtype()
|