/bind-9.11.3/lib/dns/ |
H A D | tcpmsg.c | 40 isc_socketevent_t *ev = (isc_socketevent_t *)ev_in; local 49 tcpmsg->address = ev->address; 51 if (ev->result != ISC_R_SUCCESS) { 52 tcpmsg->result = ev->result; 97 isc_socketevent_t *ev = (isc_socketevent_t *)ev_in; local 106 tcpmsg->address = ev->address; 108 if (ev->result != ISC_R_SUCCESS) { 109 tcpmsg->result = ev->result; 114 isc_buffer_add(&tcpmsg->buffer, ev->n); 116 XDEBUG(("Received %d bytes (of %d)\n", ev [all...] |
H A D | request.c | 1268 isc_event_t *ev = &request->ctlevent; local 1269 isc_task_send(request->event->ev_sender, &ev);
|
H A D | xfrin.c | 1228 xfrin_recv_done(isc_task_t *task, isc_event_t *ev) { argument 1229 dns_xfrin_ctx_t *xfr = (dns_xfrin_ctx_t *) ev->ev_arg; 1240 INSIST(ev->ev_type == DNS_EVENT_TCPMSG); 1241 tcpmsg = ev->ev_sender; 1242 isc_event_free(&ev);
|
H A D | acache.c | 378 shutdown_task(isc_task_t *task, isc_event_t *ev) { argument 383 acache = ev->ev_arg; 386 isc_event_free(&ev);
|
H A D | dispatch.c | 293 static inline void free_devent(dns_dispatch_t *disp, dns_dispatchevent_t *ev); 940 free_sevent(isc_event_t *ev) { argument 941 isc_mempool_t *pool = ev->ev_destroy_arg; 942 isc_socketevent_t *sev = (isc_socketevent_t *) ev; 950 isc_socketevent_t *ev; local 953 ev = isc_mempool_get(disp->sepool); 954 if (ev == NULL) 957 ISC_EVENT_INIT(ev, sizeof(*ev), 0, NULL, type, 960 ev 973 free_devent(dns_dispatch_t *disp, dns_dispatchevent_t *ev) argument 986 dns_dispatchevent_t *ev; local 998 udp_exrecv(isc_task_t *task, isc_event_t *ev) argument 1008 udp_shrecv(isc_task_t *task, isc_event_t *ev) argument 1033 isc_socketevent_t *ev = (isc_socketevent_t *)ev_in; local 3411 dns_dispatchevent_t *ev; local 3458 dns_dispatchevent_t *ev; local 3572 dns_dispatchevent_t *ev; local [all...] |
H A D | adb.c | 348 static void shutdown_task(isc_task_t *task, isc_event_t *ev); 553 grow_entries(isc_task_t *task, isc_event_t *ev) { argument 564 adb = ev->ev_arg; 567 isc_event_free(&ev); 710 grow_names(isc_task_t *task, isc_event_t *ev) { argument 721 adb = ev->ev_arg; 724 isc_event_free(&ev); 1009 kill_name(dns_adbname_t **n, isc_eventtype_t ev) { argument 1041 clean_finds_at_name(name, ev, DNS_ADBFIND_ADDRESSMASK); 1469 isc_event_t *ev; local 2273 shutdown_task(isc_task_t *task, isc_event_t *ev) argument 3348 isc_event_t *ev; local 3822 fetch_callback(isc_task_t *task, isc_event_t *ev) argument [all...] |
H A D | rbtdb.c | 2118 isc_event_t *ev; local 2121 ev = isc_event_allocate(rbtdb->common.mctx, NULL, 2125 if (ev != NULL) { 2129 ev->ev_sender = db; 2130 isc_task_send(rbtdb->task, &ev); 2328 isc_event_t *ev; local 2331 ev = isc_event_allocate(rbtdb->common.mctx, NULL, 2335 if (ev != NULL) { 2339 ev->ev_sender = db; 2340 isc_task_send(rbtdb->task, &ev); [all...] |
H A D | zone.c | 5256 isc_event_t *ev = &zone->ctlevent; local 5257 isc_task_send(zone->task, &ev); 10753 process_adb_event(isc_task_t *task, isc_event_t *ev) { argument 10759 notify = ev->ev_arg; 10762 result = ev->ev_type; 10763 isc_event_free(&ev);
|
/bind-9.11.3/lib/isccc/ |
H A D | ccmsg.c | 46 isc_socketevent_t *ev = (isc_socketevent_t *)ev_in; local 56 if (ev->result != ISC_R_SUCCESS) { 57 ccmsg->result = ev->result; 101 isc_socketevent_t *ev = (isc_socketevent_t *)ev_in; local 111 if (ev->result != ISC_R_SUCCESS) { 112 ccmsg->result = ev->result; 117 isc_buffer_add(&ccmsg->buffer, ev->n); 118 ccmsg->address = ev->address;
|
/bind-9.11.3/bin/named/ |
H A D | lwdclient.c | 32 lwdclientmgr_shutdown_callback(isc_task_t *task, isc_event_t *ev); 226 ns_lwdclient_recv(isc_task_t *task, isc_event_t *ev) { argument 228 ns_lwdclient_t *client = ev->ev_arg; 230 isc_socketevent_t *dev = (isc_socketevent_t *)ev; 248 isc_event_free(&ev); 266 isc_event_free(&ev); 354 lwdclientmgr_shutdown_callback(isc_task_t *task, isc_event_t *ev) { argument 355 ns_lwdclientmgr_t *cm = ev->ev_arg; 405 isc_event_free(&ev); 442 ns_lwdclient_send(isc_task_t *task, isc_event_t *ev) { argument [all...] |
H A D | lwdgabn.c | 332 process_gabn_finddone(isc_task_t *task, isc_event_t *ev) { argument 333 ns_lwdclient_t *client = ev->ev_arg; 339 evtype = ev->ev_type; 340 isc_event_free(&ev);
|
H A D | client.c | 3498 isc_event_t *ev; local 3552 ev = &client->ctlevent; 3553 isc_task_send(client->task, &ev); 3562 isc_event_t *ev; local 3619 ev = &client->ctlevent; 3620 isc_task_send(client->task, &ev);
|
H A D | server.c | 2120 catz_chgzone_event_t *ev = (catz_chgzone_event_t *) event0; local 2131 cfg = (ns_cfgctx_t *) ev->view->new_zone_config; 2141 dns_name_totext(dns_catz_entry_getname(ev->entry), ISC_TRUE, &namebuf); 2145 result = dns_zt_find(ev->view->zonetable, 2146 dns_catz_entry_getname(ev->entry), 0, NULL, &zone); 2148 if (ev->mod == ISC_TRUE) { 2168 if (dns_zone_get_parentcatz(zone) != ev->origin) { 2197 result = dns_catz_generate_zonecfg(ev->origin, ev->entry, &confbuf); 2227 dns_view_thaw(ev 2288 catz_chgzone_event_t *ev = (catz_chgzone_event_t *) event0; local [all...] |
/bind-9.11.3/bin/tests/atomic/ |
H A D | t_atomic.c | 64 do_xadd(isc_task_t *task, isc_event_t *ev) { argument 65 counter_t *state = (counter_t *)ev->ev_arg; 74 isc_task_send(task, &ev); 76 isc_event_free(&ev); 122 do_xaddq(isc_task_t *task, isc_event_t *ev) { argument 123 counter_t *state = (counter_t *)ev->ev_arg; 132 isc_task_send(task, &ev); 134 isc_event_free(&ev); 181 do_store(isc_task_t *task, isc_event_t *ev) { argument 182 counter_t *state = (counter_t *)ev 251 do_storeq(isc_task_t *task, isc_event_t *ev) argument [all...] |
/bind-9.11.3/lib/dns/tests/ |
H A D | dispatch_test.c | 156 isc_socketevent_t *ev = (isc_socketevent_t *)event; local 160 memmove(buf1, ev->region.base, 12); 164 memmove(buf2, ev->region.base, 12); 176 &ev->address, NULL); 188 &ev->address, NULL);
|
/bind-9.11.3/lib/isc/ |
H A D | ratelimiter.c | 144 isc_event_t *ev; local 149 ev = *eventp; 150 REQUIRE(ev->ev_sender == NULL); 155 ev->ev_sender = task; 158 ISC_LIST_PREPEND(rl->pending, ev, ev_ratelink); 160 ISC_LIST_APPEND(rl->pending, ev, ev_ratelink); 165 ev->ev_sender = task; 239 isc_event_t *ev; local 248 while ((ev = ISC_LIST_HEAD(rl->pending)) != NULL) { 249 ISC_LIST_UNLINK(rl->pending, ev, ev_ratelin [all...] |
H A D | httpd.c | 604 isc_httpd_accept(isc_task_t *task, isc_event_t *ev) { argument 606 isc_httpdmgr_t *httpdmgr = ev->ev_arg; 609 isc_socket_newconnev_t *nev = (isc_socket_newconnev_t *)ev; 693 isc_event_free(&ev); 838 isc_httpd_recvdone(isc_task_t *task, isc_event_t *ev) { argument 841 isc_httpd_t *httpd = ev->ev_arg; 842 isc_socketevent_t *sev = (isc_socketevent_t *)ev; 981 isc_event_free(&ev); 1135 isc_httpd_senddone(isc_task_t *task, isc_event_t *ev) { argument 1136 isc_httpd_t *httpd = ev [all...] |
/bind-9.11.3/bin/tests/ |
H A D | adb_test.c | 119 lookup_callback(isc_task_t *task, isc_event_t *ev) { argument 122 client = ev->ev_arg; 123 INSIST(client->find == ev->ev_sender); 127 task, ev, ev->ev_type, client->find, client, 131 isc_event_free(&ev); 132 ev = NULL;
|
/bind-9.11.3/bin/tests/dst/ |
H A D | gsstest.c | 93 isc_event_t *ev = NULL; local 107 ev = isc_event_allocate(mctx, (void *)1, 1, initctx1, 109 isc_task_send(task, &ev); 114 ev = isc_event_allocate(mctx, (void *)1, 1, sendquery, 116 isc_task_send(task, &ev);
|
/bind-9.11.3/contrib/perftcpdns/ |
H A D | perftcpdns.c | 707 struct epoll_event ev; local 709 memset(&ev, 0, sizeof(ev)); 710 ev.events = EPOLLIN | EPOLLET | EPOLLONESHOT; 715 ev.data.fd = idx; 755 if (epoll_ctl(epoll_ifd, EPOLL_CTL_ADD, x->sock, &ev) < 0) { 1022 struct epoll_event ev; local 1061 memset(&ev, 0, sizeof(ev)); 1103 ev 1190 struct epoll_event ev; local [all...] |
/bind-9.11.3/lib/isc/unix/ |
H A D | socket.c | 328 #define NEWCONNSOCK(ev) ((isc__socket_t *)(ev)->newsocket) 1798 isc_socketevent_t *ev = (isc_socketevent_t *)event; local 1800 INSIST(ISC_LIST_EMPTY(ev->bufferlist)); 1802 (ev->destroy)(event); 1810 isc_socketevent_t *ev; local 1812 ev = (isc_socketevent_t *)isc_event_allocate(mctx, sender, 1814 sizeof(*ev)); 1816 if (ev == NULL) 1819 ev 3327 isc_socketevent_t *ev; local 3361 isc_socketevent_t *ev; local 3398 isc_socket_newconnev_t *ev; local 3424 isc_socket_connev_t *ev; local 3525 internal_accept(isc_task_t *me, isc_event_t *ev) argument 3787 internal_recv(isc_task_t *me, isc_event_t *ev) argument 3852 internal_send(isc_task_t *me, isc_event_t *ev) argument 3907 internal_fdwatch_write(isc_task_t *me, isc_event_t *ev) argument 3948 internal_fdwatch_read(isc_task_t *me, isc_event_t *ev) argument 6008 internal_connect(isc_task_t *me, isc_event_t *ev) argument [all...] |
/bind-9.11.3/lib/isc/win32/ |
H A D | socket.c | 1071 isc_socketevent_t *ev = (isc_socketevent_t *)event; local 1073 INSIST(ISC_LIST_EMPTY(ev->bufferlist)); 1075 (ev->destroy)(event); 1083 isc_socketevent_t *ev; local 1085 ev = (isc_socketevent_t *)isc_event_allocate(mctx, sock, eventtype, 1087 sizeof(*ev)); 1088 if (ev == NULL) 1091 ev->result = ISC_R_IOERROR; // XXXMLG temporary change to detect failure to set 1092 ISC_LINK_INIT(ev, ev_link); 1093 ISC_LIST_INIT(ev [all...] |