Home
last modified time | relevance | path

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

/DragonOS/kernel/src/time/
H A Dtick_common.rs24 ProcessManager::update_process_times(trap_frame.is_from_user()); in tick_periodic()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dfault.rs88 if address.data() < X86_64MMArch::PAGE_SIZE && !regs.is_from_user() { in show_fault_oops()
114 if regs.is_from_user() { in show_fault_oops()
140 if regs.is_from_user() { in page_fault_oops()
211 if regs.is_from_user() { in do_user_addr_fault()
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dhandle.rs19 if trap_frame.is_from_user() { in x86_64_do_irq()
H A Dmod.rs178 pub fn is_from_user(&self) -> bool { in is_from_user() method
/DragonOS/kernel/src/syscall/
H A Dmod.rs147 let from_user = frame.is_from_user(); in handle()
158 let from_user = frame.is_from_user(); in handle()
181 UserBufferWriter::new(buf_vaddr as *mut u8, len, frame.is_from_user())?; in handle()
193 UserBufferReader::new(buf_vaddr as *const u8, len, frame.is_from_user())?; in handle()
236 let res = if frame.is_from_user() && verify_area(virt_addr, len).is_err() { in handle()
259 if frame.is_from_user() in handle()
309 if frame.is_from_user() in handle()
400 Self::sigaction(sig, act, old_act, frame.is_from_user()) in handle()
557 frame.is_from_user(), in handle()
850 frame.is_from_user(), in handle()
[all …]
/DragonOS/kernel/src/arch/riscv64/interrupt/
H A Dhandle.rs136 if trap_frame.is_from_user() { in do_trap_user_env_call()
H A Dmod.rs117 pub fn is_from_user(&self) -> bool { in is_from_user() method
/DragonOS/kernel/src/arch/x86_64/ipc/
H A Dsignal.rs429 if siginfo_read_guard.sig_pending().signal().bits() == 0 || !frame.is_from_user() { in do_signal()