Searched refs:BPF_X (Results 1 – 5 of 5) sorted by relevance
/DragonOS/kernel/crates/rbpf/src/ |
H A D | ebpf.rs | 97 pub const BPF_X: u8 = 0x08; constant 217 pub const ADD32_REG: u8 = BPF_ALU | BPF_X | BPF_ADD; 221 pub const SUB32_REG: u8 = BPF_ALU | BPF_X | BPF_SUB; 225 pub const MUL32_REG: u8 = BPF_ALU | BPF_X | BPF_MUL; 229 pub const DIV32_REG: u8 = BPF_ALU | BPF_X | BPF_DIV; 233 pub const OR32_REG: u8 = BPF_ALU | BPF_X | BPF_OR; 237 pub const AND32_REG: u8 = BPF_ALU | BPF_X | BPF_AND; 241 pub const LSH32_REG: u8 = BPF_ALU | BPF_X | BPF_LSH; 245 pub const RSH32_REG: u8 = BPF_ALU | BPF_X | BPF_RSH; 251 pub const MOD32_REG: u8 = BPF_ALU | BPF_X | BPF_MOD; [all …]
|
H A D | assembler.rs | 190 (AluBinary, Register(dst), Register(src), Nil) => insn(opc | ebpf::BPF_X, dst, src, 0, 0), in encode() 201 insn(opc | ebpf::BPF_X, dst, src, off, 0) in encode()
|
H A D | jit.rs | 392 let is_reg = (opc & ebpf::BPF_X) == ebpf::BPF_X; in emit_muldivmod()
|
H A D | cranelift.rs | 25 BPF_JNE, BPF_JSET, BPF_JSGE, BPF_JSGT, BPF_JSLE, BPF_JSLT, BPF_X, STACK_SIZE, 869 let is_reg = (insn.opc & BPF_X) != 0; in translate_program()
|
H A D | insn_builder.rs | 373 Reg = BPF_X as isize,
|