Lines Matching defs:event
95 * bus_thread - kernel thread for running slot event handlers for
100 * event handlers
103 * for invoking the slot event handlers to exit
106 * of slot event handlers to be run
118 int event;
176 * slot_event_handler_arg - argument to be passed to event handler
178 * slot_event_mask - the set of events for which the event handler
423 * unregister event handlers for all the slots on this bus.
495 * for running the slot event handlers.
497 DEBUG0("hpc_slot_register: creating event callback thread");
625 * If the slot list is empty then stop the event handler thread.
712 hpc_slot_event_notify(hpc_slot_t handle, uint_t event, uint_t flags)
718 DEBUG2("hpc_slot_event_notify: handle=%x event=%x", handle, event);
727 * If the request is to handle the event synchronously, then call
728 * the event handler without queuing the event.
736 return (func(arg, event));
739 * Insert the event into the bus slot event handler list and
740 * signal the bus slot event handler dispatch thread.
756 eventp->event = event;
758 DEBUG2("hpc_slot_event_notify: busp=%x event=%x", busp, event);
835 * The following function is run from the bus entries slot event handling
843 int event;
866 * the event list, while updating the event list
867 * after processing the event list entries.
879 * We have an event handler instance in the list to
881 * information required to run the event handler.
882 * Then run the event handler while the bus mutex
887 event = eventp->event;
893 func(arg, event);