Lines Matching refs:hhk
96 struct hhook *hhk;
103 STAILQ_FOREACH(hhk, &hhh->hhh_hooks, hhk_next) {
104 if (hhk->hhk_helper->h_flags & HELPER_NEEDS_OSD) {
105 hdata = osd_get(OSD_KHELP, hosd, hhk->hhk_helper->h_id);
120 hhk->hhk_func(hhh->hhh_type, hhh->hhh_id, hhk->hhk_udata,
132 struct hhook *hhk, *tmp;
140 hhk = malloc(sizeof(struct hhook), M_HHOOK,
143 if (hhk == NULL)
146 hhk->hhk_helper = hki->hook_helper;
147 hhk->hhk_func = hki->hook_func;
148 hhk->hhk_udata = hki->hook_udata;
161 STAILQ_INSERT_TAIL(&hhh->hhh_hooks, hhk, hhk_next);
164 free(hhk, M_HHOOK);