Lines Matching defs:event
73 Acquire{Reader,Writer}() never return without an actual event being
80 static void tty_notify_select_event(struct tty* tty, uint8 event);
895 tty_notify_select_event(struct tty* tty, uint8 event)
897 TRACE(("tty_notify_select_event(%p, %u)\n", tty, event));
900 notify_select_event_pool(tty->select_pool, event);
1529 // notify a select read and write event on the other tty, if we've closed this tty
1991 tty_select(tty_cookie* cookie, uint8 event, uint32 ref, selectsync* sync)
1995 TRACE(("tty_select(cookie = %p, event = %u, ref = %" B_PRIu32 ", sync = "
1996 "%p)\n", cookie, event, ref, sync));
1999 if (event < B_SELECT_READ || event > B_SELECT_ERROR)
2007 notify_select_event(sync, event);
2020 // add the event to the TTY's pool
2021 status_t error = add_select_sync_pool_entry(&tty->select_pool, sync, event);
2033 // check, if the event is already present
2034 switch (event) {
2037 notify_select_event(sync, event);
2044 notify_select_event(sync, event);
2058 notify_select_event(sync, event);
2074 tty_deselect(tty_cookie* cookie, uint8 event, selectsync* sync)
2078 TRACE(("tty_deselect(cookie = %p, event = %u, sync = %p)\n", cookie, event,
2082 if (event < B_SELECT_READ || event > B_SELECT_ERROR)
2088 return remove_select_sync_pool_entry(&tty->select_pool, sync, event);