Searched refs:BPF_CLASS (Results 1 – 9 of 9) sorted by relevance
34 #define BPF_CLASS(code) ((code) & 0x07) macro
172 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()
646 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()
1147 is64 = (BPF_CLASS(op) == EBPF_ALU64); in emit()
576 if (BPF_CLASS(p->code) == BPF_JMP) { in bpf_validate()604 return (BPF_CLASS(f[len - 1].code) == BPF_RET); in bpf_validate()
254 #define BPF_CLASS(code) ((code) & 0x07) macro
253 #define BPF_CLASS(code) ((code) & 0x07) macro
111 if (BPF_CLASS(prog[0].code) == BPF_RET) in bpf_jit_optimize()