Lines Matching refs:cdev
298 isc_socket_connev_t *cdev; /* connect() done event */
363 static void send_connectdone_event(isc_socket_t *sock, isc_socket_connev_t **cdev);
1947 send_connectdone_event(isc_socket_t *sock, isc_socket_connev_t **cdev) {
1950 INSIST(cdev != NULL && *cdev != NULL);
1952 task = (*cdev)->ev_sender;
1953 (*cdev)->ev_sender = sock;
1957 isc_task_sendanddetach(&task, (isc_event_t **)cdev);
2072 isc_socket_connev_t *cdev;
2087 cdev = lpo->cdev;
2088 if (!connectdone_is_active(sock, cdev)) {
2120 #define ERROR_MATCH(a, b) case a: cdev->result = b; break;
2135 cdev->result = ISC_R_UNEXPECTED;
2143 cdev->result = ISC_R_SUCCESS;
2150 send_connectdone_event(sock, &cdev);
2514 if (connectdone_is_active(sock, lpo->cdev)) {
2515 lpo->cdev->result = isc_result;
2518 send_connectdone_event(sock, &lpo->cdev);
3392 isc_socket_connev_t *cdev;
3453 cdev = (isc_socket_connev_t *)isc_event_allocate(manager->mctx, sock,
3456 sizeof(*cdev));
3457 if (cdev == NULL) {
3461 ISC_LINK_INIT(cdev, ev_link);
3470 lpo->cdev = cdev;
3481 cdev->ev_sender = ntask;
3489 sock->connect_ev = cdev;
3493 cdev->result = ISC_R_SUCCESS;
3494 isc_task_send(task, (isc_event_t **)&cdev);