Home
last modified time | relevance | path

Searched refs:EventSource (Results 1 – 10 of 10) sorted by relevance

/system/ulib/dispatcher-pool/include/dispatcher-pool/
A Ddispatcher-event-source.h43 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_;
A Ddispatcher-execution-domain.h115 friend class EventSource; variable
120 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_
A Ddispatcher-wakeup-event.h42 class WakeupEvent : public EventSource {
60 WakeupEvent() : EventSource(ZX_USER_SIGNAL_0) { } in WakeupEvent()
A Ddispatcher-interrupt.h36 class Interrupt : public EventSource {
58 Interrupt() : EventSource(0) { } in Interrupt()
A Ddispatcher-timer.h46 class Timer : public EventSource {
72 : EventSource(ZX_TIMER_SIGNALED), in Timer()
A Ddispatcher-channel.h97 class Channel : public EventSource {
165 Channel() : EventSource(ZX_CHANNEL_READABLE | ZX_CHANNEL_PEER_CLOSED) { } in Channel()
/system/ulib/dispatcher-pool/
A Ddispatcher-event-source.cpp17 EventSource::EventSource(zx_signals_t process_signal_mask) in EventSource() function in dispatcher::EventSource
20 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()
A Ddispatcher-execution-domain.cpp63 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()
A Ddispatcher-thread-pool.cpp326 static_assert(sizeof(pkt.key) >= sizeof(EventSource*), in Main()
329 fbl::internal::MakeRefPtrNoAdopt(reinterpret_cast<EventSource*>(pkt.key)); in Main()
A Ddispatcher-channel.cpp109 zx_status_t res = EventSource::ActivateLocked(std::move(channel), std::move(domain)); in ActivateLocked()

Completed in 22 milliseconds