Lines Matching refs:hi_hook
815 ASSERT(hi->hi_hook.h_func != NULL);
820 rval = (*hi->hi_hook.h_func)(token, info, hi->hi_hook.h_arg);
1731 h->hi_hook.h_name);
1808 h->hi_hook.h_name);
1957 hook_t *h = &new->hi_hook;
1959 switch (new->hi_hook.h_hint) {
1971 hih = &hi->hi_hook;
1993 if ((hi != NULL) && (hi->hi_hook.h_hint == HH_FIRST))
2000 if ((hi != NULL) && (hi->hi_hook.h_hint == HH_LAST))
2006 hi = hook_find_byname(head, (char *)new->hi_hook.h_hintvalue);
2010 if (hi->hi_hook.h_hint == HH_FIRST)
2017 hi = hook_find_byname(head, (char *)new->hi_hook.h_hintvalue);
2021 if (hi->hi_hook.h_hint == HH_LAST)
2052 if (hi->hi_hook.h_hint == HH_LAST) {
2085 nh = &new->hi_hook;
2086 ASSERT(new->hi_hook.h_hint != HH_NONE);
2087 ASSERT(new->hi_hook.h_hint != HH_LAST);
2088 ASSERT(new->hi_hook.h_hint != HH_FIRST);
2095 h = &hi->hi_hook;
2230 if (strcmp(hi->hi_hook.h_name, name) == 0)
2282 dst = &new->hi_hook;
2347 hi->hi_hook.h_name, "hook", KSTAT_TYPE_NAMED,
2353 hi->hi_kstats.hook_version.value.i32 = hi->hi_hook.h_version;
2354 hi->hi_kstats.hook_flags.value.ui32 = hi->hi_hook.h_flags;
2355 hi->hi_kstats.hook_hint.value.i32 = hi->hi_hook.h_hint;
2359 switch (hi->hi_hook.h_hint) {
2364 hi->hi_hook.h_hintvalue;
2399 if (hi->hi_hook.h_name != NULL) {
2400 kmem_free(hi->hi_hook.h_name, strlen(hi->hi_hook.h_name) + 1);
2407 switch (hi->hi_hook.h_hint) {
2410 len = strlen((char *)hi->hi_hook.h_hintvalue);
2412 kmem_free((void *)hi->hi_hook.h_hintvalue, len + 1);