Home
last modified time | relevance | path

Searched refs:branches (Results 1 – 25 of 26) sorted by relevance

12

/arch/powerpc/net/
A Dbpf_jit_comp.c542 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 Diskeleton.S60 | _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 Dfpu_emulator.h28 unsigned long branches; member
/arch/x86/events/
A DKconfig53 16 consecutive taken branches in registers.
/arch/powerpc/platforms/8xx/
A DKconfig121 (by not placing conditional branches or branches to LR or CTR
/arch/loongarch/net/
A Dbpf_jit.c1428 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 Dme-debugfs.c57 __this_cpu_write((fpuemustats).branches, 0); in fpuemustats_clear_show()
213 FPU_STAT_CREATE(branches); in debugfs_fpuemu()
A Dcp1emu.c1232 MIPS_FPU_EMU_INC_STATS(branches); in cop1Emulate()
/arch/arm64/net/
A Dbpf_jit_comp.c2299 __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 Dbpf_jit_comp.c2966 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 Dx_operr.S303 | and does an rte. If enabled, it cleans up the stack and branches
A Dget_op.S9 | determines the opclass (0, 2, or 3) and branches to the
A Dsetox.S64 | Notes: The usual case should take the branches 1.1 -> 1.3 -> 2.
/arch/parisc/
A DKconfig250 linker will not be able to resolve some long branches and fails to link
/arch/x86/events/amd/
A Dcore.c1351 static DEVICE_ATTR_RO(branches);
/arch/
A DKconfig93 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 DKconfig619 prompt "Avoid speculative indirect branches in the kernel"
623 branches.
/arch/arm/mm/
A DKconfig861 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 Disp.S32 # effect, branches to one of the branch table entries located
A Dilsp.S32 # effect, branches to one of the branch table entries located here.
A Dpfpsp.S32 # effect, branches to one of the branch table entries located
3762 # adjusts the operand using fix_skewed_ops() and then branches to #
A Dfpsp.S33 # 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 DKconfig2460 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 Dcore.c6182 static DEVICE_ATTR_RO(branches);
/arch/arm64/
A DKconfig1698 When taking an exception from user-space, a sequence of branches

Completed in 127 milliseconds

12