Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/net/event_poll/
Dmod.rs319 let mut epoll_guard = { in do_epoll_ctl() localVariable
341 let ep_item = epoll_guard.ep_items.get(&fd); in do_epoll_ctl()
355 Self::ep_insert(&mut epoll_guard, dst_file, epitem)?; in do_epoll_ctl()
363 Self::ep_remove(&mut epoll_guard, fd, Some(dst_file))?; in do_epoll_ctl()
375 Self::ep_modify(&mut epoll_guard, ep_item, &epds)?; in do_epoll_ctl()
415 let epoll_guard = epoll.0.lock_irqsave(); in do_epoll_wait() localVariable
426 let mut available = epoll_guard.ep_events_available(); in do_epoll_wait()
427 drop(epoll_guard); in do_epoll_wait()
591 epoll_guard: &mut SpinLockGuard<EventPoll>, in ep_insert()
608 epoll_guard.ep_items.insert(epitem.fd, epitem.clone()); in ep_insert()
[all …]