| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | zio_inject.c | 47 * Data describing each zinject handler registered on the system, and 48 * contains the list node linking the handler in the global zinject 49 * handler list. 68 * This protects insertion into, and traversal of, the inject handler 70 * handler is inserted or removed from the list, this lock should be 92 * Used to assign unique identifying numbers to each new zinject handler. 172 inject_handler_t *handler; in zio_handle_panic_injection() local 176 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_panic_injection() 177 handler in zio_handle_panic_injection() 202 inject_handler_t *handler; zio_handle_decrypt_injection() local 263 inject_handler_t *handler; zio_handle_fault_injection() local 314 inject_handler_t *handler; zio_handle_label_injection() local 398 inject_handler_t *handler; zio_handle_device_injection_impl() local 514 inject_handler_t *handler; zio_handle_ignored_writes() local 553 inject_handler_t *handler; spa_handle_ignored_writes() local 646 for (inject_handler_t *handler = list_head(&inject_handlers); zio_handle_io_delay() local 764 inject_handler_t *handler; zio_handle_pool_delay() local 826 inject_handler_t *handler; zio_handle_ready_delay() local 921 for (inject_handler_t *handler = list_head(&inject_handlers); zio_pool_handler_exists() local 945 inject_handler_t *handler; zio_inject_fault() local 1085 inject_handler_t *handler; zio_inject_list_next() local 1122 inject_handler_t *handler; zio_clear_fault() local [all...] |
| /freebsd/contrib/expat/lib/ |
| H A D | xmlrole.c | 118 ((state)->handler \ 121 # define setTopLevel(state) ((state)->handler = internalSubset) 146 state->handler = prolog1; in prolog0() 149 state->handler = prolog1; in prolog0() 152 state->handler = prolog1; in prolog0() 155 state->handler = prolog1; in prolog0() 163 state->handler = doctype0; in prolog0() 166 state->handler = error; in prolog0() 195 state->handler = doctype0; in prolog1() 198 state->handler = error; in prolog1() [all …]
|
| H A D | expat.h | 210 There is no need to free the model from the handler, it can be kept 220 /* The Attlist declaration handler is called for *each* attribute. So 222 generate multiple calls to this handler. The "default" parameter 235 /* The XML declaration handler is called for *both* XML declarations 275 1, 2 or 3 original parts on application level in the element handler 340 there is no applicable handler. This includes both characters that 343 construct which could be reported but for which no handler has been 347 character is not passed to the default handler. There are no 349 default handler: for example, a comment might be split between 395 XML_SetEntityDeclHandler(XML_Parser parser, XML_EntityDeclHandler handler); [all...] |
| /freebsd/contrib/wpa/src/common/ |
| H A D | gas_server.c | 44 struct gas_server_handler *handler; member 83 response->handler->status_cb(response->handler->ctx, in gas_server_response_timeout() 107 struct gas_server_handler *handler = response->handler; in gas_server_send_resp() local 109 size_t hdr_len = 24 + 2 + 5 + 3 + handler->adv_proto_id_len + 2; in gas_server_send_resp() 136 handler->adv_proto_id_len + in gas_server_send_resp() 147 wpabuf_put_u8(resp, 1 + handler->adv_proto_id_len); /* Length */ in gas_server_send_resp() 150 wpabuf_put_data(resp, handler->adv_proto_id, handler->adv_proto_id_len); in gas_server_send_resp() 185 struct gas_server_handler *handler; in gas_server_rx_initial_req() local 238 dl_list_for_each(handler, &gas->handlers, struct gas_server_handler, in gas_server_rx_initial_req() 242 if (adv_proto_len < 1 + handler->adv_proto_id_len || in gas_server_rx_initial_req() [all …]
|
| H A D | proc_coord.c | 313 struct proc_coord_handler *handler, *h_tmp; in proc_coord_receive() local 454 dl_list_for_each_safe(handler, h_tmp, &pc->handlers, in proc_coord_receive() 456 if (handler->cb(handler->cb_ctx, pid, hdr.msg_type, in proc_coord_receive() 713 struct proc_coord_handler *handler; in proc_coord_register_handler() local 715 handler = os_zalloc(sizeof(*handler)); in proc_coord_register_handler() 716 if (!handler) in proc_coord_register_handler() 719 handler->cb = cb; in proc_coord_register_handler() 720 handler->cb_ctx = cb_ctx; in proc_coord_register_handler() 721 dl_list_add(&pc->handlers, &handler->list); in proc_coord_register_handler() 729 struct proc_coord_handler *handler; in proc_coord_unregister_handler() local [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/kyua/engine/prepare/ |
| H A D | prepare.cpp | 39 static std::vector< std::shared_ptr< prepare::handler > > _handlers = { 40 std::shared_ptr< prepare::handler >(new prepare::prepare_all()) 45 prepare::register_handler(const std::shared_ptr< handler > handler) in register_handler() argument 47 _handlers.push_back(handler); in register_handler() 51 const std::vector< std::shared_ptr< prepare::handler > > 65 std::shared_ptr< prepare::handler > handler = nullptr; in run() local 68 handler = h; in run() 72 if (handler == nullptr) { in run() 77 if (handler->exec(ui, cmdline, user_config) != 0) in run()
|
| H A D | prepare.hpp | 51 class handler { class 54 handler() {} in handler() function in engine::prepare::handler 57 virtual ~handler() {} in ~handler() 81 void register_handler(const std::shared_ptr< handler > handler); 87 const std::vector< std::shared_ptr< handler > > handlers();
|
| /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/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/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/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/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;
|