Searched refs:handler (Results 1 - 25 of 176) sorted by relevance

12345678

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Deloop.h28 void (*handler)(int, void *, void *); member in struct:eloop_sock
35 void (*handler)(void *, void *); member in struct:eloop_timeout
42 void (*handler)(int, void *, void *); member in struct:eloop_signal
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.c39 * Register handler for read event
43 void (*handler)(int sock, void *eloop_ctx,
56 tmp[eloop.reader_count].handler = handler;
92 void (*handler)(void *eloop_ctx, void *timeout_ctx),
109 timeout->handler = handler;
138 * Cancel timeouts matching <handler,eloop_data,user_data>.
143 eloop_cancel_timeout(void (*handler)(void *eloop_ctx, void *sock_ctx),
153 if (timeout->handler
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_inject.c55 * Data describing each zinject handler registered on the system, and
56 * contains the list node linking the handler in the global zinject
57 * handler list.
75 * This protects insertion into, and traversal of, the inject handler
77 * handler is inserted or removed from the list, this lock should be
99 * Used to assign unique identifying numbers to each new zinject handler.
166 inject_handler_t *handler; local
170 for (handler = list_head(&inject_handlers); handler != NULL;
171 handler
225 inject_handler_t *handler; local
255 inject_handler_t *handler; local
301 inject_handler_t *handler; local
344 inject_handler_t *handler; local
426 inject_handler_t *handler; local
461 inject_handler_t *handler; local
720 inject_handler_t *handler; local
829 inject_handler_t *handler; local
862 inject_handler_t *handler; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dsignal.c29 ** SM_SIGNAL -- set a signal handler
39 sm_signal(sig, handler)
41 sigfunc_t handler;
55 n.sa_sigaction = (void(*)(int, siginfo_t *, void *))(uintptr_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;
117 handler
[all...]
/illumos-gate/usr/src/cmd/bhyve/
H A Dinout.c74 inout_func_t handler; member in struct:inout_handler
113 iop.handler = default_inout;
121 struct inout_handler handler; local
133 handler = inout_handlers[inout->port];
134 hfunc = handler.handler;
135 harg = handler.arg;
141 if (!(handler.flags & IOPORT_F_IN))
144 if (!(handler.flags & IOPORT_F_OUT))
158 * Set up the default handler fo
[all...]
H A Dpci_lpc.h39 lpc_write_dsdt_t handler; member in struct:lpc_dsdt
42 #define LPC_DSDT(handler) \
44 (handler), \
H A Dinout.h63 inout_func_t handler; member in struct:inout_port
74 #define IOPORT_F_DEFAULT 0x80000000 /* claimed by default handler */
76 #define INOUT_PORT(name, port, flags, handler) \
82 (handler), \
H A Dkernemu_dev.c63 .handler = apic_handler,
71 .handler = apic_handler,
78 .handler = apic_handler,
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/
H A Dsysevent_signal.c45 se_signal_sethandler(int sig, se_signal_f *handler, void *data) argument
50 sig_handlers[sig] = handler;
53 if (handler == SIG_DFL || handler == SIG_IGN) {
54 act.sa_handler = handler;
/illumos-gate/usr/src/uts/i86pc/io/vmm/
H A Dvmm_ioport.c78 ioport_handler_func_t handler; local
81 handler = NULL;
83 handler = ioport_handler[port];
86 if (handler != NULL) {
87 error = (*handler)(vm, vcpuid, in, port, bytes, val);
89 /* Look for hooks, if a standard handler is not present */
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dsignal.h69 # define FIX_SYSV_SIGNAL(sig, handler) \
72 (void) sm_signal((sig), (handler)); \
75 # define FIX_SYSV_SIGNAL(sig, handler) { /* EMPTY */ }
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_handler.c33 prom_set_callback(void *handler) argument
40 ci[3] = p1275_ptr2cell(handler); /* Arg1: New handler */
47 return (p1275_cell2ptr(ci[4])); /* Res1: Old handler */
58 ci[3] = p1275_ptr2cell(sym2val); /* Arg1: s2v handler */
59 ci[4] = p1275_ptr2cell(val2sym); /* Arg1: v2s handler */
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo.c155 DevinfoDevHandler *handler; local
164 handler = devinfo_handlers[i];
165 d = handler->add (parent, node, devfs_path, device_type);
175 devinfo_hotplug_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler, int action, int front) argument
185 hotplug_event->un.devfs.handler = handler;
191 devinfo_add_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler) argument
193 devinfo_hotplug_enqueue (d, devfs_path, handler, HOTPLUG_ACTION_ADD, 0);
197 devinfo_add_enqueue_at_front(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler) argument
199 devinfo_hotplug_enqueue (d, devfs_path, handler, HOTPLUG_ACTION_AD
203 devinfo_remove_enqueue(gchar *devfs_path, DevinfoDevHandler *handler) argument
245 DevinfoDevHandler *handler = (DevinfoDevHandler *) userdata2; local
291 hotplug_event_begin_add_devinfo(HalDevice *d, HalDevice *parent, DevinfoDevHandler *handler, void *end_token) argument
[all...]
H A Dhotplug.h46 DevinfoDevHandler *handler; member in struct:__anon656::__anon657::__anon658
H A Ddevinfo.h30 void (*hotplug_begin_add) (HalDevice *d, HalDevice *parent, struct DevinfoDevHandler_s *handler, void *end_token);
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, void *end_token);
66 void devinfo_hotplug_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler, int action, int front);
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/uts/common/sys/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_hca.h60 * a list that points to IBT handles and the client event handler
92 * Event handler structure passed to Solaris User Verbs hca management
93 * to register an asynchronous event handler for an IBT hca.
98 void (*handler)(struct sol_uverbs_ib_event_handler *, member in struct:sol_uverbs_ib_event_handler
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/mdb/common/mdb/
H A Dmdb_signal.c46 mdb_signal_sethandler(int sig, mdb_signal_f *handler, void *data) argument
53 sig_handlers[sig] = handler;
56 if (handler == SIG_DFL || handler == SIG_IGN) {
57 act.sa_handler = handler;
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_hca.c257 * handler - Pointer to handler structure
264 * for the HCA defined in the handler struct. The notifications
265 * are delivered via the callback function defined in the handler
269 sol_uverbs_ib_register_event_handler(sol_uverbs_ib_event_handler_t *handler) argument
271 ASSERT(handler != NULL);
272 ASSERT(handler->hca != NULL);
274 mutex_enter(&handler->hca->event_handler_lock);
275 llist_head_init(&handler->list, handler);
295 sol_uverbs_ib_unregister_event_handler(sol_uverbs_ib_event_handler_t *handler) argument
[all...]
/illumos-gate/usr/src/uts/intel/brand/common/
H A Dbrand_asm.h126 * For the lcall handler for 32-bit OS (i.e. xxx_brand_syscall_callback)
175 * See if this process has a user-space handler registered for it. For the
176 * brand, the per-process brand data holds the address of the handler.
179 * non-NULL. For each brand, the handler parameter refers to the brand's
180 * user-space handler variable name.
182 #define CHECK_FOR_HANDLER(scr, handler) \
186 cmpq $0, handler(scr); /* check handler */ \
219 #define CALLBACK_PROLOGUE(emul_table, handler, call, scr, scr_low) \
220 CHECK_FOR_HANDLER(scr, handler); \
[all...]
/illumos-gate/usr/src/lib/libtnf/
H A Derror.c47 tnf_set_error_handler(tnf_error_handler_t *handler, void *arg) argument
51 _err_handler = handler;
/illumos-gate/usr/src/lib/libc/sparc/unwind/
H A Dunwind_frame.s54 * Unwind one frame, call the cleanup handler with argument arg from the
58 mov %o1, %i1 ! handler address -> %o1 after restore
59 restore %o0, %g0, %o0 ! handler arg -> %o0 after restore
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpic8259.c16 /* Install a handler for the specified IRQ. Address of previous
17 * handler will be stored in previous_handler. Enabled/disabled state
18 * of IRQ will be preserved across call, therefore if the handler does
20 * (b) previous_handler points directly to the place that the handler
24 int install_irq_handler ( irq_t irq, segoff_t *handler, argument
38 DBG ( "Installing handler at %hx:%hx for IRQ %d, leaving %s\n",
39 handler->segment, handler->offset, irq,
41 DBG ( "...(previous handler at %hx:%hx)\n",
43 irq_vector->segment = handler
55 remove_irq_handler( irq_t irq, segoff_t *handler, uint8_t *previously_enabled, segoff_t *previous_handler ) argument
[all...]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DPoold.java361 * Logfile handler, responsible for taking log messages
364 private static Handler handler; field in class:Poold.logHelper
442 handler = SyslogHandler.getInstance("poold",
445 handler.setLevel(severity);
446 BASE_LOG.addHandler(handler);
461 Handler[] handler = root.getHandlers();
463 for (int i = 0; i < handler.length && ch ==
465 if (handler[i]
467 ch = (ConsoleHandler)handler[i];
553 if (handler !
[all...]
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dsysctl.h21 #define SYSCTL_NODE(parent, nbr, name, access, handler, descr)
/illumos-gate/usr/src/lib/libast/common/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);

Completed in 120 milliseconds

12345678