Lines Matching refs:te

1175 	struct hws_trailer_entry *te;  in hw_collect_samples()  local
1178 te = (struct hws_trailer_entry *) trailer_entry_ptr(*sdbt); in hw_collect_samples()
1180 while ((unsigned long *) sample < (unsigned long *) te) { in hw_collect_samples()
1209 te->f, sample->def, sample); in hw_collect_samples()
1220 if (!te->f) in hw_collect_samples()
1247 struct hws_trailer_entry *te; in hw_perf_event_update() local
1266 te = (struct hws_trailer_entry *) trailer_entry_ptr(*sdbt); in hw_perf_event_update()
1269 if (!te->f) { in hw_perf_event_update()
1276 if (te->overflow) in hw_perf_event_update()
1281 sampl_overflow += te->overflow; in hw_perf_event_update()
1286 __func__, (unsigned long)sdbt, te->overflow, in hw_perf_event_update()
1287 (te->f) ? trailer_timestamp(te) : 0ULL); in hw_perf_event_update()
1298 te_flags = te->flags & ~SDB_TE_BUFFER_FULL_MASK; in hw_perf_event_update()
1300 } while (!cmpxchg_double(&te->flags, &te->overflow, in hw_perf_event_update()
1301 te->flags, te->overflow, in hw_perf_event_update()
1378 struct hws_trailer_entry *te; in aux_output_end() local
1386 te = aux_sdb_trailer(aux, idx); in aux_output_end()
1387 if (!(te->flags & SDB_TE_BUFFER_FULL_MASK)) in aux_output_end()
1394 te = aux_sdb_trailer(aux, aux->alert_mark); in aux_output_end()
1395 te->flags &= ~SDB_TE_ALERT_REQ_MASK; in aux_output_end()
1417 struct hws_trailer_entry *te; in aux_output_begin() local
1439 te = aux_sdb_trailer(aux, idx); in aux_output_begin()
1440 te->flags &= ~(SDB_TE_BUFFER_FULL_MASK | in aux_output_begin()
1442 te->overflow = 0; in aux_output_begin()
1450 te = aux_sdb_trailer(aux, aux->alert_mark); in aux_output_begin()
1451 te->flags = te->flags | SDB_TE_ALERT_REQ_MASK; in aux_output_begin()
1479 struct hws_trailer_entry *te; in aux_set_alert() local
1481 te = aux_sdb_trailer(aux, alert_index); in aux_set_alert()
1483 orig_flags = te->flags; in aux_set_alert()
1484 *overflow = orig_overflow = te->overflow; in aux_set_alert()
1494 } while (!cmpxchg_double(&te->flags, &te->overflow, in aux_set_alert()
1527 struct hws_trailer_entry *te; in aux_reset_buffer() local
1556 te = aux_sdb_trailer(aux, idx); in aux_reset_buffer()
1558 orig_flags = te->flags; in aux_reset_buffer()
1559 orig_overflow = te->overflow; in aux_reset_buffer()
1565 } while (!cmpxchg_double(&te->flags, &te->overflow, in aux_reset_buffer()
1679 struct hws_trailer_entry *te; in aux_sdb_init() local
1681 te = (struct hws_trailer_entry *)trailer_entry_ptr(sdb); in aux_sdb_init()
1684 te->clock_base = 1; in aux_sdb_init()
1685 memcpy(&te->progusage2, &tod_clock_base[1], 8); in aux_sdb_init()