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

1234567

/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/lib/libbc/libc/gen/common/
H A Don_exit.c33 void (*handler)(); member in struct:handlers
41 on_exit(handler, arg)
42 void (*handler)();
50 h->handler = handler;
H A Dexit.c31 void (*handler)(); member in struct:handlers
52 (*h->handler)(code, h->arg);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_inject.c53 * Data describing each zinject handler registered on the system, and
54 * contains the list node linking the handler in the global zinject
55 * handler list.
73 * This protects insertion into, and traversal of, the inject handler
75 * handler is inserted or removed from the list, this lock should be
97 * Used to assign unique identifying numbers to each new zinject handler.
146 inject_handler_t *handler; local
150 for (handler = list_head(&inject_handlers); handler != NULL;
151 handler
205 inject_handler_t *handler; local
235 inject_handler_t *handler; local
281 inject_handler_t *handler; local
324 inject_handler_t *handler; local
400 inject_handler_t *handler; local
435 inject_handler_t *handler; local
634 inject_handler_t *handler; local
734 inject_handler_t *handler; local
767 inject_handler_t *handler; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dsignal.c31 ** SM_SIGNAL -- set a signal handler
41 sm_signal(sig, handler)
43 sigfunc_t handler;
57 n.sa_sigaction = (void(*)(int, siginfo_t *, void *)) handler;
60 n.sa_handler = handler;
75 return signal(sig, handler);
77 return sigset(sig, handler);
87 n.sa_handler = handler;
117 sigfunc_t handler;
119 handler
[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) argument
50 sig_handlers[sig] = handler;
53 if (handler == SIG_DFL || handler == SIG_IGN) {
54 act.sa_handler = handler;
/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/lib/libbc/libc/sys/common/sparc/
H A Dsendsig.s33 ! Call a signal handler in a way that's compatible with statically
37 ! that's what the 4.x kernel did and that's where the signal handler
48 jmpl %i4, %o7 ! call the signal handler
/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.h125 * For the lcall handler for 32-bit OS (i.e. xxx_brand_syscall_callback)
174 * See if this process has a user-space handler registered for it. For the
175 * brand, the per-process brand data holds the address of the handler.
178 * non-NULL. For each brand, the handler parameter refers to the brand's
179 * user-space handler variable name.
181 #define CHECK_FOR_HANDLER(scr, handler) \
185 cmp $0, handler(scr); /* check handler */ \
218 #define CALLBACK_PROLOGUE(emul_table, handler, call, scr, scr_low) \
219 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/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);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_auth.c76 enum auth_stat (*handler)(); member in struct:authsvc
136 as = (*asp->handler)(rqst, msg);
180 svc_auth_reg(int cred_flavor, enum auth_stat (*handler)()) argument
211 asp->handler = handler;
/illumos-gate/usr/src/uts/common/syscall/
H A Dsigaction.c61 void (*handler)();
67 * Check alignment of handler
69 handler = act.sa_handler;
70 if (handler != SIG_IGN && handler != SIG_DFL &&
71 ((uintptr_t)handler & 0x3) != 0)
154 void (*handler)();
160 * Check alignment of handler
162 handler = (void (*)())(uintptr_t)act32.sa_handler;
163 if (handler !
[all...]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_util.c168 * Adds a file handler to the file handler list.
169 * The file handler list is used by ndmpd_api_dispatch.
179 * class (input) - handler class. (HC_CLIENT, HC_MOVER, HC_MODULE)
211 * Removes a file handler from the file handler list.
225 ndmpd_file_handler_t *handler; local
229 handler = *last;
231 if (handler->fh_fd == fd) {
232 *last = handler
356 ndmpd_file_handler_t *handler; local
[all...]

Completed in 339 milliseconds

1234567