Searched refs:hdlr (Results 1 - 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dcyclic.c20 cyclic_add(cyc_handler_t *hdlr, cyc_time_t *when) argument
/illumos-gate/usr/src/uts/i86pc/os/
H A Ddtrace_subr.c51 dtrace_invop_hdlr_t *hdlr; local
54 for (hdlr = dtrace_invop_hdlr; hdlr != NULL; hdlr = hdlr->dtih_next) {
55 if ((rval = hdlr->dtih_func(addr, stack, eax)) != 0)
65 dtrace_invop_hdlr_t *hdlr; local
67 hdlr = kmem_alloc(sizeof (dtrace_invop_hdlr_t), KM_SLEEP);
68 hdlr->dtih_func = func;
69 hdlr
76 dtrace_invop_hdlr_t *hdlr = dtrace_invop_hdlr, *prev = NULL; local
[all...]
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkaif_activate.c141 uint32_t *hdlr = (uint32_t *)tgt; local
144 *hdlr++ = 0x10480000 | (disp >> 2); /* ba,pt (to tt64) */
145 *hdlr++ = 0x01000000; /* nop */
153 uint32_t *hdlr = (uint32_t *)tgt; local
156 *hdlr++ = 0x10480000 | (disp >> 2); /* ba,pt (to tt68) */
157 *hdlr++ = 0x01000000; /* nop */
240 uint32_t *hdlr = (uint32_t *)(kaif_tba_native + i); local
246 *hdlr++ = 0x03000000 | (brtgt >> 10); /* sethi brtgt, %g1 */
247 *hdlr++ = 0x81c06000 | (brtgt & 0x3ff); /* jmp %g1 + brtgt */
248 *hdlr
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dpnp.c36 int hdlr; local
64 for (hdlr = 0; pnphandlers[hdlr] != NULL; hdlr++) {
66 printf("Probing %s...\n", pnphandlers[hdlr]->pp_name);
67 pnphandlers[hdlr]->pp_enumerate();
/illumos-gate/usr/src/uts/sun4v/os/
H A Dwdt.c268 cyc_handler_t hdlr; local
271 hdlr.cyh_func = (cyc_func_t)watchdog_pat;
272 hdlr.cyh_level = CY_HIGH_LEVEL;
273 hdlr.cyh_arg = NULL;
279 (void) cyclic_add(&hdlr, &when);
/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) argument
62 * already have a dtrace:::ERROR probe enabled; save 'hdlr' and 'arg'
80 dtp->dt_errhdlr = hdlr;
88 dtrace_handle_drop(dtrace_hdl_t *dtp, dtrace_handle_drop_f *hdlr, void *arg) argument
93 dtp->dt_drophdlr = hdlr;
100 dtrace_handle_proc(dtrace_hdl_t *dtp, dtrace_handle_proc_f *hdlr, void *arg) argument
105 dtp->dt_prochdlr = hdlr;
112 dtrace_handle_buffered(dtrace_hdl_t *dtp, dtrace_handle_buffered_f *hdlr, argument
118 if (hdlr == NULL)
121 dtp->dt_bufhdlr = hdlr;
128 dtrace_handle_setopt(dtrace_hdl_t *dtp, dtrace_handle_setopt_f *hdlr, void *arg) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dcnex.h62 uint_t (*hdlr)(); /* intr handler */ member in struct:cnex_intr
/illumos-gate/usr/src/lib/libc/port/gen/
H A Datexit.c101 __cxa_atexit(void (*hdlr)(void *), void *arg, void *dso)
116 p->hdlr = hdlr;
158 p->hdlr(p->arg);
350 if (in_range((void *)p->hdlr, range, count)) {
356 p->hdlr(p->arg);
406 p->hdlr = func;
429 p->hdlr();
/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) argument
344 hdlr->cyh_func = profile_fire;
345 hdlr->cyh_arg = pcpu;
346 hdlr->cyh_level = CY_HIGH_LEVEL;
371 cyc_handler_t hdlr; local
378 hdlr.cyh_func = profile_tick;
379 hdlr.cyh_arg = prof;
380 hdlr.cyh_level = CY_HIGH_LEVEL;
392 prof->prof_cyclic = cyclic_add(&hdlr, &when);
/illumos-gate/usr/src/uts/sun4/io/
H A Dcbe.c267 cyc_handler_t hdlr; local
307 hdlr.cyh_level = CY_HIGH_LEVEL;
308 hdlr.cyh_func = (cyc_func_t)cbe_hres_tick;
309 hdlr.cyh_arg = NULL;
314 cbe_hres_cyclic = cyclic_add(&hdlr, &when);
/illumos-gate/usr/src/uts/common/os/
H A Dclock_highres.c110 cyc_handler_t hdlr; local
201 hdlr.cyh_func = (cyc_func_t)clock_highres_fire;
202 hdlr.cyh_arg = it;
203 hdlr.cyh_level = CY_LOW_LEVEL;
206 *cycp = cyc = cyclic_add(&hdlr, &cyctime);
H A Dcyclic.c1651 cyc_handler_t *hdlr = arg->cyx_hdlr; local
1694 cyclic->cy_handler = hdlr->cyh_func;
1695 cyclic->cy_arg = hdlr->cyh_arg;
1696 cyclic->cy_level = hdlr->cyh_level;
1716 cyclic_add_here(cyc_cpu_t *cpu, cyc_handler_t *hdlr, argument
1723 CYC_PTRACE("add-cpu", cpu, hdlr->cyh_func);
1744 arg.cyx_hdlr = hdlr;
2048 cyc_handler_t hdlr; local
2063 hdlr.cyh_func = cyclic->cy_handler;
2064 hdlr
2488 cyc_handler_t hdlr; local
2734 cyclic_add(cyc_handler_t *hdlr, cyc_time_t *when) argument
[all...]
H A Dcallout.c1859 cyc_handler_t hdlr; local
1925 hdlr.cyh_level = callout_realtime_level;
1926 hdlr.cyh_func = (cyc_func_t)callout_realtime;
1928 hdlr.cyh_level = callout_normal_level;
1929 hdlr.cyh_func = (cyc_func_t)callout_normal;
1931 hdlr.cyh_arg = ct;
1935 cyclic = cyclic_add(&hdlr, &when);
1938 hdlr.cyh_func = (cyc_func_t)callout_queue_realtime;
1940 hdlr.cyh_func = (cyc_func_t)callout_queue_normal;
1942 qcyclic = cyclic_add(&hdlr,
[all...]
H A Dclock.c2002 deadman_online(void *arg, cpu_t *cpu, cyc_handler_t *hdlr, cyc_time_t *when) argument
2007 hdlr->cyh_func = (cyc_func_t)deadman;
2008 hdlr->cyh_level = CY_HIGH_LEVEL;
2009 hdlr->cyh_arg = NULL;
2026 cyc_omni_handler_t hdlr; local
2034 hdlr.cyo_online = deadman_online;
2035 hdlr.cyo_offline = NULL;
2036 hdlr.cyo_arg = NULL;
2039 deadman_cyclic = cyclic_add_omni(&hdlr);
H A Dtimers.c337 cyc_handler_t hdlr; local
429 hdlr.cyh_func = realprofexpire;
430 hdlr.cyh_arg = p;
431 hdlr.cyh_level = CY_LOW_LEVEL;
446 cyclic = cyclic_add(&hdlr, &when);
/illumos-gate/usr/src/uts/i86pc/io/
H A Dcbe.c340 cyc_handler_t hdlr; local
367 hdlr.cyh_level = CY_HIGH_LEVEL;
368 hdlr.cyh_func = (cyc_func_t)cbe_hres_tick;
369 hdlr.cyh_arg = NULL;
374 cbe_hres_cyclic = cyclic_add(&hdlr, &when);
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dsendsig.c127 sendsig(int sig, k_siginfo_t *sip, void (*hdlr)()) argument
231 (void *)sp, (void *)hdlr, (uintptr_t)upc);
331 rp->r_pc = (greg_t)hdlr;
364 (void *)sp, (void *)hdlr, (uintptr_t)upc);
390 sendsig32(int sig, k_siginfo_t *sip, void (*hdlr)()) argument
458 (void *)sp, (void *)hdlr, (uintptr_t)upc);
556 rp->r_pc = (greg_t)(uintptr_t)hdlr;
585 (void *)sp, (void *)hdlr, (uintptr_t)upc);
613 sendsig(int sig, k_siginfo_t *sip, void (*hdlr)()) argument
680 (void *)sp, (void *)hdlr, (uintptr_
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_memerr_arch.c80 const char *class, cmd_xe_handler_f *hdlr)
104 return (hdlr(hdl, ep, nvl, class, afar, afar_status, synd,
147 cmd_xe_handler_f *hdlr)
155 rc = hdlr(hdl, ep, nvl, class, afar, afar_status, synd, synd_status,
214 cmd_xe_handler_f *hdlr; local
281 hdlr = (isce ? cmd_ce_common : cmd_ue_common);
286 hdlr);
291 hdlr);
312 cmd_xe_handler_f *hdlr; local
371 hdlr
79 xe_common(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class, cmd_xe_handler_f *hdlr) argument
144 iorxefrx_synthesize(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class, uint64_t afar, uint8_t afar_status, uint64_t afsr, uint16_t synd, uint8_t synd_status, ce_dispact_t type, uint64_t disp, cmd_xe_handler_f *hdlr) argument
387 cmd_xe_handler_f *hdlr; local
473 cmd_xe_handler_f *hdlr = isce ? cmd_ce_common : cmd_ue_common; local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dcnex.c337 if (cldcp->tx.hdlr && (cldcp->tx.weight == weight ||
342 if (cldcp->rx.hdlr && (cldcp->rx.weight == weight ||
609 uint_t (*hdlr)(), caddr_t arg1, caddr_t arg2)
651 if (iinfo->hdlr != 0) {
658 iinfo->hdlr = hdlr;
680 D1("cnex_add_intr: add hdlr, cfghdl=0x%llx, ino=0x%llx, "
772 if (cldcp->tx.hdlr || cldcp->rx.hdlr) {
842 if (iinfo->hdlr
608 cnex_add_intr(dev_info_t *dip, uint64_t id, cnex_intrtype_t itype, uint_t (*hdlr)(), caddr_t arg1, caddr_t arg2) argument
[all...]
H A Dntwdt.c242 cyc_handler_t *hdlr = NULL; local
298 hdlr = &ntwdt_runstatep->ntwdt_cycl_hdlr;
299 hdlr->cyh_level = CY_LOCK_LEVEL;
300 hdlr->cyh_func = (cyc_func_t)ntwdt_cyclic_pat;
301 hdlr->cyh_arg = NULL;
727 cyc_handler_t *hdlr = &ntwdt_state->ntwdt_cycl_hdlr; local
741 ntwdt_ptr->ntwdt_cycl_id = cyclic_add(hdlr, when);
/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 in struct:eftsubr
97 (sp->hdlr)(hdl, ep, nvl, class);
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dntwdt.c581 cyc_handler_t *hdlr = NULL; local
652 hdlr = &wdog_state->ntwdt_cycl_hdlr;
653 hdlr->cyh_level = CY_LOCK_LEVEL;
654 hdlr->cyh_func = ntwdt_cyclic_pat;
655 hdlr->cyh_arg = (void *)ntwdt_ptr;
1581 cyc_handler_t *hdlr = &wdog_state->ntwdt_cycl_hdlr; local
1596 ntwdt_ptr->ntwdt_cycl_id = cyclic_add(hdlr, when);
/illumos-gate/usr/src/uts/intel/kdi/
H A Dkdi_idt.c196 caddr_t hdlr = (caddr_t)id->id_basehdlr + local
198 set_gatesegd(&kdi_idt[i], (void (*)())hdlr, sel,
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dv9dep.c881 sendsig(int sig, k_siginfo_t *sip, void (*hdlr)()) argument
1014 (void *)fp, (void *)hdlr, rp->r_pc);
1163 rp->r_pc = (uintptr_t)hdlr;
1164 rp->r_npc = (uintptr_t)hdlr + 4;
1194 (void *)fp, (void *)hdlr, rp->r_pc);
1210 sendsig32(int sig, k_siginfo_t *sip, void (*hdlr)()) argument
1344 (void *)fp, (void *)hdlr, rp->r_pc);
1506 rp->r_pc = (uintptr_t)hdlr;
1507 rp->r_npc = (uintptr_t)hdlr + 4;
1537 (void *)fp, (void *)hdlr, r
[all...]
/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);

Completed in 224 milliseconds

12