Lines Matching refs:a

116 pub struct EbpfVmMbuff<'a> {
117 prog: Option<&'a [u8]>,
120 jit: Option<jit::JitMemory<'a>>,
126 impl<'a> EbpfVmMbuff<'a> {
142 pub fn new(prog: Option<&'a [u8]>) -> Result<EbpfVmMbuff<'a>, Error> { in new() argument
177 pub fn set_program(&mut self, prog: &'a [u8]) -> Result<(), Error> { in set_program()
390 mbuff: &'a mut [u8], in execute_program_jit()
501 mbuff: &'a mut [u8], in execute_program_cranelift()
594 pub struct EbpfVmFixedMbuff<'a> {
595 parent: EbpfVmMbuff<'a>,
599 impl<'a> EbpfVmFixedMbuff<'a> {
620 prog: Option<&'a [u8]>, in new()
623 ) -> Result<EbpfVmFixedMbuff<'a>, Error> { in new() argument
669 prog: &'a [u8], in set_program()
798 pub fn execute_program(&mut self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program()
901 pub unsafe fn execute_program_jit(&mut self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program_jit()
1003 pub fn execute_program_cranelift(&mut self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program_cranelift()
1066 pub struct EbpfVmRaw<'a> {
1067 parent: EbpfVmMbuff<'a>,
1070 impl<'a> EbpfVmRaw<'a> {
1087 pub fn new(prog: Option<&'a [u8]>) -> Result<EbpfVmRaw<'a>, Error> { in new() argument
1118 pub fn set_program(&mut self, prog: &'a [u8]) -> Result<(), Error> { in set_program()
1237 pub fn execute_program(&self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program()
1316 pub unsafe fn execute_program_jit(&self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program_jit()
1384 pub fn execute_program_cranelift(&self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program_cranelift()
1429 pub struct EbpfVmNoData<'a> {
1430 parent: EbpfVmRaw<'a>,
1433 impl<'a> EbpfVmNoData<'a> {
1449 pub fn new(prog: Option<&'a [u8]>) -> Result<EbpfVmNoData<'a>, Error> { in new() argument
1479 pub fn set_program(&mut self, prog: &'a [u8]) -> Result<(), Error> { in set_program()