Searched refs:BPF_ALU_OP_MASK (Results 1 – 3 of 3) sorted by relevance
/DragonOS/kernel/crates/rbpf/src/ |
H A D | cranelift.rs | 24 self, Insn, BPF_ALU_OP_MASK, BPF_IND, BPF_JEQ, BPF_JGE, BPF_JGT, BPF_JLE, BPF_JLT, BPF_JMP32, 872 c if (c & BPF_ALU_OP_MASK) == BPF_JEQ => IntCC::Equal, in translate_program() 873 c if (c & BPF_ALU_OP_MASK) == BPF_JNE => IntCC::NotEqual, in translate_program() 874 c if (c & BPF_ALU_OP_MASK) == BPF_JGT => IntCC::UnsignedGreaterThan, in translate_program() 875 c if (c & BPF_ALU_OP_MASK) == BPF_JGE => IntCC::UnsignedGreaterThanOrEqual, in translate_program() 876 c if (c & BPF_ALU_OP_MASK) == BPF_JLT => IntCC::UnsignedLessThan, in translate_program() 877 c if (c & BPF_ALU_OP_MASK) == BPF_JLE => IntCC::UnsignedLessThanOrEqual, in translate_program() 878 c if (c & BPF_ALU_OP_MASK) == BPF_JSGT => IntCC::SignedGreaterThan, in translate_program() 879 c if (c & BPF_ALU_OP_MASK) == BPF_JSGE => IntCC::SignedGreaterThanOrEqual, in translate_program() 880 c if (c & BPF_ALU_OP_MASK) == BPF_JSLT => IntCC::SignedLessThan, in translate_program() [all …]
|
H A D | jit.rs | 388 let mul = (opc & ebpf::BPF_ALU_OP_MASK) == (ebpf::MUL32_IMM & ebpf::BPF_ALU_OP_MASK); in emit_muldivmod() 389 let div = (opc & ebpf::BPF_ALU_OP_MASK) == (ebpf::DIV32_IMM & ebpf::BPF_ALU_OP_MASK); in emit_muldivmod() 390 let modrm = (opc & ebpf::BPF_ALU_OP_MASK) == (ebpf::MOD32_IMM & ebpf::BPF_ALU_OP_MASK); in emit_muldivmod()
|
H A D | ebpf.rs | 432 pub const BPF_ALU_OP_MASK: u8 = 0xf0; constant
|