Lines Matching refs:socketmgr
398 static isc_socketmgr_t *socketmgr = NULL;
927 * Update the state of the socketmgr when something changes.
3891 if (socketmgr != NULL) {
3893 if (maxsocks > 0 && socketmgr->maxsocks != maxsocks)
3896 socketmgr->refs++;
3897 *managerp = socketmgr;
4008 socketmgr = manager;
5469 if (socketmgr == NULL)
5479 swait_private.nevents = kevent(socketmgr->kqueue_fd, NULL, 0,
5480 socketmgr->events, socketmgr->nevents,
5488 swait_private.nevents = epoll_wait(socketmgr->epoll_fd,
5489 socketmgr->events,
5490 socketmgr->nevents, timeout);
5493 dvp.dp_fds = socketmgr->events;
5494 dvp.dp_nfds = socketmgr->nevents;
5500 swait_private.nevents = ioctl(socketmgr->devpoll_fd, DP_POLL, &dvp);
5503 memmove(socketmgr->read_fds_copy, socketmgr->read_fds,
5504 socketmgr->fd_bufsize);
5505 memmove(socketmgr->write_fds_copy, socketmgr->write_fds,
5506 socketmgr->fd_bufsize);
5508 swait_private.readset = socketmgr->read_fds_copy;
5509 swait_private.writeset = socketmgr->write_fds_copy;
5510 swait_private.maxfd = socketmgr->maxfd + 1;
5524 if (socketmgr == NULL)
5528 (void)process_fds(socketmgr, socketmgr->events, swait->nevents);
5531 process_fds(socketmgr, swait->maxfd, swait->readset, swait->writeset);