Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 693) sorted by relevance

12345678910>>...28

/freebsd-src/sys/contrib/openzfs/module/zfs/
H A Dzio_inject.c56 * 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; in zio_handle_panic_injection()
186 handler in zio_handle_panic_injection()
169 inject_handler_t *handler; zio_handle_panic_injection() local
196 inject_handler_t *handler; zio_handle_decrypt_injection() local
257 inject_handler_t *handler; zio_handle_fault_injection() local
308 inject_handler_t *handler; zio_handle_label_injection() local
365 inject_handler_t *handler; zio_handle_device_injection_impl() local
474 inject_handler_t *handler; zio_handle_ignored_writes() local
509 inject_handler_t *handler; spa_handle_ignored_writes() local
599 for (inject_handler_t *handler = list_head(&inject_handlers); zio_handle_io_delay() local
713 inject_handler_t *handler; zio_handle_pool_delay() local
830 for (inject_handler_t *handler = list_head(&inject_handlers); zio_pool_handler_exists() local
854 inject_handler_t *handler; zio_inject_fault() local
994 inject_handler_t *handler; zio_inject_list_next() local
1031 inject_handler_t *handler; zio_clear_fault() local
[all...]
/freebsd-src/contrib/expat/lib/
H A Dxmlrole.c116 ((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 Dexpat.h185 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-src/contrib/wpa/src/common/
H A Dgas_server.c44 struct gas_server_handler *handler;
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()
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 in gas_server_send_resp()
43 struct gas_server_handler *handler; global() member
89 gas_server_send_resp(struct gas_server * gas,struct gas_server_handler * handler,struct gas_server_response * response,const u8 * da,int freq,u8 dialog_token,struct wpabuf * query_resp,u16 comeback_delay) gas_server_send_resp() argument
171 struct gas_server_handler *handler; gas_server_rx_initial_req() local
258 struct gas_server_handler *handler = response->handler; gas_server_handle_rx_comeback_req() local
528 struct gas_server_handler *handler, *tmp; gas_server_deinit() local
560 struct gas_server_handler *handler; gas_server_register() local
[all...]
/freebsd-src/contrib/wpa/src/utils/
H A Deloop_win.c21 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 Deloop.h90 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 Deloop.c46 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-src/tests/
H A Dconftest.py90 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-src/contrib/sendmail/libsm/
H A Dsignal.c39 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-src/usr.sbin/ppp/
H A Dphysical.c179 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 Dsig.c38 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-src/usr.sbin/bhyve/amd64/
H A Dinout.c58 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-src/sys/compat/linuxkpi/common/include/linux/
H A Dinterrupt.h59 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-src/sys/kern/
H A Dkern_intr.c100 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()
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 in intr_event_describe_handler()
599 intr_event_add_handler(struct intr_event * ie,const char * name,driver_filter_t filter,driver_intr_t handler,void * arg,u_char pri,enum intr_type flags,void ** cookiep) intr_event_add_handler() argument
787 intr_handler_barrier(struct intr_handler * handler) intr_handler_barrier() argument
850 struct intr_handler *handler = (struct intr_handler *)cookie; intr_event_remove_handler() local
932 struct intr_handler *handler = (struct intr_handler *)cookie; intr_event_suspend_handler() local
951 struct intr_handler *handler = (struct intr_handler *)cookie; intr_event_resume_handler() local
1056 swi_add(struct intr_event ** eventp,const char * name,driver_intr_t handler,void * arg,int pri,enum intr_type flags,void ** cookiep) swi_add() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Support/
H A DErrorHandling.cpp64 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 alread in install_bad_alloc_error_handler()
222 LLVMFatalErrorHandler handler = bindingsErrorHandler() local
[all...]
/freebsd-src/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dxattr_compat.h57 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-src/sys/xen/
H A Dxen_intr.h63 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-src/sys/contrib/device-tree/Bindings/power/reset/
H A Dgpio-restart.txt2 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-src/sys/contrib/libsodium/src/libsodium/sodium/
H A Dcore.c206 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-src/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_libdispatch.cpp416 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-src/contrib/llvm-project/llvm/include/llvm/Support/
H A DErrorHandling.h44 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-src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_signal_interceptors.inc27 #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-src/lib/libc/rpc/
H A Dsvc_auth.c67 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-src/contrib/ntp/libntp/
H A Dsyssignal.c137 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-src/contrib/netbsd-tests/lib/libc/gen/
H A Dt_assert.c57 static void handler(int);
60 handler(int signo) in handler() function
87 sa.sa_handler = handler; in ATF_TC_BODY()
125 sa.sa_handler = handler; in ATF_TC_BODY()

12345678910>>...28