Home
last modified time | relevance | path

Searched refs:epitem (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.9/kernel/src/net/event_poll/
Dmod.rs349 let epitem = Arc::new(EPollItem::new( in do_epoll_ctl() localVariable
355 Self::ep_insert(&mut epoll_guard, dst_file, epitem)?; in do_epoll_ctl()
522 while let Some(epitem) = ep_guard.ready_list.pop_front() { in ep_send_events()
524 push_back.push(epitem); in ep_send_events()
527 let ep_events = EPollEventType::from_bits_truncate(epitem.event.read().events); in ep_send_events()
530 let revents = epitem.ep_item_poll(); in ep_send_events()
538 data: epitem.event.read().data, in ep_send_events()
567 let mut event_writer = epitem.event.write(); in ep_send_events()
571 push_back.push(epitem); in ep_send_events()
593 epitem: Arc<EPollItem>, in ep_insert()
[all …]
/DragonOS-0.1.9/kernel/src/net/socket/
Dmod.rs237 fn add_epoll(&mut self, epitem: Arc<EPollItem>) -> Result<(), SystemError> { in add_epoll()
242 .add_epoll(epitem); in add_epoll()
260 for epitem in handle_item.epitems.lock_irqsave().iter() { in clear_epoll()
261 let epoll = epitem.epoll(); in clear_epoll()
265 epitem.fd(), in clear_epoll()
444 pub fn add_epoll(&mut self, epitem: Arc<EPollItem>) { in add_epoll()
445 self.epitems.lock_irqsave().push_back(epitem) in add_epoll()
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dfile.rs475 pub fn add_epoll(&mut self, epitem: Arc<EPollItem>) -> Result<(), SystemError> { in add_epoll()
481 return socket.add_epoll(epitem); in add_epoll()
485 return inode.inner().lock().add_epoll(epitem); in add_epoll()
490 &epitem as *const Arc<EPollItem> as usize, in add_epoll()
/DragonOS-0.1.9/kernel/src/ipc/
Dpipe.rs97 pub fn add_epoll(&mut self, epitem: Arc<EPollItem>) -> Result<(), SystemError> { in add_epoll()
98 self.epitems.lock().push_back(epitem); in add_epoll()
/DragonOS-0.1.9/kernel/src/driver/tty/
Dtty_core.rs410 pub fn add_epitem(&self, epitem: Arc<EPollItem>) { in add_epitem()
411 self.epitems.lock().push_back(epitem) in add_epitem()
Dtty_device.rs284 let epitem = unsafe { &*(arg as *const Arc<EPollItem>) }; in ioctl() localVariable
288 core.add_epitem(epitem.clone()); in ioctl()