Lines Matching defs:prof
218 SYSCTL_PROC(_kern, KERN_PROF, prof, STLFLAG_NODE|CTLFLAG_RW | CTLFLAG_LOCKED,
352 #define PC_TO_INDEX(pc, prof) \
353 ((user_addr_t)(((u_quad_t)((pc) - (prof)->pr_off) * \
354 (u_quad_t)((prof)->pr_scale)) >> 16) & ~1)
381 struct user_uprof *prof;
384 for (prof = &p->p_stats->user_p_prof; prof; prof = prof->pr_next) {
385 off = PC_TO_INDEX(pc, prof);
386 cell = (prof->pr_base + off);
387 if (cell >= prof->pr_base &&
388 cell < (prof->pr_size + prof->pr_base)) {
401 struct uprof *prof;
404 for (prof = &p->p_stats->p_prof; prof; prof = prof->pr_next) {
405 off = PC_TO_INDEX(pc,prof);
406 cell = (short *)(prof->pr_base + off);
407 if (cell >= (short *)prof->pr_base &&
408 cell < (short*)(prof->pr_size + prof->pr_base)) {