Lines Matching defs:nevents
107 int nevents;
351 int nevents;
356 int nevents;
361 int nevents;
3338 process_fds(isc_socketmgr_t *manager, struct kevent *events, int nevents) {
3346 if (nevents == manager->nevents) {
3355 nevents);
3358 for (i = 0; i < nevents; i++) {
3380 process_fds(isc_socketmgr_t *manager, struct epoll_event *events, int nevents) {
3387 if (nevents == manager->nevents) {
3391 nevents);
3394 for (i = 0; i < nevents; i++) {
3427 process_fds(isc_socketmgr_t *manager, struct pollfd *events, int nevents) {
3434 if (nevents == manager->nevents) {
3438 nevents);
3441 for (i = 0; i < nevents; i++) {
3562 manager->events, manager->nevents, NULL);
3565 manager->nevents, -1);
3568 dvp.dp_nfds = manager->nevents;
3670 manager->nevents = ISC_SOCKET_MAXEVENTS;
3672 manager->nevents);
3685 sizeof(struct kevent) * manager->nevents);
3694 sizeof(struct kevent) * manager->nevents);
3699 manager->nevents = ISC_SOCKET_MAXEVENTS;
3701 manager->nevents);
3704 manager->epoll_fd = epoll_create(manager->nevents);
3714 sizeof(struct epoll_event) * manager->nevents);
3722 sizeof(struct epoll_event) * manager->nevents);
3731 manager->nevents = ISC_SOCKET_MAXEVENTS;
3733 manager->nevents);
3738 * it must have maxsocks entries (not nevents).
3744 sizeof(struct pollfd) * manager->nevents);
3758 sizeof(struct pollfd) * manager->nevents);
3768 sizeof(struct pollfd) * manager->nevents);
3849 sizeof(struct kevent) * manager->nevents);
3853 sizeof(struct epoll_event) * manager->nevents);
3857 sizeof(struct pollfd) * manager->nevents);
5479 swait_private.nevents = kevent(socketmgr->kqueue_fd, NULL, 0,
5480 socketmgr->events, socketmgr->nevents,
5482 n = swait_private.nevents;
5488 swait_private.nevents = epoll_wait(socketmgr->epoll_fd,
5490 socketmgr->nevents, timeout);
5491 n = swait_private.nevents;
5494 dvp.dp_nfds = socketmgr->nevents;
5500 swait_private.nevents = ioctl(socketmgr->devpoll_fd, DP_POLL, &dvp);
5501 n = swait_private.nevents;
5528 (void)process_fds(socketmgr, socketmgr->events, swait->nevents);