Lines Matching refs:fasttrap_procs
171 static fasttrap_hash_t fasttrap_procs;
195 #define FASTTRAP_PROCS_INDEX(pid) ((pid) & fasttrap_procs.fth_mask)
1315 bucket = &fasttrap_procs.fth_table[FASTTRAP_PROCS_INDEX(pid)];
1404 bucket = &fasttrap_procs.fth_table[FASTTRAP_PROCS_INDEX(pid)];
2512 fasttrap_procs.fth_nent = nent;
2514 fasttrap_procs.fth_nent = 1 << fasttrap_highbit(nent);
2515 ASSERT(fasttrap_procs.fth_nent > 0);
2516 fasttrap_procs.fth_mask = fasttrap_procs.fth_nent - 1;
2517 fasttrap_procs.fth_table = kmem_zalloc(fasttrap_procs.fth_nent *
2519 ASSERT(fasttrap_procs.fth_table != NULL);
2524 for (i=0; i<fasttrap_procs.fth_nent; i++) {
2525 lck_mtx_init(&fasttrap_procs.fth_table[i].ftb_mtx, fasttrap_lck_grp, fasttrap_lck_attr);