Home
last modified time | relevance | path

Searched refs:get_insn (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/crates/rbpf/src/
H A Dverifier.rs48 let last_opc = ebpf::get_insn(prog, (prog.len() / ebpf::INSN_SIZE) - 1).opc; in check_prog_len()
68 let next_insn = ebpf::get_insn(prog, insn_ptr + 1); in check_load_dw()
77 let insn = ebpf::get_insn(prog, insn_ptr); in check_jmp_offset()
89 let dst_insn = ebpf::get_insn(prog, dst_insn_ptr as usize); in check_jmp_offset()
118 let insn = ebpf::get_insn(prog, insn_ptr); in check()
H A Dinsn_builder.rs17 self.get_insn().dst in get_dst()
22 self.get_insn().src in get_src()
27 self.get_insn().off in get_off()
32 self.get_insn().imm in get_imm()
60 fn get_insn(&self) -> &Insn; in get_insn() method
362 fn get_insn(&self) -> &Insn { in get_insn() method
427 fn get_insn(&self) -> &Insn { in get_insn() method
470 fn get_insn(&self) -> &Insn { in get_insn() method
502 fn get_insn(&self) -> &Insn { in get_insn() method
556 fn get_insn(&self) -> &Insn { in get_insn() method
[all …]
H A Debpf.rs554 pub fn get_insn(prog: &[u8], idx: usize) -> Insn { in get_insn() function
630 let insn = get_insn(prog, insn_ptr); in to_insn_vec()
H A Ddisassembler.rs217 let insn = ebpf::get_insn(prog, insn_ptr); in to_insn_vec()
259 let next_insn = ebpf::get_insn(prog, insn_ptr); in to_insn_vec()
H A Dcranelift.rs253 let insn = ebpf::get_insn(prog, insn_ptr); in translate_program()
319 let next_insn = ebpf::get_insn(prog, insn_ptr); in translate_program()
1086 let insn = ebpf::get_insn(prog, insn_ptr); in build_cfg()
H A Dinterpreter.rs133 let insn = ebpf::get_insn(prog, insn_ptr); in execute_program()
206 let next_insn = ebpf::get_insn(prog, insn_ptr); in execute_program()
H A Djit.rs538 let insn = ebpf::get_insn(prog, insn_ptr); in jit_compile()
576 let second_part = ebpf::get_insn(prog, insn_ptr).imm as u64; in jit_compile()