Lines Matching refs:regs
29 unsigned long uprobe_get_swbp_addr(struct pt_regs *regs)
31 return instruction_pointer(regs);
62 int arch_uprobe_pre_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
70 instruction_pointer_set(regs, utask->xol_vaddr);
77 int arch_uprobe_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
84 instruction_pointer_set(regs, utask->vaddr + 4);
103 bool arch_uprobe_skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
112 addr = instruction_pointer(regs);
115 auprobe->api.handler(insn, addr, regs);
120 void arch_uprobe_abort_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
128 instruction_pointer_set(regs, utask->vaddr);
134 struct pt_regs *regs)
138 * assembly label then return true even when regs->sp and ret->stack
144 return regs->sp <= ret->stack;
146 return regs->sp < ret->stack;
151 struct pt_regs *regs)
155 orig_ret_vaddr = procedure_link_pointer(regs);
157 procedure_link_pointer_set(regs, trampoline_vaddr);
168 static int uprobe_breakpoint_handler(struct pt_regs *regs,
171 if (uprobe_pre_sstep_notifier(regs))
177 static int uprobe_single_step_handler(struct pt_regs *regs,
182 WARN_ON(utask && (instruction_pointer(regs) != utask->xol_vaddr + 4));
183 if (uprobe_post_sstep_notifier(regs))