Lines Matching refs:is_user
350 static void sanity_check_fault(bool is_write, bool is_user, in sanity_check_fault() argument
356 if (is_user && address >= TASK_SIZE) { in sanity_check_fault()
398 static void sanity_check_fault(bool is_write, bool is_user, in sanity_check_fault() argument
440 int is_user = user_mode(regs); in __do_page_fault() local
450 if (is_user) { in __do_page_fault()
458 sanity_check_fault(is_write, is_user, error_code, address); in __do_page_fault()
465 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write))) in __do_page_fault()
473 if (is_user) in __do_page_fault()
496 if (is_user) in __do_page_fault()
519 if (!is_user && !search_exception_tables(regs->nip)) in __do_page_fault()
607 return is_user ? 0 : SIGBUS; in __do_page_fault()