Home
last modified time | relevance | path

Searched refs:EbpfVmFixedMbuff (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/crates/rbpf/tests/
H A Dcranelift.rs2135 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x00, 0x08).unwrap(); in test_cranelift_ldabsb()
2151 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x00, 0x08).unwrap(); in test_cranelift_ldabsh()
2167 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x00, 0x08).unwrap(); in test_cranelift_ldabsw()
2183 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x00, 0x08).unwrap(); in test_cranelift_ldabsdw()
2202 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x00, 0x08).unwrap(); in test_cranelift_ldindb()
2218 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x00, 0x08).unwrap(); in test_cranelift_ldindh()
2234 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x00, 0x08).unwrap(); in test_cranelift_ldindw()
2250 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x00, 0x08).unwrap(); in test_cranelift_ldinddw()
H A Dmisc.rs149 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x40, 0x50).unwrap(); in test_vm_block_port()
215 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x40, 0x50).unwrap(); in test_jit_block_port()
H A Dubpf_vm.rs2332 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(&prog), 0x00, 0x10).unwrap(); in test_vm_stdw_add_overflow()
/DragonOS/kernel/crates/rbpf/examples/
H A Dload_elf.rs92 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x40, 0x50).unwrap(); in main()
/DragonOS/kernel/crates/rbpf/src/
H A Dlib.rs594 pub struct EbpfVmFixedMbuff<'a> { struct
599 impl<'a> EbpfVmFixedMbuff<'a> { impl
623 ) -> Result<EbpfVmFixedMbuff<'a>, Error> { in new()
632 Ok(EbpfVmFixedMbuff { parent, mbuff }) in new()
/DragonOS/kernel/crates/rbpf/
H A DREADME.md120 * `struct EbpfVmFixedMbuff` has one purpose: enabling the execution of programs
146 // called with EbpfVmFixedMbuff:: prefix
149 data_end_offset: usize) -> Result<EbpfVmFixedMbuff<'a>, Error>
165 For `struct EbpfVmFixedMbuff`, two additional arguments must be passed to the
176 // for struct EbpfVmFixedMbuff
218 // for struct EbpfVmFixedMbuff and struct EbpfVmRaw
244 // for struct EbpfVmFixedMbuff and struct EbpfVmRaw
448 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x40, 0x50).unwrap();