| /freebsd-9-stable/contrib/ntp/lib/isc/ |
| D | ondestroy.c | 43 isc_event_t **eventp) in isc_ondestroy_register() argument 50 REQUIRE(eventp != NULL); in isc_ondestroy_register() 52 theevent = *eventp; in isc_ondestroy_register() 67 isc_event_t *eventp; in isc_ondestroy_notify() local 72 eventp = ISC_LIST_HEAD(ondest->events); in isc_ondestroy_notify() 73 while (eventp != NULL) { in isc_ondestroy_notify() 74 ISC_LIST_UNLINK(ondest->events, eventp, ev_link); in isc_ondestroy_notify() 76 task = eventp->ev_sender; in isc_ondestroy_notify() 77 eventp->ev_sender = sender; in isc_ondestroy_notify() 79 isc_task_sendanddetach(&task, &eventp); in isc_ondestroy_notify() [all …]
|
| D | task_api.c | 146 isc_task_send(isc_task_t *task, isc_event_t **eventp) { in isc_task_send() argument 148 REQUIRE(eventp != NULL && *eventp != NULL); in isc_task_send() 150 task->methods->send(task, eventp); in isc_task_send() 152 ENSURE(*eventp == NULL); in isc_task_send() 156 isc_task_sendanddetach(isc_task_t **taskp, isc_event_t **eventp) { in isc_task_sendanddetach() argument 158 REQUIRE(eventp != NULL && *eventp != NULL); in isc_task_sendanddetach() 160 (*taskp)->methods->sendanddetach(taskp, eventp); in isc_task_sendanddetach() 162 ENSURE(*taskp == NULL && *eventp == NULL); in isc_task_sendanddetach()
|
| D | event.c | 75 isc_event_free(isc_event_t **eventp) { in isc_event_free() argument 78 REQUIRE(eventp != NULL); in isc_event_free() 79 event = *eventp; in isc_event_free() 85 *eventp = NULL; in isc_event_free()
|
| D | ratelimiter.c | 134 isc_event_t **eventp) in isc_ratelimiter_enqueue() argument 139 REQUIRE(eventp != NULL && *eventp != NULL); in isc_ratelimiter_enqueue() 141 ev = *eventp; in isc_ratelimiter_enqueue() 147 isc_event_t *ev = *eventp; in isc_ratelimiter_enqueue() 150 *eventp = NULL; in isc_ratelimiter_enqueue() 163 if (*eventp != NULL && result == ISC_R_SUCCESS) in isc_ratelimiter_enqueue() 164 isc_task_send(task, eventp); in isc_ratelimiter_enqueue()
|
| D | task.c | 190 isc__task_send(isc_task_t *task0, isc_event_t **eventp); 192 isc__task_sendanddetach(isc_task_t **taskp, isc_event_t **eventp); 530 task_send(isc__task_t *task, isc_event_t **eventp) { in task_send() argument 538 REQUIRE(eventp != NULL); in task_send() 539 event = *eventp; in task_send() 554 *eventp = NULL; in task_send() 560 isc__task_send(isc_task_t *task0, isc_event_t **eventp) { in isc__task_send() argument 578 was_idle = task_send(task, eventp); in isc__task_send() 602 isc__task_sendanddetach(isc_task_t **taskp, isc_event_t **eventp) { in isc__task_sendanddetach() argument 618 idle1 = task_send(task, eventp); in isc__task_sendanddetach()
|
| /freebsd-9-stable/contrib/bind9/lib/isc/ |
| D | ondestroy.c | 43 isc_event_t **eventp) in isc_ondestroy_register() argument 50 REQUIRE(eventp != NULL); in isc_ondestroy_register() 52 theevent = *eventp; in isc_ondestroy_register() 67 isc_event_t *eventp; in isc_ondestroy_notify() local 72 eventp = ISC_LIST_HEAD(ondest->events); in isc_ondestroy_notify() 73 while (eventp != NULL) { in isc_ondestroy_notify() 74 ISC_LIST_UNLINK(ondest->events, eventp, ev_link); in isc_ondestroy_notify() 76 task = eventp->ev_sender; in isc_ondestroy_notify() 77 eventp->ev_sender = sender; in isc_ondestroy_notify() 79 isc_task_sendanddetach(&task, &eventp); in isc_ondestroy_notify() [all …]
|
| D | task_api.c | 146 isc_task_send(isc_task_t *task, isc_event_t **eventp) { in isc_task_send() argument 148 REQUIRE(eventp != NULL && *eventp != NULL); in isc_task_send() 150 task->methods->send(task, eventp); in isc_task_send() 152 ENSURE(*eventp == NULL); in isc_task_send() 156 isc_task_sendanddetach(isc_task_t **taskp, isc_event_t **eventp) { in isc_task_sendanddetach() argument 158 REQUIRE(eventp != NULL && *eventp != NULL); in isc_task_sendanddetach() 160 (*taskp)->methods->sendanddetach(taskp, eventp); in isc_task_sendanddetach() 162 ENSURE(*taskp == NULL && *eventp == NULL); in isc_task_sendanddetach()
|
| D | event.c | 96 isc_event_free(isc_event_t **eventp) { in isc_event_free() argument 99 REQUIRE(eventp != NULL); in isc_event_free() 100 event = *eventp; in isc_event_free() 106 *eventp = NULL; in isc_event_free()
|
| D | ratelimiter.c | 142 isc_event_t **eventp) in isc_ratelimiter_enqueue() argument 149 REQUIRE(eventp != NULL && *eventp != NULL); in isc_ratelimiter_enqueue() 150 ev = *eventp; in isc_ratelimiter_enqueue() 157 *eventp = NULL; in isc_ratelimiter_enqueue() 171 if (*eventp != NULL && result == ISC_R_SUCCESS) in isc_ratelimiter_enqueue() 172 isc_task_send(task, eventp); in isc_ratelimiter_enqueue()
|
| D | task.c | 197 isc__task_send(isc_task_t *task0, isc_event_t **eventp); 199 isc__task_sendanddetach(isc_task_t **taskp, isc_event_t **eventp); 539 task_send(isc__task_t *task, isc_event_t **eventp) { in task_send() argument 547 REQUIRE(eventp != NULL); in task_send() 548 event = *eventp; in task_send() 563 *eventp = NULL; in task_send() 569 isc__task_send(isc_task_t *task0, isc_event_t **eventp) { in isc__task_send() argument 587 was_idle = task_send(task, eventp); in isc__task_send() 611 isc__task_sendanddetach(isc_task_t **taskp, isc_event_t **eventp) { in isc__task_sendanddetach() argument 627 idle1 = task_send(task, eventp); in isc__task_sendanddetach()
|
| /freebsd-9-stable/contrib/ncurses/ncurses/base/ |
| D | lib_mouse.c | 178 #define RunParams(sp, eventp, runp) \ argument 180 (long) (IndexEV(sp, eventp) + (EV_MAX - 1)) % EV_MAX 670 MEVENT *eventp = sp->_mouse_eventp; in _nc_mouse_event() local 673 (void) eventp; in _nc_mouse_event() 703 eventp->id = NORMAL_EVENT; in _nc_mouse_event() 705 eventp->bstate = 0; in _nc_mouse_event() 709 eventp->bstate |= BUTTON1_PRESSED; in _nc_mouse_event() 711 eventp->bstate |= BUTTON2_PRESSED; in _nc_mouse_event() 713 eventp->bstate |= BUTTON3_PRESSED; in _nc_mouse_event() 717 eventp->bstate |= BUTTON1_RELEASED; in _nc_mouse_event() [all …]
|
| /freebsd-9-stable/contrib/ntp/lib/isc/include/isc/ |
| D | task.h | 124 void (*send)(isc_task_t *task, isc_event_t **eventp); 125 void (*sendanddetach)(isc_task_t **taskp, isc_event_t **eventp); 250 isc_task_send(isc_task_t *task, isc_event_t **eventp); 265 isc_task_sendanddetach(isc_task_t **taskp, isc_event_t **eventp);
|
| D | ondestroy.h | 95 isc_event_t **eventp);
|
| D | ratelimiter.h | 72 isc_event_t **eventp);
|
| /freebsd-9-stable/contrib/bind9/lib/isc/include/isc/ |
| D | task.h | 126 void (*send)(isc_task_t *task, isc_event_t **eventp); 127 void (*sendanddetach)(isc_task_t **taskp, isc_event_t **eventp); 252 isc_task_send(isc_task_t *task, isc_event_t **eventp); 267 isc_task_sendanddetach(isc_task_t **taskp, isc_event_t **eventp);
|
| D | ondestroy.h | 95 isc_event_t **eventp);
|
| D | ratelimiter.h | 72 isc_event_t **eventp);
|
| /freebsd-9-stable/sys/mips/cavium/ |
| D | ciu.c | 208 struct intr_event *event, **eventp; in ciu_setup_intr() local 218 eventp = &ciu_en0_intr_events[irq - CIU_IRQ_EN0_BEGIN]; in ciu_setup_intr() 226 eventp = &ciu_en1_intr_events[irq - CIU_IRQ_EN1_BEGIN]; in ciu_setup_intr() 238 if ((event = *eventp) == NULL) { in ciu_setup_intr() 239 error = intr_event_create(eventp, (void *)(uintptr_t)irq, 0, in ciu_setup_intr() 244 event = *eventp; in ciu_setup_intr()
|
| /freebsd-9-stable/sys/dev/tws/ |
| D | tws_user.c | 225 struct tws_event_packet eventp, *qp; in tws_retrive_aen() local 254 memcpy(&eventp, ubuf->data_buf, sizeof(struct tws_event_packet)); in tws_retrive_aen() 258 (eventp.sequence_id + 1) ) in tws_retrive_aen() 268 memcpy(&eventp, ubuf->data_buf, sizeof(struct tws_event_packet)); in tws_retrive_aen() 272 (eventp.sequence_id - 1) ) in tws_retrive_aen()
|
| /freebsd-9-stable/sys/sys/ |
| D | interrupt.h | 180 int swi_add(struct intr_event **eventp, const char *name,
|
| /freebsd-9-stable/contrib/bind9/lib/dns/include/dns/ |
| D | request.h | 99 isc_event_t **eventp);
|
| D | adb.h | 308 dns_adb_whenshutdown(dns_adb_t *adb, isc_task_t *task, isc_event_t **eventp);
|
| D | resolver.h | 221 isc_event_t **eventp);
|
| /freebsd-9-stable/sys/kern/ |
| D | kern_intr.c | 1103 swi_add(struct intr_event **eventp, const char *name, driver_intr_t handler, in swi_add() argument 1113 ie = (eventp != NULL) ? *eventp : NULL; in swi_add() 1123 if (eventp != NULL) in swi_add() 1124 *eventp = ie; in swi_add()
|
| /freebsd-9-stable/contrib/bind9/lib/dns/ |
| D | request.c | 216 isc_event_t **eventp) in dns_requestmgr_whenshutdown() argument 224 REQUIRE(eventp != NULL); in dns_requestmgr_whenshutdown() 226 event = *eventp; in dns_requestmgr_whenshutdown() 227 *eventp = NULL; in dns_requestmgr_whenshutdown()
|