Lines Matching refs:th_hook
52 khook_t *th_hook; member
132 ctx->ctx_hook[i].th_hook = NULL; in simplehook_tester_created()
241 if (th->th_disestablish && th->th_hook != NULL) { in simplehook_tester_hook()
245 th->th_hook, &ctx->ctx_mutex); in simplehook_tester_hook()
246 th->th_hook = NULL; in simplehook_tester_hook()
283 val = th->th_hook == NULL ? 0 : 1; in simplehook_tester_established()
297 if (th->th_hook != NULL) { in simplehook_tester_established()
300 th->th_hook = simplehook_establish(ctx->ctx_hooks, in simplehook_tester_established()
302 KASSERT(th->th_hook != NULL); in simplehook_tester_established()
304 __func__, __LINE__, th->th_idx, th->th_hook)); in simplehook_tester_established()
307 if (th->th_hook == NULL) { in simplehook_tester_established()
319 __func__, __LINE__, th->th_idx, th->th_hook)); in simplehook_tester_established()
321 th->th_hook, &ctx->ctx_mutex); in simplehook_tester_established()
322 th->th_hook = NULL; in simplehook_tester_established()