HomeSort by: relevance | last modified time | path
    Searched defs:maxevents (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/compat/netbsd32/
netbsd32_epoll.c 94 syscallarg(int) maxevents;
102 const int maxevents = SCARG(uap, maxevents); local in function:netbsd32_epoll_pwait2
104 if (maxevents <= 0 || maxevents >= EPOLL_MAX_EVENTS)
128 events = kmem_alloc(maxevents * sizeof(*events), KM_SLEEP);
131 maxevents, tsp, ssp);
147 kmem_free(events, maxevents * sizeof(*events));
  /src/sys/kern/
sys_epoll.c 382 struct epoll_event *events, int maxevents, struct timespec *tsp,
396 if (maxevents <= 0 || maxevents > EPOLL_MAX_EVENTS)
421 maxevents, tsp, &k_ops);
447 syscallarg(int) maxevents;
455 const int maxevents = SCARG(uap, maxevents); local in function:sys_epoll_pwait2
457 if (maxevents <= 0 || maxevents >= EPOLL_MAX_EVENTS)
478 events = kmem_alloc(maxevents * sizeof(*events), KM_SLEEP)
    [all...]

Completed in 12 milliseconds