Lines Matching refs:rec
693 xdt_process_rec(uint_t cpuid, struct t_rec *rec)
702 ASSERT(rec != NULL);
716 rec->event != TRC_SCHED_SWITCH &&
717 rec->event != TRC_LOST_RECORDS)
720 if (rec->cycles_included) {
721 data = rec->u.cycles.extra_u32;
722 tsc = (((uint64_t)rec->u.cycles.cycles_hi) << 32)
723 | rec->u.cycles.cycles_lo;
725 data = rec->u.nocycles.extra_u32;
731 switch (rec->event) {
1407 switch (rec->event) {
1734 rec_size = 4 + (rec->cycles_included ? 8 : 0) + (rec->extra_u32 * 4);
1747 struct t_rec *rec;
1760 rec = (struct t_rec *)data;
1761 ASSERT((caddr_t)rec < tbuf.va + (tbuf.size * (cpuid + 1)));
1769 if (rec->cycles_included)
1770 stamp = (((uint64_t)rec->u.cycles.cycles_hi) << 32)
1771 | rec->u.cycles.cycles_lo;
1778 *recp = rec;
1794 struct t_rec *rec;
1799 nrecs < xdt_max_recs && xdt_get_first_rec(&cpuid, &rec, &cons) > 0;
1807 bytes_done = xdt_process_rec(cpuid, rec);