Lines Matching refs:value
94 fn update_elem(&mut self, key: &[u8], value: &[u8], _flags: u64) -> Result<()> { in update_elem()
102 if value.len() > self.data.elem_size as usize { in update_elem()
106 old_value[..value.len()].copy_from_slice(value); in update_elem()
120 let value = self.data.index(i); in for_each_elem() localVariable
122 let res = cb(&key, value, ctx); in for_each_elem()
193 fn update_elem(&mut self, key: &[u8], value: &[u8], flags: u64) -> Result<()> { in update_elem()
194 self.per_cpu_data.get_mut().update_elem(key, value, flags) in update_elem()
248 let value = self.fds.index(cpu_id); in lookup_elem() localVariable
249 Ok(Some(value)) in lookup_elem()
251 fn update_elem(&mut self, key: &[u8], value: &[u8], _flags: u64) -> Result<()> { in update_elem()
252 assert_eq!(value.len(), 4); in update_elem()
255 old_value.copy_from_slice(value); in update_elem()
268 let value = self.fds.index(i); in for_each_elem() localVariable
270 let res = cb(&key, value, ctx); in for_each_elem()