/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zio_inject.c | 56 * Data describing each zinject handler registered on the system, and 57 * contains the list node linking the handler in the global zinject 58 * handler list. 77 * This protects insertion into, and traversal of, the inject handler 79 * handler is inserted or removed from the list, this lock should be 101 * Used to assign unique identifying numbers to each new zinject handler. 181 inject_handler_t *handler; in zio_handle_panic_injection() 185 for (handler = list_head(&inject_handlers); handler != NULL; 186 handler 167 inject_handler_t *handler; zio_handle_panic_injection() local 194 inject_handler_t *handler; zio_handle_decrypt_injection() local 255 inject_handler_t *handler; zio_handle_fault_injection() local 306 inject_handler_t *handler; zio_handle_label_injection() local 363 inject_handler_t *handler; zio_handle_device_injection_impl() local 472 inject_handler_t *handler; zio_handle_ignored_writes() local 507 inject_handler_t *handler; spa_handle_ignored_writes() local 597 for (inject_handler_t *handler = list_head(&inject_handlers); zio_handle_io_delay() local 771 inject_handler_t *handler; zio_inject_fault() local 880 inject_handler_t *handler; zio_inject_list_next() local 913 inject_handler_t *handler; zio_clear_fault() local [all...] |
/freebsd/sys/xen/ |
H A D | xen_intr.h | 40 * Main handler for Xen event channel interrupts 46 * handler. 50 * \param filter An interrupt filter handler. Specify NULL 51 * to always dispatch to the ithread handler. 52 * \param handler An interrupt ithread handler. Optional (can 55 * \param arg Argument to present to both filter and handler. 56 * \param irqflags Interrupt handler flags. See sys/bus.h. 63 driver_filter_t filter, driver_intr_t handler, void *arg, 69 * the specified interrupt handler. 74 * \param filter An interrupt filter handler. Specify NULL [all …]
|
/freebsd/sys/contrib/dev/acpica/components/events/ |
H A D | evxface.c | 184 * HandlerType - The type of handler: 185 * ACPI_SYSTEM_NOTIFY: System Handler (00-7F) 186 * ACPI_DEVICE_NOTIFY: Device Handler (80-FF) 188 * Handler - Address of the handler 189 * Context - Value passed to the handler on each GPE 193 * DESCRIPTION: Install a handler for notifications on an ACPI Device, 196 * NOTES: The Root namespace object may have only one handler for each 198 * may have one device notify handler, and multiple system notify 207 ACPI_NOTIFY_HANDLER Handler, in AcpiInstallNotifyHandler() argument 222 if ((!Device) || (!Handler) || (!HandlerType) || in AcpiInstallNotifyHandler() [all …]
|
H A D | evhandler.c | 220 * We install the default PCI config space handler at the root so that in AcpiEvInstallRegionHandlers() 227 * NOTE: We ignore AE_ALREADY_EXISTS because this means that a handler in AcpiEvInstallRegionHandlers() 266 * RETURN: TRUE if default handler is installed, FALSE otherwise 268 * DESCRIPTION: Check if the default handler is installed for the requested 287 HandlerObj = ObjDesc->CommonNotify.Handler; in AcpiEvHasDefaultHandler() 316 * DESCRIPTION: This routine installs an address handler into objects that are 319 * If the Object is a Device, and the device has a handler of 322 * This is because the existing handler is closer in proximity 386 /* Check if this Device already has a handler for this address space */ in AcpiEvInstallHandler() 389 HandlerObj->AddressSpace.SpaceId, ObjDesc->CommonNotify.Handler); in AcpiEvInstallHandler() [all …]
|
H A D | evxfregn.c | 170 * Handler - Address of the handler 172 * Context - Value passed to the handler on each access 177 * DESCRIPTION: Install a handler for all OpRegions of a given SpaceId. 193 ACPI_ADR_SPACE_HANDLER Handler, in AcpiInstallAddressSpaceHandlerInternal() argument 227 /* Install the handler for all Regions for this Space ID */ in AcpiInstallAddressSpaceHandlerInternal() 230 Node, SpaceId, Handler, Setup, Context); in AcpiInstallAddressSpaceHandlerInternal() 252 ACPI_ADR_SPACE_HANDLER Handler, in AcpiInstallAddressSpaceHandler() argument 256 return AcpiInstallAddressSpaceHandlerInternal (Device, SpaceId, Handler, Setup, Context, TRUE); in AcpiInstallAddressSpaceHandler() 265 ACPI_ADR_SPACE_HANDLER Handler, in ACPI_EXPORT_SYMBOL() 269 return AcpiInstallAddressSpaceHandlerInternal (Device, SpaceId, Handler, Setup, Context, FALSE); in ACPI_EXPORT_SYMBOL() [all …]
|
H A D | evregion.c | 189 * an installed default region handler. 215 * Make sure the installed handler is the DEFAULT handler. If not the in AcpiEvInitializeOpRegions() 217 * handler was installed) in AcpiEvInitializeOpRegions() 247 * a previously installed handler. 267 ACPI_ADR_SPACE_HANDLER Handler; in AcpiEvAddressSpaceDispatch() local 287 /* Ensure that there is a handler associated with this region */ in AcpiEvAddressSpaceDispatch() 289 HandlerDesc = RegionObj->Region.Handler; in AcpiEvAddressSpaceDispatch() 293 "No handler for Region [%4.4s] (%p) [%s]", in AcpiEvAddressSpaceDispatch() 372 * the handler for this particular region in AcpiEvAddressSpaceDispatch() 381 /* We have everything we need, we can invoke the address space handler */ in AcpiEvAddressSpaceDispatch() [all …]
|
/freebsd/contrib/wpa/src/utils/ |
H A D | eloop.h | 77 * eloop_register_read_sock - Register handler for read events 79 * @handler: Callback function to be called when data is available for reading 84 * Register a read socket notifier for the given file descriptor. The handler 86 * socket. The handler function is responsible for clearing the event after 87 * having processed it in order to avoid eloop from calling the handler again 90 int eloop_register_read_sock(int sock, eloop_sock_handler handler, 94 * eloop_unregister_read_sock - Unregister handler for read events 103 * eloop_register_sock - Register handler for socket events 106 * @handler: Callback function to be called when the event is triggered 112 * handler function will be called whenever the that event is triggered for the [all …]
|
H A D | eloop_win.c | 21 eloop_sock_handler handler; member 28 eloop_event_handler handler; member 37 eloop_timeout_handler handler; member 43 eloop_signal_handler handler; member 113 int eloop_register_read_sock(int sock, eloop_sock_handler handler, in eloop_register_read_sock() argument 144 tmp[eloop.reader_count].handler = handler; in eloop_register_read_sock() 184 eloop_event_handler handler, in eloop_register_event() argument 203 tmp[eloop.event_count].handler = handler; in eloop_register_event() 238 eloop_timeout_handler handler, in eloop_register_timeout() argument 270 timeout->handler = handler; in eloop_register_timeout() [all …]
|
H A D | eloop.c | 46 eloop_sock_handler handler; member 57 eloop_timeout_handler handler; member 66 eloop_signal_handler handler; member 260 int sock, eloop_sock_handler handler, in eloop_sock_table_add_sock() argument 366 tmp[table->count].handler = handler; in eloop_sock_table_add_sock() 541 table->table[i].handler(table->table[i].sock, in eloop_sock_table_dispatch_table() 603 table->table[i].handler(table->table[i].sock, in eloop_sock_table_dispatch() 623 if (table->handler == NULL) in eloop_sock_table_dispatch() 625 table->handler(table->sock, table->eloop_data, in eloop_sock_table_dispatch() 645 if (table->handler == NULL) in eloop_sock_table_dispatch() [all …]
|
/freebsd/share/man/man9/ |
H A D | intr_event.9 | 40 .Nd "kernel interrupt handler and thread API" 50 .Fa "driver_intr_t handler" 89 invoked before and after the handler functions themselves. 91 An interrupt handler contains two distinct handler functions: 95 .Em handler . 101 .Em handler . 102 Both functions are optional; each interrupt handler may choose to register a 103 filter, a thread handler, or both. 104 Each interrupt handler also consists of a name, 109 .Em handler [all …]
|
H A D | swi.9 | 41 .Fa "driver_intr_t handler" 66 function is used to add a new software interrupt handler to a specified 74 interrupt handlers, then this handler will be attached to that event. 83 argument is used to associate a name with a specific handler. 85 handler is attached to. 87 .Fa handler 88 argument is the function that will be executed when the handler is scheduled 93 .Fa handler 97 value specifies the priority of this interrupt handler relative to other 102 argument is used to specify the attributes of a handler such as [all …]
|
H A D | EVENTHANDLER.9 | 83 may be used if the handler does not have a specific priority 93 list of event handler lists. 96 This macro declares an event handler named by argument 105 with event handler 118 with event handler 135 from the event handler named by argument 143 from the event handler named by argument 147 To remove a handler function from within that function, use this 151 handler 159 This macro defines a reference to an event handler list named by [all …]
|
/freebsd/contrib/expat/lib/ |
H A D | xmlrole.c | 116 ((state)->handler \ 119 # define setTopLevel(state) ((state)->handler = internalSubset) 145 state->handler = prolog1; in prolog0() 148 state->handler = prolog1; in prolog0() 151 state->handler = prolog1; in prolog0() 154 state->handler = prolog1; in prolog0() 162 state->handler = doctype0; in prolog0() 165 state->handler = error; in prolog0() 194 state->handler = doctype0; in prolog1() 197 state->handler = error; in prolog1() [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | gas_server.c | 44 struct gas_server_handler *handler; member 71 response->handler->status_cb(response->handler->ctx, in gas_server_response_timeout() 95 struct gas_server_handler *handler = response->handler; in gas_server_send_resp() local 97 size_t hdr_len = 24 + 2 + 5 + 3 + handler->adv_proto_id_len + 2; in gas_server_send_resp() 124 handler->adv_proto_id_len + in gas_server_send_resp() 135 wpabuf_put_u8(resp, 1 + handler->adv_proto_id_len); /* Length */ in gas_server_send_resp() 138 wpabuf_put_data(resp, handler->adv_proto_id, handler->adv_proto_id_len); in gas_server_send_resp() 173 struct gas_server_handler *handler; in gas_server_rx_initial_req() local 226 dl_list_for_each(handler, &gas->handlers, struct gas_server_handler, in gas_server_rx_initial_req() 230 if (adv_proto_len < 1 + handler->adv_proto_id_len || in gas_server_rx_initial_req() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan_minimal/ |
H A D | ubsan_minimal_handlers.cpp | 116 #define HANDLER(name, msg) \ macro 120 HANDLER(type_mismatch, "type-mismatch") 121 HANDLER(alignment_assumption, "alignment-assumption") 122 HANDLER(add_overflow, "add-overflow") 123 HANDLER(sub_overflow, "sub-overflow") 124 HANDLER(mul_overflow, "mul-overflow") 125 HANDLER(negate_overflow, "negate-overflow") 126 HANDLER(divrem_overflow, "divrem-overflow") 127 HANDLER(shift_out_of_bounds, "shift-out-of-bounds") 128 HANDLER(out_of_bounds, "out-of-bounds") [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ErrorHandling.h | 23 /// An error handler callback. 28 /// install_fatal_error_handler - Installs a new error handler to be used 31 /// If no error handler is installed the default is to print the error message 32 /// to stderr, and call exit(1). If an error handler is installed then it is 33 /// the handler's responsibility to log the message, it will no longer be 34 /// printed to stderr. If the error handler returns, then exit(1) will be 37 /// It is dangerous to naively use an error handler which throws an exception. 43 /// handler. 44 void install_fatal_error_handler(fatal_error_handler_t handler, 54 explicit ScopedFatalErrorHandler(fatal_error_handler_t handler, [all …]
|
/freebsd/lib/libc/stdlib/ |
H A D | set_constraint_handler_s.3 | 39 .Fa "constraint_handler_t handler" 41 .Ss Handler Prototype 64 function sets the runtime-constraint violation handler to be 65 .Fa handler . 67 The runtime-constraint handler is the callback function invoked when a library 79 If the function calling the handler has a return type declared as 87 Only the most recent handler registered with 91 The implementation has a default constraint handler that is used if no calls to 96 .Fa handler 101 pointer, the default handler becomes the current constraint handler. [all …]
|
/freebsd/tests/ |
H A D | conftest.py | 90 handler = set_handler(config) 99 handler.setup_configure() 104 handler = get_handler() 105 return handler.expand_tests(collector, name, obj) 111 handler = get_handler() 112 handler.modify_tests(items, config) 117 handler = get_handler() 118 handler.list_tests(session.items) 123 handler = get_handler() 124 handler.setup_method_pre(item) [all …]
|
/freebsd/lib/libsys/ |
H A D | sigaction.2 | 59 .Em handler 73 This may be changed, on a per-handler basis, 120 and the signal handler is invoked. 121 The call to the handler 129 installed for the duration of the process' signal handler 135 the signal mask associated with the handler to be invoked. 147 or a handler routine) and mask to be used when delivering the specified signal. 167 Once a signal handler is installed, it normally remains installed 236 not masked during the execution of the handler. 238 If this bit is set, the handler is reset back to [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | ErrorHandling.cpp | 64 void llvm::install_fatal_error_handler(fatal_error_handler_t handler, in install_fatal_error_handler() argument 69 assert(!ErrorHandler && "Error handler already registered!\n"); in install_fatal_error_handler() 70 ErrorHandler = handler; in install_fatal_error_handler() 91 llvm::fatal_error_handler_t handler = nullptr; in report_fatal_error() local 94 // Only acquire the mutex while reading the handler, so as not to invoke a in report_fatal_error() 99 handler = ErrorHandler; in report_fatal_error() 103 if (handler) { in report_fatal_error() 104 handler(handlerData, Reason.str().c_str(), GenCrashDiag); in report_fatal_error() 128 void llvm::install_bad_alloc_error_handler(fatal_error_handler_t handler, in install_bad_alloc_error_handler() argument 134 "Bad alloc error handler already registered!\n"); in install_bad_alloc_error_handler() [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | physical.c | 179 p->handler = NULL; in physical_Create() 260 if (p->handler && p->handler->speed) in physical_GetSpeed() 261 return (*p->handler->speed)(p); in physical_GetSpeed() 280 if (p->handler && p->handler->raw) in physical_Raw() 281 return (*p->handler->raw)(p); in physical_Raw() 289 if (p->handler && p->handler->offline) in physical_Offline() 290 (*p->handler->offline)(p); in physical_Offline() 333 if (p->handler && p->handler->cooked) in physical_Close() 334 (*p->handler->cooked)(p); in physical_Close() 370 if (p->handler && p->handler->destroy) in physical_Close() [all …]
|
/freebsd/contrib/kyua/utils/signals/ |
H A D | programmer.cpp | 56 /// The signal handler that we replaced; to be restored on unprogramming. 77 /// Programs a signal handler. 79 /// \param signo The signal for which to install the handler. 80 /// \param handler The handler to install. 83 signals::programmer::programmer(const int signo, const handler_type handler) : in programmer() argument 87 sa.sa_handler = handler; in programmer() 93 throw system_error(F("Could not install handler for signal %s") % in programmer() 100 /// Destructor; unprograms the signal handler if still programmed. 117 /// Unprograms the signal handler. 119 /// \pre The signal handler is programmed (i.e. this can only be called once). [all …]
|
/freebsd/sys/riscv/riscv/ |
H A D | support.S | 45 SET_FAULT_HANDLER(x0, a1) /* Reset the handler function */ 58 la a6, fsu_fault /* Load the fault handler */ 67 SET_FAULT_HANDLER(x0, a6) /* Reset the fault handler */ 79 la a6, fsu_fault /* Load the fault handler */ 88 SET_FAULT_HANDLER(x0, a6) /* Reset the fault handler */ 100 la a6, fsu_fault /* Load the fault handler */ 105 SET_FAULT_HANDLER(x0, a1) /* Reset the fault handler */ 115 la a6, fsu_fault /* Load the fault handler */ 120 SET_FAULT_HANDLER(x0, a1) /* Reset the fault handler */ 130 la a6, fsu_fault /* Load the fault handler */ [all …]
|
/freebsd/contrib/expat/doc/ |
H A D | reference.html | 112 <li><a href="#setting">Handler Setting Functions</a> 196 handler) functions with the parser and then start feeding it the 198 call the appropriate handler for that part (if you've registered one.) 219 <dd>Set handler for text.</dd> 232 above functions (it doesn't need to set a character handler.) The 235 parent element that contains them. The start handler does all the 259 } /* End of start handler */ 268 } /* End of end handler */ 529 information onto the stack in the start handler and you pop it off in 530 the end handler [all...] |
/freebsd/sys/kern/ |
H A D | kern_intr.c | 100 0, "Maximum interrupt handler executions without re-entering epoch(9)"); 240 * If there is only one handler and its name is too long, just copy in in intr_event_update() 603 driver_filter_t filter, driver_intr_t handler, void *arg, u_char pri, in intr_event_add_handler() argument 610 if (ie == NULL || name == NULL || (handler == NULL && filter == NULL)) in intr_event_add_handler() 619 /* Allocate and populate an interrupt handler structure. */ in intr_event_add_handler() 622 ih->ih_handler = handler; in intr_event_add_handler() 636 /* We can only have one exclusive or sleepable handler in a event. */ in intr_event_add_handler() 650 while (ie->ie_thread == NULL && handler != NULL) { in intr_event_add_handler() 666 /* Add the new handler to the event in priority order. */ in intr_event_add_handler() 686 * interrupt handler. [all …]
|