Searched refs:BpfMap (Results 1 – 4 of 4) sorted by relevance
5 use crate::bpf::map::{BpfCallBackFn, BpfMap};23 let map = Arc::from_raw(map as *const BpfMap); in raw_map_lookup_elem() constant36 pub fn map_lookup_elem(map: &Arc<BpfMap>, key: &[u8]) -> Result<Option<*const u8>> { in map_lookup_elem() argument56 let map = Arc::from_raw(map as *const BpfMap); in raw_perf_event_output() constant69 map: &Arc<BpfMap>, in perf_event_output() argument124 let map = Arc::from_raw(map as *const BpfMap); in raw_map_update_elem() constant138 pub fn map_update_elem(map: &Arc<BpfMap>, key: &[u8], value: &[u8], flags: u64) -> Result<()> { in map_update_elem() argument148 let map = Arc::from_raw(map as *const BpfMap); in raw_map_delete_elem() constant159 pub fn map_delete_elem(map: &Arc<BpfMap>, key: &[u8]) -> Result<()> { in map_delete_elem() argument187 let map = Arc::from_raw(map as *const BpfMap); in raw_map_for_each_elem() constant[all …]
2 use crate::bpf::map::BpfMap;63 .downcast_arc::<BpfMap>() in relocation()82 .downcast_arc::<BpfMap>() in relocation()
5 use crate::bpf::map::BpfMap;104 let file = Arc::from_raw(*ptr as *const u8 as *const BpfMap); in drop() constant
30 pub struct BpfMap { struct112 impl BpfMap { impl115 BpfMap { in new()134 impl IndexNode for BpfMap { implementation243 let bpf_map = BpfMap::new(map, map_meta); in bpf_map_create()405 fn get_map_file(fd: i32) -> Result<Arc<BpfMap>> { in get_map_file() argument413 .downcast_arc::<BpfMap>() in get_map_file()