Home
last modified time | relevance | path

Searched refs:hdlr (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/uts/i86pc/os/
H A Ddtrace_subr.c51 dtrace_invop_hdlr_t *hdlr; in dtrace_invop() local
54 for (hdlr = dtrace_invop_hdlr; hdlr != NULL; hdlr = hdlr->dtih_next) { in dtrace_invop()
65 dtrace_invop_hdlr_t *hdlr; in dtrace_invop_add() local
68 hdlr->dtih_func = func; in dtrace_invop_add()
70 dtrace_invop_hdlr = hdlr; in dtrace_invop_add()
79 if (hdlr == NULL) in dtrace_invop_remove()
82 if (hdlr->dtih_func == func) in dtrace_invop_remove()
85 prev = hdlr; in dtrace_invop_remove()
86 hdlr = hdlr->dtih_next; in dtrace_invop_remove()
90 ASSERT(dtrace_invop_hdlr == hdlr); in dtrace_invop_remove()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dpnp.c36 int hdlr; in pnp_scan() local
64 for (hdlr = 0; pnphandlers[hdlr] != NULL; hdlr++) { in pnp_scan()
66 printf("Probing %s...\n", pnphandlers[hdlr]->pp_name); in pnp_scan()
67 pnphandlers[hdlr]->pp_enumerate(); in pnp_scan()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_handle.c48 dtrace_handle_err(dtrace_hdl_t *dtp, dtrace_handle_err_f *hdlr, void *arg) in dtrace_handle_err() argument
80 dtp->dt_errhdlr = hdlr; in dtrace_handle_err()
88 dtrace_handle_drop(dtrace_hdl_t *dtp, dtrace_handle_drop_f *hdlr, void *arg) in dtrace_handle_drop() argument
93 dtp->dt_drophdlr = hdlr; in dtrace_handle_drop()
105 dtp->dt_prochdlr = hdlr; in dtrace_handle_proc()
112 dtrace_handle_buffered(dtrace_hdl_t *dtp, dtrace_handle_buffered_f *hdlr, in dtrace_handle_buffered() argument
118 if (hdlr == NULL) in dtrace_handle_buffered()
121 dtp->dt_bufhdlr = hdlr; in dtrace_handle_buffered()
128 dtrace_handle_setopt(dtrace_hdl_t *dtp, dtrace_handle_setopt_f *hdlr, in dtrace_handle_setopt() argument
131 if (hdlr == NULL) in dtrace_handle_setopt()
[all …]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dwdt.c268 cyc_handler_t hdlr; in watchdog_cyclic_init() local
271 hdlr.cyh_func = (cyc_func_t)watchdog_pat; in watchdog_cyclic_init()
272 hdlr.cyh_level = CY_HIGH_LEVEL; in watchdog_cyclic_init()
273 hdlr.cyh_arg = NULL; in watchdog_cyclic_init()
279 (void) cyclic_add(&hdlr, &when); in watchdog_cyclic_init()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Datexit.c101 __cxa_atexit(void (*hdlr)(void *), void *arg, void *dso) in __cxa_atexit()
116 p->hdlr = hdlr; in __cxa_atexit()
158 p->hdlr(p->arg); in __cxa_finalize()
350 if (in_range((void *)p->hdlr, range, count)) { in _preexec_exit_handlers()
356 p->hdlr(p->arg); in _preexec_exit_handlers()
406 p->hdlr = func; in at_quick_exit()
429 p->hdlr(); in quick_exit()
/illumos-gate/usr/src/uts/common/dtrace/
H A Dprofile.c336 profile_online(void *arg, cpu_t *cpu, cyc_handler_t *hdlr, cyc_time_t *when) in profile_online() argument
344 hdlr->cyh_func = profile_fire; in profile_online()
345 hdlr->cyh_arg = pcpu; in profile_online()
346 hdlr->cyh_level = CY_HIGH_LEVEL; in profile_online()
371 cyc_handler_t hdlr; in profile_enable() local
378 hdlr.cyh_func = profile_tick; in profile_enable()
379 hdlr.cyh_arg = prof; in profile_enable()
380 hdlr.cyh_level = CY_HIGH_LEVEL; in profile_enable()
392 prof->prof_cyclic = cyclic_add(&hdlr, &when); in profile_enable()
/illumos-gate/usr/src/uts/sun4/io/
H A Dcbe.c267 cyc_handler_t hdlr; in cbe_init() local
307 hdlr.cyh_level = CY_HIGH_LEVEL; in cbe_init()
308 hdlr.cyh_func = (cyc_func_t)cbe_hres_tick; in cbe_init()
309 hdlr.cyh_arg = NULL; in cbe_init()
314 cbe_hres_cyclic = cyclic_add(&hdlr, &when); in cbe_init()
/illumos-gate/usr/src/uts/intel/os/
H A Dsendsig.c131 sendsig(int sig, k_siginfo_t *sip, void (*hdlr)()) in sendsig() argument
249 (void *)sp, (void *)hdlr, (uintptr_t)upc); in sendsig()
359 rp->r_pc = (greg_t)hdlr; in sendsig()
393 (void *)sp, (void *)hdlr, (uintptr_t)upc); in sendsig()
420 sendsig32(int sig, k_siginfo_t *sip, void (*hdlr)()) in sendsig32() argument
497 (void *)sp, (void *)hdlr, (uintptr_t)upc); in sendsig32()
602 rp->r_pc = (greg_t)(uintptr_t)hdlr; in sendsig32()
632 (void *)sp, (void *)hdlr, (uintptr_t)upc); in sendsig32()
/illumos-gate/usr/src/uts/i86pc/io/
H A Dcbe.c340 cyc_handler_t hdlr; in cbe_init() local
367 hdlr.cyh_level = CY_HIGH_LEVEL; in cbe_init()
368 hdlr.cyh_func = (cyc_func_t)cbe_hres_tick; in cbe_init()
369 hdlr.cyh_arg = NULL; in cbe_init()
374 cbe_hres_cyclic = cyclic_add(&hdlr, &when); in cbe_init()
/illumos-gate/usr/src/uts/common/os/
H A Dclock_highres.c102 cyc_handler_t hdlr; in clock_highres_timer_settime() local
236 hdlr.cyh_func = (cyc_func_t)clock_highres_fire; in clock_highres_timer_settime()
237 hdlr.cyh_arg = it; in clock_highres_timer_settime()
238 hdlr.cyh_level = CY_LOW_LEVEL; in clock_highres_timer_settime()
241 *cycp = cyc = cyclic_add(&hdlr, &cyctime); in clock_highres_timer_settime()
H A Dcyclic.c1703 cyclic->cy_arg = hdlr->cyh_arg; in cyclic_add_xcall()
1752 arg.cyx_hdlr = hdlr; in cyclic_add_here()
2076 cyc_handler_t hdlr; in cyclic_juggle_one_to() local
2092 hdlr.cyh_level = cyclic->cy_level; in cyclic_juggle_one_to()
2093 hdlr.cyh_arg = cyclic->cy_arg; in cyclic_juggle_one_to()
2516 cyc_handler_t hdlr; in cyclic_omni_start() local
2524 hdlr.cyh_func = NULL; in cyclic_omni_start()
2525 hdlr.cyh_arg = NULL; in cyclic_omni_start()
2526 hdlr.cyh_level = CY_LEVELS; in cyclic_omni_start()
2533 ASSERT(hdlr.cyh_func != NULL); in cyclic_omni_start()
[all …]
H A Dcallout.c1859 cyc_handler_t hdlr; in callout_cyclic_init() local
1925 hdlr.cyh_level = callout_realtime_level; in callout_cyclic_init()
1926 hdlr.cyh_func = (cyc_func_t)callout_realtime; in callout_cyclic_init()
1928 hdlr.cyh_level = callout_normal_level; in callout_cyclic_init()
1929 hdlr.cyh_func = (cyc_func_t)callout_normal; in callout_cyclic_init()
1931 hdlr.cyh_arg = ct; in callout_cyclic_init()
1935 cyclic = cyclic_add(&hdlr, &when); in callout_cyclic_init()
1938 hdlr.cyh_func = (cyc_func_t)callout_queue_realtime; in callout_cyclic_init()
1940 hdlr.cyh_func = (cyc_func_t)callout_queue_normal; in callout_cyclic_init()
1942 qcyclic = cyclic_add(&hdlr, &when); in callout_cyclic_init()
H A Dclock.c2006 deadman_online(void *arg, cpu_t *cpu, cyc_handler_t *hdlr, cyc_time_t *when) in deadman_online() argument
2011 hdlr->cyh_func = (cyc_func_t)deadman; in deadman_online()
2012 hdlr->cyh_level = CY_HIGH_LEVEL; in deadman_online()
2013 hdlr->cyh_arg = NULL; in deadman_online()
2030 cyc_omni_handler_t hdlr; in deadman_init() local
2038 hdlr.cyo_online = deadman_online; in deadman_init()
2039 hdlr.cyo_offline = NULL; in deadman_init()
2040 hdlr.cyo_arg = NULL; in deadman_init()
2043 deadman_cyclic = cyclic_add_omni(&hdlr); in deadman_init()
H A Dtimers.c338 cyc_handler_t hdlr; in xsetitimer() local
430 hdlr.cyh_func = realprofexpire; in xsetitimer()
431 hdlr.cyh_arg = p; in xsetitimer()
432 hdlr.cyh_level = CY_LOW_LEVEL; in xsetitimer()
447 cyclic = cyclic_add(&hdlr, &when); in xsetitimer()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dntwdt.c242 cyc_handler_t *hdlr = NULL; in ntwdt_attach() local
298 hdlr = &ntwdt_runstatep->ntwdt_cycl_hdlr; in ntwdt_attach()
299 hdlr->cyh_level = CY_LOCK_LEVEL; in ntwdt_attach()
300 hdlr->cyh_func = (cyc_func_t)ntwdt_cyclic_pat; in ntwdt_attach()
301 hdlr->cyh_arg = NULL; in ntwdt_attach()
727 cyc_handler_t *hdlr = &ntwdt_state->ntwdt_cycl_hdlr; in ntwdt_start_timer() local
741 ntwdt_ptr->ntwdt_cycl_id = cyclic_add(hdlr, when); in ntwdt_start_timer()
H A Dcnex.c337 if (cldcp->tx.hdlr && (cldcp->tx.weight == weight || in cnex_intr_redist()
342 if (cldcp->rx.hdlr && (cldcp->rx.weight == weight || in cnex_intr_redist()
609 uint_t (*hdlr)(), caddr_t arg1, caddr_t arg2) in cnex_add_intr() argument
651 if (iinfo->hdlr != 0) { in cnex_add_intr()
658 iinfo->hdlr = hdlr; in cnex_add_intr()
772 if (cldcp->tx.hdlr || cldcp->rx.hdlr) { in cnex_unreg_chan()
842 if (iinfo->hdlr == 0) { in cnex_rem_intr()
946 if (iinfo->hdlr == 0) { in cnex_clr_intr()
979 handler = iinfo->hdlr; in cnex_intr_wrapper()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_sol_glue.c286 cyc_handler_t hdlr; in vmm_glue_callout_init() local
289 hdlr.cyh_level = CY_LOW_LEVEL; in vmm_glue_callout_init()
290 hdlr.cyh_func = vmm_glue_callout_handler; in vmm_glue_callout_init()
291 hdlr.cyh_arg = c; in vmm_glue_callout_init()
297 c->c_cyc_id = cyclic_add(&hdlr, &when); in vmm_glue_callout_init()
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dcyclic.c20 cyclic_add(cyc_handler_t *hdlr, cyc_time_t *when) in cyclic_add() argument
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dntwdt.c581 cyc_handler_t *hdlr = NULL; in ntwdt_attach() local
652 hdlr = &wdog_state->ntwdt_cycl_hdlr; in ntwdt_attach()
653 hdlr->cyh_level = CY_LOCK_LEVEL; in ntwdt_attach()
654 hdlr->cyh_func = ntwdt_cyclic_pat; in ntwdt_attach()
655 hdlr->cyh_arg = (void *)ntwdt_ptr; in ntwdt_attach()
1581 cyc_handler_t *hdlr = &wdog_state->ntwdt_cycl_hdlr; in ntwdt_start_timer() local
1596 ntwdt_ptr->ntwdt_cycl_id = cyclic_add(hdlr, when); in ntwdt_start_timer()
/illumos-gate/usr/src/uts/common/io/ena/
H A Dena_aenq.c135 ena_aenq_hdlr_t hdlr; in ena_aenq_work() local
156 hdlr = ena->ena_aenq.eaenq_hdlrs[desc->ead_group]; in ena_aenq_work()
157 hdlr(ena, desc); in ena_aenq_work()
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deft.c77 void (*hdlr)(fmd_hdl_t *, fmd_event_t *, nvlist_t *, const char *); member
97 (sp->hdlr)(hdl, ep, nvl, class); in eft_recv()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dcnex.h62 uint_t (*hdlr)(); /* intr handler */ member
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dv9dep.c881 sendsig(int sig, k_siginfo_t *sip, void (*hdlr)()) in sendsig() argument
1014 (void *)fp, (void *)hdlr, rp->r_pc); in sendsig()
1163 rp->r_pc = (uintptr_t)hdlr; in sendsig()
1164 rp->r_npc = (uintptr_t)hdlr + 4; in sendsig()
1194 (void *)fp, (void *)hdlr, rp->r_pc); in sendsig()
1210 sendsig32(int sig, k_siginfo_t *sip, void (*hdlr)()) in sendsig32() argument
1344 (void *)fp, (void *)hdlr, rp->r_pc); in sendsig32()
1505 rp->r_pc = (uintptr_t)hdlr; in sendsig32()
1506 rp->r_npc = (uintptr_t)hdlr + 4; in sendsig32()
1536 (void *)fp, (void *)hdlr, rp->r_pc); in sendsig32()
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dopl_olympus.c2151 opl_ras_online(void *arg, cpu_t *cp, cyc_handler_t *hdlr, cyc_time_t *when) argument
2153 hdlr->cyh_func = (cyc_func_t)ras_cntr_reset;
2154 hdlr->cyh_level = CY_LOW_LEVEL;
2155 hdlr->cyh_arg = (void *)(uintptr_t)cp->cpu_id;
2164 cyc_omni_handler_t hdlr; local
2166 hdlr.cyo_online = opl_ras_online;
2167 hdlr.cyo_offline = NULL;
2168 hdlr.cyo_arg = NULL;
2170 (void) cyclic_add_omni(&hdlr);
/illumos-gate/usr/src/uts/intel/kdi/
H A Dkdi_idt.c189 caddr_t hdlr = (caddr_t)id->id_basehdlr + in kdi_idt_init() local
191 set_gatesegd(&kdi_idt[i], (void (*)())hdlr, sel, in kdi_idt_init()

12