Lines Matching defs:ip
1956 * [ parent ip ]
1958 * SP + retaddr_off [ self ip ]
2034 /* save ip address of the traced function */
2237 static bool is_long_jump(void *ip, void *target)
2245 offset = (long)target - (long)ip;
2249 static int gen_branch_or_nop(enum aarch64_insn_branch_type type, void *ip,
2259 if (is_long_jump(ip, addr))
2264 *insn = aarch64_insn_gen_branch_imm((unsigned long)ip,
2271 /* Replace the branch instruction from @ip to @old_addr in a bpf prog or a bpf
2272 * trampoline with the branch instruction from @ip to @new_addr. If @old_addr
2275 * When @ip is the bpf prog entry, a bpf trampoline is being attached or
2331 int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type poke_type,
2347 if (!__bpf_address_lookup((unsigned long)ip, &size, &offset, namebuf))
2354 image = ip - offset;
2368 ip = image + POKE_OFFSET * AARCH64_INSN_SIZE;
2372 if (WARN_ON((is_long_jump(ip, new_addr) || is_long_jump(ip, old_addr)) &&
2381 if (gen_branch_or_nop(branch_type, ip, old_addr, plt, &old_insn) < 0)
2384 if (gen_branch_or_nop(branch_type, ip, new_addr, plt, &new_insn) < 0)
2387 if (is_long_jump(ip, new_addr))
2389 else if (is_long_jump(ip, old_addr))
2420 if (aarch64_insn_read(ip, &replaced)) {
2445 ret = aarch64_insn_patch_text_nosync(ip, new_insn);