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