Home
last modified time | relevance | path

Searched refs:ebpf_insn (Results 1 – 8 of 8) sorted by relevance

/f-stack/dpdk/lib/librte_bpf/
H A Dbpf_load_elf.c57 resolve_xsym(const char *sn, size_t ofs, struct ebpf_insn *ins, size_t ins_sz, in resolve_xsym()
168 sd->d_size % sizeof(struct ebpf_insn) != 0) { in find_elf_code()
185 struct ebpf_insn *ins, size_t ins_sz, const struct rte_bpf_prm *prm) in process_reloc()
286 np.nb_ins = sd->d_size / sizeof(struct ebpf_insn); in bpf_load_elf()
H A Drte_bpf.h91 const struct ebpf_insn *ins; /**< array of eBPF instructions */
H A Dbpf_def.h134 struct ebpf_insn { struct
H A Dbpf_exec.c98 bpf_alu_be(uint64_t reg[EBPF_REG_NUM], const struct ebpf_insn *ins) in bpf_alu_be()
117 bpf_alu_le(uint64_t reg[EBPF_REG_NUM], const struct ebpf_insn *ins) in bpf_alu_le()
137 const struct ebpf_insn *ins, uint32_t off, uint32_t len) in bpf_ld_mbuf()
155 const struct ebpf_insn *ins; in bpf_exec()
H A Dbpf_validate.c98 const char * (*check)(const struct ebpf_insn *);
114 check_alu_bele(const struct ebpf_insn *ins) in check_alu_bele()
122 eval_exit(struct bpf_verifier *bvf, const struct ebpf_insn *ins) in eval_exit()
637 eval_alu(struct bpf_verifier *bvf, const struct ebpf_insn *ins) in eval_alu()
700 eval_bele(struct bpf_verifier *bvf, const struct ebpf_insn *ins) in eval_bele()
790 eval_load(struct bpf_verifier *bvf, const struct ebpf_insn *ins) in eval_load()
1072 eval_jcc(struct bpf_verifier *bvf, const struct ebpf_insn *ins) in eval_jcc()
1729 check_syntax(const struct ebpf_insn *ins) in check_syntax()
1916 const struct ebpf_insn *ins; in log_unreachable()
1966 const struct ebpf_insn *ins; in validate()
[all …]
H A Dbpf_jit_arm64.c1095 const struct ebpf_insn *ins; in check_program_has_call()
1119 const struct ebpf_insn *ins; in emit()
H A Dbpf_jit_x86.c1290 const struct ebpf_insn *ins; in emit()
/f-stack/dpdk/app/test/
H A Dtest_bpf.c125 static const struct ebpf_insn test_store1_prog[] = {
188 static const struct ebpf_insn test_store2_prog[] = {
231 static const struct ebpf_insn test_load1_prog[] = {
308 static const struct ebpf_insn test_ldimm1_prog[] = {
396 static const struct ebpf_insn test_mul1_prog[] = {
508 static const struct ebpf_insn test_shift1_prog[] = {
691 static const struct ebpf_insn test_jump1_prog[] = {
900 static const struct ebpf_insn test_jump2_prog[] = {
1065 static const struct ebpf_insn test_alu1_prog[] = {
1247 static const struct ebpf_insn test_bele1_prog[] = {
[all …]