Home
last modified time | relevance | path

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

/DragonOS/kernel/src/net/event_poll/
H A Dsyscall.rs36 max_events: i32, in epoll_wait()
39 if max_events <= 0 || max_events as u32 > EventPoll::EP_MAX_EVENTS { in epoll_wait()
58 max_events as usize * core::mem::size_of::<EPollEvent>(), in epoll_wait()
63 return EventPoll::do_epoll_wait(epfd, epoll_events, max_events, timespec); in epoll_wait()
94 max_events: i32, in epoll_pwait()
101 let wait_ret = Self::epoll_wait(epfd, epoll_event, max_events, timespec); in epoll_pwait()
H A Dmod.rs401 max_events: i32, in do_epoll_wait()
443 return Self::ep_send_events(epoll.clone(), epoll_event, max_events); in do_epoll_wait()
525 max_events: i32, in ep_send_events()
534 if res >= max_events as usize { in ep_send_events()
/DragonOS/kernel/src/syscall/
H A Dmod.rs835 let max_events = args[2] as i32; in handle() localVariable
840 return Self::epoll_wait(epfd, epoll_event, max_events, timespec); in handle()