Lines Matching refs:tmphhh
294 struct hhook_head *tmphhh;
296 tmphhh = hhook_head_get(hhook_type, hhook_id);
298 if (tmphhh != NULL) {
300 hhook_head_release(tmphhh);
304 tmphhh = malloc(sizeof(struct hhook_head), M_HHOOK,
307 if (tmphhh == NULL)
310 tmphhh->hhh_type = hhook_type;
311 tmphhh->hhh_id = hhook_id;
312 tmphhh->hhh_nhooks = 0;
313 STAILQ_INIT(&tmphhh->hhh_hooks);
314 HHH_LOCK_INIT(tmphhh);
315 refcount_init(&tmphhh->hhh_refcount, 1);
319 tmphhh->hhh_flags |= HHH_ISINVNET;
322 tmphhh->hhh_vid = (uintptr_t)curvnet;
323 LIST_INSERT_HEAD(&V_hhook_vhead_list, tmphhh, hhh_vnext);
326 LIST_INSERT_HEAD(&hhook_head_list, tmphhh, hhh_next);
330 khelp_new_hhook_registered(tmphhh, flags);
333 *hhh = tmphhh;
335 refcount_release(&tmphhh->hhh_refcount);
492 struct hhook_head *hhh, *tmphhh;
500 LIST_FOREACH_SAFE(hhh, &V_hhook_vhead_list, hhh_vnext, tmphhh) {