Searched defs:taskmgr (Results 1 - 25 of 27) sorted by relevance

12

/bind-9.6-ESV-R11/lib/isc/tests/
H A Disctest.c37 isc_taskmgr_t *taskmgr = NULL; variable
93 CHECK(isc_taskmgr_create(mctx, ncpus, 0, &taskmgr));
104 if (taskmgr != NULL)
105 isc_taskmgr_destroy(&taskmgr);
/bind-9.6-ESV-R11/bin/tests/
H A Dratelimiter_test.c31 isc_taskmgr_t *taskmgr = NULL; variable
114 RUNTIME_CHECK(isc_taskmgr_create(mctx, 3, 0, &taskmgr) ==
118 RUNTIME_CHECK(isc_task_create(taskmgr, 0, &g_task) ==
147 isc_taskmgr_destroy(&taskmgr);
H A Dbyaddr_test.c82 isc_taskmgr_t *taskmgr; local
124 taskmgr = NULL;
125 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers, 0, &taskmgr)
128 RUNTIME_CHECK(isc_task_create(taskmgr, 0, &task)
142 RUNTIME_CHECK(dns_cache_create(mctx, taskmgr, timermgr,
163 taskmgr, &any4,
179 taskmgr, &any6,
187 RUNTIME_CHECK(dns_view_createresolver(view, taskmgr, 10,
255 isc_taskmgr_destroy(&taskmgr);
H A Dadb_test.c58 static isc_taskmgr_t *taskmgr; variable
157 taskmgr = NULL;
158 result = isc_taskmgr_create(mctx, 5, 0, &taskmgr);
190 result = dns_cache_create(mctx, taskmgr, timermgr, dns_rdataclass_in,
207 taskmgr, &any4, 512, 6, 1024,
214 taskmgr, &any6, 512, 6, 1024,
219 RUNTIME_CHECK(dns_view_createresolver(view, taskmgr, 10,
347 result = isc_task_create(taskmgr, 0, &t1);
350 result = isc_task_create(taskmgr, 0, &t2);
423 isc_taskmgr_destroy(&taskmgr);
[all...]
H A Dbyname_test.c50 static isc_taskmgr_t *taskmgr; variable
244 taskmgr = NULL;
245 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers, 0, &taskmgr) ==
248 RUNTIME_CHECK(isc_task_create(taskmgr, 0, &task) ==
262 RUNTIME_CHECK(dns_cache_create(mctx, taskmgr, timermgr,
282 taskmgr, &any4,
298 taskmgr, &any6,
306 RUNTIME_CHECK(dns_view_createresolver(view, taskmgr, 10,
359 isc_taskmgr_destroy(&taskmgr);
H A Dsig0_test.c68 isc_taskmgr_t *taskmgr; variable
242 taskmgr = NULL;
243 RUNTIME_CHECK(isc_taskmgr_create(mctx, 2, 0, &taskmgr) ==
246 RUNTIME_CHECK(isc_task_create(taskmgr, 0, &task1) == ISC_R_SUCCESS);
282 isc_taskmgr_destroy(&taskmgr);
H A Dzone_test.c54 isc_taskmgr_t *taskmgr = NULL; variable
294 RUNTIME_CHECK(isc_taskmgr_create(mctx, 2, 0, &taskmgr) ==
298 RUNTIME_CHECK(dns_zonemgr_create(mctx, taskmgr, timermgr, socketmgr,
309 isc_taskmgr_destroy(&taskmgr);
/bind-9.6-ESV-R11/bin/named/
H A Dlwdclient.c56 isc_taskmgr_t *taskmgr)
102 result = isc_task_create(taskmgr, 0, &cm->task);
55 ns_lwdclientmgr_create(ns_lwreslistener_t *listener, unsigned int nclients, isc_taskmgr_t *taskmgr) argument
H A Dinterfacemgr.c48 isc_taskmgr_t * taskmgr; /*%< Task manager. */ member in struct:ns_interfacemgr
66 ns_interfacemgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr, argument
89 mgr->taskmgr = taskmgr;
205 result = ns_clientmgr_create(mgr->mctx, mgr->taskmgr,
H A Dclient.c120 isc_taskmgr_t * taskmgr; member in struct:ns_clientmgr
1989 result = isc_task_create(manager->taskmgr, 0, &client->task);
2407 ns_clientmgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr, argument
2425 manager->taskmgr = taskmgr;
/bind-9.6-ESV-R11/bin/tests/system/tkey/
H A Dkeydelete.c143 isc_taskmgr_t *taskmgr; local
185 taskmgr = NULL;
186 RUNCHECK(isc_taskmgr_create(mctx, 1, 0, &taskmgr));
188 RUNCHECK(isc_task_create(taskmgr, 0, &task));
204 RUNCHECK(dns_dispatch_getudp(dispatchmgr, socketmgr, taskmgr,
208 RUNCHECK(dns_requestmgr_create(mctx, timermgr, socketmgr, taskmgr,
246 isc_taskmgr_destroy(&taskmgr);
H A Dkeycreate.c200 isc_taskmgr_t *taskmgr; local
244 taskmgr = NULL;
245 RUNCHECK(isc_taskmgr_create(mctx, 1, 0, &taskmgr));
247 RUNCHECK(isc_task_create(taskmgr, 0, &task));
263 RUNCHECK(dns_dispatch_getudp(dispatchmgr, socketmgr, taskmgr,
267 RUNCHECK(dns_requestmgr_create(mctx, timermgr, socketmgr, taskmgr,
305 isc_taskmgr_destroy(&taskmgr);
/bind-9.6-ESV-R11/lib/dns/tests/
H A Ddnstest.c53 isc_taskmgr_t *taskmgr = NULL; variable
86 if (taskmgr != NULL)
87 isc_taskmgr_destroy(&taskmgr);
101 CHECK(isc_taskmgr_create(mctx, ncpus, 0, &taskmgr));
104 CHECK(isc_task_create(taskmgr, 0, &maintask));
248 result = dns_zonemgr_create(mctx, taskmgr, timermgr, socketmgr,
/bind-9.6-ESV-R11/bin/tests/dst/
H A Dgsstest.c434 isc_taskmgr_t *taskmgr; local
485 taskmgr = NULL;
486 RUNCHECK(isc_taskmgr_create(mctx, 1, 0, &taskmgr));
488 RUNCHECK(isc_task_create(taskmgr, 0, &task));
504 RUNCHECK(dns_dispatch_getudp(dispatchmgr, socketmgr, taskmgr,
508 RUNCHECK(dns_requestmgr_create(mctx, timermgr, socketmgr, taskmgr,
541 isc_taskmgr_destroy(&taskmgr);
/bind-9.6-ESV-R11/bin/rndc/
H A Drndc.c674 isc_taskmgr_t *taskmgr = NULL; local
784 DO("create task manager", isc_taskmgr_create(mctx, 1, 0, &taskmgr));
785 DO("create task", isc_task_create(taskmgr, 0, &task));
850 isc_taskmgr_destroy(&taskmgr);
/bind-9.6-ESV-R11/lib/dns/
H A Dcache.c149 cache_cleaner_init(dns_cache_t *cache, isc_taskmgr_t *taskmgr,
172 dns_cache_create(isc_mem_t *cmctx, isc_taskmgr_t *taskmgr, argument
177 return (dns_cache_create3(cmctx, cmctx, taskmgr, timermgr, rdclass,
182 dns_cache_create2(isc_mem_t *cmctx, isc_taskmgr_t *taskmgr, argument
187 return (dns_cache_create3(cmctx, cmctx, taskmgr, timermgr, rdclass,
193 dns_cache_create3(isc_mem_t *cmctx, isc_mem_t *hmctx, isc_taskmgr_t *taskmgr, argument
276 if (taskmgr != NULL) {
278 result = isc_task_create(taskmgr, 1, &dbtask);
296 result = cache_cleaner_init(cache, taskmgr, timermgr,
551 cache_cleaner_init(dns_cache_t *cache, isc_taskmgr_t *taskmgr, argument
[all...]
H A Dacache.c1044 isc_taskmgr_t *taskmgr, isc_timermgr_t *timermgr)
1052 REQUIRE(taskmgr != NULL);
1083 result = isc_task_create(taskmgr, 1, &acache->task);
1043 dns_acache_create(dns_acache_t **acachep, isc_mem_t *mctx, isc_taskmgr_t *taskmgr, isc_timermgr_t *timermgr) argument
H A Drequest.c62 isc_taskmgr_t *taskmgr; member in struct:dns_requestmgr
140 isc_taskmgr_t *taskmgr,
157 REQUIRE(taskmgr != NULL);
190 requestmgr->taskmgr = taskmgr;
547 socket, requestmgr->taskmgr,
601 requestmgr->taskmgr,
137 dns_requestmgr_create(isc_mem_t *mctx, isc_timermgr_t *timermgr, isc_socketmgr_t *socketmgr, isc_taskmgr_t *taskmgr, dns_dispatchmgr_t *dispatchmgr, dns_dispatch_t *dispatchv4, dns_dispatch_t *dispatchv6, dns_requestmgr_t **requestmgrp) argument
H A Dview.c570 isc_taskmgr_t *taskmgr, unsigned int ntasks,
586 result = isc_task_create(taskmgr, 0, &view->task);
591 result = dns_resolver_create(view, taskmgr, ntasks, socketmgr,
609 result = dns_adb_create(mctx, view, timermgr, taskmgr, &view->adb);
569 dns_view_createresolver(dns_view_t *view, isc_taskmgr_t *taskmgr, unsigned int ntasks, isc_socketmgr_t *socketmgr, isc_timermgr_t *timermgr, unsigned int options, dns_dispatchmgr_t *dispatchmgr, dns_dispatch_t *dispatchv4, dns_dispatch_t *dispatchv6) argument
H A Ddispatch.c318 isc_taskmgr_t *taskmgr,
2502 isc_taskmgr_t *taskmgr, unsigned int buffersize,
2543 result = isc_task_create(taskmgr, 0, &disp->task[0]);
2593 isc_taskmgr_t *taskmgr, isc_sockaddr_t *localaddr,
2606 REQUIRE(taskmgr != NULL);
2657 result = dispatch_createudp(mgr, sockmgr, taskmgr, localaddr,
2785 isc_taskmgr_t *taskmgr,
2851 result = isc_task_create(taskmgr, 0, &disp->task[i]);
2501 dns_dispatch_createtcp(dns_dispatchmgr_t *mgr, isc_socket_t *sock, isc_taskmgr_t *taskmgr, unsigned int buffersize, unsigned int maxbuffers, unsigned int maxrequests, unsigned int buckets, unsigned int increment, unsigned int attributes, dns_dispatch_t **dispp) argument
2592 dns_dispatch_getudp(dns_dispatchmgr_t *mgr, isc_socketmgr_t *sockmgr, isc_taskmgr_t *taskmgr, isc_sockaddr_t *localaddr, unsigned int buffersize, unsigned int maxbuffers, unsigned int maxrequests, unsigned int buckets, unsigned int increment, unsigned int attributes, unsigned int mask, dns_dispatch_t **dispp) argument
2784 dispatch_createudp(dns_dispatchmgr_t *mgr, isc_socketmgr_t *sockmgr, isc_taskmgr_t *taskmgr, isc_sockaddr_t *localaddr, unsigned int maxrequests, unsigned int attributes, dns_dispatch_t **dispp) argument
H A Dadb.c119 isc_taskmgr_t *taskmgr; member in struct:dns_adb
2017 isc_taskmgr_t *taskmgr, dns_adb_t **newadb)
2026 REQUIRE(taskmgr != NULL);
2052 adb->taskmgr = taskmgr;
2130 result = isc_task_create(adb->taskmgr, 0, &adb->task);
2016 dns_adb_create(isc_mem_t *mem, dns_view_t *view, isc_timermgr_t *timermgr, isc_taskmgr_t *taskmgr, dns_adb_t **newadb) argument
/bind-9.6-ESV-R11/lib/isc/
H A Dtask.c133 static isc_taskmgr_t *taskmgr = NULL; variable
1047 if (taskmgr != NULL) {
1048 taskmgr->refs++;
1049 *managerp = taskmgr;
1121 taskmgr = manager;
1237 if (taskmgr == NULL)
1239 return (ISC_TF(!ISC_LIST_EMPTY(taskmgr->ready_tasks)));
1244 isc_taskmgr_t *manager = taskmgr;
1246 if (taskmgr == NULL)
/bind-9.6-ESV-R11/bin/nsupdate/
H A Dnsupdate.c122 static isc_taskmgr_t *taskmgr = NULL; variable
790 result = isc_taskmgr_create(mctx, 1, 0, &taskmgr);
793 result = isc_task_create(taskmgr, 0, &global_task);
811 result = dns_dispatch_getudp(dispatchmgr, socketmgr, taskmgr,
823 result = dns_dispatch_getudp(dispatchmgr, socketmgr, taskmgr,
831 socketmgr, taskmgr, dispatchmgr,
2739 isc_taskmgr_destroy(&taskmgr);
/bind-9.6-ESV-R11/bin/dnssec/
H A Ddnssec-signzone.c151 static isc_taskmgr_t *taskmgr = NULL; variable
3578 result = isc_taskmgr_create(mctx, ntasks, 0, &taskmgr);
3584 result = isc_task_create(taskmgr, 0, &master);
3593 result = isc_task_create(taskmgr, 0, &tasks[i]);
3626 isc_taskmgr_destroy(&taskmgr);
/bind-9.6-ESV-R11/bin/dig/
H A Ddighost.c129 isc_taskmgr_t *taskmgr = NULL; variable
1156 result = isc_taskmgr_create(mctx, 1, 0, &taskmgr);
1159 result = isc_task_create(taskmgr, 0, &global_task);
3624 if (taskmgr != NULL) {
3625 debug("freeing taskmgr");
3626 isc_taskmgr_destroy(&taskmgr);

Completed in 96 milliseconds

12