Lines Matching defs: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()
56 let map = Arc::from_raw(map as *const BpfMap); in raw_perf_event_output() constant
69 map: &Arc<BpfMap>, in perf_event_output()
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()
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()
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()
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()
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()
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()
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()