1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 2030 unchanged lines hidden (view full) --- 2039 mutex_enter(&fasttrap_tpoints.fth_table[index].ftb_mtx); 2040 tp = fasttrap_tpoints.fth_table[index].ftb_data; 2041 while (tp != NULL) { 2042 if (instr.ftiq_pid == tp->ftt_pid && 2043 instr.ftiq_pc == tp->ftt_pc && 2044 tp->ftt_proc->ftpc_acount != 0) 2045 break; 2046 |
2047 tp = tp->ftt_next; 2048 } 2049 2050 if (tp == NULL) { 2051 mutex_exit(&fasttrap_tpoints.fth_table[index].ftb_mtx); 2052 return (ENOENT); 2053 } 2054 --- 322 unchanged lines hidden --- |