Searched refs:kernel_mode (Results 1 – 4 of 4) sorted by relevance
11 #define kernel_mode(regs) ((regs)->pt_mode) macro12 #define user_mode(regs) (!kernel_mode(regs))
100 if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) { in do_page_fault()110 if (kernel_mode(regs)) in do_page_fault()143 if (kernel_mode(regs) && !search_exception_tables(regs->pc)) in do_page_fault()192 && (kernel_mode(regs) || !store_updates_sp(regs))) in do_page_fault()
249 u32 kernel_mode = read_sysreg(CurrentEL) | 1; /* +SPSel */ in _sdei_handler() local286 if (mode == kernel_mode && !interrupts_enabled(regs)) in _sdei_handler()297 if (mode == kernel_mode) in _sdei_handler()
63 if (kernel_mode(regs)) in _exception()146 kernel_mode(regs) ? "kernel" : "user"); in full_exception()