Home
last modified time | relevance | path

Searched refs:is_offset_in_branch_range (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c28 if (!exit_addr || is_offset_in_branch_range(exit_addr - (ctx->idx * 4))) { in bpf_jit_emit_exit_insn()
31 if (WARN_ON(!is_offset_in_branch_range((long)ctx->alt_exit_addr - (ctx->idx * 4)))) in bpf_jit_emit_exit_insn()
135 if (cgctx.seen & SEEN_TAILCALL || !is_offset_in_branch_range((long)cgctx.idx * 4)) { in bpf_int_jit_compile()
H A Dbpf_jit.h32 if ((dest) != 0 && !is_offset_in_branch_range(offset)) { \
/openbmc/linux/arch/powerpc/kernel/trace/
H A Dftrace.c50 WARN_ON(!is_offset_in_branch_range(addr - ip)); in ftrace_create_branch_inst()
103 else if (is_offset_in_branch_range(ftrace_tramps[i] - ip)) in find_ftrace_tramp()
114 if (is_offset_in_branch_range(addr - ip)) { in ftrace_get_call_inst()
275 } else if (is_offset_in_branch_range(addr - ip)) { in ftrace_init_nop()
H A Dftrace_64_pg.c93 return is_offset_in_branch_range(addr - ip); in test_24bit_addr()
233 else if (is_offset_in_branch_range(ftrace_tramps[i] - ip)) in find_ftrace_tramp()
/openbmc/linux/arch/powerpc/include/asm/
H A Dcode-patching.h42 static inline bool is_offset_in_branch_range(long offset) in is_offset_in_branch_range() function
63 if (!is_offset_in_branch_range(offset)) in create_branch()
/openbmc/linux/arch/powerpc/kernel/
H A Dstatic_call.c12 bool is_short = is_offset_in_branch_range((long)target - (long)tramp); in arch_static_call_transform()
H A Doptprobes.c182 if (!is_offset_in_branch_range(b_offset)) in arch_prepare_optimized_kprobe()
187 if (!is_offset_in_branch_range(b_offset)) in arch_prepare_optimized_kprobe()