Lines Matching refs:BpfMap
5 use crate::bpf::map::{BpfCallBackFn, BpfMap};
23 let map = Arc::from_raw(map as *const BpfMap); in raw_map_lookup_elem() constant
36 pub fn map_lookup_elem(map: &Arc<BpfMap>, key: &[u8]) -> Result<Option<*const u8>> { in map_lookup_elem() argument
56 let map = Arc::from_raw(map as *const BpfMap); in raw_perf_event_output() constant
69 map: &Arc<BpfMap>, in perf_event_output() argument
124 let map = Arc::from_raw(map as *const BpfMap); in raw_map_update_elem() constant
138 pub fn map_update_elem(map: &Arc<BpfMap>, key: &[u8], value: &[u8], flags: u64) -> Result<()> { in map_update_elem() argument
148 let map = Arc::from_raw(map as *const BpfMap); in raw_map_delete_elem() constant
159 pub fn map_delete_elem(map: &Arc<BpfMap>, key: &[u8]) -> Result<()> { in map_delete_elem() argument
187 let map = Arc::from_raw(map as *const BpfMap); in raw_map_for_each_elem() constant
198 map: &Arc<BpfMap>, in map_for_each_elem() argument
216 let map = Arc::from_raw(map as *const BpfMap); in raw_map_lookup_percpu_elem() constant
229 map: &Arc<BpfMap>, in map_lookup_percpu_elem() argument
244 let map = Arc::from_raw(map as *const BpfMap); in raw_map_push_elem() constant
255 pub fn map_push_elem(map: &Arc<BpfMap>, value: &[u8], flags: u64) -> Result<()> { in map_push_elem() argument
265 let map = Arc::from_raw(map as *const BpfMap); in raw_map_pop_elem() constant
276 pub fn map_pop_elem(map: &Arc<BpfMap>, value: &mut [u8]) -> Result<()> { in map_pop_elem() argument
286 let map = Arc::from_raw(map as *const BpfMap); in raw_map_peek_elem() constant
297 pub fn map_peek_elem(map: &Arc<BpfMap>, value: &mut [u8]) -> Result<()> { in map_peek_elem() argument