/bind-9.6-ESV-R11/bin/named/include/named/ |
H A D | lwresd.h | 50 ns_lwresd_t *manager; member in struct:ns_lwreslistener 76 /*% create manager */ 81 /*% attach to manager */ 85 /*% detach from manager */ 101 /*% link client manager */ 105 /*% unlink client manager */
|
H A D | client.h | 58 * destroying their manager. 90 ns_clientmgr_t * manager; member in struct:ns_client 251 * Create a client manager. 257 * Destroy a client manager and all ns_client_t objects 262 ns_clientmgr_createclients(ns_clientmgr_t *manager, unsigned int n, 357 ns_client_dumprecursing(FILE *f, ns_clientmgr_t *manager);
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | task_test.c | 63 isc_taskmgr_t *manager = NULL; local 84 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers, 0, &manager) == 87 RUNTIME_CHECK(isc_task_create(manager, 0, &t1) == ISC_R_SUCCESS); 88 RUNTIME_CHECK(isc_task_create(manager, 0, &t2) == ISC_R_SUCCESS); 89 RUNTIME_CHECK(isc_task_create(manager, 0, &t3) == ISC_R_SUCCESS); 90 RUNTIME_CHECK(isc_task_create(manager, 0, &t4) == ISC_R_SUCCESS); 188 isc_taskmgr_destroy(&manager);
|
H A D | timer_test.c | 99 isc_taskmgr_t *manager = NULL; local 116 RUNTIME_CHECK(isc_taskmgr_create(mctx1, workers, 0, &manager) == 120 RUNTIME_CHECK(isc_task_create(manager, 0, &t1) == 122 RUNTIME_CHECK(isc_task_create(manager, 0, &t2) == 124 RUNTIME_CHECK(isc_task_create(manager, 0, &t3) == 168 isc_taskmgr_destroy(&manager);
|
H A D | sock_test.c | 34 isc_taskmgr_t *manager; variable 220 RUNTIME_CHECK(isc_task_create(manager, 0, &newtask) 288 * The task manager is independent (other than memory context) 290 manager = NULL; 291 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers, 0, &manager) == 295 * Timer manager depends only on the memory context as well. 301 RUNTIME_CHECK(isc_task_create(manager, 0, &t1) == ISC_R_SUCCESS); 303 RUNTIME_CHECK(isc_task_create(manager, 0, &t2) == ISC_R_SUCCESS); 374 fprintf(stderr, "Destroying socket manager\n"); 377 fprintf(stderr, "Destroying timer manager\ [all...] |
/bind-9.6-ESV-R11/lib/isc/ |
H A D | timer.c | 64 isc_timermgr_t * manager; member in struct:isc_timer 69 /*! Locked by manager lock. */ 89 /* Locked by manager lock. */ 113 isc_timermgr_t *manager; local 130 manager = timer->manager; 134 * If the manager was timed wait, we may need to signal the 135 * manager to force a wakeup. 137 timedwait = ISC_TF(manager->nscheduled > 0 && 138 isc_time_seconds(&manager 249 isc_timermgr_t *manager; local 278 isc_timermgr_t *manager = timer->manager; local 303 isc_timer_create(isc_timermgr_t *manager, isc_timertype_t type, const isc_time_t *expires, const isc_interval_t *interval, isc_task_t *task, isc_taskaction_t action, const void *arg, isc_timer_t **timerp) argument 426 isc_timermgr_t *manager; local 581 dispatch(isc_timermgr_t *manager, isc_time_t *now) argument 705 isc_timermgr_t *manager = uap; local 768 isc_timermgr_t *manager; local 845 isc_timermgr_poke(isc_timermgr_t *manager) argument 857 isc_timermgr_t *manager; local [all...] |
H A D | task.c | 78 isc_taskmgr_t * manager; member in struct:isc_task 90 /* Locked by task manager lock. */ 112 /* Locked by task manager lock. */ 142 isc_taskmgr_t *manager = task->manager; local 151 LOCK(&manager->lock); 152 UNLINK(manager->tasks, task, link); 154 if (FINISHED(manager)) { 157 * task manager is exiting. Wake up 161 BROADCAST(&manager 172 isc_task_create(isc_taskmgr_t *manager, unsigned int quantum, isc_task_t **taskp) argument 284 isc_taskmgr_t *manager = task->manager; local 728 dispatch(isc_taskmgr_t *manager) argument 997 isc_taskmgr_t *manager = uap; local 1012 manager_free(isc_taskmgr_t *manager) argument 1033 isc_taskmgr_t *manager; local 1143 isc_taskmgr_t *manager; local 1244 isc_taskmgr_t *manager = taskmgr; local 1259 isc_taskmgr_t *manager = task->manager; local 1280 isc_taskmgr_t *manager = task->manager; local [all...] |
/bind-9.6-ESV-R11/bin/named/ |
H A D | client.c | 85 "clientmgr @%p: %s", manager, (m)) 110 * If named with built without thread, simply share manager's context. Using 115 /*% nameserver client manager structure */ 159 * It is on the client manager's list of inactive clients. 167 * client manager's list of active clients. 210 static void clientmgr_destroy(ns_clientmgr_t *manager); 222 LOCK(&client->manager->lock); 224 ISC_LIST_APPEND(client->manager->recursing, client, link); 225 client->list = &client->manager->recursing; 226 UNLOCK(&client->manager 504 ns_clientmgr_t *manager = client->manager; local 1925 get_clientmctx(ns_clientmgr_t *manager, isc_mem_t **mctxp) argument 1962 client_create(ns_clientmgr_t *manager, ns_client_t **clientp) argument 2383 clientmgr_destroy(ns_clientmgr_t *manager) argument 2410 ns_clientmgr_t *manager; local 2452 ns_clientmgr_t *manager; local 2495 ns_clientmgr_createclients(ns_clientmgr_t *manager, unsigned int n, ns_interface_t *ifp, isc_boolean_t tcp) argument 2729 ns_client_dumprecursing(FILE *f, ns_clientmgr_t *manager) argument [all...] |
/bind-9.6-ESV-R11/bin/tests/tasks/ |
H A D | t_tasks.c | 95 isc_taskmgr_t *manager; local 109 manager = NULL; 131 isc_result = isc_taskmgr_create(mctx, workers, 0, &manager); 137 isc_result = isc_task_create(manager, 0, &task1); 143 isc_result = isc_task_create(manager, 0, &task2); 149 isc_result = isc_task_create(manager, 0, &task3); 155 isc_result = isc_task_create(manager, 0, &task4); 371 isc_taskmgr_destroy(&manager); 2260 isc_taskmgr_t *manager; local 2266 manager [all...] |
/bind-9.6-ESV-R11/lib/isc/win32/ |
H A D | socket.c | 227 isc_socketmgr_t *manager; member in struct:isc_socket 324 /* Locked by manager lock. */ 433 signal_iocompletionport_exit(isc_socketmgr_t *manager) { argument 438 REQUIRE(VALID_MANAGER(manager)); 439 for (i = 0; i < manager->maxIOCPThreads; i++) { 440 if (!PostQueuedCompletionStatus(manager->hIoCompletionPort, 457 iocompletionport_createthreads(int total_threads, isc_socketmgr_t *manager) { argument 463 REQUIRE(VALID_MANAGER(manager)); 468 manager->hIOCPThreads[i] = CreateThread(NULL, 0, SocketIoThread, 469 manager, 488 iocompletionport_init(isc_socketmgr_t *manager) argument 1445 allocate_socket(isc_socketmgr_t *manager, isc_sockettype_t type, isc_socket_t **socketp) argument 1603 isc_socketmgr_t *manager; local 1640 isc_socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type, isc_socket_t **socketp) argument 2383 isc_socketmgr_t *manager = ThreadContext; local 2571 isc_socketmgr_t *manager; local 2618 isc_socketmgr_getmaxsockets(isc_socketmgr_t *manager, unsigned int *nsockp) argument 2626 isc_socketmgr_setstats(isc_socketmgr_t *manager, isc_stats_t *stats) argument 2637 isc_socketmgr_t *manager; local 2766 isc_socketmgr_t *manager; local 2835 isc_socketmgr_t *manager; local 2994 isc_socketmgr_t *manager; local 3055 isc_socketmgr_t *manager; local 3274 isc_socketmgr_t *manager; local 3394 isc_socketmgr_t *manager; local 3811 isc__socketmgr_setreserved(isc_socketmgr_t *manager, isc_uint32_t reserved) argument [all...] |
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | socket.c | 288 isc_socketmgr_t *manager; member in struct:isc_socket 379 /* Locked by manager lock. */ 433 static isc_boolean_t process_ctlfd(isc_socketmgr_t *manager); 636 watch_fd(isc_socketmgr_t *manager, int fd, int msg) { argument 649 if (kevent(manager->kqueue_fd, &evchange, 1, NULL, 0, NULL) != 0) 662 if (epoll_ctl(manager->epoll_fd, EPOLL_CTL_ADD, fd, &event) == -1 && 679 LOCK(&manager->fdlock[lockid]); 680 if (write(manager->devpoll_fd, &pfd, sizeof(pfd)) == -1) 684 manager->fdpollinfo[fd].want_read = 1; 686 manager 704 unwatch_fd(isc_socketmgr_t *manager, int fd, int msg) argument 791 wakeup_socket(isc_socketmgr_t *manager, int fd, int msg) argument 930 select_poke(isc_socketmgr_t *manager, int fd, int msg) argument 1771 closesocket(isc_socketmgr_t *manager, isc_socket_t *sock, int fd) argument 1837 isc_socketmgr_t *manager = sock->manager; local 1870 allocate_socket(isc_socketmgr_t *manager, isc_sockettype_t type, isc_socket_t **socketp) argument 2090 opensocket(isc_socketmgr_t *manager, isc_socket_t *sock) argument 2372 isc_socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type, isc_socket_t **socketp) argument 2493 isc_socket_fdwatchcreate(isc_socketmgr_t *manager, int fd, int flags, isc_sockfdwatch_t callback, void *cbarg, isc_task_t *task, isc_socket_t **socketp) argument 2592 isc_socketmgr_t *manager; local 2820 isc_socketmgr_t *manager; local 3269 process_fd(isc_socketmgr_t *manager, int fd, isc_boolean_t readable, isc_boolean_t writeable) argument 3338 process_fds(isc_socketmgr_t *manager, struct kevent *events, int nevents) argument 3380 process_fds(isc_socketmgr_t *manager, struct epoll_event *events, int nevents) argument 3427 process_fds(isc_socketmgr_t *manager, struct pollfd *events, int nevents) argument 3463 process_fds(isc_socketmgr_t *manager, int maxfd, fd_set *readfds, fd_set *writefds) argument 3483 process_ctlfd(isc_socketmgr_t *manager) argument 3531 isc_socketmgr_t *manager = uap; local 3651 isc__socketmgr_setreserved(isc_socketmgr_t *manager, isc_uint32_t reserved) argument 3663 setup_watcher(isc_mem_t *mctx, isc_socketmgr_t *manager) argument 3833 cleanup_watcher(isc_mem_t *mctx, isc_socketmgr_t *manager) argument 3882 isc_socketmgr_t *manager; local 4052 isc_socketmgr_getmaxsockets(isc_socketmgr_t *manager, unsigned int *nsockp) argument 4062 isc_socketmgr_setstats(isc_socketmgr_t *manager, isc_stats_t *stats) argument 4073 isc_socketmgr_t *manager; local 4256 isc_socketmgr_t *manager; local 4308 isc_socketmgr_t *manager; local 4462 isc_socketmgr_t *manager; local 4507 isc_socketmgr_t *manager; local 4893 isc_socketmgr_t *manager; local 4968 isc_socketmgr_t *manager; local [all...] |