Lines Matching defs:nevents
124 int nevents;
400 int nevents;
405 int nevents;
412 int nevents;
4062 process_fds(isc__socketmgr_t *manager, struct kevent *events, int nevents) {
4070 if (nevents == manager->nevents) {
4079 nevents);
4082 for (i = 0; i < nevents; i++) {
4104 process_fds(isc__socketmgr_t *manager, struct epoll_event *events, int nevents)
4112 if (nevents == manager->nevents) {
4116 nevents);
4119 for (i = 0; i < nevents; i++) {
4153 process_fds(isc__socketmgr_t *manager, struct pollfd *events, int nevents) {
4160 if (nevents == manager->nevents) {
4164 nevents);
4167 for (i = 0; i < nevents; i++) {
4290 manager->events, manager->nevents, NULL);
4293 manager->nevents, -1);
4308 dvp.dp_nfds = manager->nevents;
4436 manager->nevents = ISC_SOCKET_MAXEVENTS;
4438 manager->nevents);
4451 sizeof(struct kevent) * manager->nevents);
4460 sizeof(struct kevent) * manager->nevents);
4465 manager->nevents = ISC_SOCKET_MAXEVENTS;
4467 manager->nevents);
4470 manager->epoll_fd = epoll_create(manager->nevents);
4480 sizeof(struct epoll_event) * manager->nevents);
4488 sizeof(struct epoll_event) * manager->nevents);
4493 manager->nevents = ISC_SOCKET_MAXEVENTS;
4500 manager->nevents);
4505 * it must have maxsocks entries (not nevents).
4511 sizeof(struct pollfd) * manager->nevents);
4525 sizeof(struct pollfd) * manager->nevents);
4535 sizeof(struct pollfd) * manager->nevents);
4616 sizeof(struct kevent) * manager->nevents);
4620 sizeof(struct epoll_event) * manager->nevents);
4624 sizeof(struct pollfd) * manager->nevents);
6481 swait_private.nevents = kevent(manager->kqueue_fd, NULL, 0,
6482 manager->events, manager->nevents,
6484 n = swait_private.nevents;
6490 swait_private.nevents = epoll_wait(manager->epoll_fd,
6492 manager->nevents, timeout);
6493 n = swait_private.nevents;
6507 dvp.dp_nfds = manager->nevents;
6529 swait_private.nevents = n;
6561 (void)process_fds(manager, manager->events, swait->nevents);