Home
last modified time | relevance | path

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

/DragonOS/kernel/src/bpf/prog/
H A Dutil.rs62 pub insns: Vec<u8>, field
74 .field("insns_len", &(self.insns.len() / 8)) in fmt()
91 UserBufferReader::new(u.insns as *mut u8, u.insn_cnt as usize * 8, true)?; in try_from()
92 let insns = insns_buf.read_from_user::<u8>(0)?.to_vec(); in try_from() localVariable
105 insns, in try_from()
H A Dmod.rs34 pub fn insns(&self) -> &[u8] { in insns() method
35 &self.meta.insns in insns()
39 &mut self.meta.insns in insns_mut()
/DragonOS/kernel/crates/rbpf/examples/
H A Dto_json.rs27 let insns = disassembler::to_insn_vec(prog); in to_json() localVariable
29 for insn in insns { in to_json()
/DragonOS/kernel/crates/rbpf/tests/
H A Ddisassembler.rs341 let insns = [ in test_offset_overflow() localVariable
369 let prog = to_insn_vec(&insns); in test_offset_overflow()
/DragonOS/kernel/crates/rbpf/src/
H A Dassembler.rs271 let insns = (assemble_internal(&parsed))?; in assemble() localVariable
273 for insn in insns { in assemble()
/DragonOS/kernel/src/perf/
H A Dkprobe.rs41 let prog_slice = file.insns(); in do_set_bpf_prog()
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs559 pub insns: __u64, field