Searched refs:EbpfVmMbuff (Results 1 – 3 of 3) sorted by relevance
116 pub struct EbpfVmMbuff<'a> { struct126 impl<'a> EbpfVmMbuff<'a> { impl142 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()
246 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()
143 // called with EbpfVmMbuff:: prefix144 pub fn new(prog: &'a [u8]) -> Result<EbpfVmMbuff<'a>, Error>173 // for struct EbpfVmMbuff, struct EbpfVmRaw and struct EbpfVmRawData213 // for struct EbpfVmMbuff240 // for struct EbpfVmMbuff354 let mut vm = rbpf::EbpfVmMbuff::new(Some(prog)).unwrap();