Searched defs:BpfMap (Results 1 – 3 of 3) sorted by relevance
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()56 let map = Arc::from_raw(map as *const BpfMap); in raw_perf_event_output() constant69 map: &Arc<BpfMap>, in perf_event_output()124 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()148 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()187 let map = Arc::from_raw(map as *const BpfMap); in raw_map_for_each_elem() constant198 map: &Arc<BpfMap>, in map_for_each_elem()[all …]
30 pub struct BpfMap { struct31 inner_map: SpinLock<Box<dyn BpfMapCommonOps>>, argument32 meta: BpfMapMeta, argument112 impl BpfMap { impl134 impl IndexNode for BpfMap { implementation405 fn get_map_file(fd: i32) -> Result<Arc<BpfMap>> { in get_map_file()
104 let file = Arc::from_raw(*ptr as *const u8 as *const BpfMap); in drop() constant