Lines Matching refs:te

221 	struct hws_trailer_entry *te;  in alloc_sample_data_block()  local
228 te = trailer_entry_ptr(sdb); in alloc_sample_data_block()
229 te->header.a = 1; in alloc_sample_data_block()
1130 struct hws_trailer_entry *te; in hw_collect_samples() local
1133 te = trailer_entry_ptr((unsigned long)sdbt); in hw_collect_samples()
1135 while ((unsigned long *)sample < (unsigned long *)te) { in hw_collect_samples()
1170 if (!te->header.f) in hw_collect_samples()
1196 struct hws_trailer_entry *te; in hw_perf_event_update() local
1212 te = trailer_entry_ptr(sdb); in hw_perf_event_update()
1215 if (!te->header.f) { in hw_perf_event_update()
1222 if (te->header.overflow) in hw_perf_event_update()
1227 sampl_overflow += te->header.overflow; in hw_perf_event_update()
1237 prev.val = READ_ONCE_ALIGNED_128(te->header.val); in hw_perf_event_update()
1244 prev.val = cmpxchg128(&te->header.val, old.val, new.val); in hw_perf_event_update()
1326 struct hws_trailer_entry *te; in aux_output_end() local
1334 te = aux_sdb_trailer(aux, idx); in aux_output_end()
1335 if (!te->header.f) in aux_output_end()
1342 te = aux_sdb_trailer(aux, aux->alert_mark); in aux_output_end()
1343 te->header.a = 0; in aux_output_end()
1360 struct hws_trailer_entry *te; in aux_output_begin() local
1378 te = aux_sdb_trailer(aux, idx); in aux_output_begin()
1379 te->header.f = 0; in aux_output_begin()
1380 te->header.a = 0; in aux_output_begin()
1381 te->header.overflow = 0; in aux_output_begin()
1389 te = aux_sdb_trailer(aux, aux->alert_mark); in aux_output_begin()
1390 te->header.a = 1; in aux_output_begin()
1412 struct hws_trailer_entry *te; in aux_set_alert() local
1414 te = aux_sdb_trailer(aux, alert_index); in aux_set_alert()
1415 prev.val = READ_ONCE_ALIGNED_128(te->header.val); in aux_set_alert()
1430 prev.val = cmpxchg128(&te->header.val, old.val, new.val); in aux_set_alert()
1463 struct hws_trailer_entry *te; in aux_reset_buffer() local
1489 te = aux_sdb_trailer(aux, idx); in aux_reset_buffer()
1490 prev.val = READ_ONCE_ALIGNED_128(te->header.val); in aux_reset_buffer()
1501 prev.val = cmpxchg128(&te->header.val, old.val, new.val); in aux_reset_buffer()
1594 struct hws_trailer_entry *te; in aux_sdb_init() local
1596 te = trailer_entry_ptr(sdb); in aux_sdb_init()
1599 te->clock_base = 1; in aux_sdb_init()
1600 te->progusage2 = tod_clock_base.tod; in aux_sdb_init()