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