Lines Matching refs:file
17 file::{File, FileMode},
86 file: Weak<File>, field
94 file: Weak<File>, in new()
100 file, in new()
112 pub fn file(&self) -> Weak<File> { in file() method
113 self.file.clone() in file()
122 let file = self.file.upgrade(); in ep_item_poll() localVariable
123 if file.is_none() { in ep_item_poll()
126 if let Ok(events) = file.unwrap().poll() { in ep_item_poll()
210 let file = ProcessManager::current_pcb() in close() localVariable
215 if file.is_some() { in close()
216 file.unwrap().remove_epoll(&Arc::downgrade(&self.epoll.0))?; in close()
594 fn is_epoll_file(file: &Arc<File>) -> bool { in is_epoll_file()
595 if let FilePrivateData::EPoll(_) = *file.private_data.lock() { in is_epoll_file()
725 if let Some(file) = epitem.file.upgrade() { in wakeup_epoll()
726 EPollEventType::from_bits_truncate(file.poll()? as u32) in wakeup_epoll()