Lines Matching defs:address
68 void bad_page_fault(struct pt_regs *regs, unsigned long address, int sig)
87 void do_page_fault(struct pt_regs *regs, unsigned long address,
97 regs->ear = address;
101 if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) {
103 _exception(SIGSEGV, regs, code, address);
128 * address space. Luckily the kernel only validly references user
134 * Attempt to lock the address space, if we cannot we then validate the
135 * source. If this is invalid we can skip the address space check,
145 vma = find_vma(mm, address);
149 if (vma->vm_start <= address)
167 if (unlikely(address + 0x100000 < vma->vm_end)) {
175 * A user-mode access to an address a long way below
178 * address accessed if the instruction completed,
186 if (address + 2048 < uregs->r1
190 if (expand_stack(vma, address))
214 fault = handle_mm_fault(mm, vma, address, is_write ? FAULT_FLAG_WRITE : 0);
243 _exception(SIGSEGV, regs, code, address);
247 info.si_addr = (void *) address;
252 bad_page_fault(regs, address, SIGSEGV);
262 bad_page_fault(regs, address, SIGKILL);
273 info.si_addr = (void __user *)address;
277 bad_page_fault(regs, address, SIGBUS);