Lines Matching defs:hdlr
108 dtrace_invop_hdlr_t *hdlr;
111 for (hdlr = dtrace_invop_hdlr; hdlr != NULL; hdlr = hdlr->dtih_next) {
112 if ((rval = hdlr->dtih_func(addr, stack, eax)) != 0)
122 dtrace_invop_hdlr_t *hdlr;
124 hdlr = kmem_alloc(sizeof (dtrace_invop_hdlr_t), KM_SLEEP);
125 hdlr->dtih_func = func;
126 hdlr->dtih_next = dtrace_invop_hdlr;
127 dtrace_invop_hdlr = hdlr;
133 dtrace_invop_hdlr_t *hdlr = dtrace_invop_hdlr, *prev = NULL;
136 if (hdlr == NULL)
139 if (hdlr->dtih_func == func)
142 prev = hdlr;
143 hdlr = hdlr->dtih_next;
147 ASSERT(dtrace_invop_hdlr == hdlr);
148 dtrace_invop_hdlr = hdlr->dtih_next;
150 ASSERT(dtrace_invop_hdlr != hdlr);
151 prev->dtih_next = hdlr->dtih_next;
154 kmem_free(hdlr, sizeof (dtrace_invop_hdlr_t));