Searched defs:Insn (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/crates/rbpf/src/ |
H A D | assembler.rs | 154 fn insn(opc: u8, dst: i64, src: i64, off: i64, imm: i64) -> Result<Insn, String> { in insn() 187 fn encode(inst_type: InstructionType, opc: u8, operands: &[Operand]) -> Result<Insn, String> { in encode() 213 fn assemble_internal(parsed: &[Instruction]) -> Result<Vec<Insn>, String> { in assemble_internal()
|
H A D | verifier.rs | 56 fn check_imm_endian(insn: &ebpf::Insn, insn_ptr: usize) -> Result<(), Error> { in check_imm_endian() 99 fn check_registers(insn: &ebpf::Insn, store: bool, insn_ptr: usize) -> Result<(), Error> { in check_registers()
|
H A D | insn_builder.rs | 60 fn get_insn(&self) -> &Insn; in get_insn() 63 fn get_insn_mut(&mut self) -> &mut Insn; in get_insn_mut() 358 fn get_insn_mut(&mut self) -> &mut Insn { in get_insn_mut() 362 fn get_insn(&self) -> &Insn { in get_insn() 423 fn get_insn_mut(&mut self) -> &mut Insn { in get_insn_mut() 427 fn get_insn(&self) -> &Insn { in get_insn() 466 fn get_insn_mut(&mut self) -> &mut Insn { in get_insn_mut() 470 fn get_insn(&self) -> &Insn { in get_insn() 498 fn get_insn_mut(&mut self) -> &mut Insn { in get_insn_mut() 502 fn get_insn(&self) -> &Insn { in get_insn() [all …]
|
H A D | ebpf.rs | 443 pub struct Insn { struct 456 impl Insn { argument 554 pub fn get_insn(prog: &[u8], idx: usize) -> Insn { in get_insn() 618 pub fn to_insn_vec(prog: &[u8]) -> Vec<Insn> { in to_insn_vec()
|
H A D | interpreter.rs | 77 fn do_jump(insn_ptr: &mut usize, insn: &Insn) { in do_jump()
|
H A D | cranelift.rs | 973 fn set_dst(&mut self, bcx: &mut FunctionBuilder, insn: &Insn, val: Value) { in set_dst() 976 fn set_dst32(&mut self, bcx: &mut FunctionBuilder, insn: &Insn, val: Value) { in set_dst32() 1152 fn prepare_jump_blocks(&mut self, bcx: &mut FunctionBuilder, insn_ptr: usize, insn: &Insn) { in prepare_jump_blocks()
|
/DragonOS/kernel/crates/rbpf/tests/ |
H A D | assembler.rs | 12 fn asm(src: &str) -> Result<Vec<ebpf::Insn>, String> { in asm() 16 fn insn(opc: u8, dst: u8, src: u8, off: i16, imm: i32) -> ebpf::Insn { in insn()
|