Lines Matching refs:fasttrap_tpoints
169 fasttrap_hash_t fasttrap_tpoints;
497 for (i = 0; i < fasttrap_tpoints.fth_nent; i++) {
499 fasttrap_bucket_t *bucket = &fasttrap_tpoints.fth_table[i];
616 bucket = &fasttrap_tpoints.fth_table[FASTTRAP_TPOINTS_INDEX(pid, pc)];
786 bucket = &fasttrap_tpoints.fth_table[FASTTRAP_TPOINTS_INDEX(pid, pc)];
2390 lck_mtx_lock(&fasttrap_tpoints.fth_table[index].ftb_mtx);
2391 tp = fasttrap_tpoints.fth_table[index].ftb_data;
2402 lck_mtx_unlock(&fasttrap_tpoints.fth_table[index].ftb_mtx);
2408 lck_mtx_unlock(&fasttrap_tpoints.fth_table[index].ftb_mtx);
2467 fasttrap_tpoints.fth_nent = nent;
2469 fasttrap_tpoints.fth_nent = 1 << fasttrap_highbit(nent);
2470 ASSERT(fasttrap_tpoints.fth_nent > 0);
2471 fasttrap_tpoints.fth_mask = fasttrap_tpoints.fth_nent - 1;
2472 fasttrap_tpoints.fth_table = kmem_zalloc(fasttrap_tpoints.fth_nent *
2474 ASSERT(fasttrap_tpoints.fth_table != NULL);
2480 for (i=0; i<fasttrap_tpoints.fth_nent; i++) {
2481 lck_mtx_init(&fasttrap_tpoints.fth_table[i].ftb_mtx, fasttrap_lck_grp, fasttrap_lck_attr);