Lines Matching refs:prof
94 #define PC_TO_INDEX(pc, prof) \ argument
95 ((int)(((u_quad_t)((pc) - (prof)->pr_off) * \
96 (u_quad_t)((prof)->pr_scale)) >> 16) & ~1)
113 struct uprof *prof; in addupc_intr() local
117 prof = &td->td_proc->p_stats->p_prof; in addupc_intr()
119 if (pc < prof->pr_off || PC_TO_INDEX(pc, prof) >= prof->pr_size) { in addupc_intr()
139 struct uprof *prof; in addupc_task() local
154 prof = &p->p_stats->p_prof; in addupc_task()
156 if (pc < prof->pr_off || in addupc_task()
157 (i = PC_TO_INDEX(pc, prof)) >= prof->pr_size) { in addupc_task()
162 addr = prof->pr_base + i; in addupc_task()