Home
last modified time | relevance | path

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

/DragonOS/kernel/src/bpf/map/
H A Dlru.rs44 fn update_elem(&mut self, key: &[u8], value: &[u8], _flags: u64) -> Result<()> { in update_elem() method
127 fn update_elem(&mut self, key: &[u8], value: &[u8], flags: u64) -> Result<()> { in update_elem() method
128 self.per_cpu_maps.get_mut().update_elem(key, value, flags) in update_elem()
H A Dhash_map.rs45 fn update_elem(&mut self, key: &[u8], value: &[u8], flags: u64) -> Result<()> { in update_elem() method
129 fn update_elem(&mut self, key: &[u8], value: &[u8], flags: u64) -> Result<()> { in update_elem() method
130 self.per_cpu_maps.get_mut().update_elem(key, value, flags) in update_elem()
H A Dqueue.rs130 fn update_elem(&mut self, _key: &[u8], value: &[u8], flags: u64) -> Result<()> { in update_elem() method
144 self.update_elem(&[], value, flags) in push_elem()
H A Darray_map.rs94 fn update_elem(&mut self, key: &[u8], value: &[u8], _flags: u64) -> Result<()> { in update_elem() method
193 fn update_elem(&mut self, key: &[u8], value: &[u8], flags: u64) -> Result<()> { in update_elem() method
194 self.per_cpu_data.get_mut().update_elem(key, value, flags) in update_elem()
251 fn update_elem(&mut self, key: &[u8], value: &[u8], _flags: u64) -> Result<()> { in update_elem() method
H A Dmod.rs47 fn update_elem(&mut self, _key: &[u8], _value: &[u8], _flags: u64) -> Result<()> { in update_elem() method
267 map.inner_map.lock().update_elem(key, value, arg.flags)?; in bpf_map_update_elem()
/DragonOS/kernel/src/bpf/helper/
H A Dmod.rs140 let value = binding.update_elem(key, value, flags); in map_update_elem()
/DragonOS/docs/kernel/trace/
H A DeBPF.md182 fn update_elem(&mut self, _key: &[u8], _value: &[u8], _flags: u64) -> Result<()> {