Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/rbpf/src/
H A Dlib.rs625 let get_buff_len = |x: usize, y: usize| if x >= y { x + 8 } else { y + 8 }; in new() localVariable
626 let buffer = vec![0u8; get_buff_len(data_offset, data_end_offset)]; in new()
673 let get_buff_len = |x: usize, y: usize| if x >= y { x + 8 } else { y + 8 }; in set_program() localVariable
674 let buffer = vec![0u8; get_buff_len(data_offset, data_end_offset)]; in set_program()