Lines Matching defs:hhk
96 struct hhook *hhk;
103 STAILQ_FOREACH(hhk, &hhh->hhh_hooks, hhk_next) {
104 if (hhk->hhk_helper != NULL &&
105 hhk->hhk_helper->h_flags & HELPER_NEEDS_OSD) {
106 hdata = osd_get(OSD_KHELP, hosd, hhk->hhk_helper->h_id);
121 hhk->hhk_func(hhh->hhh_type, hhh->hhh_id, hhk->hhk_udata,
133 struct hhook *hhk, *tmp;
141 hhk = malloc(sizeof(struct hhook), M_HHOOK,
144 if (hhk == NULL)
147 hhk->hhk_helper = hki->hook_helper;
148 hhk->hhk_func = hki->hook_func;
149 hhk->hhk_udata = hki->hook_udata;
162 STAILQ_INSERT_TAIL(&hhh->hhh_hooks, hhk, hhk_next);
165 free(hhk, M_HHOOK);