Home
last modified time | relevance | path

Searched refs:BPF_CLASS (Results 1 – 9 of 9) sorted by relevance

/f-stack/dpdk/lib/librte_bpf/
H A Dbpf_def.h34 #define BPF_CLASS(code) ((code) & 0x07) macro
H A Dbpf_jit_x86.c172 if (BPF_CLASS(op) == EBPF_ALU64 || in emit_rex()
177 (BPF_CLASS(op) == BPF_LDX && in emit_rex()
272 if (sreg != dreg || BPF_CLASS(op) == BPF_ALU) { in emit_mov_reg()
481 op = BPF_CLASS(op) | BPF_XOR | BPF_X; in emit_mov_imm()
617 opx = (BPF_CLASS(op) == BPF_STX); in emit_st_common()
995 emit_tst_reg(st, BPF_CLASS(op), sreg, sreg); in emit_div()
998 emit_movcc_reg(st, BPF_CLASS(op) | BPF_JEQ | BPF_X, sreg, RAX); in emit_div()
H A Dbpf_validate.c646 opsz = (BPF_CLASS(ins->code) == BPF_ALU) ? in eval_alu()
890 if (BPF_CLASS(ins->code) == BPF_STX) { in eval_store()
907 if (BPF_CLASS(ins->code) == BPF_STX && in eval_store()
H A Dbpf_jit_arm64.c1147 is64 = (BPF_CLASS(op) == EBPF_ALU64); in emit()
/f-stack/freebsd/net/
H A Dbpf_filter.c576 if (BPF_CLASS(p->code) == BPF_JMP) { in bpf_validate()
604 return (BPF_CLASS(f[len - 1].code) == BPF_RET); in bpf_validate()
H A Dbpf.h254 #define BPF_CLASS(code) ((code) & 0x07) macro
/f-stack/tools/compat/include/net/
H A Dbpf.h253 #define BPF_CLASS(code) ((code) & 0x07) macro
/f-stack/freebsd/amd64/amd64/
H A Dbpf_jit_machdep.c111 if (BPF_CLASS(prog[0].code) == BPF_RET) in bpf_jit_optimize()
/f-stack/freebsd/i386/i386/
H A Dbpf_jit_machdep.c111 if (BPF_CLASS(prog[0].code) == BPF_RET) in bpf_jit_optimize()