Lines Matching defs:address
67 void bad_page_fault(struct pt_regs *regs, unsigned long address, int sig)
86 void do_page_fault(struct pt_regs *regs, unsigned long address,
96 regs->ear = address;
100 if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) {
102 _exception(SIGSEGV, regs, code, address);
125 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address);
132 * address space. Luckily the kernel only validly references user
138 * Attempt to lock the address space, if we cannot we then validate the
139 * source. If this is invalid we can skip the address space check,
150 vma = find_vma(mm, address);
154 if (vma->vm_start <= address)
172 if (unlikely(address + 0x100000 < vma->vm_end)) {
180 * A user-mode access to an address a long way below
183 * address accessed if the instruction completed,
191 if (address + 2048 < uregs->r1
195 if (expand_stack(vma, address))
220 fault = handle_mm_fault(vma, address, flags, regs);
267 _exception(SIGSEGV, regs, code, address);
271 bad_page_fault(regs, address, SIGSEGV);
281 bad_page_fault(regs, address, SIGKILL);
289 force_sig_fault(SIGBUS, BUS_ADRERR, (void __user *)address);
292 bad_page_fault(regs, address, SIGBUS);