Lines Matching defs:event
421 remote_event_create(REMOTE_EVENT_T *event)
423 event->armed = 0;
426 _sema_init(event->event, 0);
430 remote_event_destroy(REMOTE_EVENT_T *event)
432 (void)event;
436 remote_event_wait(REMOTE_EVENT_T *event)
438 if (!event->fired) {
439 event->armed = 1;
441 if (!event->fired) {
442 if (down_interruptible(event->event) != 0) {
443 event->armed = 0;
447 event->armed = 0;
451 event->fired = 0;
456 remote_event_signal_local(REMOTE_EVENT_T *event)
458 event->armed = 0;
459 up(event->event);
463 remote_event_poll(REMOTE_EVENT_T *event)
465 if (event->fired && event->armed)
466 remote_event_signal_local(event);
874 /* In the event of a failure, return the mutex to the
1236 up(&waiter->event);
2481 local->trigger.event = &state->trigger_event;
2485 local->recycle.event = &state->recycle_event;
2489 local->sync_trigger.event = &state->sync_trigger_event;
2492 local->sync_release.event = &state->sync_release_event;
3308 _sema_init(&bulk_waiter->event, 0);
3417 if (down_interruptible(&bulk_waiter->event) != 0)