Home
last modified time | relevance | path

Searched refs:kernel_mode (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/arch/ia64/kernel/
Dunaligned.c752 static int emulate_store(unsigned long ifa, void *val, int len, bool kernel_mode) in emulate_store() argument
754 if (kernel_mode) in emulate_store()
760 static int emulate_load(void *val, unsigned long ifa, int len, bool kernel_mode) in emulate_load() argument
762 if (kernel_mode) in emulate_load()
770 bool kernel_mode) in emulate_load_int() argument
793 if (emulate_load(&val, ifa, len, kernel_mode)) in emulate_load_int()
892 bool kernel_mode) in emulate_store_int() argument
921 if (emulate_store(ifa, &r2, len, kernel_mode)) in emulate_store_int()
1041 emulate_load_floatpair (unsigned long ifa, load_store_t ld, struct pt_regs *regs, bool kernel_mode) in emulate_load_floatpair() argument
1070 if (emulate_load(&fpr_init[0], ifa, len, kernel_mode) in emulate_load_floatpair()
[all …]
/linux-6.6.21/arch/microblaze/mm/
Dfault.c100 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()
/linux-6.6.21/arch/microblaze/include/asm/
Dptrace.h11 #define kernel_mode(regs) ((regs)->pt_mode) macro
12 #define user_mode(regs) (!kernel_mode(regs))
/linux-6.6.21/arch/arm64/kernel/
Dsdei.c219 u32 kernel_mode = read_sysreg(CurrentEL) | 1; /* +SPSel */ in do_sdei_event() local
250 if (mode == kernel_mode && !interrupts_enabled(regs)) in do_sdei_event()
261 if (mode == kernel_mode) in do_sdei_event()
/linux-6.6.21/arch/microblaze/kernel/
Dexceptions.c63 if (kernel_mode(regs)) in _exception()
141 kernel_mode(regs) ? "kernel" : "user"); in full_exception()