Lines Matching refs:event
75 event: RwLock<EPollEvent>, field
91 event: RwLock::new(events), in new()
101 pub fn event(&self) -> &RwLock<EPollEvent> { in event() method
102 &self.event in event()
120 let events = events as u32 & self.event.read().events; in ep_item_poll()
371 if ep_item.event.read().events & EPollEventType::EPOLLEXCLUSIVE.bits() != 0 { in do_epoll_ctl()
527 let ep_events = EPollEventType::from_bits_truncate(epitem.event.read().events); in ep_send_events()
536 let event = EPollEvent { in ep_send_events() localVariable
538 data: epitem.event.read().data, in ep_send_events()
560 user_event[res] = event; in ep_send_events()
567 let mut event_writer = epitem.event.write(); in ep_send_events()
611 let event = epitem.ep_item_poll(); in ep_insert() localVariable
612 if !event.is_empty() { in ep_insert()
622 if epitem.event.read().events & EPollEventType::EPOLLWAKEUP.bits() != 0 { in ep_insert()
660 event: &EPollEvent, in ep_modify()
662 let mut epi_event_guard = epitem.event.write(); in ep_modify()
665 epi_event_guard.events = event.events; in ep_modify()
666 epi_event_guard.data = event.data; in ep_modify()
670 let event = epitem.ep_item_poll(); in ep_modify() localVariable
671 if !event.is_empty() { in ep_modify()
721 let event_guard = binding.event().read(); in wakeup_epoll()