Home
last modified time | relevance | path

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

/DragonOS/kernel/src/bpf/map/
H A Dmod.rs31 inner_map: SpinLock<Box<dyn BpfMapCommonOps>>, field
116 inner_map: SpinLock::new(map), in new()
121 pub fn inner_map(&self) -> &SpinLock<Box<dyn BpfMapCommonOps>> { in inner_map() method
122 &self.inner_map in inner_map()
267 map.inner_map.lock().update_elem(key, value, arg.flags)?; in bpf_map_update_elem()
277 map.inner_map.lock().freeze()?; in bpf_map_freeze()
297 let mut inner = map.inner_map.lock(); in bpf_lookup_elem()
329 let inner = map.inner_map.lock(); in bpf_map_get_next_key()
353 map.inner_map.lock().delete_elem(key)?; in bpf_map_delete_elem()
400 let mut inner = map.inner_map.lock(); in bpf_map_lookup_and_delete_elem()
/DragonOS/kernel/src/bpf/helper/
H A Dmod.rs37 let mut binding = map.inner_map().lock(); in map_lookup_elem()
73 let mut binding = map.inner_map().lock(); in perf_event_output()
139 let mut binding = map.inner_map().lock(); in map_update_elem()
160 let mut binding = map.inner_map().lock(); in map_delete_elem()
203 let mut binding = map.inner_map().lock(); in map_for_each_elem()
233 let mut binding = map.inner_map().lock(); in map_lookup_percpu_elem()
256 let mut binding = map.inner_map().lock(); in map_push_elem()
277 let mut binding = map.inner_map().lock(); in map_pop_elem()
298 let binding = map.inner_map().lock(); in map_peek_elem()
/DragonOS/kernel/src/bpf/prog/
H A Dverifier.rs66 bpf_map.inner_map().lock().first_value_ptr()? as usize; in relocation()