Home
last modified time | relevance | path

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

/DragonOS/kernel/src/bpf/prog/
H A Dverifier.rs48 let mut next_insn = fmt_insn[index + 1].clone(); in relocation() localVariable
67 let offset = next_insn.imm as usize; in relocation()
105 next_insn.imm = (ptr >> 32) as i32; in relocation()
107 fmt_insn[index + 1] = next_insn; in relocation()
/DragonOS/kernel/crates/rbpf/src/
H A Dverifier.rs68 let next_insn = ebpf::get_insn(prog, insn_ptr + 1); in check_load_dw() localVariable
69 if next_insn.opc != 0 { in check_load_dw()
H A Ddisassembler.rs259 let next_insn = ebpf::get_insn(prog, insn_ptr); in to_insn_vec() localVariable
260 imm = ((insn.imm as u32) as u64 + ((next_insn.imm as u64) << 32)) as i64; in to_insn_vec()
H A Dinterpreter.rs206 let next_insn = ebpf::get_insn(prog, insn_ptr); in execute_program() localVariable
213 reg[_dst] = ((insn.imm as u32) as u64) + ((next_insn.imm as u64) << 32); in execute_program()
H A Dcranelift.rs319 let next_insn = ebpf::get_insn(prog, insn_ptr); in translate_program() localVariable
321 let imm = (((insn.imm as u32) as u64) + ((next_insn.imm as u64) << 32)) as i64; in translate_program()