Searched refs:handler (Results 26 - 50 of 83) sorted by relevance

1234

/fuchsia/zircon/system/ulib/async/include/lib/async/cpp/
H A Dwait.h12 // Holds context for an asynchronous wait and its handler, with RAII semantics.
16 // the structure in memory (and unmodified) until the wait's handler runs, the wait
29 async_wait_handler_t* handler);
50 // the trigger signals. Invokes the handler when the wait completes.
52 // The wait's handler will be invoked exactly once unless the wait is canceled.
64 // If successful, the wait's handler will not run.
67 // canceled; its handler will not run again and can be released immediately.
87 // An asynchronous wait whose handler is bound to a |async::Wait::Handler| function.
97 // the task's handler ran or the task was canceled.
105 Handler handler
108 set_handler(Handler handler) argument
[all...]
H A Dtrap.h13 // Holds context for a bell trap and its handler.
23 explicit GuestBellTrapBase(async_guest_bell_trap_handler_t* handler);
32 // Sets a bell trap in the guest to be handled asynchronously via a handler.
64 // A bell trap whose handler is bound to a |async::Task::Handler| function.
77 explicit GuestBellTrap(Handler handler = nullptr);
80 void set_handler(Handler handler) { handler_ = fbl::move(handler); } argument
90 // A bell trap whose handler is bound to a fixed class member function.
H A Dexception.h12 // Holds content for an exception packet receiver and its handler.
16 // been received by the handler or the dispatcher shuts down.
25 async_exception_handler_t* handler);
63 // A receiver whose handler is bound to a |async::Task::Handler| function.
78 Exception(zx_handle_t task, uint32_t options, Handler handler);
89 // A receiver whose handler is bound to a fixed class member function.
/fuchsia/zircon/system/ulib/fs/include/fs/
H A Dblock-txn.h71 explicit BlockTxn(TransactionHandler* handler);
94 explicit BlockTxn(TransactionHandler* handler);
118 explicit TypedTxn(TransactionHandler* handler) : txn_(handler) {} argument
H A Dmanaged-vfs.h44 // Invokes |handler| once when all connections are destroyed.
48 virtual void Shutdown(ShutdownCallback handler) override;
58 // Invokes the handler from |Shutdown| once all connections have been
H A Dsynchronous-vfs.h44 // Invokes |handler| once when all connections are destroyed.
46 void Shutdown(ShutdownCallback handler) override;
/fuchsia/zircon/kernel/dev/interrupt/arm_gic/v2/include/dev/interrupt/
H A Darm_gicv2m_msi.h30 int_handler handler,
/fuchsia/zircon/kernel/dev/interrupt/include/dev/
H A Dinterrupt.h51 zx_status_t register_int_handler(unsigned int vector, int_handler handler, void* arg);
120 // Register a handler function for a given msi_id within an msi_block_t. Passing a
121 // NULL handler will effectively unregister a handler for a given msi_id within the
123 void msi_register_handler(const msi_block_t* block, uint msi_id, int_handler handler, void *ctx);
/fuchsia/zircon/kernel/dev/pdev/include/pdev/
H A Dinterrupt.h16 int_handler handler; member in struct:int_handler_struct
53 int_handler handler,
/fuchsia/zircon/kernel/dev/pdev/interrupt/
H A Dinterrupt.c24 zx_status_t register_int_handler(unsigned int vector, int_handler handler, void* arg) argument
36 if (handler && h->handler) {
40 h->handler = handler;
112 static void default_msi_register_handler(const msi_block_t* block, uint msi_id, int_handler handler, void* ctx) { argument
233 void msi_register_handler(const msi_block_t* block, uint msi_id, int_handler handler, void* ctx) { argument
234 intr_ops->msi_register_handler(block, msi_id, handler, ctx);
/fuchsia/zircon/system/core/virtcon/
H A Dkeyboard.cpp69 keypress_handler_t handler; member in struct:vc_input
99 vi->handler(keycode, vi->modifiers);
176 zx_status_t vc_input_create(vc_input_t** out, keypress_handler_t handler, int fd) { argument
183 vi->handler = handler;
229 zx_status_t new_input_device(int fd, keypress_handler_t handler) { argument
241 if ((r = vc_input_create(&vi, handler, fd)) < 0) {
/fuchsia/zircon/system/ulib/trace-provider/
H A Dhandler_impl.cpp95 auto handler = new TraceHandlerImpl(reinterpret_cast<void*>(buffer_ptr), local
99 status = handler->fifo_wait_.Begin(dispatcher);
103 delete handler;
107 status = trace_start_engine(dispatcher, handler, buffering_mode,
108 handler->buffer_, handler->buffer_num_bytes_);
112 delete handler;
116 // The handler will be destroyed in |TraceStopped()|.
/fuchsia/zircon/third_party/uapp/dash/src/
H A Derror.c61 struct jmploc *handler; variable in typeref:struct:jmploc
73 * just do a longjmp to the exception handler. The type of exception is
81 if (handler == NULL)
87 longjmp(handler->loc, 1);
H A Derror.h51 * jump locations. The global variable handler contains the location to
54 * exception handlers, the user should save the value of handler on entry
55 * to an inner scope, set handler to point to a jmploc structure for the
56 * inner scope, and restore handler on exit from the scope.
63 extern struct jmploc *handler;
/fuchsia/zircon/kernel/dev/interrupt/arm_gic/v2/
H A Darm_gicv2m_pcie.cpp42 int_handler handler,
44 arm_gicv2m_msi_register_handler(block, msi_id, handler, ctx);
H A Darm_gicv2.cpp283 struct int_handler_struct* handler = pdev_get_int_handler(vector); local
284 if (handler->handler) {
285 handler->handler(handler->arg);
/fuchsia/zircon/system/ulib/trace/
H A Drules.mk14 $(LOCAL_DIR)/handler.cpp \
/fuchsia/zircon/system/ulib/trace-engine/
H A Dengine.cpp5 #include <trace-engine/handler.h>
40 // This is the status that will be reported to the trace handler when the
52 // Trace handler.
168 trace_handler_t* handler,
173 ZX_DEBUG_ASSERT(handler);
210 .handler = &handle_event,
221 g_handler = handler;
223 g_context = new trace_context(buffer, buffer_num_bytes, buffering_mode, handler);
301 // This is called by the handler after it has saved a buffer.
344 trace_handler_t* handler; local
167 trace_start_engine(async_dispatcher_t* dispatcher, trace_handler_t* handler, trace_buffering_mode_t buffering_mode, void* buffer, size_t buffer_num_bytes) argument
[all...]
H A Dcontext_impl.h14 #include <trace-engine/handler.h>
31 trace_handler_t* handler);
47 trace_handler_t* handler() const { return handler_; } function in struct:trace_context
75 // This is called by the handler when it has been notified that a buffer
/fuchsia/zircon/kernel/dev/pcie/
H A Dpcie_irqs.cpp43 irq_.singleton_handler.handler = nullptr;
70 DEBUG_ASSERT(irq_.handlers[i].handler == nullptr);
89 SharedLegacyIrqHandler* handler = new (&ac) SharedLegacyIrqHandler(irq_id); local
91 TRACEF("Failed to create shared legacry IRQ handler for system IRQ ID %u\n", irq_id);
95 return fbl::AdoptRef(handler);
151 if (hstate->handler) {
153 irq_ret = hstate->handler(*dev, 0, hstate->ctx);
156 "handler has been registered by the driver. Force disabling the "
189 * device level. Then add this dev to the handler's list. If this was the
190 * first device added to the handler lis
651 RegisterIrqHandlerLocked(uint irq_id, pcie_irq_handler_fn_t handler, void* ctx) argument
762 RegisterIrqHandler(uint irq_id, pcie_irq_handler_fn_t handler, void* ctx) argument
935 auto handler = SharedLegacyIrqHandler::Create(irq_id); local
[all...]
/fuchsia/zircon/system/ulib/async-testutils/
H A Dtest_loop_dispatcher.cpp85 // In this rare condition, the wait failed. Since a dispatched handler will
184 task->handler(this, task, ZX_OK);
210 // wait's handler might try to extract another.
215 wait->handler(this, wait, ZX_OK, &packet.signal);
243 wait->handler(this, wait, ZX_ERR_CANCELED, nullptr);
247 task->handler(this, task, ZX_ERR_CANCELED);
251 task->handler(this, task, ZX_ERR_CANCELED);
/fuchsia/zircon/kernel/platform/pc/
H A Dplatform_pcie.cpp43 int_handler handler,
45 msi_register_handler(block, msi_id, handler, ctx);
/fuchsia/zircon/system/host/xdc-server/
H A Drules.mk12 $(LOCAL_DIR)/usb-handler.cpp \
/fuchsia/zircon/system/ulib/fs/
H A Dblock-txn.cpp15 BlockTxn::BlockTxn(TransactionHandler* handler) : handler_(handler) {} argument
/fuchsia/zircon/system/ulib/unittest/
H A Drules.mk14 $(LOCAL_DIR)/crash-handler.cpp \

Completed in 260 milliseconds

1234