Lines Matching defs:is_write
193 unsigned long address, bool is_write)
212 if (bad_kuap_fault(regs, address, is_write)) {
214 is_write ? "write" : "read", address,
223 return WARN(true, "Bug: %s fault blocked by KUAP!", is_write ? "Write" : "Read");
230 static bool access_pkey_error(bool is_write, bool is_exec, bool is_pkey,
238 if (!arch_vma_access_permitted(vma, is_write, is_exec, 0))
244 static bool access_error(bool is_write, bool is_exec, struct vm_area_struct *vma)
262 if (is_write) {
305 static void sanity_check_fault(bool is_write, bool is_user,
333 * the special !is_write in the below conditional.
353 if (radix_enabled() || is_write)
360 * Define the correct "is_write" bit in error_code based
413 int is_write = page_fault_is_write(error_code);
429 sanity_check_fault(is_write, is_user, error_code, address);
436 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write))) {
437 if (kfence_handle_page_fault(address, is_write, regs))
467 if (is_write)
479 if (unlikely(access_pkey_error(is_write, is_exec,
485 if (unlikely(access_error(is_write, is_exec, vma))) {
519 if (unlikely(access_pkey_error(is_write, is_exec,
523 if (unlikely(access_error(is_write, is_exec, vma)))
598 int is_write = page_fault_is_write(regs->dsisr);
612 is_write ? "write" : "read", regs->dar);