Lines Matching defs:fasttrap_tpoints
160 fasttrap_hash_t fasttrap_tpoints;
440 for (i = 0; i < fasttrap_tpoints.fth_nent; i++) {
442 fasttrap_bucket_t *bucket = &fasttrap_tpoints.fth_table[i];
525 bucket = &fasttrap_tpoints.fth_table[FASTTRAP_TPOINTS_INDEX(pid, pc)];
695 bucket = &fasttrap_tpoints.fth_table[FASTTRAP_TPOINTS_INDEX(pid, pc)];
2054 mutex_enter(&fasttrap_tpoints.fth_table[index].ftb_mtx);
2055 tp = fasttrap_tpoints.fth_table[index].ftb_data;
2066 mutex_exit(&fasttrap_tpoints.fth_table[index].ftb_mtx);
2072 mutex_exit(&fasttrap_tpoints.fth_table[index].ftb_mtx);
2166 fasttrap_tpoints.fth_nent = nent;
2168 fasttrap_tpoints.fth_nent = 1 << fasttrap_highbit(nent);
2169 ASSERT(fasttrap_tpoints.fth_nent > 0);
2170 fasttrap_tpoints.fth_mask = fasttrap_tpoints.fth_nent - 1;
2171 fasttrap_tpoints.fth_table = kmem_zalloc(fasttrap_tpoints.fth_nent *
2313 kmem_free(fasttrap_tpoints.fth_table,
2314 fasttrap_tpoints.fth_nent * sizeof (fasttrap_bucket_t));
2315 fasttrap_tpoints.fth_nent = 0;