Home
last modified time | relevance | path

Searched refs:ret_reg (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/arch/powerpc/net/
Dbpf_jit_comp32.c303 u32 save_reg, ret_reg; in bpf_jit_build_body() local
847 ret_reg = src_reg; in bpf_jit_build_body()
884 ret_reg = bpf_to_ppc(BPF_REG_0); in bpf_jit_build_body()
907 EMIT(PPC_RAW_MR(ret_reg, ax_reg)); in bpf_jit_build_body()
909 EMIT(PPC_RAW_LI(ret_reg - 1, 0)); /* higher 32-bit */ in bpf_jit_build_body()
Dbpf_jit_comp64.c382 u32 save_reg, ret_reg; in bpf_jit_build_body() local
802 ret_reg = src_reg; in bpf_jit_build_body()
839 ret_reg = bpf_to_ppc(BPF_REG_0); in bpf_jit_build_body()
868 EMIT(PPC_RAW_MR(ret_reg, _R0)); in bpf_jit_build_body()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.h80 #define ret_reg(np) imm_a(np) macro
Djit.c3326 wrp_immed_relo(nfp_prog, ret_reg(nfp_prog), ret_tgt, RELO_IMMED_REL); in bpf_to_bpf_call()
3400 wrp_mov(nfp_prog, ret_reg(nfp_prog), reg_lm(0, 0)); in nfp_subprog_epilogue()
3403 wrp_mov(nfp_prog, ret_reg(nfp_prog), reg_lm(0, 0)); in nfp_subprog_epilogue()
3407 emit_rtn(nfp_prog, ret_reg(nfp_prog), 0); in nfp_subprog_epilogue()
3643 wrp_mov(nfp_prog, reg_lm(0, 0), ret_reg(nfp_prog)); in nfp_subprog_prologue()
3805 emit_rtn(nfp_prog, ret_reg(nfp_prog), 3); in nfp_pop_callee_registers()
/linux-6.6.21/kernel/bpf/
Dverifier.c9705 struct bpf_reg_state *ret_reg = &regs[BPF_REG_0]; in do_refine_retval_range() local
9716 ret_reg->smax_value = meta->msize_max_value; in do_refine_retval_range()
9717 ret_reg->s32_max_value = meta->msize_max_value; in do_refine_retval_range()
9718 ret_reg->smin_value = -MAX_ERRNO; in do_refine_retval_range()
9719 ret_reg->s32_min_value = -MAX_ERRNO; in do_refine_retval_range()
9720 reg_bounds_sync(ret_reg); in do_refine_retval_range()
9723 ret_reg->umax_value = nr_cpu_ids - 1; in do_refine_retval_range()
9724 ret_reg->u32_max_value = nr_cpu_ids - 1; in do_refine_retval_range()
9725 ret_reg->smax_value = nr_cpu_ids - 1; in do_refine_retval_range()
9726 ret_reg->s32_max_value = nr_cpu_ids - 1; in do_refine_retval_range()
[all …]