| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | zio_inject.c | 182 inject_handler_t *handler; in zio_handle_panic_injection() local 186 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_panic_injection() 187 handler = list_next(&inject_handlers, handler)) { in zio_handle_panic_injection() 189 if (spa != handler->zi_spa) in zio_handle_panic_injection() 192 if (handler->zi_record.zi_type == type && in zio_handle_panic_injection() 193 strcmp(tag, handler->zi_record.zi_func) == 0) { in zio_handle_panic_injection() 194 handler->zi_record.zi_match_count++; in zio_handle_panic_injection() 195 handler->zi_record.zi_inject_count++; in zio_handle_panic_injection() 212 inject_handler_t *handler; in zio_handle_decrypt_injection() local 216 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_decrypt_injection() [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 …]
|
| H A D | expat.h | 372 XML_SetEntityDeclHandler(XML_Parser parser, XML_EntityDeclHandler handler); 559 XML_SetStartElementHandler(XML_Parser parser, XML_StartElementHandler handler); 562 XML_SetEndElementHandler(XML_Parser parser, XML_EndElementHandler handler); 566 XML_CharacterDataHandler handler); 570 XML_ProcessingInstructionHandler handler); 572 XML_SetCommentHandler(XML_Parser parser, XML_CommentHandler handler); 592 XML_SetDefaultHandler(XML_Parser parser, XML_DefaultHandler handler); 599 XML_SetDefaultHandlerExpand(XML_Parser parser, XML_DefaultHandler handler); 614 XML_UnparsedEntityDeclHandler handler); 617 XML_SetNotationDeclHandler(XML_Parser parser, XML_NotationDeclHandler handler); [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/wpa/src/utils/ |
| 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.h | 90 int eloop_register_read_sock(int sock, eloop_sock_handler handler, 118 eloop_sock_handler handler, 154 eloop_event_handler handler, 180 eloop_timeout_handler handler, 194 int eloop_cancel_timeout(eloop_timeout_handler handler, 208 int eloop_cancel_timeout_one(eloop_timeout_handler handler, 222 int eloop_is_timeout_registered(eloop_timeout_handler handler, 239 eloop_timeout_handler handler, void *eloop_data, 256 eloop_timeout_handler handler, void *eloop_data, 272 int eloop_register_signal(int sig, eloop_signal_handler handler, [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/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/contrib/sendmail/libsm/ |
| H A D | signal.c | 39 sm_signal(sig, handler) in sm_signal() argument 41 sigfunc_t handler; 55 n.sa_sigaction = (void(*)(int, siginfo_t *, void *)) handler; 58 n.sa_handler = handler; 73 return signal(sig, handler); 75 return sigset(sig, handler); 85 n.sa_handler = handler; 115 sigfunc_t handler; 117 handler = sigset(sig, SIG_HOLD); 118 if (handler == SIG_ERR) [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 …]
|
| H A D | sig.c | 38 static sig_type handler[NSIG]; /* all start at SIG_DFL */ variable 74 Result = handler[sig - 1]; in sig_signal() 77 handler[sig - 1] = (sig_type) 0; in sig_signal() 79 handler[sig - 1] = fn; in sig_signal() 113 (*handler[sig])(sig + 1); in sig_Handle()
|
| /freebsd/contrib/pkgconf/doc/ |
| H A D | libpkgconf-client.rst | 26 …:param pkgconf_error_handler_func_t error_handler: An optional error handler to use for logging er… 27 :param void* error_handler_data: user data passed to optional error handler 35 …:param pkgconf_error_handler_func_t error_handler: An optional error handler to use for logging er… 36 :param void* error_handler_data: user data passed to optional error handler 95 Report an error to a client-registered error handler. 99 :return: true if the error handler processed the message, else false. 104 Report an error to a client-registered warn handler. 108 :return: true if the warn handler processed the message, else false. 113 Report a message to a client-registered trace handler. 120 :return: true if the trace handler processed the message, else false. [all …]
|
| /freebsd/usr.sbin/bhyve/amd64/ |
| H A D | inout.c | 58 inout_func_t handler; member 95 iop.handler = default_inout; in register_default_iohandler() 105 inout_func_t handler; in emulate_inout() local 120 handler = inout_handlers[port].handler; in emulate_inout() 122 if (handler == default_inout && in emulate_inout() 183 retval = handler(ctx, in, port, bytes, &val, arg); in emulate_inout() 222 retval = handler(ctx, in, port, bytes, &val, arg); in emulate_inout() 252 inout_handlers[iop->port].handler = iop->handler; in init_inout() 278 inout_handlers[i].handler = iop->handler; in register_inout()
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | interrupt.h | 59 request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, in request_irq() argument 63 return (lkpi_request_irq(NULL, irq, handler, NULL, flags, name, arg)); in request_irq() 67 request_threaded_irq(int irq, irq_handler_t handler, in request_threaded_irq() argument 72 return (lkpi_request_irq(NULL, irq, handler, thread_handler, in request_threaded_irq() 78 irq_handler_t handler, unsigned long flags, const char *name, void *arg) in devm_request_irq() argument 81 return (lkpi_request_irq(dev, irq, handler, NULL, flags, name, arg)); in devm_request_irq() 86 irq_handler_t handler, irq_handler_t thread_handler, in devm_request_threaded_irq() argument 90 return (lkpi_request_irq(dev, irq, handler, thread_handler, in devm_request_threaded_irq()
|
| /freebsd/sys/kern/ |
| H A D | kern_intr.c | 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() 622 ih->ih_handler = handler; in intr_event_add_handler() 650 while (ie->ie_thread == NULL && handler != NULL) { in intr_event_add_handler() 799 intr_handler_barrier(struct intr_handler *handler) in intr_handler_barrier() argument 803 ie = handler->ih_event; in intr_handler_barrier() 805 KASSERT((handler->ih_flags & IH_DEAD) == 0, in intr_handler_barrier() 812 if ((handler->ih_flags & IH_CHANGED) == 0) { in intr_handler_barrier() 813 handler->ih_flags |= IH_CHANGED; in intr_handler_barrier() 816 while ((handler->ih_flags & IH_CHANGED) != 0) in intr_handler_barrier() [all …]
|
| /freebsd/sys/xen/ |
| H A D | xen_intr.h | 63 driver_filter_t filter, driver_intr_t handler, void *arg, 87 u_int remote_domain, driver_filter_t filter, driver_intr_t handler, 112 driver_intr_t handler, void *arg, enum intr_type irqflags, 136 driver_filter_t filter, driver_intr_t handler, 226 driver_intr_t handler, void *arg, enum intr_type flags,
|
| /freebsd/sys/contrib/device-tree/Bindings/power/reset/ |
| H A D | gpio-restart.txt | 2 handler. 6 handler. If the optional properties 'open-source' is not found, the GPIO line 10 When the system is restarted, the restart handler will be invoked in 18 restart handler completes allowing other restart handlers to be attempted. 33 0: Restart handler of last resort, with limited restart 35 128: Default restart handler; use if no other restart handler is 38 255: Highest priority restart handler, will preempt all other
|
| /freebsd/sys/contrib/libsodium/src/libsodium/sodium/ |
| H A D | core.c | 206 void (*handler)(void); in sodium_misuse() local 210 handler = _misuse_handler; in sodium_misuse() 211 if (handler != NULL) { in sodium_misuse() 212 handler(); in sodium_misuse() 221 sodium_set_misuse_handler(void (*handler)(void)) in sodium_set_misuse_handler() 226 _misuse_handler = handler; in sodium_set_misuse_handler()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | ErrorHandling.cpp | 77 void llvm::install_fatal_error_handler(fatal_error_handler_t handler, in install_fatal_error_handler() argument 83 ErrorHandler = handler; in install_fatal_error_handler() 104 llvm::fatal_error_handler_t handler = nullptr; in report_fatal_error() local 112 handler = ErrorHandler; in report_fatal_error() 116 if (handler) { in report_fatal_error() 117 handler(handlerData, Reason.str().c_str(), GenCrashDiag); in report_fatal_error() 159 void llvm::install_bad_alloc_error_handler(fatal_error_handler_t handler, in install_bad_alloc_error_handler() argument 166 BadAllocErrorHandler = handler; in install_bad_alloc_error_handler() 254 LLVMFatalErrorHandler handler = in bindingsErrorHandler() local 256 handler(reason); in bindingsErrorHandler()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors_libdispatch.cpp | 416 dispatch_source_t source, dispatch_block_t handler) { in TSAN_INTERCEPTOR() argument 417 SCOPED_TSAN_INTERCEPTOR(dispatch_source_set_event_handler, source, handler); in TSAN_INTERCEPTOR() 418 if (handler == nullptr) in TSAN_INTERCEPTOR() 422 q, handler, &invoke_block, false, false, false, 0 }; in TSAN_INTERCEPTOR() 424 new_context.orig_context = handler; // To explicitly capture "handler". in TSAN_INTERCEPTOR() 434 dispatch_source_t source, dispatch_function_t handler) { in TSAN_INTERCEPTOR() argument 435 SCOPED_TSAN_INTERCEPTOR(dispatch_source_set_event_handler_f, source, handler); in TSAN_INTERCEPTOR() 436 if (handler == nullptr) in TSAN_INTERCEPTOR() 439 handler(dispatch_get_context(source)); in TSAN_INTERCEPTOR() 445 dispatch_source_t source, dispatch_block_t handler) { in TSAN_INTERCEPTOR() argument [all …]
|
| /freebsd/lib/libc/rpc/ |
| H A D | svc_auth.c | 67 enum auth_stat (*handler)(struct svc_req *, struct rpc_msg *); member 132 as = (*asp->handler)(rqst, msg); in _authenticate() 181 enum auth_stat (*handler)(struct svc_req *, struct rpc_msg *)) in svc_auth_reg() 212 asp->handler = handler;
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | pci_passthru.c | 761 struct passthru_bar_handler *handler; in passthru_set_bar_handler() local 779 TAILQ_FOREACH(handler, &sc->psc_bar_handler[baridx], chain) { in passthru_set_bar_handler() 780 if (handler->off < handler_new->off) { in passthru_set_bar_handler() 781 assert(handler->off + handler->size < handler_new->off); in passthru_set_bar_handler() 784 assert(handler->off > handler_new->off + handler_new->size); in passthru_set_bar_handler() 785 TAILQ_INSERT_BEFORE(handler, handler_new, chain); in passthru_set_bar_handler() 1227 struct passthru_bar_handler *handler; in passthru_write() local 1237 TAILQ_FOREACH(handler, &sc->psc_bar_handler[baridx], chain) { in passthru_write() 1238 if (offset >= handler->off + handler->size) { in passthru_write() 1240 } else if (offset < handler->off) { in passthru_write() [all …]
|
| /freebsd/bin/sh/ |
| H A D | eval.c | 457 savehandler = handler; in evalredir() 461 handler = savehandler; in evalredir() 468 longjmp(handler->loc, 1); in evalredir() 471 handler = &jmploc; in evalredir() 478 handler = savehandler; in evalredir() 498 savehandler = handler; in exphere() 502 handler = &jmploc; in exphere() 507 handler = savehandler; in exphere() 513 longjmp(handler->loc, 1); in exphere() 662 savehandler = handler; in evalbackcmd() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_signal_interceptors.inc | 27 #define SIGNAL_INTERCEPTOR_SIGNAL_IMPL(func, signum, handler) \ 28 { return REAL(func)(signum, handler); } 45 INTERCEPTOR(uptr, bsd_signal, int signum, uptr handler) { 48 SIGNAL_INTERCEPTOR_SIGNAL_IMPL(bsd_signal, signum, handler); 56 INTERCEPTOR(uptr, signal, int signum, uptr handler) { 60 SIGNAL_INTERCEPTOR_SIGNAL_IMPL(signal, signum, handler);
|
| /freebsd/contrib/ntp/libntp/ |
| H A D | syssignal.c | 137 RETSIGTYPE (*handler)(int); in set_ctrl_c_hook() local 140 handler = SIG_DFL; in set_ctrl_c_hook() 141 signal_no_reset(SIGINT, handler); in set_ctrl_c_hook() 145 handler = &sigint_handler; in set_ctrl_c_hook() 146 signal_no_reset(SIGINT, handler); in set_ctrl_c_hook()
|