| /arch/powerpc/net/ |
| A D | bpf_jit_comp.c | 542 int run_ctx_off, u32 *branches) in invoke_bpf_mod_ret() argument 570 branches[i] = ctx->idx; in invoke_bpf_mod_ret() 663 u32 *branches = NULL; in __arch_prepare_bpf_trampoline() local 850 branches = kcalloc(fmod_ret->nr_links, sizeof(u32), GFP_KERNEL); in __arch_prepare_bpf_trampoline() 851 if (!branches) in __arch_prepare_bpf_trampoline() 855 run_ctx_off, branches)) { in __arch_prepare_bpf_trampoline() 900 if (create_cond_branch(&branch_insn, &image[branches[i]], in __arch_prepare_bpf_trampoline() 906 image[branches[i]] = ppc_inst_val(branch_insn); in __arch_prepare_bpf_trampoline() 971 kfree(branches); in __arch_prepare_bpf_trampoline()
|
| /arch/m68k/ifpsp060/ |
| A D | iskeleton.S | 60 | _isp_unimp() branches to here so that the operating system 88 | stack frame and branches to this routine. 123 | Integer Instruction stack frame and branches to this routine. 128 | stack frame and branches to the _real_trace() entry point.
|
| /arch/mips/include/asm/ |
| A D | fpu_emulator.h | 28 unsigned long branches; member
|
| /arch/x86/events/ |
| A D | Kconfig | 53 16 consecutive taken branches in registers.
|
| /arch/powerpc/platforms/8xx/ |
| A D | Kconfig | 121 (by not placing conditional branches or branches to LR or CTR
|
| /arch/loongarch/net/ |
| A D | bpf_jit.c | 1428 int args_off, int retval_off, int run_ctx_off, u32 **branches) in invoke_bpf_mod_ret() argument 1436 branches[i] = (u32 *)ctx->image + ctx->idx; in invoke_bpf_mod_ret() 1463 u32 **branches = NULL; in __arch_prepare_bpf_trampoline() local 1611 branches = kcalloc(fmod_ret->nr_links, sizeof(u32 *), GFP_KERNEL); in __arch_prepare_bpf_trampoline() 1612 if (!branches) in __arch_prepare_bpf_trampoline() 1615 invoke_bpf_mod_ret(ctx, fmod_ret, args_off, retval_off, run_ctx_off, branches); in __arch_prepare_bpf_trampoline() 1636 int offset = (void *)(&ctx->image[ctx->idx]) - (void *)branches[i]; in __arch_prepare_bpf_trampoline() 1637 *branches[i] = larch_insn_gen_bne(LOONGARCH_GPR_T1, LOONGARCH_GPR_ZERO, offset); in __arch_prepare_bpf_trampoline() 1694 kfree(branches); in __arch_prepare_bpf_trampoline()
|
| /arch/mips/math-emu/ |
| A D | me-debugfs.c | 57 __this_cpu_write((fpuemustats).branches, 0); in fpuemustats_clear_show() 213 FPU_STAT_CREATE(branches); in debugfs_fpuemu()
|
| A D | cp1emu.c | 1232 MIPS_FPU_EMU_INC_STATS(branches); in cop1Emulate()
|
| /arch/arm64/net/ |
| A D | bpf_jit_comp.c | 2299 __le32 **branches) in invoke_bpf_mod_ret() argument 2317 branches[i] = ctx->image + ctx->idx; in invoke_bpf_mod_ret() 2477 __le32 **branches = NULL; in prepare_trampoline() local 2607 branches = kcalloc(fmod_ret->nr_links, sizeof(__le32 *), in prepare_trampoline() 2609 if (!branches) in prepare_trampoline() 2613 run_ctx_off, branches); in prepare_trampoline() 2632 int offset = &ctx->image[ctx->idx] - branches[i]; in prepare_trampoline() 2633 *branches[i] = cpu_to_le32(A64_CBNZ(1, A64_R(10), offset)); in prepare_trampoline() 2683 kfree(branches); in prepare_trampoline()
|
| /arch/x86/net/ |
| A D | bpf_jit_comp.c | 2966 int run_ctx_off, u8 **branches, in invoke_bpf_mod_ret() argument 2994 branches[i] = prog; in invoke_bpf_mod_ret() 3078 u8 **branches = NULL; in __arch_prepare_bpf_trampoline() local 3240 branches = kcalloc(fmod_ret->nr_links, sizeof(u8 *), in __arch_prepare_bpf_trampoline() 3242 if (!branches) in __arch_prepare_bpf_trampoline() 3246 run_ctx_off, branches, image, rw_image)) { in __arch_prepare_bpf_trampoline() 3290 emit_cond_near_jump(&branches[i], image + (prog - (u8 *)rw_image), in __arch_prepare_bpf_trampoline() 3291 image + (branches[i] - (u8 *)rw_image), X86_JNE); in __arch_prepare_bpf_trampoline() 3344 kfree(branches); in __arch_prepare_bpf_trampoline()
|
| /arch/m68k/fpsp040/ |
| A D | x_operr.S | 303 | and does an rte. If enabled, it cleans up the stack and branches
|
| A D | get_op.S | 9 | determines the opclass (0, 2, or 3) and branches to the
|
| A D | setox.S | 64 | Notes: The usual case should take the branches 1.1 -> 1.3 -> 2.
|
| /arch/parisc/ |
| A D | Kconfig | 250 linker will not be able to resolve some long branches and fails to link
|
| /arch/x86/events/amd/ |
| A D | core.c | 1351 static DEVICE_ATTR_RO(branches);
|
| /arch/ |
| A D | Kconfig | 93 bool "Optimize very unlikely/likely branches" 103 branches and include support for this optimization technique. 106 the kernel will compile such branches with just a nop 1487 of static branches (see JUMP_LABEL).
|
| /arch/s390/ |
| A D | Kconfig | 619 prompt "Avoid speculative indirect branches in the kernel" 623 branches.
|
| /arch/arm/mm/ |
| A D | Kconfig | 861 context by executing aliasing branches in the attacker context. 880 taking an exception, a sequence of branches overwrites the branch
|
| /arch/m68k/ifpsp060/src/ |
| A D | isp.S | 32 # effect, branches to one of the branch table entries located
|
| A D | ilsp.S | 32 # effect, branches to one of the branch table entries located here.
|
| A D | pfpsp.S | 32 # effect, branches to one of the branch table entries located 3762 # adjusts the operand using fix_skewed_ops() and then branches to #
|
| A D | fpsp.S | 33 # effect, branches to one of the branch table entries located 3763 # adjusts the operand using fix_skewed_ops() and then branches to # 6992 # Notes: The usual case should take the branches 1.1 -> 1.3 -> 2.# 16265 # the stacked fdbcc instruction opcode and then branches to a routine #
|
| /arch/x86/ |
| A D | Kconfig | 2460 bool "Avoid speculative indirect branches in kernel" 2466 branches. Requires a compiler with -mindirect-branch=thunk-extern 2579 indirect branches. 2655 attacks, the attacker can steer speculative indirect branches in the
|
| /arch/x86/events/intel/ |
| A D | core.c | 6182 static DEVICE_ATTR_RO(branches);
|
| /arch/arm64/ |
| A D | Kconfig | 1698 When taking an exception from user-space, a sequence of branches
|