Lines Matching refs:write
34 static int __kprobes spurious_fault(unsigned long write, unsigned long address) in spurious_fault() argument
62 return write ? pmd_write(pmdp_get(pmd)) : 1; in spurious_fault()
68 return write ? pte_write(ptep_get(pte)) : 1; in spurious_fault()
73 unsigned long write, unsigned long address) in no_context() argument
77 if (spurious_fault(write, address)) in no_context()
84 if (kfence_handle_page_fault(address, write, regs)) in no_context()
101 unsigned long write, unsigned long address) in do_out_of_memory() argument
108 no_context(regs, write, address); in do_out_of_memory()
115 unsigned long write, unsigned long address, int si_code) in do_sigbus() argument
119 no_context(regs, write, address); in do_sigbus()
133 unsigned long write, unsigned long address, int si_code) in do_sigsegv() argument
140 no_context(regs, write, address); in do_sigsegv()
146 if (!write) in do_sigsegv()
156 write ? "write access to" : "read access from", in do_sigsegv()
176 unsigned long write, unsigned long address) in __do_page_fault() argument
199 no_context(regs, write, address); in __do_page_fault()
201 do_sigsegv(regs, write, address, si_code); in __do_page_fault()
210 do_sigsegv(regs, write, address, si_code); in __do_page_fault()
231 do_sigsegv(regs, write, address, si_code); in __do_page_fault()
241 if (write) { in __do_page_fault()
261 no_context(regs, write, address); in __do_page_fault()
282 do_out_of_memory(regs, write, address); in __do_page_fault()
285 do_sigsegv(regs, write, address, si_code); in __do_page_fault()
288 do_sigbus(regs, write, address, si_code); in __do_page_fault()
298 unsigned long write, unsigned long address) in do_page_fault() argument
306 __do_page_fault(regs, write, address); in do_page_fault()