Home
last modified time | relevance | path

Searched refs:epoll (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/net/event_poll/
H A Dmod.rs80 epoll: Weak<SpinLock<EventPoll>>, field
91 epoll: Weak<SpinLock<EventPoll>>, in new()
97 epoll, in new()
104 pub fn epoll(&self) -> Weak<SpinLock<EventPoll>> { in epoll() method
105 self.epoll.clone() in epoll()
141 epoll: LockedEventPoll, field
147 epoll: LockedEventPoll, field
151 pub fn new(epoll: LockedEventPoll) -> Arc<Self> { in new()
152 Arc::new(Self { epoll }) in new()
200 let mut epoll = self.epoll.0.lock_irqsave(); in close() localVariable
[all …]
/DragonOS/kernel/src/net/socket/
H A Dmod.rs251 fn remove_epoll(&mut self, epoll: &Weak<SpinLock<EventPoll>>) -> Result<(), SystemError> { in remove_epoll()
253 posix_item.remove_epoll(epoll)?; in remove_epoll()
262 let epoll = epitem.epoll(); in clear_epoll() localVariable
264 if let Some(epoll) = epoll.upgrade() { in clear_epoll()
265 EventPoll::ep_remove(&mut epoll.lock_irqsave(), epitem.fd(), None)?; in clear_epoll()
433 pub fn remove_epoll(&self, epoll: &Weak<SpinLock<EventPoll>>) -> Result<(), SystemError> { in remove_epoll()
437 .extract_if(|x| x.epoll().ptr_eq(epoll)) in remove_epoll()
/DragonOS/kernel/src/filesystem/
H A Deventfd.rs64 pub fn remove_epoll(&self, epoll: &Weak<SpinLock<EventPoll>>) -> Result<(), SystemError> { in remove_epoll()
68 .extract_if(|x| x.epoll().ptr_eq(epoll)) in remove_epoll()
/DragonOS/kernel/src/ipc/
H A Dpipe.rs111 pub fn remove_epoll(&self, epoll: &Weak<SpinLock<EventPoll>>) -> Result<(), SystemError> { in remove_epoll()
115 .extract_if(|x| x.epoll().ptr_eq(epoll)) in remove_epoll()
/DragonOS/kernel/src/filesystem/vfs/
H A Dfile.rs593 pub fn remove_epoll(&self, epoll: &Weak<SpinLock<EventPoll>>) -> Result<(), SystemError> { in remove_epoll()
599 socket.remove_epoll(epoll) in remove_epoll()
603 inode.inner().lock().remove_epoll(epoll) in remove_epoll()
610 inode.remove_epoll(epoll) in remove_epoll()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.7.md271 增加对dhcpv4的支持(tcp、udp socket已写好,但由于缺少epoll机制,尚未完整测试) (#237)
H A DV0.1.9.md97 - bugfix: 修复文件关闭后epoll还持有对应描述符的文件弱引用的bug ([#455](https://github.com/DragonOS-Community/DragonOS/pul…
761 修正pipe逻辑,将pipe接入epoll。 (#478)
799 增加epoll机制 (#455)
801 * ## 增加epoll机制
802 - 增加epoll机制
808 * 修复文件关闭后epoll还持有对应描述符的文件弱引用的bug