Home
last modified time | relevance | path

Searched refs:lookup_elem (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/bpf/map/
H A Dlru.rs40 fn lookup_elem(&mut self, key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() method
124 fn lookup_elem(&mut self, key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() method
125 self.per_cpu_maps.get_mut().lookup_elem(key) in lookup_elem()
145 .lookup_elem(key) in lookup_percpu_elem()
H A Dhash_map.rs41 fn lookup_elem(&mut self, key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() method
126 fn lookup_elem(&mut self, key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() method
127 self.per_cpu_maps.get_mut().lookup_elem(key) in lookup_elem()
147 .lookup_elem(key) in lookup_percpu_elem()
H A Darray_map.rs83 fn lookup_elem(&mut self, key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() method
190 fn lookup_elem(&mut self, key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() method
191 self.per_cpu_data.get_mut().lookup_elem(key) in lookup_elem()
209 .lookup_elem(key) in lookup_percpu_elem()
246 fn lookup_elem(&mut self, key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() method
H A Dqueue.rs126 fn lookup_elem(&mut self, _key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() method
H A Dmod.rs41 fn lookup_elem(&mut self, _key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() method
298 let r_value = inner.lookup_elem(key)?; in bpf_lookup_elem()
/DragonOS/kernel/src/bpf/helper/
H A Dmod.rs38 let value = binding.lookup_elem(key); in map_lookup_elem()
82 .lookup_elem(&key.to_ne_bytes())? in perf_event_output()
/DragonOS/docs/kernel/trace/
H A DeBPF.md176 fn lookup_elem(&mut self, _key: &[u8]) -> Result<Option<&[u8]>> {