Lines Matching refs:is_write

198 			     unsigned long address, bool is_write)  in bad_kernel_fault()  argument
217 if (bad_kuap_fault(regs, address, is_write)) { in bad_kernel_fault()
219 is_write ? "write" : "read", address, in bad_kernel_fault()
228 return WARN(true, "Bug: %s fault blocked by KUAP!", is_write ? "Write" : "Read"); in bad_kernel_fault()
235 static bool access_pkey_error(bool is_write, bool is_exec, bool is_pkey, in access_pkey_error() argument
243 if (!arch_vma_access_permitted(vma, is_write, is_exec, 0)) in access_pkey_error()
249 static bool access_error(bool is_write, bool is_exec, struct vm_area_struct *vma) in access_error() argument
267 if (is_write) { in access_error()
301 static void sanity_check_fault(bool is_write, bool is_user, in sanity_check_fault() argument
349 if (radix_enabled() || is_write) in sanity_check_fault()
394 int is_write = page_fault_is_write(error_code); in ___do_page_fault() local
410 sanity_check_fault(is_write, is_user, error_code, address); in ___do_page_fault()
417 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write))) { in ___do_page_fault()
418 if (kfence_handle_page_fault(address, is_write, regs)) in ___do_page_fault()
448 if (is_write) in ___do_page_fault()
495 if (unlikely(access_pkey_error(is_write, is_exec, in ___do_page_fault()
499 if (unlikely(access_error(is_write, is_exec, vma))) in ___do_page_fault()
570 int is_write = page_fault_is_write(regs->dsisr); in __bad_page_fault() local
581 is_write ? "write" : "read", regs->dar); in __bad_page_fault()