Searched refs:EventSource (Results 1 – 10 of 10) sorted by relevance
43 class EventSource : public fbl::RefCounted<EventSource> {62 EventSource(zx_signals_t process_signal_mask);63 virtual ~EventSource();111 friend class fbl::RefPtr<EventSource>;115 static fbl::DoublyLinkedListNodeState<fbl::RefPtr<EventSource>>&116 node_state(EventSource& event_source) { in node_state()122 static fbl::DoublyLinkedListNodeState<fbl::RefPtr<EventSource>>&123 node_state(EventSource& event_source) { in node_state()131 fbl::DoublyLinkedListNodeState<fbl::RefPtr<EventSource>> sources_node_state_;134 fbl::DoublyLinkedListNodeState<fbl::RefPtr<EventSource>> pending_work_node_state_;
115 friend class EventSource; variable120 using DispatchState = EventSource::DispatchState;135 zx_status_t AddEventSource(fbl::RefPtr<EventSource>&& source)137 void RemoveEventSource(EventSource* source)144 bool AddPendingWork(EventSource* source)150 bool RemovePendingWork(EventSource* source)166 fbl::DoublyLinkedList<fbl::RefPtr<EventSource>,167 EventSource::SourcesListTraits> sources_169 fbl::DoublyLinkedList<fbl::RefPtr<EventSource>,170 EventSource::PendingWorkListTraits> pending_work_
42 class WakeupEvent : public EventSource {60 WakeupEvent() : EventSource(ZX_USER_SIGNAL_0) { } in WakeupEvent()
36 class Interrupt : public EventSource {58 Interrupt() : EventSource(0) { } in Interrupt()
46 class Timer : public EventSource {72 : EventSource(ZX_TIMER_SIGNALED), in Timer()
97 class Channel : public EventSource {165 Channel() : EventSource(ZX_CHANNEL_READABLE | ZX_CHANNEL_PEER_CLOSED) { } in Channel()
17 EventSource::EventSource(zx_signals_t process_signal_mask) in EventSource() function in dispatcher::EventSource20 EventSource::~EventSource() { in ~EventSource()27 void EventSource::InternalDeactivateLocked() { in InternalDeactivateLocked()61 zx_status_t EventSource::ActivateLocked(zx::handle handle, fbl::RefPtr<ExecutionDomain> domain) { in ActivateLocked()85 zx_status_t EventSource::WaitOnPortLocked() { in WaitOnPortLocked()108 zx_status_t EventSource::CancelPendingLocked() { in CancelPendingLocked()146 zx_status_t EventSource::DoPortWaitLocked() { in DoPortWaitLocked()154 zx_status_t EventSource::DoPortCancelLocked() { in DoPortCancelLocked()159 bool EventSource::BeginDispatching() { in BeginDispatching()176 fbl::RefPtr<ExecutionDomain> EventSource::ScheduleDispatch( in ScheduleDispatch()
63 fbl::DoublyLinkedList<fbl::RefPtr<EventSource>, EventSource::SourcesListTraits> to_deactivate; in Deactivate()125 fbl::RefPtr<EventSource>&& event_source) { in AddEventSource()149 void ExecutionDomain::RemoveEventSource(EventSource* event_source) { in RemoveEventSource()167 bool ExecutionDomain::AddPendingWork(EventSource* event_source) { in AddPendingWork()196 bool ExecutionDomain::RemovePendingWork(EventSource* event_source) { in RemovePendingWork()220 fbl::RefPtr<EventSource> source; in DispatchPendingWork()
326 static_assert(sizeof(pkt.key) >= sizeof(EventSource*), in Main()329 fbl::internal::MakeRefPtrNoAdopt(reinterpret_cast<EventSource*>(pkt.key)); in Main()
109 zx_status_t res = EventSource::ActivateLocked(std::move(channel), std::move(domain)); in ActivateLocked()
Completed in 22 milliseconds