Home
last modified time | relevance | path

Searched refs:BPF_ALU64 (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/crates/rbpf/src/
H A Debpf.rs53 pub const BPF_ALU64: u8 = 0x07; constant
275 pub const ADD64_IMM: u8 = BPF_ALU64 | BPF_K | BPF_ADD;
277 pub const ADD64_REG: u8 = BPF_ALU64 | BPF_X | BPF_ADD;
279 pub const SUB64_IMM: u8 = BPF_ALU64 | BPF_K | BPF_SUB;
281 pub const SUB64_REG: u8 = BPF_ALU64 | BPF_X | BPF_SUB;
283 pub const MUL64_IMM: u8 = BPF_ALU64 | BPF_K | BPF_MUL;
285 pub const MUL64_REG: u8 = BPF_ALU64 | BPF_X | BPF_MUL;
287 pub const DIV64_IMM: u8 = BPF_ALU64 | BPF_K | BPF_DIV;
289 pub const DIV64_REG: u8 = BPF_ALU64 | BPF_X | BPF_DIV;
291 pub const OR64_IMM: u8 = BPF_ALU64 | BPF_K | BPF_OR;
[all …]
H A Dassembler.rs100 entry(name, AluBinary, ebpf::BPF_ALU64 | opc); in make_instruction_map()
102 entry(&format!("{name}64"), AluBinary, ebpf::BPF_ALU64 | opc); in make_instruction_map()
H A Djit.rs391 let is64 = (opc & ebpf::BPF_CLS_MASK) == ebpf::BPF_ALU64; in emit_muldivmod()
H A Dinsn_builder.rs397 X64 = BPF_ALU64 as isize,
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs125 pub const BPF_ALU64: u32 = 7; constant