/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/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 | 185 There is no need to free the model from the handler, it can be kept 195 /* The Attlist declaration handler is called for *each* attribute. So 197 generate multiple calls to this handler. The "default" parameter 210 /* The XML declaration handler is called for *both* XML declarations 250 1, 2 or 3 original parts on application level in the element handler 315 there is no applicable handler. This includes both characters that 318 construct which could be reported but for which no handler has been 322 character is not passed to the default handler. There are no 324 default handler: for example, a comment might be split between 370 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 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/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/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 70 ErrorHandler = handler; in install_fatal_error_handler() 91 llvm::fatal_error_handler_t handler = nullptr; in report_fatal_error() local 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 135 BadAllocErrorHandler = handler; in install_bad_alloc_error_handler() 223 LLVMFatalErrorHandler handler = in bindingsErrorHandler() local 225 handler(reason); in bindingsErrorHandler()
|
/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/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/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
H A D | xattr_compat.h | 57 fn(const struct xattr_handler *handler, struct dentry *dentry, \ 66 fn(const struct xattr_handler *handler, struct dentry *dentry, \ 82 fn(const struct xattr_handler *handler, struct mnt_idmap *user_ns, \ 97 fn(const struct xattr_handler *handler, struct user_namespace *user_ns, \ 111 fn(const struct xattr_handler *handler, struct dentry *dentry, \
|
/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()
|
/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; in svc_auth_reg()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ErrorHandling.h | 44 void install_fatal_error_handler(fatal_error_handler_t handler, 54 explicit ScopedFatalErrorHandler(fatal_error_handler_t handler, 56 install_fatal_error_handler(handler, user_data); 94 void install_bad_alloc_error_handler(fatal_error_handler_t handler,
|
/freebsd/crypto/heimdal/appl/telnet/telnet/ |
H A D | commands.c | 51 int (*handler)(); /* routine which executes command */ member 192 int (*handler)(); /* Routine to perform (for special ops) */ member 277 if (s->handler == send_help) { in sendcmd() 306 if (s->handler) { in sendcmd() 308 success += (*s->handler)((s->narg > 0) ? argv[i+1] : 0, in sendcmd() 574 int (*handler)(); /* routine to do actual setting */ member 776 if (c->handler) { in toggle() 777 retval &= (*c->handler)(-1); in toggle() 793 void (*handler)(); member 892 if (c->handler) in setcmd() [all …]
|