Home
last modified time | relevance | path

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

/Linux-v6.1/arch/powerpc/include/asm/
Dcode-patching.h44 static inline bool is_offset_in_branch_range(long offset) in is_offset_in_branch_range() function
65 if (!is_offset_in_branch_range(offset)) in create_branch()
/Linux-v6.1/arch/powerpc/net/
Dbpf_jit_comp.c96 if (!exit_addr || is_offset_in_branch_range(exit_addr - (ctx->idx * 4))) { in bpf_jit_emit_exit_insn()
99 if (WARN_ON(!is_offset_in_branch_range((long)ctx->alt_exit_addr - (ctx->idx * 4)))) in bpf_jit_emit_exit_insn()
201 if (cgctx.seen & SEEN_TAILCALL || !is_offset_in_branch_range((long)cgctx.idx * 4)) { in bpf_int_jit_compile()
Dbpf_jit.h30 if ((dest) != 0 && !is_offset_in_branch_range(offset)) { \
/Linux-v6.1/arch/powerpc/kernel/
Dstatic_call.c12 bool is_short = is_offset_in_branch_range((long)target - (long)tramp); in arch_static_call_transform()
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()
/Linux-v6.1/arch/powerpc/kernel/trace/
Dftrace.c88 return is_offset_in_branch_range(addr - ip); in test_24bit_addr()
228 else if (is_offset_in_branch_range(ftrace_tramps[i] - ip)) in find_ftrace_tramp()