Lines Matching defs:ip
350 * ud2 ; <- regs->ip
511 /* Kprobe x86 instruction emulation - only regs->ip or IF flag modifiers */
529 regs->ip = regs->ip - INT3_INSN_SIZE + p->ainsn.size;
541 unsigned long func = regs->ip - INT3_INSN_SIZE + p->ainsn.size;
550 unsigned long ip = regs->ip - INT3_INSN_SIZE + p->ainsn.size;
552 ip += p->ainsn.rel32;
553 int3_emulate_jmp(regs, ip);
559 unsigned long ip = regs->ip - INT3_INSN_SIZE + p->ainsn.size;
561 int3_emulate_jcc(regs, p->ainsn.jcc.type, ip, p->ainsn.rel32);
567 unsigned long ip = regs->ip - INT3_INSN_SIZE + p->ainsn.size;
596 ip += p->ainsn.rel32;
597 int3_emulate_jmp(regs, ip);
626 int3_emulate_push(regs, regs->ip - INT3_INSN_SIZE + p->ainsn.size);
907 regs->ip = (unsigned long)p->ainsn.insn;
924 /* Disable interrupt, and set ip register on trampoline */
926 regs->ip = (unsigned long)p->ainsn.insn;
939 * handle the instruction which changes the ip register, e.g. jmp,
945 * When the 2nd "int3" handled, the regs->ip and regs->flags needs to
954 /* Restore saved interrupt flag and ip register */
956 /* Note that regs->ip is executed int3 so must be a step back */
957 regs->ip += (orig_ip - copy_ip) - INT3_INSN_SIZE;
1015 addr = (kprobe_opcode_t *)(regs->ip - sizeof(kprobe_opcode_t));
1048 if ((unsigned long)p->ainsn.insn < regs->ip &&
1049 (unsigned long)p->ainsn.insn + MAX_INSN_SIZE > regs->ip) {
1066 if (unlikely(regs->ip == (unsigned long)cur->ainsn.insn)) {
1073 * kprobe and the ip points back to the probe address
1077 regs->ip = (unsigned long)cur->addr;