Lines Matching refs:te
309 static unsigned long long trailer_timestamp(struct hws_trailer_entry *te,
312 /* te->t set: TOD in STCKE format, bytes 8-15
317 memcpy(&ts, &te->timestamp[idx], sizeof(ts));
323 struct hws_trailer_entry *te)
327 const unsigned long long flags = be64toh(te->flags);
335 memcpy(&local.timestamp, te->timestamp, sizeof(te->timestamp));
336 local.overflow = be64toh(te->overflow);
337 local.clock_base = be64toh(te->progusage[0]) >> 63 & 1;
338 local.progusage2 = be64toh(te->progusage2);
339 te = &local;
341 if (te->bsdes != sizeof(struct hws_basic_entry)) {
349 te->f ? 'F' : ' ',
350 te->a ? 'A' : ' ',
351 te->t ? 'T' : ' ',
352 te->bsdes, te->dsdes, te->overflow,
353 trailer_timestamp(te, te->clock_base),
354 te->clock_base, te->progusage2);
376 struct hws_trailer_entry *te;
384 te = (struct hws_trailer_entry *)(buf + S390_CPUMSF_PAGESZ
385 - sizeof(*te));
386 *bsdes = be16toh(te->bsdes);
387 *dsdes = be16toh(te->dsdes);
388 if (!te->bsdes && !te->dsdes) {
474 struct hws_trailer_entry te;
478 pos -= sizeof(te);
479 memcpy(&te, buf + pos, sizeof(te));
483 te.bsdes = bsdes;
484 te.dsdes = dsdes;
485 if (s390_cpumsf_trailer_show(color, pos, &te))
486 pos += sizeof(te);
548 struct hws_trailer_entry *te;
552 te = (struct hws_trailer_entry *)(buf + S390_CPUMSF_PAGESZ
553 - sizeof(*te));
556 clock_base = be64toh(te->progusage[0]) >> 63 & 0x1;
557 progusage2 = be64toh(te->progusage[1]);
559 clock_base = te->clock_base;
560 progusage2 = te->progusage2;
569 aux_time = trailer_timestamp(te, clock_base) - progusage2;