Searched refs:peer_buffer (Results 1 – 1 of 1) sorted by relevance
900 peer_buffer: Option<Arc<SpinLock<Vec<u8>>>>, field927 peer_buffer: None, in new()935 fn set_peer_buffer(&mut self, peer_buffer: Arc<SpinLock<Vec<u8>>>) { in set_peer_buffer()936 self.peer_buffer = Some(peer_buffer); in set_peer_buffer()959 if self.peer_buffer.is_none() { in write()964 let binding = self.peer_buffer.clone().unwrap(); in write()965 let mut peer_buffer = binding.lock_irqsave(); in write() localVariable968 if peer_buffer.capacity() - peer_buffer.len() < len { in write()971 peer_buffer[..len].copy_from_slice(buf); in write()