• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/bind9-45.100/bind9/lib/isc/win32/

Lines Matching refs:task

71 #include <isc/task.h>
365 static void queue_receive_event(isc_socket_t *sock, isc_task_t *task, isc_socketevent_t *dev);
1622 * will be posted to 'task' and when dispatched 'action' will be
1864 * in the done event to the one provided, and send it to the task it was
1868 * asked to, send and detach from the task as well.
1874 isc_task_t *task;
1876 task = (*dev)->ev_sender;
1884 isc_task_sendanddetach(&task, (isc_event_t **)dev);
1886 isc_task_send(task, (isc_event_t **)dev);
1896 isc_task_t *task;
1900 task = (*dev)->ev_sender;
1908 isc_task_sendanddetach(&task, (isc_event_t **)dev);
1910 isc_task_send(task, (isc_event_t **)dev);
1920 isc_task_t *task;
1924 task = (*adev)->ev_sender;
1930 isc_task_sendanddetach(&task, (isc_event_t **)adev);
1940 isc_task_t *task;
1944 task = (*cdev)->ev_sender;
1949 isc_task_sendanddetach(&task, (isc_event_t **)cdev);
2232 "internal_send: task got socket event %p", dev);
2691 queue_receive_event(isc_socket_t *sock, isc_task_t *task, isc_socketevent_t *dev)
2695 isc_task_attach(task, &ntask);
2705 "queue_receive_event: event %p -> task %p",
2717 socket_recv(isc_socket_t *sock, isc_socketevent_t *dev, isc_task_t *task,
2725 dev->ev_sender = task;
2736 queue_receive_event(sock, task, dev);
2753 unsigned int minimum, isc_task_t *task,
2776 REQUIRE(task != NULL);
2815 ret = socket_recv(sock, dev, task, 0);
2823 unsigned int minimum, isc_task_t *task,
2854 ret = isc_socket_recv2(sock, region, minimum, task, dev, 0);
2861 unsigned int minimum, isc_task_t *task,
2898 ret = socket_recv(sock, event, task, flags);
2907 socket_send(isc_socket_t *sock, isc_socketevent_t *dev, isc_task_t *task,
2917 dev->ev_sender = task;
2944 isc_task_attach(task, &ntask);
2954 "socket_send: event %p -> task %p",
2971 isc_task_t *task, isc_taskaction_t action, const void *arg)
2976 return (isc_socket_sendto(sock, region, task, action, arg, NULL,
2982 isc_task_t *task, isc_taskaction_t action, const void *arg,
3003 REQUIRE(task != NULL);
3018 ret = socket_send(sock, dev, task, address, pktinfo, 0);
3025 isc_task_t *task, isc_taskaction_t action, const void *arg)
3027 return (isc_socket_sendtov(sock, buflist, task, action, arg, NULL,
3033 isc_task_t *task, isc_taskaction_t action, const void *arg,
3056 REQUIRE(task != NULL);
3081 ret = socket_send(sock, dev, task, address, pktinfo, 0);
3088 isc_task_t *task,
3116 ret = socket_send(sock, event, task, address, pktinfo, flags);
3199 * watcher will send the internal event to the task when there is a new
3253 isc_task_t *task, isc_taskaction_t action, const void *arg)
3281 * Sender field is overloaded here with the task we will be sending
3286 isc_event_allocate(manager->mctx, task, ISC_SOCKEVENT_NEWCONN,
3313 * Attach to socket and to task.
3315 isc_task_attach(task, &ntask);
3371 isc_task_t *task, isc_taskaction_t action, const void *arg)
3382 REQUIRE(task != NULL);
3460 * Attach to task.
3462 isc_task_attach(task, &ntask);
3476 isc_task_send(task, (isc_event_t **)&cdev);
3559 * queued for task "task" of type "how". "how" is a bitmask.
3562 isc__socket_cancel(isc_socket_t *sock, isc_task_t *task, unsigned int how) {
3588 * remove it from the task's queue. If this fails, mark it
3589 * as canceled instead, and let the task clean it up later.
3590 * o For each I/O request for that task of that type, post
3604 if ((task == NULL) || (task == current_task)) {
3623 if ((task == NULL) || (task == current_task)) {
3643 if ((task == NULL) || (task == current_task)) {
3672 if ((task == NULL) || (task == current_task)) {