Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/net/event_poll/
Dmod.rs241 let mut ep_file = File::new( in do_create_epoll() localVariable
247 ep_file.private_data = FilePrivateData::EPoll(EPollPrivateData { epoll }); in do_create_epoll()
253 let fd = fd_table_guard.alloc_fd(ep_file, None)?; in do_create_epoll()
280 let ep_file = fd_table_guard in do_epoll_ctl() localVariable
297 if Arc::ptr_eq(&ep_file, &dst_file) || !Self::is_epoll_file(&ep_file) { in do_epoll_ctl()
318 if let FilePrivateData::EPoll(epoll_data) = &ep_file.lock_irqsave().private_data { in do_epoll_ctl()
396 let ep_file = fd_table_guard in do_epoll_wait() localVariable
403 if !Self::is_epoll_file(&ep_file) { in do_epoll_wait()
409 if let FilePrivateData::EPoll(epoll_data) = &ep_file.lock_irqsave().private_data { in do_epoll_wait()