Home
last modified time | relevance | path

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

123456789

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_inject.c171 handler = list_next(&inject_handlers, handler)) { in zio_handle_panic_injection()
230 handler = list_next(&inject_handlers, handler)) { in zio_handle_decrypt_injection()
272 handler = list_next(&inject_handlers, handler)) { in zio_handle_fault_injection()
314 handler = list_next(&inject_handlers, handler)) { in zio_handle_label_injection()
362 handler = list_next(&inject_handlers, handler)) { in zio_handle_device_injection()
431 handler = list_next(&inject_handlers, handler)) { in zio_handle_ignored_writes()
469 handler = list_next(&inject_handlers, handler)) { in spa_handle_ignored_writes()
551 handler != NULL; handler = list_next(&inject_handlers, handler)) { in zio_handle_io_delay()
604 handler->zi_lanes[handler->zi_next_lane]; in zio_handle_io_delay()
836 handler = list_next(&inject_handlers, handler)) in zio_inject_list_next()
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dinout.c75 inout_func_t handler; member
114 iop.handler = default_inout; in register_default_iohandler()
122 struct inout_handler handler; in emulate_inout() local
134 handler = inout_handlers[inout->port]; in emulate_inout()
135 hfunc = handler.handler; in emulate_inout()
136 harg = handler.arg; in emulate_inout()
143 if (!(handler.flags & IOPORT_F_IN)) in emulate_inout()
146 if (!(handler.flags & IOPORT_F_OUT)) in emulate_inout()
172 inout_handlers[iop->port].handler = iop->handler; in init_inout()
198 inout_handlers[i].handler = iop->handler; in register_inout()
H A Dpci_lpc.h39 lpc_write_dsdt_t handler; member
42 #define LPC_DSDT(handler) \ argument
44 (handler), \
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dsignal.c39 sm_signal(sig, handler) in sm_signal() argument
41 sigfunc_t 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;
118 if (handler == SIG_ERR)
121 return handler == SIG_HOLD;
154 sigfunc_t handler;
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_hca.c271 ASSERT(handler != NULL); in sol_uverbs_ib_register_event_handler()
272 ASSERT(handler->hca != NULL); in sol_uverbs_ib_register_event_handler()
274 mutex_enter(&handler->hca->event_handler_lock); in sol_uverbs_ib_register_event_handler()
275 llist_head_init(&handler->list, handler); in sol_uverbs_ib_register_event_handler()
276 llist_add_tail(&handler->list, &handler->hca->event_handler_list); in sol_uverbs_ib_register_event_handler()
277 mutex_exit(&handler->hca->event_handler_lock); in sol_uverbs_ib_register_event_handler()
297 ASSERT(handler != NULL); in sol_uverbs_ib_unregister_event_handler()
298 ASSERT(handler->hca != NULL); in sol_uverbs_ib_unregister_event_handler()
300 mutex_enter(&handler->hca->event_handler_lock); in sol_uverbs_ib_unregister_event_handler()
301 llist_del(&handler->list); in sol_uverbs_ib_unregister_event_handler()
[all …]
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo.c155 DevinfoDevHandler *handler; in devinfo_add_node() local
164 handler = devinfo_handlers[i]; in devinfo_add_node()
165 d = handler->add (parent, node, devfs_path, device_type); in devinfo_add_node()
185 hotplug_event->un.devfs.handler = handler; in devinfo_hotplug_enqueue()
203 devinfo_remove_enqueue(gchar *devfs_path, DevinfoDevHandler *handler) in devinfo_remove_enqueue() argument
245 DevinfoDevHandler *handler = (DevinfoDevHandler *) userdata2; in devinfo_callouts_preprobing_done() local
264 if (handler != NULL && handler->get_prober != NULL) { in devinfo_callouts_preprobing_done()
265 prober = handler->get_prober (d, &prober_timeout); in devinfo_callouts_preprobing_done()
270 if (handler->probing_done != NULL) { in devinfo_callouts_preprobing_done()
271 probing_done = handler->probing_done; in devinfo_callouts_preprobing_done()
[all …]
H A Ddevinfo.h30 …void (*hotplug_begin_add) (HalDevice *d, HalDevice *parent, struct DevinfoDevHandler_s *handler, v…
32 void (*hotplug_begin_remove) (HalDevice *d, struct DevinfoDevHandler_s *handler, void *end_token);
62 void hotplug_event_begin_add_devinfo (HalDevice *d, HalDevice *parent, DevinfoDevHandler *handler, …
66 void devinfo_hotplug_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler, int actio…
67 void devinfo_add_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler);
68 void devinfo_add_enqueue_at_front(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler);
69 void devinfo_remove_enqueue(gchar *devfs_path, DevinfoDevHandler *handler);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Deloop.h28 void (*handler)(int, void *, void *); member
35 void (*handler)(void *, void *); member
42 void (*handler)(int, void *, void *); member
64 void (*handler)(int, void *, void *), void *, void *);
69 void (*handler)(void *, void *), void *, void *);
71 void eloop_cancel_timeout(void (*handler)(void *, void *), void *, void *);
72 int eloop_register_signal(int, void (*handler)(int, void *, void *), void *);
H A Deloop.c43 void (*handler)(int sock, void *eloop_ctx, in eloop_register_read_sock()
56 tmp[eloop.reader_count].handler = handler; in eloop_register_read_sock()
92 void (*handler)(void *eloop_ctx, void *timeout_ctx), in eloop_register_timeout()
109 timeout->handler = handler; in eloop_register_timeout()
143 eloop_cancel_timeout(void (*handler)(void *eloop_ctx, void *sock_ctx), in eloop_cancel_timeout()
153 if (timeout->handler == handler && in eloop_cancel_timeout()
194 eloop.signals[i].handler(eloop.signals[i].sig, in eloop_process_pending_signals()
208 void (*handler)(int sig, void *eloop_ctx, void *signal_ctx), in eloop_register_signal()
222 tmp[eloop.signal_count].handler = handler; in eloop_register_signal()
274 tmp->handler(tmp->eloop_data, tmp->user_data); in eloop_run()
[all …]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DPoold.java445 handler.setLevel(severity); in preinitialize()
465 if (handler[i] in preinitialize()
553 if (handler != null) { in initializeWithConfiguration()
555 handler.close(); in initializeWithConfiguration()
556 handler = null; in initializeWithConfiguration()
593 handler = newLogHandler; in initializeWithConfiguration()
596 handler.setLevel(severity); in initializeWithConfiguration()
624 if (handler != null) { in close()
626 handler.close(); in close()
1015 logHelper.handler.flush(); in die()
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Dsigaction.c61 void (*handler)(); in sigaction() local
69 handler = act.sa_handler; in sigaction()
70 if (handler != SIG_IGN && handler != SIG_DFL && in sigaction()
71 ((uintptr_t)handler & 0x3) != 0) in sigaction()
154 void (*handler)(); in sigaction32() local
162 handler = (void (*)())(uintptr_t)act32.sa_handler; in sigaction32()
163 if (handler != SIG_IGN && handler != SIG_DFL && in sigaction32()
164 ((uintptr_t)handler & 0x3) != 0) in sigaction32()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_util.c229 handler = *last; in ndmpd_remove_file_handler()
233 (void) free(handler); in ndmpd_remove_file_handler()
236 last = &handler->fh_next; in ndmpd_remove_file_handler()
384 for (handler = session->ns_file_handler_list; handler != 0; in ndmpd_select()
385 handler = handler->fh_next) { in ndmpd_select()
410 for (handler = session->ns_file_handler_list; handler != 0; in ndmpd_select()
411 handler = handler->fh_next) { in ndmpd_select()
439 while (handler != 0) { in ndmpd_select()
443 handler = handler->fh_next; in ndmpd_select()
465 (*handler->fh_func) (handler->fh_cookie, in ndmpd_select()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpic8259.c24 int install_irq_handler ( irq_t irq, segoff_t *handler, in install_irq_handler() argument
39 handler->segment, handler->offset, irq, in install_irq_handler()
43 irq_vector->segment = handler->segment; in install_irq_handler()
44 irq_vector->offset = handler->offset; in install_irq_handler()
55 int remove_irq_handler ( irq_t irq, segoff_t *handler, in remove_irq_handler() argument
64 if ( ( irq_vector->segment != handler->segment ) || in remove_irq_handler()
65 ( irq_vector->offset != handler->offset ) ) { in remove_irq_handler()
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpc.c324 int (*handler)(papi_service_t svc, char **args); member
347 lpc_handler(char *cmd, cmd_handler_t **handler) in lpc_handler() argument
353 *handler = cmd_tab[i].handler; in lpc_handler()
416 rc = handler(svc, av); in process_one()
445 rc += process_one(handler, av, expected); in process_all()
457 int (*handler)(papi_service_t, char **) = NULL; in process() local
463 if ((num_args = lpc_handler(av[0], &handler)) < 0) { in process()
470 rc = process_all(handler, av, num_args); in process()
482 process_one(handler, argv, num_args); in process()
487 process_one(handler, argv, num_args); in process()
[all …]
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/
H A Dsysevent_signal.c45 se_signal_sethandler(int sig, se_signal_f *handler, void *data) in se_signal_sethandler() argument
50 sig_handlers[sig] = handler; in se_signal_sethandler()
53 if (handler == SIG_DFL || handler == SIG_IGN) { in se_signal_sethandler()
54 act.sa_handler = handler; in se_signal_sethandler()
/illumos-gate/usr/src/uts/intel/brand/common/
H A Dbrand_asm.h182 #define CHECK_FOR_HANDLER(scr, handler) \ argument
186 cmpq $0, handler(scr); /* check handler */ \
219 #define CALLBACK_PROLOGUE(emul_table, handler, call, scr, scr_low) \ argument
220 CHECK_FOR_HANDLER(scr, handler); \
234 #define CALC_TABLE_ADDR(scr, handler) \ argument
236 mov handler(scr), scr; /* get p_brand_data->XX_handler */ \
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_hdlr.c230 void (*handler)(), (*siamp)(); in __fex_hdlr() local
279 handler(sig, sip, uap); in __fex_hdlr()
329 handler(1 << (int)e, &info); in __fex_hdlr()
448 handler = simd_handler[i]; in __fex_hdlr()
486 handler(sig, &osip, uap); in __fex_hdlr()
534 handler = oact.sa_handler; in __fex_hdlr()
551 (void *)handler); in __fex_hdlr()
562 handler(sig, &osip, uap); in __fex_hdlr()
572 handler(1 << (int)e, &info); in __fex_hdlr()
656 handler(sig, &osip, uap); in __fex_hdlr()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dwaitpid.c108 Sig_handler_t handler;
138 handler = signal(SIGCLD, catch);
141 signal(SIGCLD, handler);
146 handler = signal(SIGALRM, catch);
156 if (flags & WNOHANG) signal(SIGCLD, handler);
163 signal(SIGALRM, handler);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_signal.c46 mdb_signal_sethandler(int sig, mdb_signal_f *handler, void *data) in mdb_signal_sethandler() argument
53 sig_handlers[sig] = handler; in mdb_signal_sethandler()
56 if (handler == SIG_DFL || handler == SIG_IGN) { in mdb_signal_sethandler()
57 act.sa_handler = handler; in mdb_signal_sethandler()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_auth.c76 enum auth_stat (*handler)(); member
136 as = (*asp->handler)(rqst, msg); in __gss_authenticate()
180 svc_auth_reg(int cred_flavor, enum auth_stat (*handler)()) in svc_auth_reg() argument
211 asp->handler = handler; in svc_auth_reg()
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_hca.h98 void (*handler)(struct sol_uverbs_ib_event_handler *, member
107 (_struct_ptr)->handler = _func_ptr; \
159 sol_uverbs_ib_register_event_handler(sol_uverbs_ib_event_handler_t *handler);
162 sol_uverbs_ib_unregister_event_handler(sol_uverbs_ib_event_handler_t *handler);
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dsignal.h69 # define FIX_SYSV_SIGNAL(sig, handler) \ argument
72 (void) sm_signal((sig), (handler)); \
75 # define FIX_SYSV_SIGNAL(sig, handler) { /* EMPTY */ } argument
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dproblem.c336 netsnmp_handler_registration *handler; in sunFmProblemTable_init() local
373 SNMP_FREE(handler); in sunFmProblemTable_init()
388 SNMP_FREE(handler); in sunFmProblemTable_init()
398 SNMP_FREE(handler); in sunFmProblemTable_init()
407 SNMP_FREE(handler); in sunFmProblemTable_init()
421 netsnmp_handler_registration *handler; in sunFmFaultEventTable_init() local
428 if ((handler = in sunFmFaultEventTable_init()
442 SNMP_FREE(handler); in sunFmFaultEventTable_init()
448 SNMP_FREE(handler); in sunFmFaultEventTable_init()
459 SNMP_FREE(handler); in sunFmFaultEventTable_init()
[all …]
H A Dresource.c342 netsnmp_handler_registration *handler; in sunFmResourceTable_init() local
379 SNMP_FREE(handler); in sunFmResourceTable_init()
394 SNMP_FREE(handler); in sunFmResourceTable_init()
403 SNMP_FREE(handler); in sunFmResourceTable_init()
416 SNMP_FREE(handler); in sunFmResourceTable_init()
427 SNMP_FREE(handler); in sunFmResourceTable_init()
434 if ((err = netsnmp_register_table(handler, table_info)) != in sunFmResourceTable_init()
438 SNMP_FREE(handler); in sunFmResourceTable_init()
676 sunFmResourceTable_handler(netsnmp_mib_handler *handler, in sunFmResourceTable_handler() argument
762 sunFmResourceCount_handler(netsnmp_mib_handler *handler, in sunFmResourceCount_handler() argument
[all …]
H A Dmodule.c345 netsnmp_handler_registration *handler; in sunFmModuleTable_init() local
369 if ((handler = netsnmp_create_handler_registration("sunFmModuleTable", in sunFmModuleTable_init()
382 SNMP_FREE(handler); in sunFmModuleTable_init()
395 SNMP_FREE(handler); in sunFmModuleTable_init()
404 SNMP_FREE(handler); in sunFmModuleTable_init()
415 SNMP_FREE(handler); in sunFmModuleTable_init()
426 SNMP_FREE(handler); in sunFmModuleTable_init()
433 if ((err = netsnmp_register_table(handler, table_info)) != in sunFmModuleTable_init()
437 SNMP_FREE(handler); in sunFmModuleTable_init()
655 sunFmModuleTable_handler(netsnmp_mib_handler *handler, in sunFmModuleTable_handler() argument
[all …]

123456789