Home
last modified time | relevance | path

Searched refs:data_end_offset (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/crates/rbpf/src/
H A Dlib.rs80 data_end_offset: usize, field
622 data_end_offset: usize, in new()
626 let buffer = vec![0u8; get_buff_len(data_offset, data_end_offset)]; in new()
629 data_end_offset, in new()
671 data_end_offset: usize, in set_program()
674 let buffer = vec![0u8; get_buff_len(data_offset, data_end_offset)]; in set_program()
677 self.mbuff.data_end_offset = data_end_offset; in set_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()
810 &mut self.mbuff.buffer[(self.mbuff.data_end_offset)..], in execute_program()
[all …]
/DragonOS/kernel/crates/rbpf/
H A DREADME.md149 data_end_offset: usize) -> Result<EbpfVmFixedMbuff<'a>, Error>
166 constructor: `data_offset` and `data_end_offset`. They are the offset (byte
179 data_end_offset: usize) -> Result<(), Error>