Lines Matching defs:index
490 fasttrap_tracepoint_enable(proc_t *p, fasttrap_probe_t *probe, uint_t index)
498 ASSERT(index < probe->ftp_ntps);
501 pc = probe->ftp_tps[index].fit_tp->ftt_pc;
502 id = &probe->ftp_tps[index].fit_id;
504 ASSERT(probe->ftp_tps[index].fit_tp->ftt_pid == pid);
623 new_tp = probe->ftp_tps[index].fit_tp;
663 fasttrap_tracepoint_disable(proc_t *p, fasttrap_probe_t *probe, uint_t index)
672 ASSERT(index < probe->ftp_ntps);
675 pc = probe->ftp_tps[index].fit_tp->ftt_pc;
676 id = &probe->ftp_tps[index].fit_id;
678 ASSERT(probe->ftp_tps[index].fit_tp->ftt_pid == pid);
737 if (tp == probe->ftp_tps[index].fit_tp) {
755 ASSERT(*tmp_tp != probe->ftp_tps[index].fit_tp);
759 probe->ftp_tps[index].fit_tp = *tmp_tp;
2007 uint_t index;
2038 index = FASTTRAP_TPOINTS_INDEX(instr.ftiq_pid, instr.ftiq_pc);
2040 mutex_enter(&fasttrap_tpoints.fth_table[index].ftb_mtx);
2041 tp = fasttrap_tpoints.fth_table[index].ftb_data;
2052 mutex_exit(&fasttrap_tpoints.fth_table[index].ftb_mtx);
2058 mutex_exit(&fasttrap_tpoints.fth_table[index].ftb_mtx);