Lines Matching refs:hi_hook
819 ASSERT(hi->hi_hook.h_func != NULL);
824 rval = (*hi->hi_hook.h_func)(token, info, hi->hi_hook.h_arg);
1735 h->hi_hook.h_name);
1812 h->hi_hook.h_name);
1961 hook_t *h = &new->hi_hook;
1963 switch (new->hi_hook.h_hint) {
1975 hih = &hi->hi_hook;
1997 if ((hi != NULL) && (hi->hi_hook.h_hint == HH_FIRST))
2004 if ((hi != NULL) && (hi->hi_hook.h_hint == HH_LAST))
2010 hi = hook_find_byname(head, (char *)new->hi_hook.h_hintvalue);
2014 if (hi->hi_hook.h_hint == HH_FIRST)
2021 hi = hook_find_byname(head, (char *)new->hi_hook.h_hintvalue);
2025 if (hi->hi_hook.h_hint == HH_LAST)
2056 if (hi->hi_hook.h_hint == HH_LAST) {
2089 nh = &new->hi_hook;
2090 ASSERT(new->hi_hook.h_hint != HH_NONE);
2091 ASSERT(new->hi_hook.h_hint != HH_LAST);
2092 ASSERT(new->hi_hook.h_hint != HH_FIRST);
2099 h = &hi->hi_hook;
2234 if (strcmp(hi->hi_hook.h_name, name) == 0)
2286 dst = &new->hi_hook;
2351 hi->hi_hook.h_name, "hook", KSTAT_TYPE_NAMED,
2357 hi->hi_kstats.hook_version.value.i32 = hi->hi_hook.h_version;
2358 hi->hi_kstats.hook_flags.value.ui32 = hi->hi_hook.h_flags;
2359 hi->hi_kstats.hook_hint.value.i32 = hi->hi_hook.h_hint;
2363 switch (hi->hi_hook.h_hint) {
2367 (const char *)hi->hi_hook.h_hintvalue);
2406 if (hi->hi_hook.h_name != NULL) {
2407 kmem_free(hi->hi_hook.h_name, strlen(hi->hi_hook.h_name) + 1);
2414 switch (hi->hi_hook.h_hint) {
2417 len = strlen((char *)hi->hi_hook.h_hintvalue);
2419 kmem_free((void *)hi->hi_hook.h_hintvalue, len + 1);