Home
last modified time | relevance | path

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

/dpdk/lib/bpf/
H A Dbpf_convert.c84 ((struct ebpf_insn) { \
92 ((struct ebpf_insn) { \
102 ((struct ebpf_insn) { \
112 ((struct ebpf_insn) { \
120 ((struct ebpf_insn) { \
130 ((struct ebpf_insn) { \
140 ((struct ebpf_insn) { \
150 ((struct ebpf_insn) { \
160 ((struct ebpf_insn) { \
170 ((struct ebpf_insn) { \
[all …]
H A Drte_bpf.h91 const struct ebpf_insn *ins; /**< array of eBPF instructions */
213 rte_bpf_dump(FILE *f, const struct ebpf_insn *buf, uint32_t len);
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 Dbpf_dump.c46 void rte_bpf_dump(FILE *f, const struct ebpf_insn *buf, uint32_t len) in rte_bpf_dump()
51 const struct ebpf_insn *ins = buf + i; in rte_bpf_dump()
H A Dbpf_validate.c95 const char * (*check)(const struct ebpf_insn *);
111 check_alu_bele(const struct ebpf_insn *ins) in check_alu_bele()
119 eval_exit(struct bpf_verifier *bvf, const struct ebpf_insn *ins) in eval_exit()
634 eval_alu(struct bpf_verifier *bvf, const struct ebpf_insn *ins) in eval_alu()
704 eval_bele(struct bpf_verifier *bvf, const struct ebpf_insn *ins) in eval_bele()
794 eval_load(struct bpf_verifier *bvf, const struct ebpf_insn *ins) in eval_load()
1076 eval_jcc(struct bpf_verifier *bvf, const struct ebpf_insn *ins) in eval_jcc()
1733 check_syntax(const struct ebpf_insn *ins) in check_syntax()
1920 const struct ebpf_insn *ins; in log_unreachable()
1970 const struct ebpf_insn *ins; in validate()
[all …]
H A Dbpf_exec.c92 bpf_alu_be(uint64_t reg[EBPF_REG_NUM], const struct ebpf_insn *ins) in bpf_alu_be()
111 bpf_alu_le(uint64_t reg[EBPF_REG_NUM], const struct ebpf_insn *ins) in bpf_alu_le()
131 const struct ebpf_insn *ins, uint32_t off, uint32_t len) in bpf_ld_mbuf()
149 const struct ebpf_insn *ins; in bpf_exec()
H A Dbpf_def.h134 struct ebpf_insn { struct
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.c1285 const struct ebpf_insn *ins; in emit()
/dpdk/app/test/
H A Dtest_bpf.c141 static const struct ebpf_insn test_store1_prog[] = {
204 static const struct ebpf_insn test_store2_prog[] = {
247 static const struct ebpf_insn test_load1_prog[] = {
324 static const struct ebpf_insn test_ldimm1_prog[] = {
412 static const struct ebpf_insn test_mul1_prog[] = {
524 static const struct ebpf_insn test_shift1_prog[] = {
719 static const struct ebpf_insn test_jump1_prog[] = {
928 static const struct ebpf_insn test_jump2_prog[] = {
1093 static const struct ebpf_insn test_alu1_prog[] = {
1275 static const struct ebpf_insn test_bele1_prog[] = {
[all …]