Searched refs:fds (Results 1 – 4 of 4) sorted by relevance
539 fds: Vec<Option<Arc<SpinLock<File>>>>, field551 return FileDescriptorVec { fds: data }; in new()560 if let Some(file) = &self.fds[i] { in clone()562 res.fds[i] = Some(Arc::new(SpinLock::new(file))); in clone()598 let x = &mut self.fds[new_fd as usize]; in alloc_fd()608 if self.fds[i].is_none() { in alloc_fd()609 self.fds[i] = Some(Arc::new(SpinLock::new(file))); in alloc_fd()626 return self.fds[fd as usize].clone(); in get_file_by_fd()643 let file = self.fds[fd as usize].take().unwrap(); in drop_fd()656 if let Some(file) = &self.fds[i] { in close_on_exec()[all …]
72 fds: &mut [i32], in socketpair()95 fds[0] = alloc_fd(socket0)?; in socketpair()96 fds[1] = alloc_fd(socket1)?; in socketpair()
195 let fds = epoll.ep_items.keys().cloned().collect::<Vec<_>>(); in close() localVariable198 for fd in fds { in close()
850 let fds = user_buffer_writer.buffer::<i32>(0)?; in handle() localVariable851 Self::socketpair(args[0], args[1], args[2], fds) in handle()