Searched defs:handler (Results 1 - 25 of 82) sorted by relevance

1234

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dexit.c31 void (*handler)(); member in struct:handlers
52 (*h->handler)(code, h->arg);
H A Don_exit.c33 void (*handler)(); member in struct:handlers
41 on_exit(handler, arg)
42 void (*handler)();
50 h->handler = 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/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/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/lib/libm/common/m9x/
H A Dfex_handler.c52 int fex_set_handling(int e, int mode, void (*handler)()) argument
63 thr_handlers[i].__handler = handler;
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dexit.c88 * Define our signal handler.
92 handler(int sig, siginfo_t *sip, void *utp) function
133 * Establish a signal handler for all signals we're interested in.
146 * purpose of the signal handler is to handle that situation
152 * handler. This is primarily of use for debugging problems in
159 * For each signal we're interested in set up a signal handler that
162 nact.sa_sigaction = handler;
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Dhotplug.h46 DevinfoDevHandler *handler; member in struct:__anon628::__anon629::__anon630
/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/lib/libast/common/misc/
H A Dsigcrit.c86 * critical signal region handler
108 static Sig_handler_t handler[elementsof(signals)]; local
135 if ((op & signals[i].op) && (handler[i] = signal(signals[i].sig, interrupt)) == SIG_IGN)
137 signal(signals[i].sig, handler[i]);
158 /* no way to get pending signals without installing handler */
183 signal(signals[i].sig, handler[i]);
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Dgetpass.c45 static void handler(int sig) function
65 savesig = signal(SIGINT, handler);
/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc_state.c168 state_handler handler; local
176 handler = state_handlers[n->tok];
177 if (*handler)
178 (*handler)(mdoc, n);
/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/cmd/isns/isnsd/
H A Disns_func.h39 int (*handler)(struct conn_arg *); member in struct:conn_arg
/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/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 *);
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dmain.c49 establish_sighandler(void (*handler)()) argument
54 if (handler == SIG_IGN) {
62 * to our signal handler.
66 (void) signal(signum[i], 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/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/lib/libinetutil/common/
H A Deh.c40 * signal_to_eh[] is pretty much useless, since the event handler is
43 * need some way to get back our event handler in post_signal(),
51 * iu_eh_create(): creates, initializes, and returns an event handler for use
54 * output: iu_eh_t *: the new event handler
85 * iu_eh_destroy(): destroys an existing event handler
87 * input: iu_eh_t *: the event handler to destroy
108 * iu_stop_handling_events(): informs the event handler to stop handling events
110 * input: iu_eh_t *: the event handler to stop.
113 * the event handler will stop right away;
114 * otherwise, the event handler wil
383 iu_eh_register_signal(iu_eh_t *eh, int sig, iu_eh_sighandler_t *handler, void *data) argument
[all...]
/illumos-gate/usr/src/cmd/oplhpd/
H A Doplhpd.c47 /* Signal handler type */
60 /* Event handler to get information */
68 SigHandler *set_sig_handler(int sig, SigHandler *handler);
106 * Setting the signal handler utility
109 set_sig_handler(int sig, SigHandler *handler) argument
113 act.sa_handler = handler;
115 if (sig == SIGCHLD && handler == SIG_IGN) {
218 * - Bind event handler.
219 * - Subscribe the handler to the hotplug event.
230 syslog(LOG_ERR, "event handler bin
[all...]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/
H A DElement.java286 * @param handler The object which will receive the callbacks.
291 public int walkProperties(PropertyWalk handler, Object user) argument
294 return (walkProps(_conf.getConf(), getElem(), handler, user));
299 * supplied handler.
305 * @param handler a method to be invoked with each property of
307 * @param user a user parameter which is passed to handler on
313 PropertyWalk handler, Object user) throws PoolsException;
312 walkProps(long conf, long elem, PropertyWalk handler, Object user) argument
/illumos-gate/usr/src/cmd/power/
H A Dpmconfig.h63 * return values from handler routines;
82 int (*handler)(void); /* keyword handler routine */ member in struct:cinfo
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_main.c220 handler(int sig) function
329 * the foreground, we also use the same handler for SIGINT and SIGHUP.
335 act.sa_handler = handler;
/illumos-gate/usr/src/cmd/acpihpd/
H A Dacpihpd.c52 /* Signal handler type */
191 debug_print(2, "could not set signal handler(SIGTERM)");
196 debug_print(2, "could not set signal handler(SIGQUIT)");
201 debug_print(2, "could not set signal handler(SIGINT)");
206 debug_print(2, "could not set signal handler(SIGCHLD)");
235 set_sig_handler(int sig, sig_handler_t *handler) argument
239 act.sa_handler = handler;
241 if (sig == SIGCHLD && handler == SIG_IGN) {

Completed in 57 milliseconds

1234