Home
last modified time | relevance | path

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

/f-stack/dpdk/app/test/
H A Dtest_bpf.c153 .dst_reg = EBPF_REG_0,
222 .dst_reg = EBPF_REG_0,
253 .dst_reg = EBPF_REG_0,
260 .dst_reg = EBPF_REG_0,
265 .dst_reg = EBPF_REG_0,
270 .dst_reg = EBPF_REG_0,
312 .dst_reg = EBPF_REG_0,
353 .dst_reg = EBPF_REG_0,
358 .dst_reg = EBPF_REG_0,
363 .dst_reg = EBPF_REG_0,
[all …]
/f-stack/dpdk/lib/librte_bpf/
H A Dbpf_exec.c85 reg[EBPF_REG_0] = op(p[0]); \
93 reg[EBPF_REG_0] = op(p[0]); \
143 p = rte_pktmbuf_read(mb, off, len, reg + EBPF_REG_0); in bpf_ld_mbuf()
462 reg[EBPF_REG_0] = bpf->prm.xsym[ins->imm].func.val( in bpf_exec()
469 return reg[EBPF_REG_0]; in bpf_exec()
H A Dbpf_def.h109 EBPF_REG_0, /* return value from internal function/for eBPF program */ enumerator
H A Dbpf_jit_x86.c68 [EBPF_REG_0] = RAX,
1081 rg[EBPF_REG_6], rg[EBPF_REG_0], in emit_ldmb_fast_path()
1086 rg[EBPF_REG_3], rg[EBPF_REG_0]); in emit_ldmb_fast_path()
1090 rg[EBPF_REG_2], rg[EBPF_REG_0]); in emit_ldmb_fast_path()
1124 emit_tst_reg(st, EBPF_ALU64, rg[EBPF_REG_0], rg[EBPF_REG_0]); in emit_ldmb_slow_path()
1186 emit_ldmb_fin(st, rg[EBPF_REG_0], opsz, sz); in emit_ld_mbuf()
1195 emit_ldmb_fin(st, rg[EBPF_REG_0], opsz, sz); in emit_ld_mbuf()
H A Dbpf_jit_arm64.c728 [EBPF_REG_0] = A64_R(7), in ebpf_to_a64_reg()
749 [EBPF_REG_0] = A64_R(7), in ebpf_to_a64_reg()
849 r0 = ebpf_to_a64_reg(ctx, EBPF_REG_0); in emit_epilogue_has_call()
893 emit_mov_64(ctx, A64_R(0), ebpf_to_a64_reg(ctx, EBPF_REG_0)); in emit_epilogue_no_call()
922 uint8_t r0 = ebpf_to_a64_reg(ctx, EBPF_REG_0); in emit_call()
958 uint8_t r0 = ebpf_to_a64_reg(ctx, EBPF_REG_0); in emit_return_zero_if_src_zero()
H A Dbpf_load_elf.c90 ins[idx].src_reg = EBPF_REG_0; in resolve_xsym()
H A Dbpf_validate.c125 if (bvf->evst->rv[EBPF_REG_0].v.type == RTE_BPF_ARG_UNDEF) in eval_exit()
616 rv = bvf->evst->rv + EBPF_REG_0; in eval_ld_mbuf()
1000 rv = bvf->evst->rv + EBPF_REG_0; in eval_call()