Home
last modified time | relevance | path

Searched refs:EbpfVmMbuff (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/crates/rbpf/src/
H A Dlib.rs116 pub struct EbpfVmMbuff<'a> { struct
126 impl<'a> EbpfVmMbuff<'a> { impl
142 pub fn new(prog: Option<&'a [u8]>) -> Result<EbpfVmMbuff<'a>, Error> { in new()
147 Ok(EbpfVmMbuff { in new()
595 parent: EbpfVmMbuff<'a>,
624 let parent = EbpfVmMbuff::new(prog)?; in new()
1067 parent: EbpfVmMbuff<'a>,
1088 let parent = EbpfVmMbuff::new(prog)?; in new()
/DragonOS/kernel/crates/rbpf/tests/
H A Dmisc.rs246 let vm = rbpf::EbpfVmMbuff::new(Some(prog)).unwrap(); in test_vm_mbuff()
280 let vm = rbpf::EbpfVmMbuff::new(Some(program.into_bytes())).unwrap(); in test_vm_mbuff_with_rust_api()
305 let mut vm = rbpf::EbpfVmMbuff::new(Some(prog)).unwrap(); in test_jit_mbuff()
/DragonOS/kernel/crates/rbpf/
H A DREADME.md143 // called with EbpfVmMbuff:: prefix
144 pub fn new(prog: &'a [u8]) -> Result<EbpfVmMbuff<'a>, Error>
173 // for struct EbpfVmMbuff, struct EbpfVmRaw and struct EbpfVmRawData
213 // for struct EbpfVmMbuff
240 // for struct EbpfVmMbuff
354 let mut vm = rbpf::EbpfVmMbuff::new(Some(prog)).unwrap();