Lines Matching refs:fasttrap_provs
170 static fasttrap_hash_t fasttrap_provs;
193 ((fasttrap_hash_str(name) + (pid)) & fasttrap_provs.fth_mask)
354 for (i = 0; i < fasttrap_provs.fth_nent; i++) {
355 bucket = &fasttrap_provs.fth_table[i];
1456 bucket = &fasttrap_provs.fth_table[FASTTRAP_PROVS_INDEX(pid, name)];
1650 bucket = &fasttrap_provs.fth_table[FASTTRAP_PROVS_INDEX(pid, name)];
2490 fasttrap_provs.fth_nent = nent;
2492 fasttrap_provs.fth_nent = 1 << fasttrap_highbit(nent);
2493 ASSERT(fasttrap_provs.fth_nent > 0);
2494 fasttrap_provs.fth_mask = fasttrap_provs.fth_nent - 1;
2495 fasttrap_provs.fth_table = kmem_zalloc(fasttrap_provs.fth_nent *
2497 ASSERT(fasttrap_provs.fth_table != NULL);
2502 for (i=0; i<fasttrap_provs.fth_nent; i++) {
2503 lck_mtx_init(&fasttrap_provs.fth_table[i].ftb_mtx, fasttrap_lck_grp, fasttrap_lck_attr);