Searched refs:user_mode (Results 1 – 6 of 6) sorted by relevance
6 pub fn user_mode(regs: *const pt_regs) -> bool { in user_mode() function
39 static inline int user_mode(struct pt_regs *regs) in user_mode() function
232 if (user_mode(regs)) in __smp_kick_cpu_handler()239 if (user_mode(regs)) in __smp__flush_tlb_ipi_handler()
21 use super::{asm::ptrace::user_mode, mm::barrier::mfence};52 let from_user = user_mode(regs); in syscall_handler()
263 * 将原有的判断pt_regs是否来自用户态的代码,统一改为调用user_mode函数
10 asm::{bitops::ffz, current::current_pcb, ptrace::user_mode},392 if current_pcb().sig_pending.signal == 0 || (!user_mode(regs)) { in do_signal()