Lines Matching refs:mbuff

298     pub fn execute_program(&self, mem: &[u8], mbuff: &[u8]) -> Result<u64, Error> {  in execute_program()
299 interpreter::execute_program(self.prog, mem, mbuff, &self.helpers) in execute_program()
390 mbuff: &'a mut [u8], in execute_program_jit()
405 mbuff.as_ptr() as *mut u8, in execute_program_jit()
406 mbuff.len(), in execute_program_jit()
501 mbuff: &'a mut [u8], in execute_program_cranelift()
517 Ok(prog.execute(mem_ptr, mem.len(), mbuff.as_ptr() as *mut u8, mbuff.len())) in execute_program_cranelift()
596 mbuff: MetaBuff, field
627 let mbuff = MetaBuff { in new() localVariable
632 Ok(EbpfVmFixedMbuff { parent, mbuff }) in new()
675 self.mbuff.buffer = buffer; in set_program()
676 self.mbuff.data_offset = data_offset; in set_program()
677 self.mbuff.data_end_offset = data_end_offset; in set_program()
799 let l = self.mbuff.buffer.len(); in execute_program()
801 if self.mbuff.data_offset + 8 > l || self.mbuff.data_end_offset + 8 > l { in execute_program()
803 l, self.mbuff.data_offset, self.mbuff.data_end_offset)))?; in execute_program()
806 &mut self.mbuff.buffer[(self.mbuff.data_offset)..], in execute_program()
810 &mut self.mbuff.buffer[(self.mbuff.data_end_offset)..], in execute_program()
813 self.parent.execute_program(mem, &self.mbuff.buffer) in execute_program()
913 self.mbuff.buffer.as_ptr() as *mut u8, in execute_program_jit()
914 self.mbuff.buffer.len(), in execute_program_jit()
917 self.mbuff.data_offset, in execute_program_jit()
918 self.mbuff.data_end_offset, in execute_program_jit()
1013 let l = self.mbuff.buffer.len(); in execute_program_cranelift()
1015 if self.mbuff.data_offset + 8 > l || self.mbuff.data_end_offset + 8 > l { in execute_program_cranelift()
1017 l, self.mbuff.data_offset, self.mbuff.data_end_offset)))?; in execute_program_cranelift()
1020 &mut self.mbuff.buffer[(self.mbuff.data_offset)..], in execute_program_cranelift()
1024 &mut self.mbuff.buffer[(self.mbuff.data_end_offset)..], in execute_program_cranelift()
1032 self.mbuff.buffer.as_ptr() as *mut u8, in execute_program_cranelift()
1033 self.mbuff.buffer.len(), in execute_program_cranelift()
1317 let mut mbuff = vec![]; in execute_program_jit() localVariable
1318 self.parent.execute_program_jit(mem, &mut mbuff) in execute_program_jit()
1385 let mut mbuff = vec![]; in execute_program_cranelift() localVariable
1386 self.parent.execute_program_cranelift(mem, &mut mbuff) in execute_program_cranelift()