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()
2058 mutex_enter(&fasttrap_tpoints.fth_table[index].ftb_mtx); in fasttrap_ioctl()
2059 tp = fasttrap_tpoints.fth_table[index].ftb_data; in fasttrap_ioctl()
2070 mutex_exit(&fasttrap_tpoints.fth_table[index].ftb_mtx); in fasttrap_ioctl()
2076 mutex_exit(&fasttrap_tpoints.fth_table[index].ftb_mtx); in fasttrap_ioctl()
2170 fasttrap_tpoints.fth_nent = nent; in fasttrap_attach()
2172 fasttrap_tpoints.fth_nent = 1 << fasttrap_highbit(nent); in fasttrap_attach()
2173 ASSERT(fasttrap_tpoints.fth_nent > 0); in fasttrap_attach()
2174 fasttrap_tpoints.fth_mask = fasttrap_tpoints.fth_nent - 1; in fasttrap_attach()
2175 fasttrap_tpoints.fth_table = kmem_zalloc(fasttrap_tpoints.fth_nent * in fasttrap_attach()
2317 kmem_free(fasttrap_tpoints.fth_table, in fasttrap_detach()
2318 fasttrap_tpoints.fth_nent * sizeof (fasttrap_bucket_t)); in fasttrap_detach()
2319 fasttrap_tpoints.fth_nent = 0; in fasttrap_detach()